/* apply.coach — landing
   Minimal, modern, no dependencies. */

:root {
    --bg:           #0b0f17;
    --bg-soft:      #131826;
    --surface:      #1a2030;
    --border:       #232a3d;
    --text:         #e7ecf3;
    --text-muted:   #9aa4b8;
    --accent:       #5b8cff;
    --accent-hover: #7aa3ff;
    --accent-soft:  rgba(91, 140, 255, 0.12);
    --success:      #4ade80;
    --warn:         #f59e0b;
    --danger:       #ef4444;
    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 10px 40px rgba(0, 0, 0, 0.35);
    --max:          1180px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.01em;
}

.logo-dot {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    display: inline-grid;
    place-items: center;
    color: white;
    font-size: 14px;
    font-weight: 800;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 500;
}

.main-nav a:hover { color: var(--text); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px;
    font-size: 13px;
    font-weight: 600;
}

.lang-switch a {
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: 999px;
}

.lang-switch a.active {
    background: var(--accent-soft);
    color: var(--text);
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.05s ease, background 0.15s ease, border 0.15s ease;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--text); }

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
    border-radius: 14px;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 20% 20%, rgba(91, 140, 255, 0.18), transparent 70%),
        radial-gradient(50% 40% at 80% 30%, rgba(139, 92, 246, 0.14), transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 0 0 22px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 19px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero .cta-sub {
    display: block;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    border: 1px solid rgba(91, 140, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.18);
}

/* ─── Sections ──────────────────────────────────────────────────────────── */
.section {
    padding: 90px 0;
    border-top: 1px solid var(--border);
}

.section-head {
    text-align: center;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.section-head p {
    color: var(--text-muted);
    font-size: 17px;
    margin: 0;
}

/* ─── How it works ──────────────────────────────────────────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 18px;
}

.step h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 700;
}

.step p {
    color: var(--text-muted);
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ─── Personas grid ─────────────────────────────────────────────────────── */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.persona-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.persona-card:hover {
    border-color: rgba(91, 140, 255, 0.5);
    transform: translateY(-2px);
}

.persona-emoji {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.persona-name {
    font-weight: 700;
    font-size: 15.5px;
    margin: 0 0 6px;
}

.persona-desc {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.difficulty {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.difficulty-beginner     { background: rgba(74, 222, 128, 0.12); color: var(--success); }
.difficulty-intermediate { background: rgba(245, 158, 11, 0.12); color: var(--warn); }
.difficulty-advanced     { background: rgba(239, 68, 68, 0.12);  color: var(--danger); }

/* ─── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 14px;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--text-muted);
    font-weight: 400;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
    color: var(--text-muted);
    margin: 16px 0 0;
    font-size: 15px;
}

/* ─── Final CTA ─────────────────────────────────────────────────────────── */
.final-cta {
    text-align: center;
    padding: 90px 24px;
    background:
        radial-gradient(60% 80% at 50% 0%, rgba(91, 140, 255, 0.16), transparent 70%),
        var(--bg);
    border-top: 1px solid var(--border);
}

.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    font-weight: 700;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
    .main-nav { display: none; }
    .hero { padding: 60px 0 70px; }
    .section { padding: 70px 0; }
    .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .header-actions .btn { padding: 10px 14px; font-size: 14px; }
    .hero p.lead { font-size: 17px; }
}
