:root {
  --bg: #0a1018;
  --bg-soft: #121b26;
  --panel: #162233;
  --text: #e8edf6;
  --muted: #99a7bb;
  --line: #2a3a51;
  --brand: #79b8ff;
  --brand-2: #6df2d6;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #122033 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.5;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, #000 25%, transparent 85%);
}

.container { width: min(1100px, 92vw); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  backdrop-filter: blur(8px);
  background: rgba(10,16,24,.55);
  border-bottom: 1px solid rgba(121,184,255,.15);
}
.brand { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .02em; }
nav { display: flex; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--text); }
.lang-toggle {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-weight: 600;
  cursor: pointer;
}

.hero { padding: 6.5rem 0 3rem; }
.kicker { color: var(--brand-2); text-transform: uppercase; font-size: .8rem; letter-spacing: .18em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: .4rem 0; }
.hero-text { color: var(--muted); max-width: 700px; font-size: 1.1rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn {
  border-radius: 999px; padding: .7rem 1.2rem; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; cursor: pointer;
  transform: translateY(0); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #06111e; font-weight: 700; }
.btn-secondary { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.03); }

.section { padding: 2.2rem 0; }
.section h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .6rem; }
.section p { color: var(--muted); max-width: 850px; }

.cards { display: grid; gap: .85rem; margin-top: 1rem; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}
.card h3 { margin: 0 0 .35rem; font-size: 1rem; }
.card p { margin: 0; font-size: .95rem; }
.icon-card { text-align: center; }
.icon-card span { font-size: 1.5rem; display: block; margin-bottom: .45rem; }

.founder {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 1rem;
}
.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: .08em;
  background: linear-gradient(180deg, rgba(121,184,255,.25), rgba(109,242,214,.18));
  color: var(--text);
}
.founder-copy h3 {
  margin-bottom: .25rem;
}
.founder-role {
  font-size: .9rem;
  margin-bottom: .65rem;
  color: var(--brand-2);
}

.list { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.list li { margin-bottom: .35rem; }

.form { display: grid; gap: .75rem; max-width: 700px; }
.form label { display: grid; gap: .25rem; font-size: .9rem; color: var(--muted); }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: rgba(0,0,0,.2); color: var(--text); padding: .65rem .7rem;
}
.form input:focus, .form textarea:focus { outline: 2px solid rgba(121,184,255,.45); outline-offset: 0; }
.hint { font-size: .84rem; color: var(--muted); margin: 0; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem;
  border-top: 1px solid var(--line); padding: 2rem 0 2.6rem; margin-top: 2rem;
}
.footer a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
.footer a:hover { color: var(--text); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  nav { display: none; }
  .hero { padding-top: 4rem; }
  .cols-2, .cols-3, .cols-5 { grid-template-columns: 1fr; }
  .founder {
    grid-template-columns: 1fr;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#demo-form-status[data-state="sending"] { color: var(--muted); }
#demo-form-status[data-state="success"] { color: var(--brand-2); }
#demo-form-status[data-state="error"] { color: #ff8f8f; }

.form button[disabled] {
  opacity: 0.75;
  cursor: wait;
  transform: none;
}
