/* ─── Modularity Hosting · Design System ─────────────────────────────────── */

@import url('https://fonts.cdnfonts.com/css/nevis');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --bg:           #06101c;
  --bg-1:         #0b1a2e;
  --bg-2:         #0f2040;
  --bg-card:      rgba(11,26,46,0.85);
  --border:       rgba(59,184,232,0.14);
  --border-hover: rgba(59,184,232,0.32);

  --picton:       #3bb8e8;
  --picton-light: #6ecdef;
  --picton-dim:   rgba(59,184,232,0.12);
  --picton-glow:  rgba(59,184,232,0.35);

  --white:        #ffffff;
  --text:         rgba(255,255,255,0.9);
  --text-2:       rgba(255,255,255,0.62);
  --text-3:       rgba(255,255,255,0.35);

  --font-head:    'Nevis', 'Barlow Condensed', 'Arial Black', sans-serif;
  --font:         'Inter', system-ui, sans-serif;
  --mono:         'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  100px;

  --nav-h:        72px;
  --max-w:        1160px;
  --section-gap:  110px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: var(--font); cursor: pointer; }
ul { list-style: none; }

/* ─── Nebula / cosmic background ─────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 10%, rgba(59,184,232,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 85% 55%, rgba(59,184,232,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(10,40,90,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Typography ─────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.display .accent { color: var(--picton); }

.headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}
.headline .accent { color: var(--picton); }

.subhead-label {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--picton);
}

.subhead {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--text-2);
  line-height: 1.7;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--picton);
  font-family: var(--font);
}

.mono { font-family: var(--mono); font-size: 0.82rem; color: var(--text-2); }

/* Heading underline decorator */
.heading-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--picton);
  margin: 14px auto 0;
  border-radius: 2px;
}
.heading-line.left { margin-left: 0; }

