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

:root {
    --bg: #0e0e12;
    --surface: #161620;
    --border: #2a2a3a;
    --text: #d4d4e0;
    --text-muted: #8888a0;
    --accent: #8c7aff;
    --accent-glow: #a594ff;
    --accent-dim: #6b5ce7;
}

html { scroll-behavior: smooth; }

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

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

/* --- Header --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 24px 0;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.header-links { display: flex; gap: 24px; font-size: 14px; }
.header-links a { color: var(--text-muted); }
.header-links a:hover { color: #fff; text-decoration: none; }

/* --- Hero --- */
.hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px 64px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

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

.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 24px rgba(140, 122, 255, 0.3);
}
.btn-primary:hover {
    background: var(--accent-glow);
    box-shadow: 0 6px 32px rgba(140, 122, 255, 0.45);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accent-dim); color: #fff; }

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Features --- */
.features {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 12px;
    display: block;
}

.feature h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Divider --- */
.divider {
    max-width: 960px;
    margin: 0 auto 64px;
    padding: 0 24px;
}
.divider hr {
    border: none;
    border-top: 1px solid var(--border);
}

/* --- How it works --- */
.how {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
    text-align: center;
}

.how h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.how > p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-dim);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.steps h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
}

.steps p {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Platforms --- */
.platforms {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 80px;
    text-align: center;
}

.platforms h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.platforms > p {
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
}

.platform-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.platform-item {
    font-size: 14px;
    color: var(--text-muted);
}

.platform-item strong { color: #fff; display: block; margin-bottom: 2px; }

/* --- Footer --- */
footer {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero { padding: 56px 20px 48px; }
    .hero p { font-size: 16px; }
    .btn { padding: 12px 24px; font-size: 15px; }
    .features { gap: 16px; }
    .feature { padding: 20px; }
    header { padding: 16px 20px 0; }
    .platform-list { gap: 24px; }
}
