:root {
    --bg: #0b0d12;
    --bg-soft: #11151d;
    --panel: #121826;
    --panel-2: #0f1724;
    --text: #e9eef7;
    --muted: #a9b3c7;
    --brand: #6ee7ff;
    --brand-2: #7c5cff;
    --accent: #ffb86b;
    --success: #4ade80;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    --glow: 0 0 60px rgba(110, 231, 255, 0.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Space Grotesk", "Avenir Next", "Trebuchet MS", sans-serif;
    color: var(--text);
    background: radial-gradient(1200px 600px at 10% -10%, rgba(110, 231, 255, 0.15), transparent),
        radial-gradient(900px 600px at 90% 10%, rgba(124, 92, 255, 0.18), transparent),
        var(--bg);
    min-height: 100vh;
}

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

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

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(11, 13, 18, 0.65);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.brand-badge img {
    width: 100%;
    height: 100%;
    display: block;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.95rem;
    color: var(--muted);
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.hero {
    padding: 90px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1.05;
    margin: 0 0 18px;
    letter-spacing: -1px;
}

.hero p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #0b0d12;
    box-shadow: var(--glow);
}

.btn-apple {
    background: #0f0f12;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-apple svg {
    width: 18px;
    height: 18px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(110, 231, 255, 0.35);
}

.btn-secondary {
    border-color: var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.hero-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-media {
    margin-top: 40px;
    display: grid;
    gap: 24px;
}

.screenshot-hero {
    border-radius: calc(var(--radius) + 6px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(0px);
    opacity: 0.6;
}

.hero-card::before {
    width: 120px;
    height: 120px;
    background: rgba(124, 92, 255, 0.4);
    top: -30px;
    right: 20px;
    animation: float 8s ease-in-out infinite;
}

.hero-card::after {
    width: 80px;
    height: 80px;
    background: rgba(110, 231, 255, 0.4);
    bottom: -20px;
    left: 10px;
    animation: float 10s ease-in-out infinite;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.section {
    padding: 70px 0;
}

.section h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin: 0 0 18px;
}

.section p {
    color: var(--muted);
    margin: 0 0 28px;
}

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

.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    min-height: 170px;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.screenshot-strip {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.screenshot {
    background: var(--panel-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: translateY(-6px);
}

.steps {
    display: grid;
    gap: 16px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
}

.step-index {
    font-family: "JetBrains Mono", "SF Mono", monospace;
    background: rgba(110, 231, 255, 0.12);
    color: var(--brand);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.85rem;
}

.callout {
    display: grid;
    gap: 16px;
    background: linear-gradient(140deg, rgba(124, 92, 255, 0.22), rgba(110, 231, 255, 0.1));
    border: 1px solid rgba(124, 92, 255, 0.4);
    border-radius: var(--radius);
    padding: 24px;
}

.code-block {
    font-family: "JetBrains Mono", "SF Mono", monospace;
    background: #0d1119;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    color: #c9d6f3;
}

.release-list {
    display: grid;
    gap: 16px;
}

.release-item {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.55);
}

.release-item h3 {
    margin: 0 0 6px;
}

.release-meta {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.release-body {
    color: var(--muted);
    white-space: pre-wrap;
}

.footer {
    padding: 50px 0 60px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.95rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.form {
    display: grid;
    gap: 16px;
}

.input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(10, 14, 22, 0.7);
    color: var(--text);
    font-family: inherit;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.note {
    color: var(--muted);
    font-size: 0.92rem;
}

.preview-box {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    background: rgba(10, 14, 22, 0.5);
    text-align: center;
    color: var(--muted);
}

.preview-box img {
    margin-top: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
