/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-text: #1a1a2e;
    --inverted-text: #f5f5dc;
    --accent-gold: #d4af37;
    --sunset-orange: #ff6b35;
    --cosmic-purple: #4a148c;
    --night-silver: #c0c0d8;

    /* Transitions */
    --transition-smooth: 300ms ease;

    /* Blob Size */
    --blob-size: 350px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for fixed header */
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0a0a0f;
    color: var(--primary-text);
    overflow-x: hidden;
    overflow-y: auto;
    cursor: auto;
    /* Restored cursor visibility */
    width: 100%;
    /* Fix horizontal overflow */
    min-height: 100vh;
    position: relative;
}

/* ===== BACKGROUND IMAGES ===== */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-out;
}

.base-image {
    background-image: url('sunset_day.jpg');
    z-index: 1;
}

.reveal-image {
    background-image: url('sunset_night.jpg');
    z-index: 2;
    clip-path: circle(0px at 50% 50%);
    transition: clip-path 0.05s ease-out;
}

/* WebP support - class added by JS detection */
.webp .base-image {
    background-image: url('sunset_day.webp');
}
.webp .reveal-image {
    background-image: url('sunset_night.webp');
}

.background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.03) 0%,
            rgba(74, 20, 140, 0.05) 50%,
            rgba(255, 107, 53, 0.03) 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* ===== WAVE/NUMBER PATTERNS ===== */
.wave-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 4;
    pointer-events: none;
    opacity: 0.8;
}

.wave-line {
    transition: d 0.5s ease-out;
}

/* ===== FLOATING NUMBER NODES ===== */
.floating-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5;
    pointer-events: none;
}

.number-node {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 12rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.08);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.15);
    transition: transform 0.3s ease-out, opacity 0.3s ease;
    will-change: transform;
}

.node-2 {
    top: 15%;
    left: 10%;
}

.node-7 {
    top: 60%;
    right: 15%;
}

.node-9 {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

/* ===== BLOB CURSOR ===== */
.blob-cursor {
    position: fixed;
    width: var(--blob-size);
    height: var(--blob-size);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10;
    transform: translate(-50%, -50%);
    mix-blend-mode: normal;
    transition: width 0.2s ease, height 0.2s ease;
    will-change: transform;

    /* Golden cosmic glow */
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.4) 0%,
            rgba(255, 107, 53, 0.2) 40%,
            transparent 70%);
    box-shadow:
        0 0 60px rgba(212, 175, 55, 0.6),
        0 0 100px rgba(255, 107, 53, 0.4),
        0 0 140px rgba(212, 175, 55, 0.3),
        inset 0 0 40px rgba(255, 215, 0, 0.2);
}

.blob-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    background: rgba(10, 10, 15, 0.2);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.branding {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--inverted-text);
    /* Force light color */
    transition: color var(--transition-smooth);
    letter-spacing: -0.02em;
    line-height: 1;
}

.tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--inverted-text);
    transition: color var(--transition-smooth);
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--inverted-text);
    /* Force light color */
    text-decoration: none;
    transition: color var(--transition-smooth), opacity var(--transition-smooth);
    letter-spacing: 0.02em;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* improved shadow */
}

.cta-button {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--inverted-text);
    /* Force light color */
    background: transparent;
    border: 1px solid var(--inverted-text);
    /* Force light border */
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-smooth);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cta-button:hover {
    background: var(--inverted-text);
    color: var(--primary-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
    position: relative;
    z-index: 1000;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    color: var(--inverted-text);
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-current {
    letter-spacing: 0.05em;
}

.lang-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.lang-dropdown.active + .lang-toggle .lang-arrow,
.lang-selector:focus-within .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold);
}

.lang-flag {
    font-size: 1.1rem;
}

/* Mobile language selector */
.mobile-lang-selector {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-option.mobile {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
}

.lang-option.mobile.active {
    border-color: var(--accent-gold);
}

/* ===== HERO CONTENT ===== */
.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 700;
    color: var(--inverted-text);
    transition: color var(--transition-smooth);
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    position: fixed;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    gap: 1.5rem;
    z-index: 200;
}

.social-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-text);
    transition: color var(--transition-smooth), opacity var(--transition-smooth), transform var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 0.7;
    transform: translateY(-3px);
}

.social-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: relative;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--inverted-text);
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    color: inherit;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
}

