/*
Theme Name: VoiceSilo
Theme URI: https://violet-guanaco-453423.hostingersite.com
Author: Innovation With Pixels
Description: Award-winning custom landing page theme for VoiceSilo, a next generation secure voice logging platform. Cyber-dashboard aesthetic with glassmorphism and deep vault navy palette.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: voicesilo
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg-deep: #0A192F;
  --bg-darker: #060F1F;
  --bg-panel: #0B1B33;
  --teal: #14B8A6;
  --teal-bright: #2DD4BF;
  --teal-deep: #00A896;
  --slate: #94A3B8;
  --slate-dim: #64748B;
  --ink: #F1F5F9;
  --ink-soft: #CBD5E1;
  --glass-bg: rgba(255, 255, 255, 0.035);
  --glass-bg-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(148, 163, 184, 0.14);
  --glass-border-lit: rgba(45, 212, 191, 0.35);
  --teal-glow: rgba(20, 184, 166, 0.45);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--teal); color: var(--bg-darker); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: 120px 0; }
.section--tight { padding: 90px 0; }

/* Ambient mesh glow layer applied to dark sections */
.glow-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 75% 0%, rgba(20, 184, 166, 0.16), transparent 60%),
    radial-gradient(50% 45% at 10% 100%, rgba(0, 168, 150, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.glow-mesh > * { position: relative; z-index: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: #04241F;
  box-shadow: 0 10px 30px -8px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -10px var(--teal-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-color: var(--glass-border);
}
.btn-ghost:hover {
  border-color: var(--glass-border-lit);
  background: rgba(20, 184, 166, 0.06);
  transform: translateY(-3px);
}
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(10, 25, 47, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 25, 47, 0.96);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.8);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.site-header .brand img { height: 56px; }
.site-footer .brand img { height: 48px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.brand-name span { color: var(--teal-bright); }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  margin-right: -8px;
}
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); border-radius: 2px; transition: all 0.3s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 78px 0 54px; overflow: hidden; }
/* Keep the hero glow contained so it fades inside the section, not into the trust band */
.hero.glow-mesh::before {
  background:
    radial-gradient(48% 42% at 78% 16%, rgba(20, 184, 166, 0.18), transparent 62%),
    radial-gradient(42% 38% at 12% 70%, rgba(0, 168, 150, 0.10), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--teal-bright);
  font-family: var(--font-display);
  text-transform: uppercase;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  font-weight: 700;
  margin: 26px 0 22px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-bright), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 18px; color: var(--slate); max-width: 560px; margin-bottom: 38px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.hero-meta span { font-size: 13px; color: var(--slate-dim); letter-spacing: 0.02em; }

/* Hero visual card */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(45, 212, 191, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(80% 80% at 50% 20%, rgba(20, 184, 166, 0.22), transparent 60%),
    linear-gradient(160deg, #0E2440, #07101F);
  display: grid;
  place-items: center;
}
/* Swap this <img> with the AI generated hero render. It will cover the frame. */
.hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-vault {
  position: relative;
  width: 78%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  z-index: 1;
}
.waveform { display: flex; align-items: center; gap: 5px; height: 90px; }
.waveform i {
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(var(--teal-bright), var(--teal-deep));
  animation: wave 1.3s ease-in-out infinite;
  opacity: 0.9;
}
@keyframes wave {
  0%, 100% { height: 16px; }
  50% { height: 80px; }
}
.vault-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(45, 212, 191, 0.4);
  display: grid; place-items: center;
  box-shadow: 0 0 50px rgba(20, 184, 166, 0.25), inset 0 0 30px rgba(20, 184, 166, 0.15);
}
.vault-ring svg { width: 52px; height: 52px; color: var(--teal-bright); }
.hero-tag {
  position: absolute;
  bottom: 26px;
  left: 26px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal-bright);
  background: rgba(6, 15, 31, 0.7);
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

