:root {
    --bg: #0a0e17;
    --surface: #131a2b;
    --border: #1e2a42;
    --primary: #6366f1;
    --primary-hover: #818cf8;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #22d3ee;
    --radius: 12px;
}

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

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

/* --- Nav --- */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 23, .85);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}

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

/* --- Hero --- */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: .75rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* --- Buttons --- */

.btn {
    display: inline-block;
    padding: .75rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
    transition: all .2s;
    cursor: pointer;
}

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

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

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

/* --- Grid --- */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Sections --- */

section {
    padding: 5rem 1.5rem;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* --- Features --- */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: border-color .2s, transform .2s;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}

.card p {
    color: var(--text-muted);
    font-size: .95rem;
}

/* --- Pricing --- */

.pricing {
    background: var(--surface);
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.price-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: border-color .2s, transform .2s;
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, .15);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem 1rem;
    border-radius: 999px;
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.price-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.price-card li {
    padding: .4rem 0;
    color: var(--text-muted);
    font-size: .95rem;
}

.price-card li::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 700;
}

/* --- How-to --- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    margin-bottom: .5rem;
}

.step p {
    color: var(--text-muted);
    font-size: .95rem;
}

/* --- FAQ --- */

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .2s;
}

details:hover {
    border-color: var(--primary);
}

summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    float: right;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: transform .2s;
}

details[open] summary::after {
    content: "−";
}

details p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: .95rem;
}

/* --- Footer --- */

footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: .85rem;
    border-top: 1px solid var(--border);
}

/* --- Responsive --- */

@media (max-width: 640px) {
    nav ul {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