.scroll-text {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: inherit;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator.inverted,
.scroll-indicator.inverted .scroll-text,
.scroll-indicator.inverted .scroll-arrow {
    color: var(--inverted-text);
}

@keyframes bounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* ===== INVERTIBLE ELEMENTS ===== */
.invertible {
    position: relative;
    transition: color var(--transition-smooth);
}

.invertible.inverted,
.invertible.inverted .logo,
.invertible.inverted .tagline,
.invertible.inverted .nav-link,
.invertible.inverted .headline,
.invertible.inverted .scroll-text {
    color: var(--inverted-text);
}

.invertible.inverted.cta-button {
    color: var(--inverted-text);
    border-color: var(--inverted-text);
}

.invertible.inverted.cta-button:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .number-node {
        font-size: 8rem;
    }

    :root {
        --blob-size: 280px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1.5rem;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-between;
    }

    .branding {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .tagline {
        font-size: 0.875rem;
    }

    .nav {
        display: none;
    }

    .nav-link {
        font-size: 0.9375rem;
    }

    .cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }

    .headline {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9375rem, 3vw, 1.125rem);
        padding: 0 1rem;
    }

    .primary-button {
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }

    .number-node {
        font-size: 6rem;
        opacity: 0.5;
    }

    .scroll-indicator {
        margin-top: 2rem;
    }

    .scroll-text {
        font-size: 0.75rem;
    }

    :root {
        --blob-size: 250px;
    }

    /* Make content sections more mobile friendly */
    .section {
        padding: 5rem 1.5rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .personalization-callout {
        padding: 2rem;
    }

    .dynamic-examples {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem 1.5rem;
    }

    .branding {
        gap: 0.5rem;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .cta-button {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

    .headline {
        font-size: clamp(2rem, 11vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .primary-button {
        font-size: 0.9375rem;
        padding: 0.75rem 1.75rem;
    }

    .number-node {
        font-size: 4rem;
        opacity: 0.4;
    }

    .scroll-indicator {
        margin-top: 1.5rem;
    }

    .scroll-arrow {
        width: 24px;
        height: 24px;
    }

    .scroll-text {
        font-size: 0.6875rem;
    }

    :root {
        --blob-size: 180px;
    }

    body {
        cursor: auto;
        /* Show normal cursor on mobile for better UX */
    }

    .blob-cursor,
    .blob-trail {
        display: none;
        /* Hide blob on very small screens */
    }
}

/* ===== CONTENT SECTIONS ===== */
.section {
    position: relative;
    padding: 8rem 2rem;
    width: 100%;
    z-index: 10;
    background: #0a0a0f;
}

/* Subtle top border for section separation */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(200px, 30%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 0 0 0;
    /* Added top padding to clear fixed header */
    background: transparent;
    overflow: hidden;
    position: relative;
}

.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--inverted-text);
    transition: color var(--transition-smooth);
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-cta {
    margin-top: 3rem;
    text-align: center;
}

.primary-button {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-text);
    background: transparent;
    border: 2px solid var(--primary-text);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.primary-button:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.button-arrow {
    font-size: 1.25rem;
    transition: transform var(--transition-smooth);
}

.primary-button:hover .button-arrow {
    transform: translateY(3px);
}

/* ===== STORY SECTION - NUMBERS CAROUSEL ===== */
.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.story-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.story-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Numbers Carousel */
.numbers-carousel,
.brand-carousel {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.carousel-display {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 15, 0.2) 0%,
        rgba(10, 10, 15, 0.5) 60%,
        rgba(10, 10, 15, 0.9) 100%
    );
}

.slide-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 700;
    color: rgba(212, 175, 55, 0.15);
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
    pointer-events: none;
}

/* Carousel Controls */
.carousel-controls {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    width: 100%;
    box-sizing: border-box;
    background: rgba(15, 15, 20, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.carousel-btn {
    position: relative;
    padding: 1rem 0.5rem;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
}

.carousel-btn:last-child {
    border-right: none;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.03);
}

.carousel-btn.active {
    background: rgba(212, 175, 55, 0.05);
}

.btn-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-gold), rgba(255, 107, 53, 0.8));
    transition: width 0.1s linear;
}

.carousel-btn.active .btn-progress {
    animation: progress-fill 5s linear forwards;
}

