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

:root {
    --bg:        #08060f;
    --surface:   #100d1a;
    --violet:    #6d28d9;
    --violet2:   #7c3aed;
    --gold:      #f59e0b;
    --gold2:     #fbbf24;
    --magenta:   #c026d3;
    --frost:     #f0e6ff;
    --muted:     #7c6f99;
    --border:    rgba(109,40,217,.25);

    --radius: 18px;
    --font-display: 'Cinzel', serif;
    --font-body:    'Inter', sans-serif;
}

html {
    overflow-x: hidden;
}
body {
    background: var(--bg);
    color: var(--frost);
    font-family: var(--font-body);
    min-height: 100vh;
    width: 100%;
    margin: 0;
}

/* ── Background atmosphere ──────────────────────────────────── */
.page-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 15% 0%,   rgba(109,40,217,.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 100%,  rgba(192,38,211,.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 50%,   rgba(245,158,11,.05) 0%, transparent 60%);
}
.page-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 80% 70%, rgba(255,255,255,.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 10%, rgba(255,255,255,.4) 0%, transparent 100%);
    background-size: 400px 400px;
    opacity: .6;
}

/* ── Layout ─────────────────────────────────────────────────── */
.main-container {
    position: relative; z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 24px 96px;
}

.title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    letter-spacing: .02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, var(--frost) 40%, var(--gold2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 48px;
}

/* ── Launcher box (featured) ───────────────────────────────── */
.launcher-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(160deg, rgba(24,18,40,.98) 0%, rgba(30,20,50,.95) 100%);
    border: 1px solid rgba(245,158,11,.35);
    border-radius: var(--radius);
    padding: 40px 44px;
    margin-bottom: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px -15px var(--gold);
}
.launcher-box::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(245,158,11,.10) 0%, transparent 70%);
    pointer-events: none;
}
.launcher-info { position: relative; z-index: 1; }
.launcher-info h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--frost);
    margin-bottom: 4px;
    letter-spacing: .02em;
}
.launcher-info > p {
    font-size: 13px;
    color: var(--gold2);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: 18px;
}
.launcher-info ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 28px;
}
.launcher-info li {
    font-size: 14px;
    color: rgba(240,230,255,.75);
}
.download-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #1a0f00;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(245,158,11,.4);
    transition: transform .2s, box-shadow .2s;
}
.download-main-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245,158,11,.55);
}
.launcher-preview {
    position: relative; z-index: 1;
    flex-shrink: 0;
}
.launcher-preview img {
    max-width: 220px;
    border-radius: 12px;
    border: 1px solid rgba(109,40,217,.25);
    box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: linear-gradient(160deg, rgba(16,13,26,.95) 0%, rgba(24,18,40,.9) 100%);
    border: 1px solid rgba(109,40,217,.2);
    border-radius: var(--radius);
    padding: 28px 30px;
    backdrop-filter: blur(8px);
    margin-bottom: 24px;
}
.card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--frost);
    margin-bottom: 18px;
    letter-spacing: .02em;
}

.tools-grid {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(109,40,217,.15);
    border: 1px solid rgba(109,40,217,.3);
    color: var(--frost);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}
.download-btn:hover {
    background: rgba(109,40,217,.28);
    border-color: var(--violet2);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.step {
    position: relative;
    font-size: 14px;
    color: rgba(240,230,255,.85);
    padding: 10px 16px 10px 40px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(109,40,217,.15);
    border-radius: 10px;
    counter-increment: step-counter;
}
.steps { counter-reset: step-counter; }
.step::before {
    content: counter(step-counter);
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold2);
    border: 1px solid rgba(245,158,11,.35);
    border-radius: 50%;
}
.step span { color: var(--gold2); font-weight: 600; }
.step b { color: var(--frost); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .launcher-box { flex-direction: column; text-align: center; padding: 32px 24px; }
    .launcher-info ul { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
