:root {
    --bg: #070A12;
    --panel: rgba(13, 18, 34, 0.82);
    --panel-soft: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.12);
    --text: #F8FAFC;
    --muted: #A7B0C0;
    --soft: #D9E2F2;
    --accent: #B7FF5A;
    --accent-2: #66E3D4;
    --danger: #FF7A90;
    --success: #B7FF5A;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 10%, rgba(102, 227, 212, 0.18), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(183, 255, 90, 0.15), transparent 28%),
        radial-gradient(circle at 50% 95%, rgba(58, 83, 155, 0.28), transparent 34%),
        var(--bg);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 72%);
}

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

button,
input {
    font: inherit;
}

.page-shell {
    width: min(1180px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.hero-card,
.phone-preview {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(15, 22, 41, 0.88), rgba(8, 11, 20, 0.9));
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    overflow: hidden;
}

.hero-card {
    border-radius: var(--radius-lg);
    padding: 20px;
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(183, 255, 90, 0.18), transparent 70%);
}

.nav {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 54px;
}

.logo {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 1;
}

.logo::first-letter {
    color: var(--accent);
}

.nav-pill {
    border: 1px solid rgba(183, 255, 90, 0.28);
    background: rgba(183, 255, 90, 0.08);
    color: var(--accent);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--soft);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(183, 255, 90, 0.65);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(183, 255, 90, 0.65); }
    70% { box-shadow: 0 0 0 10px rgba(183, 255, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(183, 255, 90, 0); }
}

h1 {
    margin: 20px 0 16px;
    max-width: 720px;
    font-size: clamp(2.55rem, 12vw, 6.7rem);
    line-height: 0.9;
    letter-spacing: -0.085em;
    text-wrap: balance;
}

.hero-text {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 34px 0;
}

.feature-card {
    border: 1px solid var(--line);
    background: var(--panel-soft);
    border-radius: var(--radius-md);
    padding: 18px;
}

.feature-number {
    display: inline-flex;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.feature-card h2 {
    margin: 0 0 8px;
    font-size: 1.08rem;
    letter-spacing: -0.04em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.94rem;
}

.waitlist-form {
    max-width: 650px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.055);
    border-radius: var(--radius-md);
    padding: 14px;
}

.waitlist-form label {
    display: block;
    margin: 4px 4px 10px;
    font-size: 0.9rem;
    color: var(--soft);
    font-weight: 800;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.form-row input {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255,255,255,0.12);
    outline: none;
    border-radius: 16px;
    padding: 0 15px;
    background: rgba(5, 8, 15, 0.76);
    color: var(--text);
}

.form-row input:focus {
    border-color: rgba(183, 255, 90, 0.65);
    box-shadow: 0 0 0 4px rgba(183, 255, 90, 0.09);
}

.form-row button,
.mock-button {
    min-height: 54px;
    border: 0;
    border-radius: 16px;
    color: #07100F;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease;
}

.form-row button:hover,
.mock-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.privacy-note,
.form-status {
    margin: 12px 4px 0;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
}

.form-status {
    font-weight: 800;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--danger);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.phone-preview {
    border-radius: var(--radius-lg);
    display: grid;
    place-items: center;
    min-height: 560px;
    padding: 28px 18px;
}

.phone-preview::before {
    content: "";
    position: absolute;
    inset: 18%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(102, 227, 212, 0.22), transparent 68%);
    filter: blur(10px);
}

.phone-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 340px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 38px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(14, 19, 35, 0.96), rgba(5, 7, 12, 0.96));
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}

.phone-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.phone-top span {
    font-weight: 900;
    letter-spacing: -0.07em;
}

.phone-top small {
    color: var(--muted);
    font-weight: 800;
}

.workout-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(183, 255, 90, 0.2);
    background: rgba(183, 255, 90, 0.08);
    border-radius: 24px;
    padding: 18px;
    margin-bottom: 14px;
}

.micro {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.workout-block h3 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
}

.kg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 64px;
    border-radius: 20px;
    background: rgba(255,255,255,0.08);
    font-weight: 950;
    color: var(--accent);
}

.set-list {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.set-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 14px;
}

.set-row span {
    color: var(--muted);
    font-weight: 750;
}

.set-row strong {
    font-size: 0.95rem;
}

.set-row.complete {
    opacity: 0.72;
}

.mock-button {
    width: 100%;
}

.mini-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.045);
    border-radius: 20px;
    padding: 8px;
}

.mini-tabs span {
    text-align: center;
    color: var(--muted);
    font-weight: 850;
    font-size: 0.78rem;
    padding: 10px 5px;
    border-radius: 14px;
}

.mini-tabs .selected {
    background: rgba(255,255,255,0.09);
    color: var(--text);
}

@media (min-width: 700px) {
    .page-shell {
        padding: 26px;
    }

    .hero-card {
        padding: 30px;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr auto;
    }

    .form-row button {
        padding-inline: 24px;
        white-space: nowrap;
    }
}

@media (min-width: 1040px) {
    .page-shell {
        grid-template-columns: 1.25fr 0.75fr;
        align-items: stretch;
    }

    .hero-card {
        min-height: calc(100vh - 52px);
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        margin-top: auto;
        margin-bottom: auto;
    }

    .phone-preview {
        min-height: calc(100vh - 52px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