@keyframes progress-fill {
    from { width: 0%; }
    to { width: 100%; }
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.btn-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.carousel-btn.active .btn-number {
    background: var(--accent-gold);
    color: #0a0a0f;
}

.btn-title {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--inverted-text);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.carousel-btn.active .btn-title {
    opacity: 1;
}

.btn-desc {
    display: none;
}

/* Slide Text Overlay (for brand story carousel) */
.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 2;
}

.slide-text p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--inverted-text);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* 3-Column Carousel Controls (for brand story) */
.carousel-controls.carousel-controls-3 {
    display: flex;
    flex-direction: row;
}

.carousel-controls-3 .carousel-btn {
    flex: 1;
    padding: 1.75rem 1.5rem 2rem;
}

.carousel-controls-3 .btn-number {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.carousel-controls-3 .btn-title {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.carousel-controls-3 .carousel-btn.active .btn-title {
    opacity: 1;
}

.carousel-controls-3 .btn-desc {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    color: rgba(245, 245, 220, 0.5);
    line-height: 1.5;
    margin-top: 0.5rem;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-controls-3 .carousel-btn.active .btn-desc {
    color: rgba(245, 245, 220, 0.75);
}

/* Responsive Carousel */
@media (min-width: 900px) {
    .carousel-controls {
        grid-template-columns: repeat(9, 1fr);
    }

    .carousel-btn {
        padding: 1.25rem 0.75rem;
    }

    .btn-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .btn-title {
        font-size: 0.75rem;
    }

    .btn-desc {
        display: block;
        font-family: 'Nunito', sans-serif;
        font-size: 0.65rem;
        color: rgba(245, 245, 220, 0.5);
        line-height: 1.4;
        margin-top: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .carousel-btn.active .btn-desc {
        color: rgba(245, 245, 220, 0.7);
    }
}

@media (max-width: 768px) {
    .carousel-display {
        height: 350px;
        border-radius: 12px 12px 0 0;
    }

    .carousel-controls {
        grid-template-columns: repeat(9, 1fr);
        border-radius: 0 0 12px 12px;
    }

    .carousel-btn {
        padding: 0.75rem 0.25rem;
    }

    .btn-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    .btn-title {
        display: none;
    }

    .slide-number {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .carousel-display {
        height: 280px;
    }

    .carousel-btn {
        padding: 0.6rem 0.2rem;
    }

    .btn-number {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .slide-text {
        padding: 1rem;
    }

    .slide-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Responsive 3-Column Carousel (Brand Story) */
@media (max-width: 768px) {
    .carousel-controls-3 .carousel-btn {
        padding: 1.25rem 1rem 1.5rem;
    }

    .carousel-controls-3 .btn-desc {
        display: none;
    }

    .carousel-controls-3 .btn-title {
        display: block;
        font-size: 0.85rem;
    }

    .carousel-controls-3 .btn-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .carousel-controls-3 .carousel-btn {
        padding: 1rem 0.75rem 1.25rem;
    }

    .carousel-controls-3 .btn-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .carousel-controls-3 .btn-title {
        font-size: 0.75rem;
    }
}

/* ===== GUIDE SECTION ===== */
.guide {
    background: #0a0a0f;
}

.guide-header {
    text-align: center;
    margin-bottom: 4rem;
}

.guide-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.guide-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 700px;
    margin: 0 auto;
}

.wisdom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.wisdom-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.wisdom-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-4px);
}

.wisdom-icon {
    color: rgba(212, 175, 55, 0.8);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.wisdom-card:hover .wisdom-icon {
    color: var(--accent-gold);
    opacity: 1;
}

.wisdom-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1rem;
}

.wisdom-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(245, 245, 220, 0.7);
}

/* ===== NUMBERS GUIDE SECTION ===== */
.numbers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.numbers-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.numbers-intro {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== NUMBERS ORBITAL VIEW ===== */
.numbers-orbital-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 700px;
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Center orb */
.orbital-center {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-gold) 0%, rgba(212, 175, 55, 0.3) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
}

.orbital-center::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: orbital-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.orbital-center::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.15);
    animation: orbital-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    animation-delay: 0.5s;
}

.orbital-center-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 245, 220, 0.9);
    backdrop-filter: blur(8px);
}

@keyframes orbital-ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Orbit ring */
.orbital-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Number nodes */
.number-orbital-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
}

