/* === RESET & VARIABLES === */
:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a1a;
    --text-primary: #f0f0f5;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-violet: #8b5cf6;
    --accent-cyan: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll from any overflowing child */
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(0px);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.12), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1), height 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.nav-links a:hover {
    color: var(--text-primary);
    border-color: var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav-links a:hover::before {
    width: 200px;
    height: 200px;
}

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

/* === LIQUID GLASS BUTTON === */
.btn-liquid {
    position: relative;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    z-index: 1;
}

.btn-liquid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1), height 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
}

.btn-liquid:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 0 60px rgba(139, 92, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.btn-liquid:hover::before {
    width: 300px;
    height: 300px;
}

.btn-liquid:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

/* Primary CTA — glowing version */
.btn-glow {
    position: relative;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    border: none;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet), var(--accent-cyan));
    border-radius: 50px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s;
    filter: blur(15px);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3), 0 0 80px rgba(139, 92, 246, 0.15);
}

.btn-glow:hover::before {
    opacity: 1;
}

.btn-glow:hover::after {
    left: 100%;
}

.btn-glow:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

/* === HERO === */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: clip;
    /* clip is stronger than hidden — properly clips absolute children */
    padding: 120px 5% 80px;
    max-width: 100vw;
    /* Never exceed viewport width */
}

/* Grid overlay */
.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 100%);
    z-index: 0;
}

/* Floating gradient orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    will-change: transform;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-blue), transparent 70%);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-violet), transparent 70%);
    bottom: 10%;
    left: -8%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, var(--accent-blue) 80%, var(--accent-violet) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

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

.trust-item i {
    color: var(--accent-blue);
}

/* === FAN CARDS SHOWCASE === */
.fan-section {
    padding: 100px 1% 100px;
    margin-top: 80px;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.fan-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: relative;
    min-height: 380px;
    max-width: 900px;
    margin: 0 auto;
}

.fan-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.2);
    position: absolute;
    width: 240px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.fan-card.left {
    transform: rotate(-14deg) translateX(-160px) translateY(20px);
    width: 220px;
    z-index: 1;
    opacity: 0.82;
}

.fan-card.center {
    transform: translateY(-24px);
    z-index: 3;
    width: 260px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(59, 130, 246, 0.15);
    animation: card-float 4s ease-in-out infinite;
}

.fan-card.right {
    transform: rotate(14deg) translateX(160px) translateY(20px);
    width: 220px;
    z-index: 1;
    opacity: 0.82;
}

.fan-container:hover .fan-card.left {
    transform: rotate(-14deg) translateX(-175px) translateY(15px);
    opacity: 0.9;
}

.fan-container:hover .fan-card.right {
    transform: rotate(14deg) translateX(175px) translateY(15px);
    opacity: 0.9;
}

@keyframes card-float {

    0%,
    100% {
        transform: translateY(-24px);
    }

    50% {
        transform: translateY(-32px);
    }
}

/* DM Card styles */
.dm-card-inner {
    padding: 16px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

.dm-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.dm-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.dm-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0f172a;
}

.dm-sub {
    font-size: 0.62rem;
    color: #94a3b8;
}

.dm-bubble {
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.72rem;
    line-height: 1.5;
    max-width: 85%;
    margin-bottom: 8px;
}

.dm-bubble.sent {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.dm-bubble.received {
    background: #f1f5f9;
    color: #334155;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.dm-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* Feature list card */
.feat-card-inner {
    padding: 28px 24px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.feat-auto-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feat-list-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 0.88rem;
    color: #475569;
    border-bottom: 1px solid #f8fafc;
    cursor: default;
    transition: all 0.2s;
    border-radius: 8px;
}

.feat-list-item:hover {
    color: #1e293b;
    background: #f8fafc;
}

.feat-list-item.active {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(99, 102, 241, 0.06));
    border-radius: 10px;
    padding: 12px 16px;
    border-bottom: none;
}

.feat-list-item.active::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

@media (max-width: 768px) {
    .fan-container {
        min-height: 320px;
        transform: scale(0.65);
        transform-origin: top center;
        margin-top: 20px;
    }

    .fan-card.left {
        transform: rotate(-14deg) translateX(-110px) translateY(40px);
    }

    .fan-card.right {
        transform: rotate(14deg) translateX(110px) translateY(40px);
    }
}

@media (max-width: 480px) {
    .fan-container {
        transform: scale(0.55);
        min-height: 280px;
    }
}

/* === SECTION SHARED === */

.section {
    padding: 120px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 64px;
}

/* === ADVANCED FEATURES (Light Mode Redesign) === */
#features {
    background-color: #ffffff;
    color: #0f172a;
}

#features .section-title {
    color: #0f172a;
}

