/* Certynd AI — Premium Cybersecurity + AI + Web3 */

:root {
  --bg-0: #0A0618;
  --bg-1: #140B2F;
  --bg-2: #24104D;
  --brand: #6D28FF;
  --brand-hover: #8B5CFF;
  --brand-light: #A780FF;
  --heading: #E8DEFF;
  --muted: #CBB7FF;
  --text: #8C84B4;
  --success: #37D67A;
  --warning: #FFB84D;
  --danger: #FF4D6D;
  --info: #61A5FF;
  --card-border: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --glow: rgba(109, 40, 255, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 40px rgba(109, 40, 255, 0.35);
  --shadow-lg: 0 30px 80px -20px rgba(109, 40, 255, 0.4);
  --max-width: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ambient background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 15% -10%, rgba(109, 40, 255, 0.25), transparent 60%),
    radial-gradient(ellipse 700px 400px at 85% 5%, rgba(61, 19, 119, 0.35), transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 110%, rgba(109, 40, 255, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* subtle grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Sora', system-ui, sans-serif;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
h4 { font-size: 17px; letter-spacing: 0; color: var(--muted); }

p { color: var(--text); }

a { color: var(--muted); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--heading); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 6, 24, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo img { height: 30px; width: auto; display: block; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
  line-height: 1;
}
.site-footer .logo-text { font-size: 20px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-primary a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.nav-primary a:hover { color: var(--heading); }

.header-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--heading);
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: #8350FF;
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(109, 40, 255, 0.55);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--heading);
}
.btn-secondary:hover {
  background: rgba(109, 40, 255, 0.15);
  border-color: rgba(167, 128, 255, 0.4);
  color: var(--heading);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--heading); }

.btn svg { width: 16px; height: 16px; stroke-width: 2; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 60px 0 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(109, 40, 255, 0.1);
  border: 1px solid rgba(167, 128, 255, 0.25);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
  margin-bottom: 24px;
}
.hero h1 .gradient-text {
  background: linear-gradient(120deg, #A780FF 0%, #6D28FF 50%, #E8DEFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero h1 { margin-bottom: 18px; }
.eyebrow { margin-bottom: 20px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
}
.hero-stats .stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-stats .stat .label {
  font-size: 13px;
  color: var(--text);
  margin-top: 4px;
}

/* Hero visual — animated network shield */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  width: 100%;
  margin-left: auto;
}
.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 40px rgba(109, 40, 255, 0.35));
  position: relative;
  z-index: 1;
}
.hero-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 255, 0.35), transparent 65%);
  filter: blur(30px);
  z-index: 0;
  animation: heroGlow 5s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.orbit-spin {
  animation: rotate 22s linear infinite;
  transform-box: fill-box;
}
.orbit-spin-rev {
  animation: rotate 16s linear infinite reverse;
  transform-box: fill-box;
}
@keyframes rotate { to { transform: rotate(360deg); } }