.number-orbital-node .node-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.number-orbital-node:hover .node-glow,
.number-orbital-node.active .node-glow {
    opacity: 1;
}

.number-orbital-node .node-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.number-orbital-node:hover .node-circle {
    border-color: var(--accent-gold);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.number-orbital-node.active .node-circle {
    background: var(--accent-gold);
    color: #0a0a0f;
    border-color: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.number-orbital-node .node-label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(245, 245, 220, 0.6);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.number-orbital-node:hover .node-label,
.number-orbital-node.active .node-label {
    color: var(--inverted-text);
}

/* Expanded card */
.number-orbital-card {
    position: absolute;
    top: calc(100% + 50px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 280px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.number-orbital-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.5));
}

.number-orbital-node.active .number-orbital-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.number-orbital-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-orbital-card h4 .card-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.number-orbital-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(245, 245, 220, 0.75);
}

.number-orbital-card .card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.number-orbital-card .keyword {
    font-family: 'Nunito', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Numbers orbital responsive */
@media (max-width: 768px) {
    .numbers-orbital-container {
        height: 500px;
        max-width: 100%;
    }

    .orbital-ring {
        width: 350px;
        height: 350px;
    }

    .orbital-center {
        width: 60px;
        height: 60px;
    }

    .orbital-center-inner {
        width: 30px;
        height: 30px;
    }

    .number-orbital-node .node-circle {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .number-orbital-node .node-label {
        display: none;
    }

    .number-orbital-card {
        width: 240px;
        padding: 1.25rem;
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) scale(0.9);
    }

    .number-orbital-node.active .number-orbital-card {
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 480px) {
    .numbers-orbital-container {
        height: 400px;
    }

    .orbital-ring {
        width: 280px;
        height: 280px;
    }

    .number-orbital-node .node-circle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* Fallback grid for very small screens or no-js */
.numbers-grid-fallback {
    display: none;
}

@media (max-width: 380px) {
    .numbers-orbital-container {
        display: none;
    }

    .numbers-grid-fallback {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
}

/* ===== NUMBERS GUIDE (ORIGINAL GRID - NOW FALLBACK) ===== */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.number-meaning {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.number-meaning:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.number-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.25rem;
    transition: all 0.4s ease;
}

.number-meaning:hover .number-badge {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
}

.number-meaning h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.number-meaning p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(245, 245, 220, 0.7);
}

.personalization-callout {
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 4rem;
}

.callout-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1rem;
}

.callout-content p {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.8);
    margin-bottom: 1.5rem;
}

.dynamic-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.example-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border-left: 2px solid rgba(212, 175, 55, 0.4);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(245, 245, 220, 0.75);
}

.example-item strong {
    color: rgba(212, 175, 55, 0.9);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    letter-spacing: 0.03em;
}

/* ===== FAQ SECTION ===== */
.faq {
    background: #0a0a0f;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.faq-intro {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem 2.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.15);
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-item p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.7);
}

/* ===== 3D TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: #0a0a0f;
    padding: 6rem 2rem;
    overflow: hidden;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.testimonials-header p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 500px;
    margin: 0 auto;
}

/* 3D Container */
.testimonials-3d-container {
    position: relative;
    height: 500px;
    max-width: 900px;
    margin: 0 auto;
    perspective: 300px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials-3d-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    transform: translateX(-50px) translateY(0px) translateZ(-100px) rotateX(20deg) rotateY(-10deg) rotateZ(20deg);
    transform-style: preserve-3d;
    height: 100%;
    padding: 2rem;
}

/* Marquee columns */
.testimonial-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: marquee-vertical 40s linear infinite;
    flex-shrink: 0;
}

.testimonial-column.reverse {
    animation-direction: reverse;
}

.testimonial-column:hover {
    animation-play-state: paused;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(calc(-50% - 0.5rem));
    }
}

/* Testimonial card */
.testimonial-card {
    width: 200px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.testimonial-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--inverted-text);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.testimonial-country {
    font-size: 0.6875rem;
}

.testimonial-handle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.6875rem;
    color: rgba(245, 245, 220, 0.5);
}

.testimonial-body {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(245, 245, 220, 0.75);
}

/* Gradient overlays */
.testimonials-3d-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom, #0a0a0f, transparent);
    z-index: 10;
    pointer-events: none;
}