/* ─── Layout ─────────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: var(--section-gap) 0; position: relative; z-index: 1; }
.section-sm { padding: 72px 0; position: relative; z-index: 1; }
.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-header .headline { margin-bottom: 6px; }
.section-header .subhead { margin-top: 16px; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  font-family: var(--font-head);
}
.btn-primary {
  background: var(--picton);
  color: var(--bg);
  box-shadow: 0 4px 28px rgba(59,184,232,0.4);
}
.btn-primary:hover {
  background: var(--picton-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(59,184,232,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  border-color: var(--picton);
  color: var(--picton);
}
.btn-ghost { background: transparent; color: var(--text-2); padding: 10px 18px; }
.btn-ghost:hover { color: var(--white); }
.btn-lg { padding: 12px 26px; font-size: 0.82rem; }

/* ─── Nav ────────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(6,16,28,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--picton);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--picton); background: rgba(59,184,232,0.1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-signin {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.nav-signin:hover { color: var(--picton); border-color: var(--picton); background: rgba(59,184,232,0.08); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--picton);
  color: var(--bg);
  border: none;
  transition: all 0.18s;
  box-shadow: 0 2px 16px rgba(59,184,232,0.35);
}
.nav-cta:hover {
  background: var(--picton-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(59,184,232,0.5);
}

.nav-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text);
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.nav-menu-btn:hover { border-color: var(--picton); color: var(--picton); }
.nav-menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── Mobile panel ─────────────────────────────────────────────────────────── */
.nav-mobile-panel {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(6,16,28,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.nav-mobile-panel.open { transform: translateX(0); }
.nav-mobile-inner {
  padding: 28px 24px 60px;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-mobile-link {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--picton); background: rgba(59,184,232,0.06); }
.nav-mobile-sub {
  font-size: 0.8rem; font-weight: 500;
  text-transform: none; letter-spacing: 0.02em;
  padding: 9px 16px 9px 28px; color: var(--text-3);
}
.nav-mobile-sub:hover { color: var(--picton); }
.nav-mobile-section { margin: 4px 0; }
.nav-mobile-section-head {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--picton); padding: 16px 16px 6px;
  border-top: 1px solid var(--border);
}
.nav-mobile-actions {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
body.nav-open { overflow: hidden; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 90px) 0 90px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(59,184,232,0.1);
  border: 1px solid rgba(59,184,232,0.28);
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--picton-light);
  font-family: var(--font);
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--picton);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--picton);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.75); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; }
.hero-stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--picton);
  line-height: 1;
  margin-bottom: 3px;
  text-shadow: 0 0 20px rgba(59,184,232,0.5);
}
.hero-stat-label {
  font-size: 0.67rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-graphic-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-graphic-wrap::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(ellipse, rgba(59,184,232,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ─── Marquee ────────────────────────────────────────────────────────────────── */
.marquee-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(11,26,46,0.7);
  padding: 16px 0;
  overflow: hidden;
  position: relative; z-index: 1;
}
.marquee-strip::before,
.marquee-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.marquee-strip::before { left:0; background: linear-gradient(90deg, var(--bg-1), transparent); }
.marquee-strip::after  { right:0; background: linear-gradient(-90deg, var(--bg-1), transparent); }

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
@keyframes marquee-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 36px;
  border-right: 1px solid var(--border);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee-item svg { color: var(--picton); }

/* ─── Feature cards ──────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: rgba(15,32,64,0.9);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(59,184,232,0.12);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--picton-dim);
  border: 1px solid rgba(59,184,232,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--picton);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ─── Generic card ───────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s;
  backdrop-filter: blur(10px);
}
.card:hover { border-color: var(--border-hover); }
.card-glow-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--picton), transparent);
  opacity: 0.6;
}
.card { position: relative; overflow: hidden; }

/* ─── Pricing ────────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.22s;
  backdrop-filter: blur(10px);
}
.pricing-card:hover { border-color: var(--border-hover); box-shadow: 0 8px 40px rgba(59,184,232,0.1); }
.pricing-card.featured {
  background: rgba(59,184,232,0.07);
  border-color: rgba(59,184,232,0.4);
  transform: scale(1.025);
  box-shadow: 0 0 60px rgba(59,184,232,0.15);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--picton);
  box-shadow: 0 0 12px var(--picton);
}
.pricing-badge {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(59,184,232,0.15);
  border: 1px solid rgba(59,184,232,0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--picton);
  margin-bottom: 20px;
}
.pricing-tier {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}
.pricing-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 8px;
  line-height: 1;
}
.pricing-price-dollar { font-size: 1.2rem; font-weight: 700; color: var(--white); margin-top: 8px; font-family: var(--font-head); }
.pricing-price-amount { font-family: var(--font-head); font-size: 3.4rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.pricing-price-plus   { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--text-2); align-self: flex-end; padding-bottom: 8px; }
.pricing-price-mo     { font-size: 0.85rem; color: var(--text-3); align-self: flex-end; padding-bottom: 8px; }
.pricing-desc { font-size: 0.875rem; color: var(--text-2); margin-bottom: 24px; min-height: 38px; }
.pricing-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(59,184,232,0.12);
  border: 1px solid rgba(59,184,232,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--picton);
}
.pricing-cta {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.18s;
  border: none;
  display: block;
  cursor: pointer;
}
.pricing-cta-primary { background: var(--picton); color: var(--bg); box-shadow: 0 4px 20px rgba(59,184,232,0.35); }
.pricing-cta-primary:hover { background: var(--picton-light); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(59,184,232,0.5); }
.pricing-cta-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.pricing-cta-outline:hover { border-color: var(--picton); color: var(--picton); }

/* ─── Proof strip ────────────────────────────────────────────────────────────── */
.proof-strip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: center;
  backdrop-filter: blur(10px);
}
.proof-divider { width: 1px; height: 52px; background: var(--border); margin: 0 auto; }
.proof-stat { text-align: center; padding: 0 24px; }
.proof-stat-value {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(59,184,232,0.4);
}
.proof-stat-value span { color: var(--picton); }
.proof-stat-label { font-size: 0.75rem; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── CTA banner ─────────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(59,184,232,0.1) 0%, rgba(59,184,232,0.04) 100%);
  border: 1px solid rgba(59,184,232,0.28);
  border-radius: 28px;
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,184,232,0.18), transparent 70%);
  pointer-events: none;
}
.cta-banner .headline { margin-bottom: 14px; }
.cta-banner .subhead { max-width: 460px; margin: 0 auto 32px; }

