:root {
    --primary: #EEBD2B;
    --primary-dark: #D4A720;
    --primary-light: rgba(238, 189, 43, 0.1);
    --saffron-content: #423202;
    --bg-color: #F8F7F6;
    --surface: #FFFFFF;
    --text-main: #1B180D;
    --text-sub: #9A864C;
    --border: #F0EDE5;
    
    --premium-bg: #1F2937;
    --premium-accent: #D97706;
    --premium-gold: #FBBF24;
    --premium-deep: #111827;
    --honey-cream: #FEF3C7;

    --accent-green: #22C55E;
    --accent-red: #EF4444;
    --accent-turmeric: #F97316;
    --accent-blue: #3B82F6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

p {
    color: var(--text-sub);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--saffron-content);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-small {
    padding: 10px 20px;
    font-size: 15px;
}

/* App Store Buttons */
.store-btn {
    display: flex;
    align-items: center;
    background-color: var(--text-main);
    color: #FFF;
    padding: 10px 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.store-btn i {
    font-size: 28px;
    margin-right: 12px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text small {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.8;
}

.store-text strong {
    font-size: 16px;
    font-weight: 600;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    border-radius: 12px;
    margin-right: 12px;
}

.logo-q {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    min-height: calc(100vh - 80px); /* Adjust to viewport minus navbar roughly */
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(248, 247, 246, 0.85), rgba(248, 247, 246, 0.95)), url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-sub);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.center-cta {
    justify-content: center;
    margin-top: 40px;
}

/* Phone Mockup (CSS Only) */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background-color: #111;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid #333;
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: radial-gradient(circle at top left, rgba(238, 189, 43, 0.08) 0%, var(--surface) 60%);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-sub);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 72px;
    height: 72px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
}

.icon-turmeric { background-color: rgba(249, 115, 22, 0.1); color: var(--accent-turmeric); }
.icon-blue { background-color: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.icon-green { background-color: rgba(34, 197, 94, 0.1); color: var(--accent-green); }
.icon-red { background-color: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
.icon-primary { background-color: var(--primary-light); color: var(--primary-dark); }

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-sub);
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: 60px auto;
    width: 80%;
}

/* How It Works Flowchart */
.how-it-works {
    padding: 40px 0 80px;
}

.steps-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.5;
}

.step-arrow {
    color: var(--primary-main, #FFB800);
    font-size: 28px;
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(5px); }
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
        animation: bounceDown 2s infinite;
    }
    @keyframes bounceDown {
        0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(90deg); }
        40% { transform: translateY(10px) rotate(90deg); }
        60% { transform: translateY(5px) rotate(90deg); }
    }
}


/* Premium Section */
.premium {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--premium-bg), var(--premium-deep));
    color: #FFF;
    overflow: hidden;
}

.premium-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.premium-content {
    flex: 1;
}

.premium-badge {
    display: inline-block;
    background-color: rgba(251, 191, 36, 0.2);
    color: var(--premium-gold);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.premium-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.premium-content p {
    font-size: 18px;
    color: #9CA3AF;
    margin-bottom: 40px;
}

.premium-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
}

.premium-benefits strong {
    color: var(--text-color);
}

/* --- PARTNER REGISTRATION SECTION --- */
.partner-form-section {
    padding: 100px 0;
    background-color: var(--card-bg);
}
.partner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.partner-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: var(--text-color);
}
.partner-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}
.partner-form-box {
    background: #FFF;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
}
.registration-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}
.registration-form .form-group {
    margin-bottom: 20px;
}
.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}
.registration-form input, .registration-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--bg-color);
}
.registration-form input:focus, .registration-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
    background-color: #FFF;
}
.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 15px;
}

@media (max-width: 992px) {
    .partner-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- FINAL CTA --- */

.premium-benefits i {
    color: var(--premium-accent);
    background-color: var(--honey-cream);
    font-size: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: 0px;
}

.premium-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crown-icon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--premium-gold), var(--premium-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #FFF;
    box-shadow: 0 20px 40px rgba(217, 119, 6, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    text-align: center;
    background-color: var(--bg-color);
}

.final-cta h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.final-cta p {
    font-size: 20px;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: var(--surface);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-sub);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: #FFF;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--text-sub);
    transition: color 0.3s;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-sub);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container, .premium-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .premium-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
        margin-top: 40px;
    }

    .phone-mockup {
        transform: rotate(0);
    }
    
    .premium-benefits li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide on mobile, handled via JS if needed */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 40px;
    }

    .premium-content h2, .final-cta h2, .section-header h2 {
        font-size: 32px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

@keyframes float-hero {
    0% { transform: translateY(0px) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    100% { transform: translateY(0px) rotate(-5deg); }
}

.floating-mockup {
    animation: float-hero 6s ease-in-out infinite;
}

.footer-compact {
    padding: 20px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.footer-compact .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-compact .footer-brand {
    margin-bottom: 0;
}

.footer-compact .footer-logo {
    margin-bottom: 5px;
}

.footer-compact .logo-img {
    height: 24px;
    width: auto;
}

.footer-compact .footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.footer-compact .social-links {
    margin-top: 0;
}

.footer-compact .footer-bottom {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
    font-size: 12px;
    width: 100%;
}

@media (max-width: 768px) {
    .footer-compact .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-compact .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}