.testimonials-3d-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to top, #0a0a0f, transparent);
    z-index: 10;
    pointer-events: none;
}

.testimonials-gradient-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25%;
    background: linear-gradient(to right, #0a0a0f, transparent);
    z-index: 10;
    pointer-events: none;
}

.testimonials-gradient-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 25%;
    background: linear-gradient(to left, #0a0a0f, transparent);
    z-index: 10;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-3d-container {
        height: 400px;
    }

    .testimonials-3d-inner {
        transform: translateX(-30px) translateZ(-50px) rotateX(15deg) rotateY(-8deg) rotateZ(15deg);
        gap: 0.75rem;
    }

    .testimonial-card {
        width: 160px;
        padding: 1rem;
    }

    .testimonial-avatar {
        width: 32px;
        height: 32px;
    }

    .testimonial-name {
        font-size: 0.75rem;
    }

    .testimonial-body {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 4rem 1rem;
    }

    .testimonials-3d-container {
        height: 350px;
    }

    .testimonials-3d-inner {
        gap: 0.5rem;
        padding: 1rem;
    }

    .testimonial-card {
        width: 140px;
        padding: 0.875rem;
    }

    .testimonial-column {
        animation-duration: 30s;
    }
}

/* ===== APP PREVIEW SECTION ===== */
.app-header {
    text-align: center;
    margin-bottom: 4rem;
}

.app-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.app-intro {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

.feature-icon {
    color: rgba(212, 175, 55, 0.8);
    margin-bottom: 1.25rem;
}

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

.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 0.625rem;
}

.feature p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(245, 245, 220, 0.7);
}

.app-cta {
    text-align: center;
}

.primary-button.large {
    font-size: 1.125rem;
    padding: 1.125rem 2.5rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--accent-gold);
}

.primary-button.large:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #0a0a0f;
}

.cta-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.5);
    margin-top: 1rem;
}

/* ===== INLINE CTA BUTTON ===== */
.cta-button-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 0.875rem 1.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition-smooth);
}

.cta-button-inline:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #0a0a0f;
}

.cta-button-inline .button-arrow {
    transition: transform 0.3s ease;
}

.cta-button-inline:hover .button-arrow {
    transform: translateX(4px);
}

/* ===== SECTION CTA CONTAINERS ===== */
.product-tour-cta,
.testimonials-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0a0a0f;
    padding: 4rem 2rem 2rem;
    position: relative;
    z-index: 101;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.logo-img-footer {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--inverted-text);
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.footer-brand p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.5);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    color: rgba(245, 245, 220, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.8125rem;
    color: rgba(245, 245, 220, 0.4);
}

/* ===== LOGO IMAGE ===== */
.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* ===== RESPONSIVE FOR CONTENT SECTIONS ===== */
@media (max-width: 1024px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 1.5rem;
    }

    .section::before {
        width: min(120px, 40%);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .personalization-callout {
        padding: 1.75rem;
    }

    .dynamic-examples {
        grid-template-columns: 1fr;
    }
}

/* ===== HAMBURGER MENU ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 201;
    transition: all var(--transition-smooth);
}

.hamburger-line {
    width: 28px;
    height: 2px;
    background: var(--inverted-text);
    /* Force light color */
    transition: all var(--transition-smooth);
    border-radius: 2px;
}

.hamburger.inverted .hamburger-line {
    background: var(--inverted-text);
}

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

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

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

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(10, 10, 15, 0.98));
    backdrop-filter: blur(20px);
    z-index: 199;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
}

.mobile-nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--inverted-text);
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

/* Stagger animation for menu items */
.mobile-menu.active .mobile-nav-link:nth-child(1) {
    transition-delay: 0.1s;
}

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

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

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

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width var(--transition-smooth);
}

.mobile-nav-link:hover::after {
    width: 60%;
}

.mobile-nav-cta {
    margin-top: 2rem;
    padding: 1.25rem 3rem;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    background: transparent;
    color: var(--accent-gold);
    font-size: 2rem;
}

.mobile-nav-cta:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: scale(1.05);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-nav-link {
        font-size: 2rem;
    }

    .mobile-nav-cta {
        font-size: 1.5rem;
        padding: 1rem 2.5rem;
    }
}

/* ===== ALTERNATIVE HERO SECTION ===== */
.hero-alt {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6rem;
    /* Account for header */
}