/* Floating chips around hero visual */
.float-chip {
  position: absolute;
  z-index: 2;
  display: flex; align-items: center; gap: 9px;
  background: rgba(11, 27, 51, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 11px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
.float-chip svg { width: 16px; height: 16px; color: var(--teal-bright); }
.float-chip.c1 { top: 8%; right: -22px; }
.float-chip.c2 { bottom: 14%; left: -28px; animation-delay: 1.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================================
   TRUST / STATS BAND
   ============================================================ */
.trust { border-top: 1px solid rgba(148,163,184,0.08); border-bottom: 1px solid rgba(148,163,184,0.08); padding: 30px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.trust-label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-dim); font-weight: 600; }
.trust-items { display: flex; gap: 40px; flex-wrap: wrap; }
.trust-items div { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink-soft); font-size: 15px; }
.trust-items svg { width: 18px; height: 18px; color: var(--teal); }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head { max-width: 720px; margin: 0 auto 70px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; }
.sec-head p { margin-top: 18px; color: var(--slate); font-size: 18px; }

/* ============================================================
   PRODUCT ANATOMY (3 STEPS)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.step:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-lit);
  background: var(--glass-bg-strong);
  box-shadow: 0 30px 60px -30px rgba(20, 184, 166, 0.35);
}
.step-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 54px; font-weight: 700;
  color: rgba(148, 163, 184, 0.1);
  line-height: 1;
}
.step-graphic {
  height: 168px;
  border-radius: 14px;
  margin-bottom: 26px;
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(20, 184, 166, 0.18), transparent 65%),
    linear-gradient(160deg, #0E2440, #08111F);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
/* Swap inner <img> with generated feature graphics. */
.step-graphic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step-graphic .ico {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  z-index: 1;
}
.step-graphic .ico svg { width: 32px; height: 32px; color: var(--teal-bright); }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step .kicker { font-family: var(--font-mono); font-size: 12px; color: var(--teal); letter-spacing: 0.05em; text-transform: uppercase; }
.step p { color: var(--slate); margin-top: 12px; font-size: 15.5px; }

/* ============================================================
   SECURITY ARCHITECTURE CARDS
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.sec-card {
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.sec-card:hover { transform: translateY(-6px); border-color: var(--glass-border-lit); background: var(--glass-bg-strong); }
.sec-card .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(20,184,166,0.1); border: 1px solid rgba(45,212,191,0.25); display: grid; place-items: center; margin-bottom: 18px; }
.sec-card .ico svg { width: 22px; height: 22px; color: var(--teal-bright); }
.sec-graphic { height: 130px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--glass-border); background: linear-gradient(160deg, #0E2440, #08111F); }
.sec-graphic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.sec-card p { font-size: 14px; color: var(--slate); }

/* ============================================================
   COMPARISON MATRIX
   ============================================================ */
.matrix-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { padding: 22px 26px; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, 0.08); vertical-align: middle; }
.matrix thead th { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.matrix thead th:first-child { color: var(--slate-dim); }
.matrix .col-legacy { color: var(--slate); font-weight: 600; }
.matrix .col-silo {
  color: var(--teal-bright);
  font-weight: 700;
  background: linear-gradient(180deg, rgba(20, 184, 166, 0.1), rgba(20, 184, 166, 0.03));
  position: relative;
}
.matrix tbody td:first-child { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 15px; }
.matrix tbody td { font-size: 15px; }
.matrix tbody tr:last-child td { border-bottom: none; }
.matrix tbody tr { transition: background 0.3s var(--ease); }
.matrix tbody tr:hover { background: rgba(255, 255, 255, 0.015); }
.cell { display: flex; align-items: center; gap: 11px; }
.cell svg { width: 18px; height: 18px; flex-shrink: 0; }
.cell.bad { color: var(--slate); }
.cell.bad svg { color: #64748B; }
.cell.good { color: var(--ink-soft); }
.cell.good svg { color: var(--teal-bright); }
.col-silo .pill-top {
  position: absolute; top: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal-bright), var(--teal-deep));
}

/* ============================================================
   CODE SANDBOX
   ============================================================ */
.dev-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.dev-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.dev-points li { display: flex; gap: 14px; align-items: flex-start; }
.dev-points .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: rgba(20,184,166,0.12); border: 1px solid rgba(45,212,191,0.3); display: grid; place-items: center; margin-top: 2px; }
.dev-points .tick svg { width: 13px; height: 13px; color: var(--teal-bright); }
.dev-points b { color: var(--ink); font-family: var(--font-display); }
.dev-points span { color: var(--slate); font-size: 15px; }

