* { box-sizing: border-box; }
:root {
  --bg: #050810;
  --panel: rgba(255,255,255,0.04);
  --border: rgba(148,163,184,0.22);
  --text: #e8eefc;
  --muted: #c2cfe6;
  --blue: #3b82f6;
  --blue-light: #82b8ff;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(96,165,250,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 100%);
}
.glow { position: fixed; border-radius: 50%; filter: blur(90px); z-index: -2; pointer-events: none; }
.glow-a { width: 520px; height: 520px; left: -120px; top: -160px; background: rgba(37,99,235,0.35); }
.glow-b { width: 420px; height: 420px; right: -100px; top: 320px; background: rgba(14,165,233,0.22); }
.nodes { position: fixed; top: 0; left: 0; width: 100%; height: 600px; z-index: -1; opacity: 0.5; pointer-events: none; }

.site-header {
  position: sticky; top: 12px; z-index: 10;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 12px 16px 0; padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: auto; height: 48px; object-fit: contain; }
.brand-name { display: none; }
.nav-toggle { display: none; }
.main-nav { display: flex; gap: 16px; flex-wrap: wrap; margin-left: 12px; }
.main-nav a { color: #334155; text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: #0f172a; }
.header-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.lang-picker { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #475569; }
.lang-picker select {
  background: #f1f5f9; color: #0f172a;
  border: 1px solid rgba(15,23,42,0.12); border-radius: 999px; padding: 6px 8px;
}
.btn {
  border: 1px solid var(--border); background: rgba(255,255,255,0.06);
  color: var(--text); border-radius: 999px; padding: 9px 18px;
  font-size: 0.95rem; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-primary { background: linear-gradient(135deg, #2563eb, #0ea5e9); border-color: transparent; font-weight: 700; box-shadow: 0 6px 20px rgba(37,99,235,0.35); }
.btn-primary:hover { filter: brightness(1.08); }

main { max-width: 1060px; margin: 0 auto; padding: 0 20px 40px; }
.hero { padding: 64px 0 32px; max-width: 820px; }
.eyebrow { display: inline-block; color: var(--blue-light); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; background: rgba(59,130,246,0.22); border: 1px solid rgba(96,165,250,0.55); border-radius: 999px; padding: 4px 14px; }
h1 { font-size: 2.8rem; line-height: 1.15; margin: 16px 0 12px; }
.hero-sub { font-size: 1.15rem; color: #e6ebf5; }
.hero-close { font-size: 1.05rem; font-weight: 600; color: var(--text); }
.positioning { color: var(--blue-light); font-weight: 700; font-size: 1.05rem; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.glass-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.card-text { margin: 0 0 10px; font-weight: 600; }
.card-link, .text-link { color: var(--blue-light); text-decoration: none; font-weight: 600; }
.card-link:hover, .text-link:hover { text-decoration: underline; }

.section { padding: 64px 0 8px; }
.section h2 { font-size: 2.1rem; margin-bottom: 8px; }
.section-intro { color: var(--muted); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.card h3 { margin-top: 0; }
.includes, .bullets { padding-left: 20px; }
.includes li, .bullets li { margin-bottom: 10px; color: #e6ebf5; }
.badge {
  display: inline-block; background: rgba(245,158,11,0.18); color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.5); border-radius: 999px;
  padding: 2px 12px; font-size: 0.85rem; font-weight: 700;
}
.status-note { color: var(--muted); }
.plan-price { font-size: 2rem; font-weight: 800; margin: 6px 0; }
.plan-rows { width: 100%; border-collapse: collapse; font-size: 0.92rem; color: #e6ebf5; }
.plan-rows td { padding: 5px 0; border-top: 1px solid rgba(148,163,184,0.15); }
.plan-rows td:last-child { text-align: right; font-weight: 600; color: var(--text); }
.plan-tier-users { color: var(--muted); margin: 0; }
form { display: grid; gap: 14px; max-width: 560px; margin-top: 16px; }
form label { display: grid; gap: 6px; font-weight: 600; }
form input, form textarea {
  background: rgba(255,255,255,0.06); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: inherit;
}
.form-note { color: var(--muted); font-size: 0.9rem; max-width: 560px; }
.site-footer { border-top: 1px solid var(--border); padding: 24px; text-align: center; color: var(--muted); }
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: #0b1226; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; max-width: 420px; margin: 20px; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
@media (max-width: 720px) {
  h1 { font-size: 2rem; }
  .hero-cards, .cards-3 { grid-template-columns: 1fr; }
  .site-header { margin: 8px 10px 0; padding: 10px 16px; gap: 10px; }
  .site-header.nav-open { border-radius: 24px; }
  .brand-logo { height: 44px; }
  .nav-toggle {
    display: inline-flex; margin-left: auto;
    background: transparent; border: none; cursor: pointer;
    color: #0f172a; font-size: 1.5rem; line-height: 1; padding: 6px 8px;
  }
  .main-nav { display: none; width: 100%; flex-direction: column; gap: 0; margin-left: 0; }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { font-size: 1rem; padding: 10px 8px; border-top: 1px solid rgba(15,23,42,0.08); }
  .header-actions { display: none; width: 100%; margin-left: 0; flex-wrap: wrap; padding-top: 4px; }
  .site-header.nav-open .header-actions { display: flex; }
}
