/* ═══ RESET & BASE ═══════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ═══ NAV ════════════════════════════════════════════════ */
.nav {
    display: none !important;
}

.logo {
    display: none !important;
}

.nav-icon {
    display: none !important;
}

.back-home-logo {
    position: absolute;
    top: 40px;
    left: 48px;
    z-index: 1000;
    transition: opacity 0.2s ease;
}

.back-home-logo img {
    height: 32px;
    object-fit: contain;
}

.back-home-logo:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .back-home-logo {
        top: 24px;
        left: 24px;
    }
    .back-home-logo img {
        height: 24px;
    }
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

/* ═══ SECTIONS ═══════════════════════════════════════════ */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
}

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

.section-title {
    font-weight: 400;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-weight: 300;
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.5);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══ HERO ═══════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    padding-top: 100px;
}

.hero-brand {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: -16px; /* Bring closer to title */
    animation: fadeInUp 0.8s ease-out;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    font-weight: 300;
    font-size: clamp(32px, 6vw, 64px);
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero-emphasis {
    font-weight: 600;
}

.hero-image-container {
    width: min(588px, 90vw); /* Increased by 40% from 420px */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-animation {
    width: 100%;
    height: auto;
    border-radius: 32px;
    /* User requested: "remove the glow completely" */
    box-shadow: none;
    filter: none;
}

.hero-scroll-hint {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
    animation: softBounce 2.5s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.badge-coming-soon {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
}

/* ═══ TRACKS / ORBIT ═════════════════════════════════════ */
.tracks {
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Push section title to top */
.tracks .section-header {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 80px;
    flex-shrink: 0;
}

/* Wrapper uses flex-grow to center the orbit and flex-shrink: 0 so it never clips the 900px tall child */
.orbit-wrapper {
    flex-grow: 1;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding to ensure it breathes on short screens */
    padding: 20px 0 80px 0;
}

.orbit-container {
    --radius: 380px;
    --icon-size: 140px;
    position: relative;
    width: calc(var(--radius) * 2 + var(--icon-size));
    height: calc(var(--radius) * 2 + var(--icon-size));
}

/* The spinning ring that holds all icons */
.orbit-ring {
    position: absolute;
    inset: 0;
    animation: orbitSpin 35s linear infinite;
}

@keyframes orbitSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Each icon on the ring */
.orbit-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--icon-size);
    height: var(--icon-size);
    transform: translate(-50%, -50%) translate(0, 0);
    transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Explode outward using trig — no local rotation so icons stay upright */
.orbit-container.exploded .orbit-node {
    transform: translate(-50%, -50%)
               translate(
                   calc(var(--radius) * sin(var(--angle))),
                   calc(var(--radius) * -1 * cos(var(--angle)))
               );
}

.orbit-node img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: counterSpin 35s linear infinite;
    -webkit-user-drag: none;
}

@keyframes counterSpin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* Center text */
.orbit-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.8s ease 0.6s;
}

.orbit-container.exploded .orbit-center-text {
    opacity: 1;
}

.orbit-center-text h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 32px;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0;
}

/* ── Mobile ─────────────────────────────── */
@media (max-width: 768px) {
    .orbit-container {
        --radius: 280px;
        --icon-size: 120px;
        /* `top` now handled safely by flex centering */
    }

    .orbit-center-text {
        background: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 40%, transparent 80%);
        padding: 12px 20px;
        border-radius: 12px;
    }

    .orbit-center-text h3 {
        font-size: 26px;
    }
}

/* ═══ HOW IT WORKS ═══════════════════════════════════════ */
.how-it-works {
    padding: 120px 24px;
}

.how-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.mockup-container {
    flex: 1;
    max-width: 480px;
}

.app-mockup {
    width: 100%;
    height: auto;
    border-radius: 40px;
    /* Clean look, no glow */
}

.how-text {
    flex: 1;
    text-align: left;
}

.how-text .section-title {
    margin-left: 0;
    text-align: left;
}

.how-text .section-sub {
    margin-left: 0;
    text-align: left;
    max-width: 520px;
}

/* ── Mobile Overrides ── */
@media (max-width: 960px) {
    .how-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .how-text {
        text-align: center;
    }

    .how-text .section-title,
    .how-text .section-sub {
        margin: 0 auto;
        text-align: center;
    }
}


/* ═══ WAITLIST ═══════════════════════════════════════════ */
.waitlist-section {
    min-height: 80vh;
    padding: 120px 24px;
}

.waitlist-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-mascot {
    width: min(320px, 80vw);
    height: auto;
    object-fit: contain;
    margin-bottom: 48px;
}

.waitlist-title {
    font-weight: 400;
    font-size: clamp(28px, 5vw, 48px);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.waitlist-sub {
    font-weight: 300;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 48px;
}

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

.waitlist-input {
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: border-color 0.3s ease;
}

.waitlist-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.waitlist-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.waitlist-btn {
    width: 100%;
    padding: 18px 24px;
    background: #FFFFFF;
    border: none;
    border-radius: 16px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.waitlist-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.waitlist-btn:active {
    transform: translateY(0);
}

.waitlist-success {
    margin-top: 24px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.waitlist-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ FOOTER ═════════════════════════════════════════════ */
.footer {
    padding: 60px 24px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

.footer-text {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05em;
}

/* ═══ ANIMATIONS ═════════════════════════════════════════ */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ═══ SCROLL REVEAL ══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ═══ RESPONSIVE ═════════════════════════════════════════ */
@media (max-width: 768px) {
    .how-content {
        flex-direction: column-reverse;
        gap: 48px;
    }

    .how-text .section-title,
    .how-text .section-sub {
        text-align: center;
    }

    .how-text .section-sub {
        margin: 0 auto;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .widget-content {
        flex-direction: column;
        gap: 48px;
    }

    .widget-text .section-title,
    .widget-text .section-sub {
        text-align: center;
    }

    .widget-text .section-sub {
        margin: 0 auto;
    }

    .widget-placeholder {
        width: 260px;
        height: 340px;
    }

}

@media (max-width: 480px) {
    .section {
        padding: 64px 16px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-animation-placeholder {
        width: 280px;
        height: 280px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }
}