.dev-visual {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
}
.dev-visual::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(45, 212, 191, 0.5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.dev-visual img { width: 100%; height: auto; border-radius: 14px; display: block; }

.ide {
  border-radius: var(--radius);
  background: #060D1A;
  border: 1px solid var(--glass-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.ide-bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: #0A1426; border-bottom: 1px solid rgba(148,163,184,0.08); }
.ide-dots { display: flex; gap: 7px; }
.ide-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.ide-dots i:nth-child(1) { background: #FF5F57; }
.ide-dots i:nth-child(2) { background: #FEBC2E; }
.ide-dots i:nth-child(3) { background: #28C840; }
.ide-file { font-family: var(--font-mono); font-size: 13px; color: var(--slate); }
.ide-lang { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--teal); border: 1px solid rgba(45,212,191,0.25); padding: 3px 9px; border-radius: 6px; }
.ide-body { padding: 24px 26px; overflow-x: auto; }
.ide-body pre { margin: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.85; }
.ide-body code { font-family: var(--font-mono); white-space: pre; color: var(--ink-soft); }
.tok-key { color: #C792EA; }
.tok-fn { color: #82AAFF; }
.tok-str { color: #2DD4BF; }
.tok-com { color: #4A5A72; font-style: italic; }
.tok-var { color: #F0F4FA; }
.tok-num { color: #F78C6C; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-wrap { margin-top: 84px; }
.final {
  position: relative;
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  background: linear-gradient(160deg, #0C1E3A, #07101F);
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 50% 0%, rgba(20, 184, 166, 0.22), transparent 60%);
}
.final::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 32px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.6), transparent 40%, rgba(45, 212, 191, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.final > * { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
.final p { color: var(--slate); max-width: 560px; margin: 20px auto 36px; font-size: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 56px 0 40px; border-top: 1px solid rgba(148,163,184,0.08); margin-top: 0; }
.footer-min { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-links a { color: var(--slate); font-size: 15px; font-weight: 500; transition: color 0.3s var(--ease); }
.footer-links a:hover { color: var(--teal-bright); }
.foot-bottom { display: flex; align-items: center; justify-content: center; padding-top: 26px; border-top: 1px solid rgba(148,163,184,0.08); flex-wrap: wrap; gap: 16px; }
.foot-bottom p { font-size: 14px; color: var(--slate-dim); }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--glass-border); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.foot-social a:hover { border-color: var(--glass-border-lit); background: rgba(20,184,166,0.08); transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; color: var(--slate); }

/* ============================================================
   PARTNER / BUILT BY
   ============================================================ */
.partner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.partner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 90% at 50% 0%, rgba(20, 184, 166, 0.14), transparent 60%);
  pointer-events: none;
}
.partner::after {
  content: "";
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 140px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--teal-bright), transparent);
}
.partner > * { position: relative; z-index: 1; }
.partner-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(45, 212, 191, 0.28);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-bright);
}
.partner-pill svg { color: var(--teal-bright); }
.partner h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; }
.partner p { color: var(--slate); max-width: 500px; margin: 14px auto 28px; font-size: 16px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 14px 0 20px; }
.about-copy p { color: var(--slate); margin-bottom: 18px; font-size: 16.5px; }
.about-copy .btn { margin-top: 10px; }
.about-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-stat {
  border-radius: var(--radius);
  padding: 28px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.about-stat:hover { transform: translateY(-6px); border-color: var(--glass-border-lit); }
.about-stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--ink); line-height: 1.1; }
.about-stat span { color: var(--slate); font-size: 14px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; margin-top: 14px; }
.faq-aside p { color: var(--slate); margin-top: 18px; font-size: 16.5px; max-width: 350px; }
.faq-aside .btn { margin-top: 28px; }

.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--glass-border-lit); }
.faq-item.open {
  border-color: var(--glass-border-lit);
  background: var(--glass-bg-strong);
  box-shadow: 0 26px 50px -32px rgba(20, 184, 166, 0.45);
}
.faq-q {
  display: flex; align-items: center; gap: 18px;
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: none; color: var(--ink);
  padding: 24px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.4;
  transition: color 0.3s var(--ease);
}
.faq-item.open .faq-q { color: var(--teal-bright); }
.faq-num { font-family: var(--font-mono); font-size: 13px; color: var(--teal-bright); flex-shrink: 0; width: 26px; }
.faq-q-text { flex: 1; }
.faq-icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--teal-bright); border-radius: 2px;
  transition: transform 0.35s var(--ease);
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 26px 26px 70px; color: var(--slate); font-size: 15.5px; line-height: 1.75; }
#faq { padding-bottom: 80px; }

