* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFB84D;
    --secondary-color: #1A1A2E;
    --accent-color: #FF6B35;
    --dark-bg: #0F0F1E;
    --light-bg: #F5F5F5;
    --text-dark: #2D2D2D;
    --text-light: #FFFFFF;
    --candle-cream: #F5DEB3;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.candle-emoji {
    font-size: 2rem;
    animation: flicker 3s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 150px 2rem 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 184, 77, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(255, 184, 77, 0.5);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
    animation: fadeInUp 1s ease 0.3s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s backwards;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 184, 77, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.play-store-badge {
    font-size: 1.3rem;
}

/* App Preview Section */
.app-preview {
    padding: 100px 2rem;
    background: var(--light-bg);
    position: relative;
}

.preview-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.section-title2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 700;
}

.section-subtitle2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: var(--text-light);
    opacity: 0.8;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 9/19.5;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    border-radius: 25px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.screenshot-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.screenshot-desc {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Features Section */
.features {
    padding: 100px 2rem;
    background: white;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.steps {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.step {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    min-width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 184, 77, 0.4);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.7rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-content p {
    opacity: 0.8;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Benefits Section */
.benefits {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '🕯️';
    position: absolute;
    font-size: 20rem;
    opacity: 0.03;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.benefit-item p {
    opacity: 0.85;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 100px 2rem;
    background: white;
}

.testimonials-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Download CTA Section */
.download-cta {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '🕯️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    left: -5%;
    top: 50%;
    transform: translateY(-50%);
}

.download-cta::after {
    content: '🕯️';
    position: absolute;
    font-size: 15rem;
    opacity: 0.1;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
}

.download-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.download-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.download-stat {
    background: rgba(255,255,255,0.2);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.download-stat strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .step {
        flex-direction: column !important;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .download-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 1rem 80px;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}