.hero-content-alt {
    width: 100%;
    max-width: 1400px;
    /* Wider for split layout */
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 100;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
    max-width: 650px;
}

.logo-container-alt {
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-logo-alt {
    height: 60px;
    width: auto;
}

.headline-alt {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 700;
    color: var(--primary-text);
    transition: color var(--transition-smooth);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle-alt {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--primary-text);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-cta-alt {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.secondary-button-alt {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary-text);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.secondary-button-alt:hover {
    color: var(--sunset-orange);
    transform: translateY(-2px);
}

/* ===== COSMIC CARD VISUAL ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.cosmic-card-container {
    width: 400px;
    height: 500px;
    position: relative;
    animation: float-card 6s ease-in-out infinite;
}

.cosmic-card {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.cosmic-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

.card-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 10rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-gold), var(--sunset-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(212, 175, 55, 0.3));
}

.card-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--inverted-text);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 1rem;
}

.card-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.ring-1 {
    width: 250px;
    height: 250px;
    animation: spin 20s linear infinite;
    border-color: rgba(212, 175, 55, 0.2);
}

.ring-2 {
    width: 350px;
    height: 350px;
    animation: spin-reverse 25s linear infinite;
}

.ring-3 {
    width: 450px;
    height: 450px;
    animation: spin 30s linear infinite;
    border-style: dashed;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

@keyframes float-card {

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

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

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* Responsive Styles for Alternative Hero */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .logo-container-alt {
        display: block;
        /* Center align on mobile */
    }

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

    .cosmic-card-container {
        margin: 0 auto;
        height: 400px;
        width: 320px;
    }

    .card-number {
        font-size: 8rem;
    }
}

/* ===== PRODUCT TOUR SECTION ===== */
.product-tour {
    background: #0a0a0f;
    padding: 6rem 2rem;
}

.product-tour-header {
    text-align: center;
    margin-bottom: 5rem;
}

.product-tour-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.product-tour-header p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Block - Alternating Layout */
.product-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 6rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.product-block:last-child {
    margin-bottom: 0;
}

.product-block.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Alternate layout for even blocks */
.product-block:nth-child(even) {
    direction: rtl;
}

.product-block:nth-child(even) > * {
    direction: ltr;
}

/* Phone Mockup Container */
.phone-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.product-block:nth-child(even) .phone-mockup-container {
    transform: translateX(60px);
}

.product-block.in-view .phone-mockup-container {
    opacity: 1;
    transform: translateX(0);
}

/* Phone Mockup - CSS-based frame */
.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #0a0a0f;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #0a0a0f;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Placeholder for missing images */
.phone-screen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(74, 20, 140, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(245, 245, 220, 0.4);
    font-family: 'Nunito', sans-serif;
    font-size: 0.875rem;
    text-align: center;
    padding: 2rem;
}

.phone-screen-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.5;
}

/* Product Text Content */
.product-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.product-block.in-view .product-text {
    opacity: 1;
    transform: translateY(0);
}

.product-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.product-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--inverted-text);
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.product-text p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 245, 220, 0.75);
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9375rem;
    color: rgba(245, 245, 220, 0.7);
}

.product-feature svg {
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

/* Product Tour Responsive */
@media (max-width: 1024px) {
    .product-block {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .product-block:nth-child(even) {
        direction: ltr;
    }

    .phone-mockup-container {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .product-text {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-tour {
        padding: 4rem 1.5rem;
    }

    .product-block {
        margin-bottom: 4rem;
    }

    .phone-mockup {
        width: 200px;
        height: 420px;
        border-radius: 30px;
        padding: 8px;
    }

    .phone-mockup::before {
        width: 60px;
        height: 18px;
        border-radius: 0 0 12px 12px;
    }

    .phone-screen {
        border-radius: 24px;
    }
}

/* ===== ENHANCED APP FEATURES WITH THUMBNAILS ===== */
.feature-thumbnail {
    width: 100%;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(74, 20, 140, 0.05) 100%);
}

.feature-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.feature:hover .feature-thumbnail img {
    transform: scale(1.05);
}

.feature-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(212, 175, 55, 0.3);
}

.feature-thumbnail-placeholder svg {
    width: 32px;
    height: 32px;
}

/* ===== SCROLL ANIMATIONS GENERAL ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.in-view > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.in-view > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }