/* ==========================================================================
   flowestnex — design system
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #06060a;
  --bg-elevated: #0b0b12;
  --surface: #101018;
  --surface-2: #15151f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f4f5fa;
  --text-muted: #a4a6ba;
  --text-faint: #6b6d80;

  /* Accent */
  --accent: #4f7cff;
  --accent-bright: #6f93ff;
  --accent-violet: #8b6bff;
  --accent-dim: rgba(79, 124, 255, 0.14);
  --accent-line: rgba(79, 124, 255, 0.35);

  /* Severity (used sparingly, for security data only) */
  --sev-critical: #ef5d72;
  --sev-high: #e8a355;
  --sev-medium: #e0cf5c;
  --sev-low: #6f93ff;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radii / shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);

  --container: 1180px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* Background texture: faint grid + radial glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  top: -20%;
  left: 50%;
  width: 1200px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(79, 124, 255, 0.16), transparent 65%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; padding: 120px 0; }
@media (max-width: 768px) { section { padding: 80px 0; } }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 620px; }

.gradient-text {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(79, 124, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(79, 124, 255, 0.7); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent-line); background: var(--accent-dim); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 6, 10, 0.78);
  backdrop-filter: blur(14px);
  border-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  position: relative;
  flex-shrink: 0;
}
.logo-mark::before {
  content: "";
  position: absolute; inset: 7px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 3px;
}
.logo-x { color: var(--accent-bright); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Services dropdown */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.nav-item > a .chevron { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-item:hover > a .chevron, .nav-item:focus-within > a .chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 8px;
  min-width: 190px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-dropdown a:hover, .nav-dropdown a.active { background: var(--surface); color: var(--text); }
.nav-dropdown a.active::after { display: none; }

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

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  color: var(--text);
}

/* ---------- Language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 0.82rem; font-weight: 600; }
.lang-switch a { color: var(--text-faint); padding: 4px 6px; border-radius: 6px; transition: color 0.2s ease; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: var(--text); }
.lang-switch .sep { color: var(--text-faint); }

@media (max-width: 920px) {
  .nav-links { position: fixed; top: 68px; left: 16px; right: 16px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-md); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; display: none; box-shadow: var(--shadow-lg); max-height: calc(100vh - 100px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; width: 100%; border-radius: var(--r-sm); }
  .nav-links a:hover { background: var(--surface); }
  .nav-toggle { display: flex; }
  .header-cta .btn-secondary { display: none; }

  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-item > a .chevron { display: none; }
  .nav-dropdown {
    position: static;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    background: none; border: none; box-shadow: none;
    padding: 0 0 4px 14px;
    margin-top: 2px;
    min-width: 0;
  }
  .nav-dropdown a { font-size: 0.86rem; color: var(--text-faint); padding: 9px 8px; }
  .nav-dropdown a:hover, .nav-dropdown a.active { color: var(--text); }
}

/* ---------- Hero ---------- */
.hero {
  padding: 176px 0 100px;
  position: relative;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 36px; font-size: 1.2rem; }

/* Hero flow visual */
.flow-visual {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  box-shadow: var(--shadow-lg);
}
.flow-track { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.flow-node {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.flow-node .dot {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
}
.flow-node.active .dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 0 6px var(--accent-dim);
}
.flow-node span { font-size: 0.72rem; color: var(--text-faint); font-weight: 600; letter-spacing: 0.02em; }
.flow-line {
  flex: 0 0 auto;
  width: 100%;
  height: 1px;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
  margin-top: 23px;
}
.flow-connectors { display: flex; align-items: center; margin: 0 -6px; }
.flow-connectors .seg {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent-line) 0 6px, transparent 6px 12px);
  position: relative;
  top: -33px;
}
@media (max-width: 560px) {
  .flow-track { flex-direction: column; align-items: stretch; }
  .flow-node { flex-direction: row; justify-content: flex-start; text-align: left; }
  .flow-connectors { display: none; }
}

.flow-visual .caption { margin-top: 28px; font-size: 0.85rem; color: var(--text-faint); text-align: center; }

/* ---------- Problem / stacked list ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.tag-cloud span {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
}

.callout {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
  font-size: 1.05rem;
  color: var(--text);
  margin: 28px 0 32px;
  max-width: 640px;
}

/* ---------- Process diagram (vertical) ---------- */
.process-flow { max-width: 480px; margin: 0 auto; }
.process-step {
  display: flex;
  gap: 20px;
  position: relative;
  padding-bottom: 36px;
}
.process-step:last-child { padding-bottom: 0; }
.process-step .node {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-bright);
  flex-shrink: 0;
  z-index: 1;
}
.process-step.highlight .node {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  border-color: transparent;
  color: #fff;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 42px; bottom: -8px; left: 20px;
  width: 1px;
  background: linear-gradient(var(--border-strong), transparent);
}
.process-step .body { padding-top: 8px; }
.process-step .body h4 { margin-bottom: 4px; }
.process-step .body p { font-size: 0.92rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1300px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { border-color: var(--accent-line); transform: translateY(-4px); background: var(--surface-2); }
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p.desc { font-size: 0.92rem; margin-bottom: 20px; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.service-card ul li {
  font-size: 0.87rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 1px;
  background: var(--accent-line);
}
.service-card .learn-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .learn-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.service-card:hover .learn-more svg { transform: translateX(3px); }

/* ---------- Before / After examples ---------- */
.example-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .example-grid { grid-template-columns: 1fr; } }

.example-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
}
.example-card h4 { margin-bottom: 18px; }
.ba-row { display: flex; flex-direction: column; gap: 12px; }
.ba-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  flex-wrap: wrap;
}
.ba-line b { color: var(--text-faint); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 4px; }
.ba-line.after { border-color: var(--accent-line); color: var(--text); background: var(--accent-dim); }
.ba-arrow-chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ba-arrow-chain .sep { color: var(--text-faint); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-chip {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.industry-chip:hover { border-color: var(--accent-line); color: var(--text); }

/* ---------- Timeline (how it works) ---------- */
.timeline { display: flex; gap: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 1px;
  background: var(--border-strong);
}
.timeline-step { flex: 1; padding: 0 16px 0 0; position: relative; }
.timeline-step .num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 20px;
  position: relative; z-index: 1;
  font-size: 0.9rem;
}
.timeline-step h4 { margin-bottom: 8px; }
.timeline-step p { font-size: 0.88rem; }

@media (max-width: 900px) {
  .timeline { flex-direction: column; gap: 32px; }
  .timeline::before { top: 0; bottom: 0; left: 24px; right: auto; width: 1px; height: auto; }
  .timeline-step { padding: 0 0 0 68px; }
  .timeline-step .num { position: absolute; left: 0; top: -2px; margin-bottom: 0; }
}

/* ---------- Audit / assessment section ---------- */
.audit-panel {
  background: linear-gradient(155deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.audit-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(79,124,255,0.16), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) { .audit-panel { grid-template-columns: 1fr; padding: 36px 26px; } }

.audit-list { display: flex; flex-direction: column; gap: 14px; }
.audit-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
}
.audit-list li svg { width: 18px; height: 18px; color: var(--accent-bright); flex-shrink: 0; }

/* ---------- Why us ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card { padding: 8px 0; }
.diff-card .num { font-size: 0.8rem; font-weight: 700; color: var(--accent-bright); letter-spacing: 0.05em; margin-bottom: 14px; }
.diff-card h4 { margin-bottom: 10px; }
.diff-card p { font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 110px 0;
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band .lead { margin: 0 auto 40px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Placeholder note ---------- */
.placeholder-note {
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: flex-start;
}

/* ---------- About ---------- */
.about-hero { padding-top: 176px; }
.about-copy { max-width: 720px; }
.about-copy p { font-size: 1.06rem; margin-bottom: 20px; color: var(--text-muted); }
.about-copy p:first-of-type { color: var(--text); font-size: 1.2rem; }

.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
@media (max-width: 700px) { .value-list { grid-template-columns: 1fr; } }
.value-list li {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--surface);
}
.value-list li b { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.95rem; }

/* ---------- Solutions page ---------- */
.solution-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.solution-row:last-child { border-bottom: none; }
.solution-row:nth-child(even) { direction: rtl; }
.solution-row:nth-child(even) > * { direction: ltr; }
@media (max-width: 860px) {
  .solution-row, .solution-row:nth-child(even) { grid-template-columns: 1fr; direction: ltr; padding: 40px 0; }
}
.solution-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; padding-top: 176px; }
@media (max-width: 920px) { .contact-wrap { grid-template-columns: 1fr; padding-top: 150px; } }

.contact-info-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 30px;
  margin-top: 32px;
}
.contact-info-card .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-info-card .row:last-child { border-bottom: none; }
.contact-info-card .row svg { width: 18px; height: 18px; color: var(--accent-bright); flex-shrink: 0; }
.contact-info-card .row span { font-size: 0.92rem; color: var(--text-muted); }
.contact-info-card .row a { color: var(--text); font-weight: 500; }

form.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: 0.78rem; color: var(--text-faint); font-weight: 400; }
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elevated);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a4a6ba' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

.form-note { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
@media (max-width: 780px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.88rem; margin: 16px 0 0; max-width: 260px; }
.footer-col h5 { font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-faint);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: none; margin: 0; }
.pill-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Security score card (Cybersecurity) ---------- */
.security-score-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.security-score-card .score-label {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-faint); font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.security-score-card .score-value { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.security-score-card .score-value .num {
  font-size: 3.2rem; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--accent-bright), var(--accent-violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.security-score-card .score-value .denom { font-size: 1.1rem; color: var(--text-faint); font-weight: 600; }
.security-score-card .score-status { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.security-score-card .score-status b { color: var(--text); }

.severity-list { display: flex; flex-direction: column; gap: 10px; }
.severity-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-muted);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
}
.severity-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.severity-row.critical .dot { background: var(--sev-critical); }
.severity-row.high .dot { background: var(--sev-high); }
.severity-row.medium .dot { background: var(--sev-medium); }
.severity-row.low .dot { background: var(--sev-low); }
.severity-row .count { margin-left: auto; font-weight: 700; color: var(--text); }

/* ---------- Status card (Continuous Monitoring) ---------- */
.pill-badge.status-good { border-color: var(--accent-line); color: var(--accent-bright); }
.pill-badge.status-later { color: var(--text-faint); }

/* ---------- Stat / dashboard tiles (Security BI) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-elevated);
  padding: 16px 18px;
}
.stat-tile .label { font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.stat-tile .value { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.stat-tile .bar { height: 5px; border-radius: 100px; background: var(--surface-2); overflow: hidden; }
.stat-tile .bar span { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--accent-violet)); }
.stat-tile .trend { font-size: 0.85rem; font-weight: 700; color: var(--accent-bright); }

/* ---------- Pricing (Cybersecurity) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--accent-line); background: var(--surface-2); box-shadow: 0 20px 50px -24px rgba(79, 124, 255, 0.4); }
.pricing-card .plan-name { font-size: 0.98rem; font-weight: 700; margin-bottom: 6px; }
.pricing-card .plan-tag { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 22px; }
.pricing-card .price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.pricing-card .price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.pricing-card .price .period { font-size: 0.82rem; color: var(--text-faint); }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; flex: 1; }
.pricing-card ul li { font-size: 0.85rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.pricing-card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 1px; background: var(--accent-line); }
.pricing-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 20px; }

/* ---------- Free security check ---------- */
.check-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 16px; }
.check-row input {
  flex: 1; min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  color: var(--text);
}
.check-row input:focus { outline: none; border-color: var(--accent); }
.check-preview { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.check-preview .mini-score { display: flex; align-items: baseline; gap: 4px; }
.check-preview .mini-score .num { font-size: 2.4rem; font-weight: 800; color: var(--text); }
.check-preview .mini-score .denom { font-size: 0.95rem; color: var(--text-faint); }
.check-preview .locked {
  font-size: 0.85rem; font-weight: 600; color: var(--accent-bright);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  padding: 10px 16px;
}
