:root {
    --bg: #0f172a;
    --bg-card: #1e293b;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #334155;
    --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;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.navbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}
.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.hero {
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(ellipse at top, #1e3a5f 0%, var(--bg) 70%);
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #60a5fa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; }

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); }
.btn-block { display: block; text-align: center; }

.features, .pricing, .faq {
    padding: 64px 20px;
}
.features h2, .pricing h2, .faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
}
.pricing-featured {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
}
.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.price {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 16px 0 24px;
}
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul {
    list-style: none;
    margin-bottom: 24px;
}
.pricing-card li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}
.pricing-card li:last-child { border-bottom: none; }

.faq-list { max-width: 720px; margin: 0 auto; }
details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
summary:hover { background: rgba(59, 130, 246, 0.05); }
details[open] summary { border-bottom: 1px solid var(--border); }
details p {
    padding: 18px 24px;
    color: var(--text-muted);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links { margin-top: 8px; }
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
    .nav-links a:not(.btn) { display: none; }
    .hero h1 { font-size: 1.8rem; }
    .hero-actions { flex-direction: column; }
}
