/* =====================================================
   NIYATABOOK — LANDING PAGE STYLES
   A book of discipline for Indian traders
   ===================================================== */

/* ─── Design Tokens ─── */
:root {
    /* Colors */
    --bg-primary: #06080d;
    --bg-secondary: #0c1017;
    --bg-card: #111620;
    --bg-card-hover: #161d2a;
    --bg-glass: rgba(17, 22, 32, 0.7);

    --text-primary: #f0f2f5;
    --text-secondary: #8a92a6;
    --text-muted: #5a6275;

    --accent-gold: #f0b429;
    --accent-gold-light: #ffd666;
    --accent-gold-dark: #c8930a;
    --accent-teal: #2dd4bf;
    --accent-teal-dark: #14b8a6;
    --accent-red: #ef4444;
    --accent-green: #22c55e;

    --gradient-gold: linear-gradient(135deg, #f0b429 0%, #f59e0b 50%, #d97706 100%);
    --gradient-hero: linear-gradient(135deg, #f0b429 0%, #2dd4bf 100%);
    --gradient-card: linear-gradient(135deg, rgba(240, 180, 41, 0.08) 0%, rgba(45, 212, 191, 0.05) 100%);

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(240, 180, 41, 0.2);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Shadows */
    --shadow-glow: 0 0 60px rgba(240, 180, 41, 0.1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Gradient Text ─── */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Section Tag ─── */
.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    background: rgba(240, 180, 41, 0.1);
    border: 1px solid rgba(240, 180, 41, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

/* ─── Section Header ─── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #0a0a0f;
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(240, 180, 41, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: rgba(240, 180, 41, 0.08);
    color: var(--accent-gold);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    padding: 14px 24px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(6, 8, 13, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-accent {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 180, 41, 0.3) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.2) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: rgba(240, 180, 41, 0.08);
    border: 1px solid rgba(240, 180, 41, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: inline;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

.hero-cta {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s backwards;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    border-radius: 36px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card), 0 0 80px rgba(240, 180, 41, 0.08);
    background: var(--bg-card);
}

.phone-screen {
    width: 100%;
    height: auto;
    display: block;
}

.phone-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at 50% 30%, rgba(240, 180, 41, 0.12) 0%, transparent 60%);
    z-index: -1;
    border-radius: 50%;
}

/* Floating Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

.float-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 700;
}

.float-card-icon.win { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); }
.float-card-icon.profit { background: rgba(240, 180, 41, 0.15); color: var(--accent-gold); }
.float-card-icon.discipline { background: rgba(45, 212, 191, 0.15); color: var(--accent-teal); }

.float-card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.float-card-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.05rem;
    font-weight: 600;
}

.float-card-value.profit { color: var(--accent-green); }

.float-card-1 { top: 15%; left: -30px; animation-delay: 0s; }
.float-card-2 { bottom: 25%; right: -50px; animation-delay: 2s; }
.float-card-3 { bottom: 5%; left: -20px; animation-delay: 4s; }

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeIn 1s ease 1.5s backwards;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--border-subtle);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 4px;
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
}

/* =====================================================
   PROBLEM SECTION
   ===================================================== */
.problem-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.problem-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
}

.problem-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.problem-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.problem-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.problem-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-list li strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.problem-list li p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.problem-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loss-counter {
    background: var(--bg-card);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 0 60px rgba(239, 68, 68, 0.05);
}

.loss-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loss-amount {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: var(--accent-red);
    margin-bottom: 16px;
}

.loss-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features-section {
    padding: var(--section-padding) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.features-grid-compact .feature-card {
    padding: 28px 24px;
}

.features-grid-compact .feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

/* ─── Product tour (screenshots) ─── */
.tour-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.tour-row {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 96px;
}

.tour-row:last-child { margin-bottom: 0; }

.tour-row-flip {
    direction: rtl;
}

.tour-row-flip > * {
    direction: ltr;
}

.tour-step {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-teal);
    margin-bottom: 12px;
}

.tour-copy h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 14px;
}

.tour-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.tour-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tour-bullets li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tour-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-gold);
}

.tour-shot {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    background: var(--bg-card);
    transition: transform var(--transition-slow), box-shadow var(--transition-normal);
}

.tour-shot img {
    width: 100%;
    height: auto;
    display: block;
}

.tour-row:hover .tour-shot {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}

.hero-kicker {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.hero-text h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    margin-bottom: 8px;
}

.hero-text .logo-accent {
    color: var(--accent-gold);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-hero);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-large {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 28px 36px;
}

.feature-card-large h3 {
    margin-bottom: 0;
}

.feature-card-large p {
    margin-bottom: 0;
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-card-large .feature-icon-wrap {
    margin-bottom: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(45, 212, 191, 0.1);
    color: var(--accent-teal);
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.tag.coming-soon {
    background: rgba(240, 180, 41, 0.1);
    color: var(--accent-gold);
    border-color: rgba(240, 180, 41, 0.2);
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(240, 180, 41, 0.08);
    line-height: 1;
    margin-bottom: -10px;
}

.step-visual {
    margin-bottom: 24px;
}

.step-icon-circle {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-card);
    border: 1px solid var(--border-accent);
    color: var(--accent-gold);
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================================================
   ANALYTICS
   ===================================================== */
.analytics-section {
    padding: var(--section-padding) 0;
}

.analytics-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.dashboard-frame {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-subtle);
}

.topbar-dots {
    display: flex;
    gap: 6px;
}

.topbar-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 0.3;
}

.topbar-dots span:first-child { background: #ef4444; opacity: 0.7; }
.topbar-dots span:nth-child(2) { background: #f0b429; opacity: 0.7; }
.topbar-dots span:last-child { background: #22c55e; opacity: 0.7; }

.topbar-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.dashboard-img {
    width: 100%;
    display: block;
}

.analytics-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: all var(--transition-normal);
}

.highlight-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.highlight-metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.highlight-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.highlight-fill {
    height: 100%;
    width: var(--fill);
    background: var(--gradient-hero);
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =====================================================
   AUTH SECTION
   ===================================================== */
.auth-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.auth-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    width: 170px;
    transition: all var(--transition-normal);
    position: relative;
}

.auth-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.auth-card-featured {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, var(--bg-card) 100%);
}

.auth-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.auth-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.auth-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.auth-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--accent-green);
    color: #000;
    letter-spacing: 0.03em;
}

