:root {
  --bg: #0a0e14;
  --bg-alt: #0d1220;
  --surface: #111827;
  --surface-2: #161f30;
  --border: #232d3f;
  --text: #e7ecf3;
  --text-dim: #9aa7bd;
  --text-faint: #626f85;
  --teal: #5eead4;
  --indigo: #818cf8;
  --grad: linear-gradient(135deg, #5eead4, #818cf8);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  background-image: radial-gradient(circle at 20% 20%, rgba(94,234,212,0.08), transparent 40%),
                     radial-gradient(circle at 80% 0%, rgba(129,140,248,0.10), transparent 45%);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.wrap-narrow { max-width: 780px; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

img, svg { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,14,20,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #06131a;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(94,234,212,0.25); }

.btn-ghost {
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text); }

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(94,234,212,0.16), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner { max-width: 820px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.03);
  margin-bottom: 28px;
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stats strong {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos p {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.logo-row {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-weight: 600;
  font-size: 1.05rem;
  opacity: 0.7;
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-dark { background: var(--bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 720px;
  margin-bottom: 18px;
}

.section-lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 56px;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(94,234,212,0.35); transform: translateY(-3px); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: var(--grad);
  position: relative;
}
.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  background: var(--surface);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.icon-talk::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.icon-vault::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
.icon-mail::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }

.card-status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.card-status-live {
  color: #06131a;
  background: var(--grad);
}
.card-status-soon {
  color: var(--text-faint);
  border: 1px solid var(--border);
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card > p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 20px; }
.card ul { display: flex; flex-direction: column; gap: 10px; }
.card ul li {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Security section ---------- */
.security-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.spec {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.spec-label {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
}
.spec-value {
  font-size: 0.92rem;
  color: var(--text);
}

.terminal {
  background: #070a10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #0c1119;
  border-bottom: 1px solid var(--border);
}
.terminal-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #333;
}
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  white-space: nowrap;
}
.terminal pre {
  padding: 22px;
  overflow-x: auto;
}
.terminal code {
  font-family: var(--mono);
  font-size: 0.83rem;
  line-height: 1.7;
  color: #b7f5e6;
  white-space: pre;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--teal);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--teal);
  background: var(--surface-2);
  transform: scale(1.03);
  box-shadow: 0 25px 50px -20px rgba(94,234,212,0.15);
}
.price-tag {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--grad);
  color: #06131a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--text-dim); }
.price { font-size: 2.4rem; font-weight: 700; margin-bottom: 14px; }
.price span { font-size: 2.4rem; }
.price-card > p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 24px; min-height: 42px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-card ul li {
  font-size: 0.88rem;
  padding-left: 22px;
  position: relative;
  color: var(--text-dim);
}
.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- Quotes ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
blockquote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
blockquote p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}
blockquote footer {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.person { text-align: center; }
.avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 1.1rem;
  color: #06131a;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.person h4 { font-size: 1rem; margin-bottom: 4px; }
.person span { font-size: 0.85rem; color: var(--text-faint); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--teal);
  transition: transform 0.2s;
}
details[open] summary::after { transform: rotate(45deg); }
details p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ---------- CTA ---------- */
.cta {
  padding: 110px 0;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(94,234,212,0.08), transparent 65%), var(--bg-alt);
  border-top: 1px solid var(--border);
}
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.brand-text {
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 0.85rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s ease forwards;
}
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .pricing-grid, .quotes { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .price-card.featured { transform: none; }
}

@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 20px 28px;
    gap: 18px;
  }
  .site-header.open .header-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(72px + 190px);
    left: 0; right: 0;
    background: var(--bg);
    padding: 0 28px 24px;
    gap: 12px;
  }
  .hero { padding: 80px 0 60px; }
  .hero-stats { gap: 32px; }
  .logo-row { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
}