/* Trusted marquee */
.trusted {
  padding: 30px 0 20px;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(20, 11, 47, 0.4);
}
.trusted-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.trusted-inner .label { color: var(--muted); font-weight: 500; }
.trusted-track {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 40s linear infinite;
}
.trusted-track span { color: var(--muted); font-weight: 500; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION BASICS ===== */
section { position: relative; padding: 70px 0; }

.section-eyebrow {
  display: inline-block;
  color: var(--brand-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section-head.center { margin: 0 auto 44px; text-align: center; }

/* ===== SECTION 1 — Split Analysis ===== */
.split-analysis {
  border-top: 1px solid var(--card-border);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.code-window {
  background: linear-gradient(180deg, rgba(36, 16, 77, 0.6), rgba(20, 11, 47, 0.6));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.code-window .titlebar {
  display: flex; gap: 8px; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 6, 24, 0.5);
}
.code-window .titlebar .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.code-window .titlebar .file {
  margin-left: 14px; font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--muted);
}
.code-window pre {
  margin: 0;
  padding: 20px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: #CBB7FF;
  overflow-x: auto;
}
.code-window .kw { color: #A780FF; }
.code-window .fn { color: #61A5FF; }
.code-window .str { color: #37D67A; }
.code-window .cm { color: #8C84B4; font-style: italic; }
.code-window .warn { color: #FFB84D; }
.code-window .err { color: #FF4D6D; }
.code-window .highlight-line {
  display: block;
  background: rgba(255, 77, 109, 0.08);
  border-left: 2px solid var(--danger);
  padding-left: 12px;
  margin-left: -14px;
  margin-right: -14px;
  padding-right: 14px;
}

.finding-list { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.finding-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card-bg);
}
.finding-list li .bullet {
  flex: none; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.finding-list li .bullet svg { width: 16px; height: 16px; stroke-width: 2.2; }
.finding-list li.d .bullet { background: rgba(255, 77, 109, 0.14); color: var(--danger); }
.finding-list li.w .bullet { background: rgba(255, 184, 77, 0.14); color: var(--warning); }
.finding-list li.i .bullet { background: rgba(97, 165, 255, 0.14); color: var(--info); }
.finding-list li strong { color: var(--heading); font-weight: 500; display: block; margin-bottom: 3px; font-size: 15px; }
.finding-list li span { font-size: 14px; color: var(--text); }

/* ===== SECTION 2 — Threat Detection Grid ===== */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.threat-card {
  padding: 24px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.threat-card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.threat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 128, 255, 0.3);
  box-shadow: 0 20px 40px -20px rgba(109, 40, 255, 0.4);
}
.threat-card:hover::before { opacity: 1; }
.threat-card .icon-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(109, 40, 255, 0.2), rgba(109, 40, 255, 0.05));
  border: 1px solid rgba(167, 128, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light);
  margin-bottom: 16px;
}
.threat-card .icon-box svg { width: 20px; height: 20px; stroke-width: 2; }
.threat-card h3 { color: var(--heading); margin-bottom: 8px; font-size: 19px; }
.threat-card p { font-size: 14.5px; line-height: 1.55; }

.section-cta {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ===== SECTION 3 — Risk Intelligence dashboard ===== */
.risk-section {
  background: linear-gradient(180deg, transparent, rgba(20, 11, 47, 0.5), transparent);
}
.risk-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.dashboard {
  background: linear-gradient(180deg, rgba(36, 16, 77, 0.5), rgba(20, 11, 47, 0.4));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.dashboard-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 20px;
}
.dashboard-header h4 { color: var(--heading); font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px; }
.dashboard-header .live {
  font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px;
}
.dashboard-header .live .d { width: 6px; height: 6px; background: var(--success); border-radius: 50%; animation: pulse 1.5s ease-in-out infinite; }

.risk-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 16px;
  padding: 11px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
  font-size: 14px;
}
.risk-row:last-child { border-bottom: none; }
.risk-row .asset { display: flex; gap: 10px; align-items: center; color: var(--heading); font-weight: 500; }
.risk-row .asset .logo-dot {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #fff; font-weight: 600;
}
.risk-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.risk-bar .fill {
  position: absolute; inset: 0;
  border-radius: 100px;
  transform-origin: left;
}
.risk-bar .fill.low { background: linear-gradient(90deg, var(--success), #6EE7B0); width: 30%; }
.risk-bar .fill.med { background: linear-gradient(90deg, var(--warning), #FFD07A); width: 60%; }
.risk-bar .fill.high { background: linear-gradient(90deg, var(--danger), #FF7A97); width: 88%; }
.risk-badge {
  display: inline-flex; padding: 4px 10px; border-radius: 100px;
  font-size: 12px; font-weight: 500;
  justify-self: end;
}
.risk-badge.low { background: rgba(55, 214, 122, 0.14); color: var(--success); }
.risk-badge.med { background: rgba(255, 184, 77, 0.14); color: var(--warning); }
.risk-badge.high { background: rgba(255, 77, 109, 0.14); color: var(--danger); }

/* ===== SECTION 4 — Enterprise 2x2 ===== */
.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.ent-card {
  position: relative;
  padding: 32px 30px;
  background: linear-gradient(160deg, rgba(36, 16, 77, 0.5), rgba(20, 11, 47, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all .3s ease;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.ent-card::after {
  content: "";
  position: absolute;
  width: 250px; height: 250px;
  right: -80px; top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 255, 0.25), transparent 70%);
  transition: transform .5s ease;
}
.ent-card:hover { transform: translateY(-4px); border-color: rgba(167, 128, 255, 0.3); }
.ent-card:hover::after { transform: scale(1.3); }
.ent-card .top { position: relative; z-index: 1; }
.ent-card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  color: var(--brand-light);
  letter-spacing: 0.2em;
  margin-bottom: 22px;
}
.ent-card h3 {
  font-size: 22px; margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
}
.ent-card p { font-size: 15px; color: var(--muted); position: relative; z-index: 1; }
.ent-card .tags { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; position: relative; z-index: 1; }
.ent-card .tag {
  padding: 5px 12px; border-radius: 100px;
  background: rgba(167, 128, 255, 0.1);
  border: 1px solid rgba(167, 128, 255, 0.2);
  font-size: 12px;
  color: var(--muted);
}

/* ===== SECTION 5 — Innovation / stats + scan line ===== */
.innovation {
  position: relative;
  overflow: hidden;
}
.innovation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.scan-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(36, 16, 77, 0.5), rgba(10, 6, 24, 0.5));
  border: 1px solid var(--card-border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scan-visual .neural {
  width: 90%; height: 90%;
  color: var(--brand-light);
  opacity: 0.9;
}
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-light), var(--brand-light), transparent);
  box-shadow: 0 0 20px var(--brand-light);
  animation: scan 3.5s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 5%; opacity: 1; }
  50% { top: 95%; opacity: 0.7; }
}
.scan-visual .corners {
  position: absolute;
  inset: 16px;
  pointer-events: none;
}
.scan-visual .corners span {
  position: absolute; width: 20px; height: 20px;
  border: 2px solid var(--brand-light);
}
.scan-visual .corners span.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.scan-visual .corners span.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.scan-visual .corners span.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.scan-visual .corners span.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.metric {
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}
.metric .val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; color: var(--heading); font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #E8DEFF, #A780FF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ===== SECTION 6 — Future / CTA banner ===== */
.future {
  padding: 50px 0;
}
.future-card {
  position: relative;
  border-radius: 24px;
  padding: 56px 48px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(109, 40, 255, 0.4), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(61, 19, 119, 0.6), transparent 60%),
    linear-gradient(135deg, #140B2F, #24104D);
  border: 1px solid rgba(167, 128, 255, 0.2);
  box-shadow: 0 40px 100px -30px rgba(109, 40, 255, 0.5);
}
.future-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 40%, transparent 100%);
}
.future-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.future h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.future p { color: var(--muted); font-size: 17px; max-width: 520px; }
.future .actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.future .actions .btn { min-width: 220px; }

/* ===== SECTION 7 — Contact ===== */
.contact {
  padding: 70px 0 90px;
  border-top: 1px solid var(--card-border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-left h2 { margin-bottom: 22px; }
.contact-left p { color: var(--muted); max-width: 440px; margin-bottom: 34px; }
.contact-info { list-style: none; display: grid; gap: 18px; }
.contact-info li {
  display: flex; align-items: center; gap: 14px;
  color: var(--muted); font-size: 15px;
}
.contact-info li .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(109, 40, 255, 0.12);
  border: 1px solid rgba(167, 128, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light);
  flex: none;
}
.contact-info li .ic svg { width: 18px; height: 18px; stroke-width: 2; }
.contact-info li strong { display: block; color: var(--heading); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }

.contact-form {
  background: linear-gradient(180deg, rgba(36, 16, 77, 0.5), rgba(20, 11, 47, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(10, 6, 24, 0.5);
  border: 1px solid var(--card-border);
  color: var(--heading);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: all .2s ease;
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-light);
  background: rgba(10, 6, 24, 0.8);
  box-shadow: 0 0 0 3px rgba(109, 40, 255, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(140, 132, 180, 0.6); }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.consent { font-size: 13px; color: var(--text); max-width: 360px; }
.consent a { color: var(--muted); border-bottom: 1px solid transparent; }
.consent a:hover { border-color: currentColor; }

.form-success {
  display: none;
  padding: 18px;
  border-radius: 12px;
  background: rgba(55, 214, 122, 0.1);
  border: 1px solid rgba(55, 214, 122, 0.3);
  color: var(--success);
  margin-top: 18px;
  font-size: 14px;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(20, 11, 47, 0.5));
  border-top: 1px solid var(--card-border);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: var(--text); }
.footer-brand .social {
  display: flex; gap: 10px; margin-top: 22px;
}
.footer-brand .social a {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all .2s ease;
}
.footer-brand .social a:hover {
  background: rgba(109, 40, 255, 0.15);
  border-color: rgba(167, 128, 255, 0.4);
  color: var(--heading);
}
.footer-brand .social a svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--heading);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col ul a { font-size: 14px; color: var(--text); }
.footer-col ul a:hover { color: var(--heading); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--card-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text);
  flex-wrap: wrap; gap: 14px;
}
.footer-bottom .location { display: flex; align-items: center; gap: 8px; }
.footer-bottom .location svg { width: 14px; height: 14px; }

/* ===== Sub pages ===== */
.page-hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 18px;
}
.page-hero p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
}
.page-hero .meta {
  color: var(--text);
  font-size: 13px;
  margin-top: 20px;
  letter-spacing: 0.06em;
}

.doc {
  padding: 20px 0 80px;
}
.doc-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: flex-start;
}
.doc-toc {
  position: sticky;
  top: 100px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}
.doc-toc h4 { color: var(--heading); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.doc-toc ul { list-style: none; display: grid; gap: 10px; }
.doc-toc ul a { font-size: 14px; color: var(--text); }
.doc-toc ul a:hover { color: var(--heading); }

.doc-body { max-width: 780px; }
.doc-body h2 {
  font-size: 30px;
  margin: 44px 0 16px;
  padding-top: 20px;
}
.doc-body h2:first-child { margin-top: 0; padding-top: 0; }
.doc-body h3 { font-size: 20px; margin: 26px 0 10px; color: var(--heading); }
.doc-body p, .doc-body li { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.doc-body p { margin-bottom: 14px; }
.doc-body ul, .doc-body ol { padding-left: 22px; margin-bottom: 18px; }
.doc-body li { margin-bottom: 6px; }
.doc-body strong { color: var(--heading); font-weight: 500; }
.doc-body a { color: var(--brand-light); border-bottom: 1px solid transparent; }
.doc-body a:hover { border-color: currentColor; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.plan {
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(36, 16, 77, 0.4), rgba(20, 11, 47, 0.3));
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  position: relative;
  transition: all .3s ease;
  display: flex; flex-direction: column;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(167, 128, 255, 0.3); }
.plan.popular {
  border-color: rgba(167, 128, 255, 0.5);
  background: linear-gradient(180deg, rgba(109, 40, 255, 0.15), rgba(36, 16, 77, 0.4));
  box-shadow: 0 30px 60px -20px rgba(109, 40, 255, 0.4);
}
.plan .tier { color: var(--brand-light); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.plan h3 { font-size: 26px; margin: 8px 0 14px; font-family: 'Space Grotesk', sans-serif; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 44px; }
.plan .price {
  margin: 22px 0 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  color: var(--heading);
  letter-spacing: -0.03em;
  font-weight: 600;
}
.plan .price small { font-size: 14px; color: var(--text); font-weight: 400; letter-spacing: 0; }
.plan .per { color: var(--text); font-size: 13px; margin-bottom: 24px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.plan ul li svg { flex: none; width: 18px; height: 18px; color: var(--brand-light); margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.badge-popular {
  position: absolute; top: -12px; right: 22px;
  background: var(--brand); color: #fff;
  font-size: 11px; padding: 5px 12px; border-radius: 100px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.support-card {
  padding: 30px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all .3s ease;
}
.support-card:hover { transform: translateY(-3px); border-color: rgba(167, 128, 255, 0.3); }
.support-card .icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(109, 40, 255, 0.2), rgba(109, 40, 255, 0.05));
  border: 1px solid rgba(167, 128, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-light);
  margin-bottom: 20px;
}
.support-card .icon-box svg { width: 22px; height: 22px; stroke-width: 2; }
.support-card h3 { color: var(--heading); margin-bottom: 8px; font-size: 19px; }
.support-card p { font-size: 14.5px; }

/* Security features */
.sec-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.sec-features .sf {
  padding: 24px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
}
.sec-features .sf h3 { color: var(--heading); font-size: 17px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.sec-features .sf h3 svg { width: 20px; height: 20px; color: var(--brand-light); }
.sec-features .sf p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner,
  .split-grid,
  .risk-grid,
  .innovation-inner,
  .future-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .threat-grid, .enterprise-grid, .pricing-grid, .support-grid, .sec-features {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .doc-inner { grid-template-columns: 1fr; }
  .doc-toc { position: static; }
  .nav-primary { display: none; }
  .mobile-toggle { display: inline-flex; }
  .nav-primary.open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 6, 24, 0.95);
    padding: 24px 32px;
    border-bottom: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    align-items: flex-start;
    gap: 16px;
  }
  .header-cta .btn-primary { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .future-card { padding: 50px 30px; }
  .future .actions { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .contact-form { padding: 26px; }
}

/* Trusted marquee compressed */
.trusted { padding: 20px 0 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
