/* Global Variables & Reset */
:root {
    /* Colors - Deep Violet/Indigo Theme */
    --bg-dark: #0a0118;
    --bg-gradient-start: #130424;
    --bg-gradient-end: #0f172a;

    --primary: #7c3aed;
    /* Violet 600 */
    --primary-glow: #8b5cf6;
    /* Violet 500 */
    --accent: #2dd4bf;
    /* Teal 400 */

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);

    --text-main: #ffffff;
    --text-muted: #94a3b8;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 60%, rgba(45, 212, 191, 0.1) 0%, transparent 40%),
        var(--bg-dark);
    z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-emma {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: white !important;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-highlight);
}

.btn.small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 1, 24, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: white;
    position: relative;
    display: inline-block;
}

.logo-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    border-radius: 2px;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 40px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 999px;
    color: var(--primary-glow);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--glass-border);
    padding-top: 24px;
}

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

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.social-proof-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
    align-items: center;
}

.avatar-stack img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.5);
    /* Brand purple hint */
    margin-left: -10px;
    transition: transform 0.2s ease;
    background: var(--dark-bg);
    /* Fallback */
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.avatar-stack img:hover {
    transform: translateY(-4px);
    z-index: 5;
    border-color: var(--primary);
}

.social-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.social-text .stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    /* Amber-400 */
    margin-bottom: 2px;
}

.stars.tiny svg {
    width: 14px;
    height: 14px;
}

.social-text span {
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
}

.social-text strong {
    color: white;
}

.app-store-badge {
    height: 45px;
    width: auto;
    transition: transform 0.2s ease;
    border-radius: 8px;
}

.store-link:hover .app-store-badge {
    transform: scale(1.05);
}

/* Hero Visual & Avatar */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    /* ensure z-index context */
}

/* Press Section */
.press-section {
    padding: 20px 0 40px;
    text-align: center;
}

.press-container h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.press-logo-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.press-logo-link:hover {
    transform: scale(1.05);
    opacity: 1;
}

.press-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

/* Features Section */
.avatar-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.avatar-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    border-radius: 24px;
    /* Optional: in case the image isn't perfectly keyed */
}

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

@keyframes float {

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

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

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(23, 23, 23, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.card-1 {
    top: 20%;
    left: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation: float 7s ease-in-out infinite 0.5s;
}

.card-3 {
    top: 0%;
    right: -40px;
    animation: float 6s ease-in-out infinite 1.5s;
}

.icon-accent {
    color: var(--accent);
}

.icon-success {
    color: #4ade80;
}

.card-content .label {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

/* Features */
.features {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

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

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-highlight);
}

.icon-box {
    width: 48px;
    height: 48px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-glow);
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

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

/* App Showcase */
.showcase {
    padding: 40px 0;
    /* Reduced padding */
    position: relative;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.screenshot-card {
    padding: 12px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.screenshot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
    z-index: 10;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
}

.rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--text-muted);
}

.stars {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    /* Amber 400 */
}

.stars svg {
    width: 20px;
    height: 20px;
}

.fill-star {
    fill: currentColor;
}

.stars.small svg {
    width: 16px;
    height: 16px;
}

/* Carousel Layout */
.testimonials-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 20px 0 40px 0;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.testimonials-carousel:active {
    cursor: grabbing;
}

.testimonial-card {
    flex: 0 0 350px;
    min-height: 280px;
    padding: 2rem;
    scroll-snap-align: center;
    /* Snap to center */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
    border-radius: 24px;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.2), inset 0 0 10px rgba(239, 68, 68, 0.1);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(239, 68, 68, 0.4), inset 0 0 15px rgba(239, 68, 68, 0.2);
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.sticker-badge {
    position: relative;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 24px 40px;
    border-radius: 24px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    animation: pulse-glow 3s infinite ease-in-out;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Shimmer overlay */
.sticker-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    pointer-events: none;
}

.sticker-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.sticker-count {
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #f87171 0%, #a855f7 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    letter-spacing: -2px;
    filter: drop-shadow(0 2px 10px rgba(239, 68, 68, 0.3));
}

.sticker-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
}