.platforms-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.platform-status {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.platform-status.live {
    background: rgba(240, 180, 41, 0.15);
    color: var(--accent-gold);
}

/* =====================================================
   PRICING
   ===================================================== */
.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pricing-grid-4 .price-card {
    padding: 32px 22px;
}

.pricing-grid-4 .price-value {
    font-size: 2.4rem;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-normal);
    position: relative;
}

/* ─── Elite Card ─── */
.price-card-elite {
    border-color: rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, var(--bg-card) 100%);
}

.price-card-elite:hover {
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 0 32px rgba(168, 85, 247, 0.12);
}

.price-popular-elite {
    background: linear-gradient(135deg, #a855f7, #7c3aed) !important;
}

.btn-elite {
    border-color: rgba(168, 85, 247, 0.5) !important;
    color: #c084fc !important;
}

.btn-elite:hover {
    background: rgba(168, 85, 247, 0.15) !important;
    border-color: #a855f7 !important;
}

.price-annual-note {
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 600;
    margin: -8px 0 8px;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.price-card-featured {
    border-color: var(--accent-gold);
    background: linear-gradient(180deg, rgba(240, 180, 41, 0.06) 0%, var(--bg-card) 40%);
    box-shadow: 0 0 40px rgba(240, 180, 41, 0.08);
}

.price-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 20px;
    border-radius: 100px;
    background: var(--gradient-gold);
    color: #0a0a0f;
}

.price-tier {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.price-currency {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-features li.disabled {
    opacity: 0.4;
}

.check {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 0.85rem;
}

.cross {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ─── Pricing Tagline ─── */
.pricing-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 40px;
    max-width: fit-content;
    background: rgba(240, 180, 41, 0.08);
    border: 1px solid rgba(240, 180, 41, 0.25);
    padding: 10px 24px;
    border-radius: 100px;
    flex-wrap: wrap;
    text-align: center;
}

.tagline-hindi {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.tagline-divider {
    color: var(--text-muted);
}

.tagline-english {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── Interactive Cost Estimator ─── */
.price-amount-fair {
    margin-bottom: 16px;
}

.cost-estimator {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.estimator-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.estimator-days {
    font-weight: 700;
    color: var(--accent-gold);
}

.estimator-slider {
    width: 100%;
    accent-color: var(--accent-gold);
    cursor: pointer;
    margin: 6px 0;
}

.estimator-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.estimator-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px dashed var(--border-subtle);
}

.estimator-result-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.estimator-result-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-green);
}

.price-breakeven {
    font-size: 0.78rem;
    color: var(--accent-gold);
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

/* ─── How NiyataFair Works ─── */
.pricing-how {
    max-width: 860px;
    margin: 48px auto 36px;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
}

.pricing-how h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.pricing-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-how-step {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.how-step-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.how-step-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.how-step-text p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .pricing-how-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-note strong {
    color: var(--accent-gold);
}

/* =====================================================
   WAITLIST
   ===================================================== */
.waitlist-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.waitlist-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.waitlist-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(240, 180, 41, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.waitlist-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.waitlist-content > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.waitlist-form {
    margin-bottom: 28px;
}

.form-row {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.input-group:focus-within {
    border-color: var(--accent-gold);
}

.input-prefix {
    padding: 0 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-right: 1px solid var(--border-subtle);
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
    color: var(--accent-green);
    font-weight: 500;
    font-size: 0.9rem;
    animation: fadeInUp 0.5s ease;
}

.form-success.show {
    display: flex;
}

/* ─── Auth Divider ─── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.auth-divider span {
    font-size: 0.82rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ─── Google Sign-In Button ─── */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-google:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ─── OTP Step ─── */
.otp-sent-msg {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

.otp-sent-msg strong {
    color: var(--accent-gold);
}

.otp-input-group input {
    letter-spacing: 6px;
    font-size: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
}

.otp-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--accent-teal);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    padding: 4px;
    transition: opacity var(--transition-fast);
}

.btn-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.btn-link:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
    text-decoration: none;
}

/* ─── Loading Spinner ─── */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ─── Error Display ─── */
.form-error {
    display: none;
    text-align: center;
    padding: 10px 16px;
    margin-top: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-md);
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 500;
    animation: fadeInUp 0.3s ease;
}

.form-error.show {
    display: block;
}

/* ─── Waitlist Count ─── */
.waitlist-count-display {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.waitlist-count-display strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.waitlist-trust {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trust-item svg {
    color: var(--accent-teal);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    padding: 60px 0 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 12px;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 0;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Intersection Observer driven */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .phone-frame {
        width: 240px;
    }

    .float-card-1 { left: 5%; }
    .float-card-2 { right: 5%; }
    .float-card-3 { left: 10%; }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tour-row,
    .tour-row-flip {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 64px;
        direction: ltr;
    }

    .feature-card-large {
        grid-column: span 2;
        grid-template-columns: auto 1fr;
    }

    .feature-card-large .feature-tags {
        grid-column: span 2;
    }

    .analytics-showcase {
        grid-template-columns: 1fr;
    }

    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .analytics-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-subtle);
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .btn-nav {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .float-card {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .feature-card-large .feature-tags {
        grid-column: span 1;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
        margin: -10px 0;
    }

    .analytics-highlights {
        grid-template-columns: 1fr;
    }

    .auth-card {
        width: calc(50% - 10px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-grid-4 {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .form-row {
        flex-direction: column;
    }

    .waitlist-card {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .platforms-bar {
        gap: 20px;
    }

    .platform-item {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .auth-grid {
        gap: 10px;
    }

    .auth-card {
        width: calc(50% - 8px);
        padding: 20px 14px;
    }
}

/* =====================================================
   LEGAL COMPLIANCE STRIP
   ===================================================== */
.footer-legal {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.legal-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
}

.legal-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-item p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.legal-item p strong {
    color: var(--text-secondary);
    font-weight: 600;
}
