:root {
    --brand: #4F46E5;
    --brand-dark: #3730A3;
    --bg: #ffffff;
    --bg-alt: #F9FAFB;
    --text: #111827;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --radius: 8px;
    --max-width: 1200px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site { background: white; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
header.site .container { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
header.site .logo { font-weight: 700; font-size: 20px; color: var(--text); }
header.site nav ul { list-style: none; display: flex; gap: 28px; }
header.site nav a { color: var(--text); font-weight: 500; }
header.site .cta { background: var(--brand); color: white; padding: 10px 20px; border-radius: var(--radius); }
header.site .cta:hover { background: var(--brand-dark); text-decoration: none; }
header.site .nav-toggle { display: none; background: transparent; border: 0; font-size: 24px; cursor: pointer; padding: 8px; color: var(--text); }

/* Hero */
.hero { padding: 80px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); text-align: center; }
.hero h1 { font-size: 48px; font-weight: 800; margin-bottom: 20px; }
.hero p { font-size: 20px; color: var(--text-muted); max-width: 680px; margin: 0 auto 32px; }
.hero .buttons { display: flex; gap: 16px; justify-content: center; }
.btn { padding: 14px 28px; border-radius: var(--radius); font-weight: 600; display: inline-block; border: 0; cursor: pointer; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); }

/* Features grid */
.features { padding: 80px 0; }
.features h2 { text-align: center; font-size: 36px; margin-bottom: 48px; }
.features .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.features .card { padding: 32px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); }
.features .card h3 { font-size: 20px; margin-bottom: 12px; }
.features .card p { color: var(--text-muted); }

/* Forms */
.form-card { max-width: 440px; margin: 80px auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.form-card h2 { margin-bottom: 24px; text-align: center; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 14px; }
.form-field input, .form-field textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: inherit; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-meta { margin-top: 16px; text-align: center; font-size: 14px; color: var(--text-muted); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 48px 0; }
.plan { padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: white; }
.plan.featured { border-color: var(--brand); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1); }
.plan .price { font-size: 44px; font-weight: 800; margin: 16px 0; }
.plan ul { list-style: none; margin: 20px 0; }
.plan li { padding: 8px 0; color: var(--text-muted); }

/* Footer */
footer.site { background: var(--bg-alt); padding: 48px 0 32px; border-top: 1px solid var(--border); margin-top: 80px; }
footer.site .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 32px; }
footer.site h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; color: var(--text); }
footer.site a { color: var(--text-muted); display: block; padding: 4px 0; font-size: 14px; }
footer.site .legal { border-top: 1px solid var(--border); padding-top: 24px; color: var(--text-muted); font-size: 14px; text-align: center; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 600px; margin: 0 auto; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); z-index: 1000; display: none; }
.cookie-banner.visible { display: block; }
.cookie-banner p { font-size: 14px; margin-bottom: 12px; }
.cookie-banner .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 8px 16px; font-size: 14px; }

/* Status page */
.status-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 32px 0; }
.status-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #10B981; display: inline-block; margin-right: 8px; }
.uptime-bars { display: flex; gap: 2px; margin: 16px 0; }
.uptime-bar { flex: 1; height: 24px; background: #10B981; border-radius: 2px; }

/* Code */
pre { background: #1E293B; color: #E2E8F0; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
code { font-family: var(--font-mono); font-size: 0.92em; background: var(--bg-alt); padding: 2px 6px; border-radius: 3px; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    header.site nav ul { display: none; }
    header.site nav.mobile-open ul { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: white; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
    header.site .nav-toggle { display: inline-block; }
}