/* ============================================================
   INQUIRY PAGE
   ============================================================ */
.inquiry-hero { padding-top: 84px; padding-bottom: 24px; text-align: center; }
.inquiry-hero .badge { margin-bottom: 22px; }
.inquiry-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); font-weight: 700; }
.inquiry-hero h1 .grad {
  background: linear-gradient(120deg, var(--teal-bright), var(--teal-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.inquiry-hero p { color: var(--slate); max-width: 620px; margin: 22px auto 0; font-size: 18px; }

.inquiry-main { padding-top: 40px; }
.inquiry-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 50px; align-items: start; }
.inquiry-aside { position: sticky; top: 110px; }
.inquiry-aside h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 14px 0 26px; }
.inquiry-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.inquiry-points li { display: flex; gap: 14px; align-items: flex-start; }
.inquiry-points .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: rgba(20,184,166,0.12); border: 1px solid rgba(45,212,191,0.3); display: grid; place-items: center; margin-top: 2px; }
.inquiry-points .tick svg { width: 14px; height: 14px; color: var(--teal-deep); }
.inquiry-points b { color: var(--ink); font-family: var(--font-display); }
.inquiry-points span { color: var(--slate); font-size: 15.5px; }
.inquiry-assure { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.inquiry-assure svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-deep); margin-top: 1px; }