.sticker-subheading {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.sticker-wrapper {
    position: relative;
    display: inline-block;
}

@keyframes float-orbit {

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

    33% {
        transform: translateY(-10px) translateX(5px);
    }

    66% {
        transform: translateY(5px) translateX(-5px);
    }
}

@keyframes float-orbit-tilted {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(-12deg);
    }

    33% {
        transform: translateY(-10px) translateX(5px) rotate(-10deg);
    }

    66% {
        transform: translateY(5px) translateX(-5px) rotate(-14deg);
    }
}

.sticker-deco {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    z-index: 2;
    animation: float-orbit 6s infinite ease-in-out;
}

.deco-1 {
    width: auto;
    height: 60px;
    border-radius: 20px;
    top: -25px;
    left: -35px;
    animation: float-orbit-tilted 6s infinite ease-in-out;
    animation-delay: 0s;
}

.deco-2 {
    width: 50px;
    height: 50px;
    bottom: -10px;
    right: -25px;
    animation-delay: 2s;
}

.deco-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    object-position: center 15%;
    object-fit: cover;
    animation-delay: 4s;
}

.deco-4 {
    width: 35px;
    height: 35px;
    top: -25px;
    right: -10px;
    animation-delay: 1.5s;
}

.deco-5 {
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 20%;
    object-position: center 15%;
    object-fit: cover;
    animation-delay: 3.5s;
}

.deco-6 {
    width: 30px;
    height: 30px;
    top: 40%;
    left: -45px;
    animation-delay: 2.2s;
}

.deco-7 {
    width: 38px;
    height: 38px;
    bottom: 10%;
    right: -50px;
    animation-delay: 5s;
}

.deco-8 {
    width: 42px;
    height: 42px;
    top: -35px;
    left: 40%;
    animation-delay: 0.8s;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn.prev {
    left: 10px;
}

.carousel-nav-btn.next {
    right: 10px;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 300px;
    }

    .carousel-nav-btn {
        display: none;
        /* Hide buttons on mobile where touch is native */
    }
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
}

.cta-card {
    text-align: left;
    padding: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(124, 58, 237, 0.1) 100%);
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-avatar-container {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
}

.cta-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 50%;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-card .cta-content {
    flex: 1;
}

.cta-content h2 {
    margin-bottom: 16px;
    font-size: 2.5rem;
}

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