/* ─── Split layout ───────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ─── Terminal ───────────────────────────────────────────────────────────────── */
.terminal { background: rgba(6,14,26,0.95); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.terminal-bar { background: var(--bg-1); border-bottom: 1px solid var(--border); padding: 11px 16px; display: flex; align-items: center; gap: 9px; }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-content { padding: 22px 24px; font-family: var(--mono); font-size: 0.82rem; line-height: 1.85; color: var(--text-3); }
.terminal-content .tc-line { display: block; }
.terminal-content .tc-prompt { color: var(--picton); }
.terminal-content .tc-green  { color: #10b981; }
.terminal-content .tc-white  { color: #e2e8f0; }
.terminal-content .tc-dim    { color: var(--text-3); }
.terminal-content .tc-yellow { color: #fbbf24; }

/* ─── Check list ─────────────────────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-2); }
.check-item-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(59,184,232,0.1); border: 1px solid rgba(59,184,232,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; color: var(--picton); font-size: 0.65rem;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
  width: 100%; background: var(--bg-card); border: none; padding: 18px 24px;
  text-align: left; font-size: 0.92rem; font-weight: 500; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  cursor: pointer; transition: background 0.15s;
}
.faq-question:hover { background: rgba(15,32,64,0.9); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--text-2); transition: transform 0.25s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--picton); color: var(--picton); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 18px; background: var(--bg-card); font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* ─── Form ───────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 0.8rem; font-weight: 500; color: var(--text-2); letter-spacing: 0.04em; }
.form-group input, .form-group select, .form-group textarea {
  background: rgba(11,26,46,0.8); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  font-family: var(--font); font-size: 0.9rem; color: var(--text);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: rgba(59,184,232,0.5); box-shadow: 0 0 0 3px rgba(59,184,232,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-1); }

/* ─── Page hero (inner) ──────────────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 56px;
  position: relative; text-align: center; z-index: 1;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 360px;
  background: radial-gradient(ellipse, rgba(59,184,232,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .label { margin-bottom: 14px; }
.page-hero .headline { margin-bottom: 14px; }

/* ─── Page-hero split layout (service pages) ─────────────────────────────── */
.page-hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; text-align: left; }
.page-hero-split .page-hero-text { max-width: 520px; }
.page-hero-split .page-hero-text .subhead { margin: 0 0 28px; }
.page-hero-split .page-hero-visual { display: flex; justify-content: center; align-items: center; }
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split .page-hero-visual { display: none; }
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 64px 0 36px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.footer-grid-5 { grid-template-columns: 1.6fr 1fr 1fr 0.8fr 0.8fr; gap: 36px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-3); margin-top: 12px; max-width: 260px; line-height: 1.65; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-2); transition: color 0.15s; }
.footer-col ul a:hover { color: var(--picton); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-status { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; color: #10b981; }
.footer-status-dot {
  width: 7px; height: 7px; background: #10b981; border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

/* ─── SVG / graphic helpers ──────────────────────────────────────────────────── */
.svg-graphic { width: 100%; max-width: 520px; filter: drop-shadow(0 0 40px rgba(59,184,232,0.2)); }
.svg-draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw-line 2.6s ease forwards 0.5s; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }

@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float { animation: float-y 7s ease-in-out infinite; }

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.blink { animation: blink 1s step-end infinite; }

/* ─── Fade-up animations ─────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-graphic-wrap { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .proof-strip { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .proof-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-5 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  :root { --section-gap: 72px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-mobile-panel { display: block; }
  .nav-cta { display: none; }
  .nav-signin { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 60px); }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .proof-strip { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: row; gap: 0; flex-wrap: nowrap; }
  .hero-stat { padding: 0 14px; border-right: 1px solid rgba(255,255,255,0.1); }
  .hero-stat:first-child { padding-left: 0; }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-value { font-size: 1.05rem; }
  .hero-stat-label { font-size: 0.58rem; }
  .proof-strip { grid-template-columns: 1fr; }
}

/* ─── Responsive inline-grid overrides ──────────────────────────────────────── */
/* Catches hardcoded 2-col and multi-col inline grids that lack responsive styles */
@media (max-width: 768px) {
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ─── Contact page ──────────────────────────────────────────────────────── */
.contact-link {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-2); font-size: 0.875rem;
  text-decoration: none; transition: color 0.15s;
}
.contact-link:hover { color: var(--picton); }
.contact-link-icon {
  width: 34px; height: 34px;
  background: var(--picton-dim);
  border: 1px solid rgba(59,184,232,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--picton); flex-shrink: 0;
  transition: background 0.15s;
}
.contact-link:hover .contact-link-icon { background: rgba(59,184,232,0.22); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

/* ─── Mega Menu ─────────────────────────────────────────────────────────── */
.nav-mega { position: relative; }
.nav-mega-trigger {
  display: flex; align-items: center; gap: 5px;
  cursor: pointer; user-select: none;
  color: var(--text-2); font-size: 0.82rem;
  font-family: var(--font-head); font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  transition: color 0.15s; padding: 8px 15px; background: none; border: none;
  border-radius: var(--radius-sm);
}
.nav-mega-trigger-label {
  color: inherit; text-decoration: none;
  font-family: inherit; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit; text-transform: inherit;
}
.nav-mega-trigger:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-mega.open .nav-mega-trigger,
.nav-mega-trigger.active { color: var(--picton); background: rgba(59,184,232,0.1); }
.nav-mega-trigger .chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-mega.open .nav-mega-trigger .chevron { transform: rotate(180deg); }
.nav-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%; transform: translateX(-50%) translateY(-8px);
  width: 960px;
  background: transparent;
  padding-top: 14px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 300;
}
.nav-mega-dropdown-inner {
  background: #0a1628;
  border: 1px solid rgba(59,184,232,0.22);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 60px rgba(59,184,232,0.07);
  padding: 22px 24px 18px;
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 16px 20px;
}
.mega-col-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px 4px;
}
.nav-mega.open .nav-mega-dropdown,
.nav-mega:focus-within .nav-mega-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
@media (hover: hover) {
  .nav-mega:hover .nav-mega-dropdown {
    opacity: 1; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .nav-mega:hover .nav-mega-trigger { color: #fff; background: rgba(255,255,255,0.07); }
  .nav-mega:hover .nav-mega-trigger .chevron { transform: rotate(180deg); }
}
.mega-divider { background: rgba(59,184,232,0.12); width: 1px; }
.mega-col-header {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 0.67rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--picton); padding-bottom: 10px;
  border-bottom: 1px solid rgba(59,184,232,0.1);
  margin-bottom: 6px;
}
.mega-link {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 7px; border-radius: 8px;
  text-decoration: none; color: var(--text-2);
  transition: background 0.13s, color 0.13s;
}
.mega-link:hover { background: rgba(59,184,232,0.08); color: #fff; }
.mega-link.active { color: var(--picton); }
.mega-link-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(59,184,232,0.07);
  border: 1px solid rgba(59,184,232,0.14);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--picton); transition: background 0.13s;
}
.mega-link:hover .mega-link-icon { background: rgba(59,184,232,0.18); }
.mega-link-name { font-size: 0.8rem; font-weight: 500; line-height: 1.2; color: inherit; }
.mega-link-desc { font-size: 0.69rem; color: var(--text-3); margin-top: 1px; line-height: 1.3; }
.mega-footer {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(59,184,232,0.1);
  padding-top: 14px; margin-top: 4px;
  display: flex; align-items: center; justify-content: space-between;
}
.mega-footer-text { font-size: 0.78rem; color: var(--text-3); }
.mega-footer-text strong { color: var(--text-2); font-weight: 500; }
@media (max-width: 1100px) {
  .nav-mega-dropdown { width: 820px; }
}
@media (max-width: 900px) {
  .nav-mega-dropdown { width: calc(100vw - 40px); }
  .mega-col-links { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-mega-dropdown {
    position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 4px);
    width: auto; transform: none !important; padding-top: 0;
  }
  .nav-mega-dropdown-inner {
    grid-template-columns: 1fr; max-height: 70vh; overflow-y: auto;
  }
  .mega-divider { width: auto; height: 1px; }
}

/* ─── Services hub ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service-card {
  background: var(--bg-1);
  border: 1px solid rgba(59,184,232,0.1);
  border-radius: 14px; padding: 22px 20px;
  text-decoration: none; color: var(--text-2);
  transition: border-color 0.15s, background 0.15s, transform 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.service-card:hover {
  border-color: rgba(59,184,232,0.35);
  background: rgba(59,184,232,0.04);
  transform: translateY(-2px);
  color: #fff;
}
.service-card-icon {
  width: 38px; height: 38px;
  background: var(--picton-dim); border: 1px solid rgba(59,184,232,0.2);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--picton);
}
.service-card-name { font-size: 0.88rem; font-weight: 600; color: #fff; line-height: 1.3; }
.service-card-desc { font-size: 0.77rem; color: var(--text-3); line-height: 1.5; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .services-grid { grid-template-columns: 1fr; } }