.inquiry-card {
  border-radius: var(--radius-lg);
  padding: 34px;
  background: linear-gradient(150deg, #0A192F 0%, #0C544E 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}
.inquiry-card h3 { font-size: 1.45rem; margin-bottom: 6px; color: #F1F5F9; }
.inquiry-card .card-sub { color: #94A3B8; font-size: 15px; margin-bottom: 26px; }

/* Contact Form 7 fields */
.inquiry-card .wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.inquiry-card .wpcf7-form label {
  display: block; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: #E2E8F0;
}
.inquiry-card .wpcf7-form-control-wrap { display: block; margin-top: 9px; }
.inquiry-card .wpcf7-form input.wpcf7-form-control,
.inquiry-card .wpcf7-form select.wpcf7-form-control,
.inquiry-card .wpcf7-form textarea.wpcf7-form-control {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: #FFFFFF; color: var(--ink);
  font-family: var(--font-body); font-size: 15px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.inquiry-card .wpcf7-form .wpcf7-form-control::placeholder { color: var(--slate-dim); }
.inquiry-card .wpcf7-form .wpcf7-form-control:focus {
  outline: none; border-color: var(--glass-border-lit); box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}
.inquiry-card .wpcf7-form textarea.wpcf7-form-control { min-height: 130px; resize: vertical; }
.inquiry-card .wpcf7-form input.wpcf7-submit {
  margin-top: 6px; width: 100%; cursor: pointer; border: none;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  padding: 16px 28px; border-radius: 12px; color: #04241F;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  box-shadow: none; transition: all 0.3s var(--ease);
}
.inquiry-card .wpcf7-form input.wpcf7-submit:hover { transform: translateY(-3px); box-shadow: none; }
.inquiry-card .wpcf7-spinner { margin: 14px auto 0; display: block; }
.inquiry-card .wpcf7-not-valid-tip { color: #E11D48; font-size: 12.5px; margin-top: 6px; }
.inquiry-card .wpcf7-form-control.wpcf7-not-valid { border-color: #E11D48; }
.inquiry-card .wpcf7-response-output {
  margin: 20px 0 0 !important; border-radius: 12px; padding: 14px 16px !important;
  font-size: 14px; line-height: 1.5;
}

/* What happens next */
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.next-step {
  border-radius: var(--radius-lg); padding: 30px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease);
}
.next-step:hover { transform: translateY(-8px); border-color: var(--glass-border-lit); box-shadow: 0 30px 60px -30px rgba(20, 184, 166, 0.35); }
.next-step .n { font-family: var(--font-mono); font-size: 13px; color: var(--teal-deep); letter-spacing: 0.04em; }
.next-step h4 { font-size: 1.25rem; margin: 12px 0 10px; }
.next-step p { color: var(--slate); font-size: 15.5px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  /* Tablet: tighter section padding (task 9) */
  .section { padding: 70px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .dev-grid { grid-template-columns: 1fr; gap: 36px; }
  .dev-visual { order: -1; } /* image on top, then content (task 6) */
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-aside { position: static; }
  .faq-aside p { max-width: 100%; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 36px; }
  .inquiry-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .next-steps { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  /* Tablet + mobile: collapse the nav into a hamburger menu */
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: calc(100% + 6px); left: 10px; right: 10px;
    flex-direction: column;
    gap: 0;
    padding: 4px 16px;
    background: #FFFFFF;
    border: 1px solid var(--teal);
    border-radius: 10px;
    box-shadow: 0 20px 44px -22px rgba(15, 23, 42, 0.32);
  }
  .site-header.open .nav-links a {
    padding: 15px 4px; width: 100%; color: #0A192F;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
  .site-header.open .nav-links a:last-child { border-bottom: none; }
  .site-header.open .nav-links a:hover { color: var(--teal-deep); }
  .site-header.open .nav-links a::after { display: none; }
  /* Hamburger turns into a cross when open */
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .section { padding: 50px 0; } /* mobile section padding (task 7) */
  .hero { padding: 46px 0 38px; }
  #faq { padding-bottom: 50px; }
  .trust-inner { flex-direction: column; align-items: center; }
  .matrix th, .matrix td { padding: 16px 16px; font-size: 13.5px; }
  .matrix thead th { font-size: 12px; }
  .final { padding: 56px 22px; border-radius: 22px; }
  .inquiry-card .wpcf7-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .inquiry-card { padding: 26px; }
  .footer-min { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .container { padding: 0 20px; }
}
@media (max-width: 480px) {
  .sec-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
  body { font-size: 16px; }
}

/* Mobile: center all headings and text, reduce body text to 16px */
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1, h2, h3, h4 { text-align: center; }
  .hero-copy, .hero-meta, .sec-head, .dev-copy, .faq-aside, .inquiry-aside,
  .inquiry-hero, .step, .sec-card, .next-step, .trust-inner, .about-copy, .about-stat { text-align: center; }
  .hero-sub, .sec-head p, .step p, .sec-card p, .next-step p, .dev-copy p,
  .faq-aside p, .inquiry-aside p, .inquiry-hero p, .faq-a-inner, .inquiry-card .card-sub,
  .step .kicker, .hero-meta span, .about-copy p { text-align: center; }
  .hero-sub, .sec-head p, .inquiry-hero p, .step p, .sec-card p, .next-step p,
  .dev-copy p, .faq-aside p, .inquiry-aside p { font-size: 16px; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-meta div { align-items: center; }
  .sec-card .ico { margin-left: auto; margin-right: auto; }
  .dev-points li, .inquiry-points li { justify-content: center; }
  .trust-label { width: 100%; text-align: center; }
  /* Keep the comparison table and form fields left aligned for readability */
  .matrix th, .matrix td { text-align: left; }
  .inquiry-card .wpcf7-form label { text-align: left; }
}

/* Mobile structural fixes (tasks 2,3,4,5,8) */
@media (max-width: 760px) {
  /* 5. All buttons full width / justified */
  .btn { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; width: 100%; }
  /* 3. Trust band: one item per row, centered */
  .trust-items { flex-direction: column; align-items: center; gap: 16px; width: 100%; }
  /* 4. Comparison table scrolls horizontally */
  .matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .matrix { min-width: 560px; }
  /* 2. Hero visual: give it room so nothing is cut, keep chips inside the card */
  .hero-frame { aspect-ratio: 1 / 1; }
  .hero-vault { width: 72%; gap: 16px; }
  .waveform { height: 62px; }
  .vault-ring { width: 90px; height: 90px; }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .float-chip.c1 { top: 10px; right: 8px; }
  .float-chip.c2 { bottom: 10px; left: 8px; }
  /* 8. Trusted Partner / final panels: drop the odd gradient border, use a clean one */
  .final::after { display: none; }
  .final { border: 1px solid rgba(45, 212, 191, 0.28); }
  /* Smaller About counters on mobile so they fit the cards */
  .about-stat { padding: 22px 16px; }
  .about-stat b { font-size: 1.5rem; }
  /* Left-align bullet point lists and FAQ answers on mobile (per request) */
  .dev-points, .inquiry-points { text-align: left; }
  .dev-points li, .inquiry-points li { justify-content: flex-start; }
  .dev-points span, .inquiry-points span { text-align: left; }
  .faq-a-inner { text-align: left; }
}
@media (max-width: 420px) {
  .about-stat b { font-size: 1.35rem; }
}
