:root {
    --bg: #0b1120;
    --card: #111827;
    --border: #1f2937;
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
.container { width: min(1080px, 92vw); margin: 0 auto; }
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand-badge { background: var(--accent); color: #fff; padding: 0.15rem 0.45rem; border-radius: 0.4rem; font-size: 0.85rem; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); }

.hero { padding: 5.5rem 0 4rem; text-align: center; }
.pill { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(59,130,246,0.14); color: #60a5fa; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 780px; margin: 0 auto 1rem; }
.subtitle { color: var(--muted); max-width: 620px; margin: 0 auto 2rem; font-size: 1.05rem; }
.hero-actions { display: flex; justify-content: center; gap: 0.85rem; flex-wrap: wrap; }

section { padding: 4rem 0; border-top: 1px solid var(--border); }
h2 { text-align: center; font-size: 1.85rem; margin-bottom: 0.5rem; }
.section-lead { text-align: center; color: var(--muted); margin-bottom: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card, .price-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 0.85rem; padding: 1.5rem; position: relative;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

.price-card.featured { border-color: var(--accent); box-shadow: 0 12px 32px rgba(59,130,246,0.18); }
.popular-tag { position: absolute; top: -12px; right: 16px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; }
.tier-name { font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.price { font-size: 2.2rem; font-weight: 800; margin: 0.4rem 0 1rem; }
.price span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: #cbd5e1; }

.download-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.65rem 1.25rem; border-radius: 0.5rem; font-weight: 700; font-size: 0.9rem;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: #475569; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); padding: 0.45rem 0.85rem; }
.full-w { width: 100%; }

.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.75); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 1rem; }
.modal-backdrop[hidden] { display: none; }
.modal-box { background: var(--card); border: 1px solid var(--border); border-radius: 0.85rem; width: min(440px, 94vw); padding: 1.4rem; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.close-x { background: none; border: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.field { width: 100%; padding: 0.6rem 0.75rem; border-radius: 0.45rem; border: 1px solid var(--border); background: var(--bg); color: var(--text); margin: 0.5rem 0 0.85rem; font-size: 0.92rem; }
.status-msg { font-size: 0.84rem; margin-top: 0.65rem; color: #60a5fa; }