/* Footer */
.glass-footer {
    background: rgba(10, 1, 24, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 24px;
}

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

.footer-brand .logo-text {
    display: block;
    margin-bottom: 12px;
}

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

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1rem;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.column a.christmas-link {
    margin-top: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.column a.christmas-link i {
    color: #ef4444;
    /* Fallback/Icon color */
    width: 16px;
    height: 16px;
}

.column a:hover {
    color: white;
}

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

.copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.socials {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

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

/* Mobile Navigation Overlay */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-btn svg {
    width: 32px;
    height: 32px;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 17, 0.95);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    text-align: center;
    width: 100%;
    padding: 40px;
}

.close-mobile-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for links */
.mobile-link:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-link:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-link:nth-child(4) {
    transition-delay: 0.4s;
}

@media (max-width: 968px) {

    .nav-links,
    .nav-cta-group {
        display: none !important;
        /* Force hide desktop elements */
    }

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

    .h1 {
        font-size: 3.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin-bottom: 20px;
        /* Reduced from 60px */
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
        /* Ensure content is on top */
    }

    .hero-visual {
        order: 2;
        /* Visual below content */
        padding: 0 20px;
        margin-top: -20px;
    }

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

    .stats {
        justify-content: center;
        width: 100%;
        gap: 20px;
    }

    /* Features & Showcase */
    .features-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    /* Press Section */
    .press-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .press-logo {
        height: 35px;
        /* Smaller logos on mobile */
    }

    /* Testimonials & Carousel */
    .testimonial-card {
        flex: 0 0 85vw;
        /* Show peeking card */
        min-height: auto;
        padding: 1.5rem;
    }

    .sticker-badge {
        padding: 20px 30px;
        margin-bottom: 24px;
    }

    .sticker-count {
        font-size: 3rem;
    }

    .carousel-nav-btn {
        display: none;
        /* Hide nav buttons on mobile */
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .copyright {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    /* General Padding */
    .section-header {
        margin-bottom: 40px;
    }

    .features,
    .testimonials,
    .showcase {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .h1 {
        font-size: 2.8rem;
    }

    .hero-container {
        gap: 30px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .team-avatar {
        display: none;
        /* Hide large avatar overlap on very small screens */
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 24px;
    }

    .cta-avatar-container {
        width: 140px;
        height: 140px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

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

/* Team/Trust Section */
.team-section {
    padding: 60px 0;
}

.team-banner {
    background: radial-gradient(circle at 30% 50%, rgba(20, 10, 40, 1) 0%, #000000 100%);
    border-radius: 32px;
    padding: 80px 40px;
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid var(--glass-border);
    margin-bottom: 40px;
    /* Space for the avatar overhang */
}

.team-content {
    max-width: 700px;
    position: relative;
    z-index: 10;
}

.team-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.highlight-pink {
    color: #fca5a5;
    /* Fallback */
    background: linear-gradient(135deg, #f9a8d4 0%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    /* Ensure gradient works on spans */
}

.team-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 300;
}

.team-avatar {
    position: absolute;
    bottom: -60px;
    /* Pop out effect */
    right: 40px;
    width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    z-index: 20;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

@media (max-width: 968px) {
    .team-banner {
        flex-direction: column;
        text-align: center;
        padding-bottom: 0;
        /* Remove bottom padding to let image sit at bottom */
        overflow: hidden;
        /* Contain text/image on smaller screens if overlap causes issues, or keep visible */
    }

    .team-content h2 {
        font-size: 2.2rem;
    }

    .team-avatar {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 40px;
        /* Space between text and image */
        width: 80%;
        max-width: 300px;
        margin-bottom: -20px;
        /* Pull it down slightly */
    }
}

/* Experience Carousel */
.experience-section {
    padding: 80px 0 120px 0;
    /* Extra bottom padding for avatar */
    overflow: hidden;
}

.experience-carousel-container {
    position: relative;
    max-width: 900px;
    /* Reduced max-width further */
    margin: 0 auto;
    padding: 0 20px;
}

.experience-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    gap: 0;
    /* Full width slides, no gap needed */
}

.experience-carousel::-webkit-scrollbar {
    display: none;
}

.experience-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    width: 100%;
    padding: 20px 5px;
    /* Slight padding inside slide */
}

/* Specific Adjustments for Slides */
.experience-slide .showcase-grid {
    margin-top: 0;
    /* Remove top margin used in standalone section */
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 20px;
    /* Tighter gap */
}

/* Adjust nav buttons to be outside or on edge */
.experience-carousel-container .carousel-nav-btn {
    top: 50%;
    z-index: 50;
    transform: translateY(-50%);
}

.experience-carousel-container .carousel-nav-btn.prev {
    left: -20px;
}

.experience-carousel-container .carousel-nav-btn.next {
    right: -20px;
}

@media (max-width: 768px) {
    .experience-carousel-container .carousel-nav-btn {
        display: none;
        /* Hide on mobile */
    }
}

.slide-image {
    width: 100%;
    max-width: 80%;
    /* Reduce size relative to container */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    margin: 0 auto;
    /* Center the image */
    display: block;
}

/* Exit Intent Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    width: 90%;
    max-width: 400px;
    background: rgba(20, 20, 25, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    padding: 0;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.popup-text {
    padding: 24px;
    text-align: center;
}

.popup-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.popup-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.popup-text .btn {
    width: 100%;
    justify-content: center;
}