/* ===================================
   SWAPBELT PRELAUNCH SITE
   =================================== */

:root {
    --color-black: #000000;
    --color-ink: #1d1d1f;
    --color-muted: rgba(29, 29, 31, 0.68);
    --color-soft: #f5f5f7;
    --color-white: #ffffff;
    --color-blue: #0071e3;
    --color-blue-dark: #0066cc;
    --color-blue-light: #2997ff;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-dark-card: #171719;
    --shadow-soft: rgba(0, 0, 0, 0.18) 0 24px 70px;
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-ink);
    background: var(--color-white);
    line-height: 1.47;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
    font: inherit;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    min-width: 132px;
}

.logo-mark {
    height: 24px;
    width: auto;
}

.logo-mark-dark {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    letter-spacing: -0.01em;
}

.nav-links a,
.footer-links a {
    transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
    color: var(--color-white);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: #147ce5;
    transform: translateY(-1px);
}

.mobile-menu {
    display: none;
}

.mobile-menu-btn {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: var(--color-white);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ===================================
   SHARED LAYOUT
   =================================== */

.section-dark {
    background: var(--color-black);
    color: var(--color-white);
}

.section-light,
.section-gray {
    background: var(--color-soft);
    color: var(--color-ink);
}

.section-white {
    background: var(--color-white);
    color: var(--color-ink);
}

.section-shell {
    width: min(var(--max-width), calc(100% - 44px));
    margin: 0 auto;
}

.narrow-shell {
    max-width: 860px;
}

.center-copy,
.center-text {
    text-align: center;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--color-blue-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-dark .eyebrow {
    color: var(--color-blue-light);
}

h1,
h2,
h3 {
    color: inherit;
    letter-spacing: -0.055em;
}

h1 {
    max-width: 720px;
    font-size: clamp(54px, 9vw, 104px);
    line-height: 0.96;
    font-weight: 700;
}

h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    line-height: 1.12;
    font-weight: 700;
}

p {
    color: var(--color-muted);
    font-size: 18px;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.section-intro {
    max-width: 740px;
    margin: 22px auto 0;
    font-size: 22px;
    line-height: 1.35;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #147ce5;
}

.btn-secondary {
    color: var(--color-blue-dark);
    border-color: currentColor;
    background: transparent;
}

.btn-on-dark {
    color: var(--color-blue-light);
}

.text-link {
    display: inline-flex;
    margin-top: 26px;
    color: var(--color-blue-dark);
    font-size: 18px;
    font-weight: 600;
}

.text-link::after {
    content: "›";
    margin-left: 8px;
}

.text-link-on-dark {
    color: var(--color-blue-light);
}

/* ===================================
   HERO
   =================================== */

.hero {
    min-height: 100vh;
    padding: 132px 0 78px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    align-items: center;
    gap: 58px;
}

.hero-subheader {
    max-width: 640px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.hero-description {
    max-width: 620px;
    margin-top: 18px;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.24;
    letter-spacing: -0.035em;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-visual {
    position: relative;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 40%, #1a1a1d 0%, #050505 66%);
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
    box-shadow: rgba(255, 255, 255, 0.08) 0 0 0 1px inset;
}

.hero-product-image {
    width: min(100%, 680px);
    filter: drop-shadow(0 28px 54px rgba(0, 0, 0, 0.55));
}

/* ===================================
   PROBLEM / FEATURES
   =================================== */

.problem-section,
.process-section,
.development-section,
.styles-section,
.early-access-section,
.faq-section {
    padding: 112px 0;
}

.card-grid {
    margin-top: 52px;
    display: grid;
    gap: 20px;
}

.three-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.faq-item {
    min-height: 280px;
    padding: 34px;
    border-radius: 28px;
    background: var(--color-white);
    box-shadow: rgba(0, 0, 0, 0.04) 0 1px 0;
}

.feature-number {
    display: inline-flex;
    margin-bottom: 56px;
    color: rgba(29, 29, 31, 0.32);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.feature-card p,
.faq-item p {
    margin-top: 14px;
    font-size: 17px;
}

/* ===================================
   SPLIT SECTIONS
   =================================== */

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: 72px;
}

.reverse-split {
    grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
}

.split-copy p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 21px;
    line-height: 1.34;
}

.process-list {
    margin-top: 34px;
    list-style: none;
    display: grid;
    gap: 16px;
    counter-reset: process;
}

.process-list li {
    position: relative;
    padding-left: 54px;
    counter-increment: process;
}

.process-list li::before {
    content: counter(process, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-blue-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.process-list span {
    display: block;
    color: var(--color-ink);
    font-size: 18px;
    font-weight: 700;
}

.process-list p {
    margin-top: 2px;
    font-size: 16px;
}

.image-panel {
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 26px;
}

.image-panel-light {
    background: var(--color-soft);
}

.image-panel-dark {
    background: #101012;
    box-shadow: rgba(255, 255, 255, 0.08) 0 0 0 1px inset;
}

.image-panel img {
    max-height: 620px;
    object-fit: contain;
    border-radius: 18px;
}

.image-stack {
    position: relative;
    min-height: 440px;
}

.photo-card {
    position: absolute;
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.primary-photo {
    inset: 0 auto auto 0;
    width: 76%;
}

.secondary-photo {
    right: 0;
    bottom: 0;
    width: 54%;
    background: var(--color-white);
    padding: 18px;
}

.status-list {
    margin-top: 34px;
    display: grid;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
    border-radius: 18px;
    background: var(--color-white);
}

.status-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 800;
}

.status-item.done span {
    color: #0f7a35;
    background: rgba(15, 122, 53, 0.12);
}

.status-item.active span {
    color: var(--color-blue-dark);
    background: rgba(0, 113, 227, 0.12);
}

.status-item p {
    margin: 0;
    font-size: 16px;
    color: var(--color-ink);
}

/* ===================================
   WAITLIST / FAQ / FOOTER
   =================================== */

.early-access-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
    gap: 48px;
    align-items: center;
    padding: 64px;
    border-radius: 34px;
    background: var(--color-soft);
}

.early-access-copy p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 21px;
}

.early-access-form {
    display: grid;
    gap: 12px;
}

.early-access-form input[type="email"] {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-ink);
    outline: none;
    font-size: 17px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.early-access-form input[type="email"]:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.early-access-form .btn {
    width: 100%;
    min-height: 56px;
}

.form-message {
    min-height: 36px;
    font-size: 14px;
    color: rgba(29, 29, 31, 0.52);
}

.form-message.success {
    color: #0f7a35;
}

.form-message.error {
    color: #c52828;
}

.honeypot,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.faq-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-item {
    min-height: auto;
}

.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 34px 0;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 6px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 14px;
}

/* ===================================
   MOBILE
   =================================== */

@media (max-width: 980px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .mobile-menu {
        position: fixed;
        inset: 52px 0 auto 0;
        z-index: 999;
        display: none;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        padding: 26px 22px 34px;
    }

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

    .mobile-nav-links {
        list-style: none;
        display: grid;
        gap: 18px;
    }

    .mobile-nav-links a {
        display: block;
        color: var(--color-white);
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.04em;
    }

    .mobile-menu .btn {
        margin-top: 24px;
        width: 100%;
    }

    .hero-shell,
    .split-section,
    .reverse-split,
    .early-access-shell {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .three-card-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .image-stack {
        min-height: auto;
        display: grid;
        gap: 18px;
    }

    .photo-card {
        position: static;
        width: 100%;
    }

    .secondary-photo {
        padding: 12px;
    }

    .early-access-shell {
        padding: 36px 24px;
    }
}

@media (max-width: 640px) {
    .section-shell {
        width: min(100% - 28px, var(--max-width));
    }

    .problem-section,
    .process-section,
    .development-section,
    .styles-section,
    .early-access-section,
    .faq-section {
        padding: 76px 0;
    }

    h1 {
        font-size: clamp(48px, 16vw, 70px);
    }

    .hero-subheader,
    .hero-description,
    .section-intro,
    .split-copy p:not(.eyebrow),
    .early-access-copy p:not(.eyebrow) {
        font-size: 19px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .feature-card {
        min-height: 230px;
        padding: 28px;
    }

    .image-panel {
        min-height: 320px;
        padding: 14px;
        border-radius: 24px;
    }

    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}
