/* ─── Tokens ──────────────────────────────────────────────── */
:root {
    --bg:           #06071a;
    --bg-alt:       #1c2b4a;
    --bg-surface:   rgba(255, 255, 255, 0.04);
    --text:         #e6ecf8;
    --text-muted:   #7688a8;
    --accent:       #4f7ff0;
    --accent-hover: #3d6ee0;
    --border:       rgba(255, 255, 255, 0.09);
    --radius:       10px;
    --container:    1100px;
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── Container ───────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

.btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 127, 240, 0.3);
}

.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 15, 29, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav__logo {
    height: 1.75rem;
    width: auto;
    display: block;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero__subheadline {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-muted);
    max-width: 44ch;
    text-align: center;
    line-height: 1.6;
}


.hero {
    padding: clamp(5rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
}

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

.hero__headline {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 16em;
}

/* ─── Sections ────────────────────────────────────────────── */
.section {
    padding: clamp(4rem, 10vw, 8rem) 0;
    border-top: 1px solid var(--border);
}

.section--alt {
    background: var(--bg-alt);
}

.section__headline {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    max-width: 26em;
}

/* ─── Workflow ────────────────────────────────────────────── */
.workflow {
    list-style: none;
    counter-reset: workflow;
    max-width: 680px;
}

.workflow__item {
    counter-increment: workflow;
    position: relative;
    padding: 0 0 2.5rem 3.25rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.workflow__item:last-child {
    padding-bottom: 0;
}

/* Numbered circle */
.workflow__item::before {
    content: counter(workflow, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: grid;
    place-items: center;
}

/* Connecting line */
.workflow__item::after {
    content: '';
    position: absolute;
    left: calc(1rem - 0.5px);
    top: 2rem;
    bottom: 0;
    width: 1px;
    background: var(--accent);
}

.workflow__item:last-child::after {
    display: none;
}

/* ─── Cards ───────────────────────────────────────────────── */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--text);
    transition: border-color 0.2s;
}

.card:hover {
    border-color: rgba(79, 127, 240, 0.4);
}

/* ─── CTA ─────────────────────────────────────────────────── */
.section--cta {
    background: var(--bg-alt);
}

.cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.cta__headline {
    font-size: clamp(1.4rem, 2.8vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 22em;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer__inner {
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}