#features .section-subtitle {
    color: #475569;
}

/* The overall container for the new features content */
.adv-features-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Wide 2-column card (e.g., Ask to follow) */
.adv-feat-wide {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.adv-feat-wide-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #0f172a;
}

.adv-feat-wide-content p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* 2x2 Grid for smaller feature cards */
.adv-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.adv-feat-card {
    background: #f8f9fa;
    border-radius: 24px;
    padding: 40px 40px 0 40px;
    /* No bottom padding, content overflows */
    display: flex;
    flex-direction: column;
    min-height: 380px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    position: relative;
}

.adv-feat-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f172a;
}

.adv-feat-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
    z-index: 2;
}

/* Graphic/Mockup Area inside cards */
.adv-feat-mockup {
    margin-top: auto;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

/* Continuous Mockup Animations */
@keyframes seqMsg1 {

    0%,
    5% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    10%,
    85% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

@keyframes seqMsg2 {

    0%,
    25% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    30%,
    85% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

@keyframes seqMsg3 {

    0%,
    45% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    50%,
    85% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

.chat-msg-1 {
    animation: seqMsg1 10s infinite;
    opacity: 0;
}

.chat-msg-2 {
    animation: seqMsg2 10s infinite;
    opacity: 0;
}

.chat-msg-3 {
    animation: seqMsg3 10s infinite;
    opacity: 0;
}

/* --- Advanced Features Grid Animations --- */

/* 1. Story Automation (Pill Float) */
@keyframes floatPill {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
}

.anim-float-pill {
    animation: floatPill 4s ease-in-out infinite;
}

/* 2. Next Post (Scheduled Pill pop and Phone scales) */
@keyframes popIn {

    0%,
    20%,
    100% {
        transform: scale(0.95);
        opacity: 0;
    }

    40%,
    80% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulsePhone {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.anim-pop-in {
    animation: popIn 6s ease-in-out infinite;
}

.anim-pulse-phone {
    animation: pulsePhone 5s ease-in-out infinite;
}

/* 3. Universal Automation (Outfit Pill slide and Frame grow) */
@keyframes slideInRight {

    0%,
    15%,
    100% {
        transform: translateX(30px);
        opacity: 0;
    }

    30%,
    85% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes subtleGrow {

    0%,
    100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.01) translateY(-2px);
    }
}

.anim-slide-in-right {
    animation: slideInRight 7s ease-out infinite;
}

.anim-subtle-grow {
    animation: subtleGrow 6s ease-in-out infinite;
}

/* 4. Backtrack (Comments drop in) */
@keyframes commentDrop1 {

    0%,
    10% {
        opacity: 0;
        transform: translateY(-15px);
    }

    20%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

@keyframes commentDrop2 {

    0%,
    30% {
        opacity: 0;
        transform: translateY(-15px);
    }

    40%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.anim-comment-1 {
    animation: commentDrop1 8s ease-in-out infinite;
    opacity: 0;
}

.anim-comment-2 {
    animation: commentDrop2 8s ease-in-out infinite;
    opacity: 0;
}

/* Mobile responsiveness */
@media (max-width: 900px) {
    .adv-features-wrapper {
        max-width: 100vw;
        overflow-x: clip;
    }

    .adv-feat-wide {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .adv-feat-grid {
        grid-template-columns: 1fr;
    }
}

/* Rest of existing layout CSS... */
/* === OLD FEATURES (Preserved if used elsewhere) === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--glass-hover);
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(59, 130, 246, 0.05);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.feature-icon.violet {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

.feature-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === HOW IT WORKS (Timeline) === */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-violet), transparent);
}

.timeline-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.timeline-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-blue);
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 10px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === STATS === */
.stats-section {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.03), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-item .stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* === WHO IT'S FOR === */
.pills-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.pill {
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.pill:hover {
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.05);
}

/* === FINAL CTA === */
.cta-section {
    text-align: center;
    position: relative;
}

.cta-section .orb-cta {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* === FOOTER === */
.zen-footer {
    padding: 40px 5%;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* === AUTH MODAL (Dark Theme) === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.auth-box {
    background: #0f0f1a;
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.05);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
    max-height: 95vh;
    overflow-y: auto;
}

.modal-overlay.show .auth-box {
    transform: translateY(0);
}

.auth-box h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
}

.auth-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

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

/* === NEW AUTH UI STYLES === */
.google-auth-btn {
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 16px;
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.google-auth-btn img {
    width: 20px;
    height: 20px;
}

.google-auth-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 16px;
    letter-spacing: 0.05em;
}

.phone-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: border-color 0.3s;
    overflow: hidden;
}

.phone-input-group:focus-within {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.country-code-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 10px 12px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.phone-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.meta-trust-badge {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 12px 0;
}

.meta-icon {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-top: 2px;
}

.meta-trust-text strong {
    display: block;
    color: #60a5fa;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.meta-trust-text p {
    margin: 0;
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
}

/* ======================== */

.auth-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    color: white;
    font-weight: 600;
    border-radius: 10px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-btn:hover {
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-1px);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.link {
    color: var(--accent-blue);
    cursor: pointer;
    font-weight: 600;
}

.error-msg {
    color: #f87171;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 16px;
    min-height: 20px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

/* === TIMELINE (How It Works) === */
.timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
    border-radius: 1px;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-step:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-step:nth-child(2) {
    animation-delay: 0.3s;
}

.timeline-step:nth-child(3) {
    animation-delay: 0.5s;
}

.step-num {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-num {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.step-content {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-content {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.step-content .step-icon {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

/* Features Section Scroll Transition */
#features {
    background-color: transparent;
    transition: background-color 0.8s ease;
    position: relative;
}

#features.is-light {
    background-color: #ffffff;
}

#features .section-title,
#features .section-subtitle {
    transition: color 0.8s ease;
}

/* Default text is light (when section is dark) */
#features .section-title {
    color: #ffffff;
}

#features .section-subtitle {
    color: #cbd5e1;
}

/* When section turns white, text turns dark */
#features.is-light .section-title {
    color: #0f172a;
}

#features.is-light .section-subtitle {
    color: #475569;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === DIVIDER LINE === */
.section-divider {
    max-width: 1100px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 5%;
    }

    .logo span {
        font-size: 1.25rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn-liquid {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .nav-actions .btn-glow {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 100px 5% 60px;
        min-height: auto;
    }

    /* Shrink floating orbs on mobile — 500px blobs cause horizontal overflow on 375px screens */
    .orb-1 {
        width: 200px;
        height: 200px;
        right: -5%;
    }

    .orb-2 {
        width: 180px;
        height: 180px;
        left: -5%;
    }

    .orb-3 {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 5%;
    }

    .timeline::before {
        left: 20px;
    }

    .step-num {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Fix Mobile Horizontal Overflow for Fan Cards */
    .fan-container {
        transform: scale(0.85);
        min-height: 320px;
    }

    .fan-card.left {
        transform: rotate(-10deg) translateX(-100px) translateY(30px) !important;
        opacity: 0.5;
    }

    .fan-card.right {
        transform: rotate(10deg) translateX(100px) translateY(30px) !important;
        opacity: 0.5;
    }
}

/* === MOBILE SIZING FOR AUTH MODAL === */
@media (max-width: 480px) {
    .auth-box {
        padding: 18px 14px;
        border-radius: 14px;
        max-height: 92vh;
        overflow-y: auto;
        margin: 16px;
        width: calc(100% - 32px);
        max-width: none;
    }

    .auth-box h2 {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .auth-box>p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .google-auth-btn {
        padding: 9px 12px;
        margin-bottom: 10px;
        font-size: 0.82rem;
    }

    .auth-input {
        padding: 10px 12px;
        margin-bottom: 8px;
        font-size: 0.88rem;
    }

    /* Stack First + Last name on mobile */
    #register-form form>div:first-of-type {
        flex-direction: column;
        gap: 0;
    }

    .phone-input-group {
        margin-bottom: 8px;
    }

    .country-code-selector {
        padding: 10px;
        font-size: 0.85rem;
    }

    .auth-divider {
        margin: 8px 0;
        font-size: 0.75rem;
    }

    .auth-btn {
        padding: 11px;
        font-size: 0.88rem;
        margin-top: 6px !important;
    }

    .meta-trust-badge {
        padding: 8px 10px;
        margin: 8px 0;
        gap: 8px;
        align-items: center;
    }

    .meta-icon {
        font-size: 1.2rem;
        margin-top: 0;
    }

    .meta-trust-text strong {
        font-size: 0.75rem;
    }

    .meta-trust-text p {
        font-size: 0.65rem;
        display: block;
        color: #64748b;
    }

    .auth-footer {
        font-size: 0.8rem;
        margin-top: 8px;
    }

    #pw-checks {
        font-size: 0.62rem;
        gap: 1px 6px;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        font-size: 1.1rem;
    }
}

/* Password Visibility Toggle */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
    /* Matches normal auth-input spacing */
}

/* Fix wrapper spacing for elements that normally have no margin manually set */
#pw-strength,
#pw-strength-reset {
    margin-top: -4px;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 5px;
    transition: color 0.2s;
}

.password-wrapper .toggle-password:hover {
    color: #64748b;
}

/* Override input padding when inside wrapper */
.password-wrapper .auth-input {
    margin-bottom: 0 !important;
    padding-right: 40px !important;
}