:root {
  --bg: #081120;
  --bg-soft: #0d1728;
  --card: rgba(17, 24, 39, 0.78);
  --card-strong: #111827;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #5b5cf0;
  --accent-hover: #6d6ef5;
  --accent-soft: rgba(91, 92, 240, 0.14);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --success: #22c55e;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.20);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
}

/* =========================
Base
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(91, 92, 240, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 24%),
    linear-gradient(180deg, #07101d 0%, #081120 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container,
.section-inner {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

main.container {
  padding: 0;
}

a {
  transition: all 0.2s ease;
}

h1, h2, h3, h4 {
  margin-top: 0;
  letter-spacing: -0.02em;
}

p {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

/* =========================
Header / Footer
========================= */

.site-header,
.site-footer {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 17, 32, 0.78);
}

.site-footer {
  margin-top: 80px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(8, 17, 32, 0.72);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #e7edf8;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  min-width: 0;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-word-dark {
  color: #e7edf8;
}

.brand-word-blue {
  color: #147aff;
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

/* =========================
Generic Sections
========================= */

section {
  position: relative;
}

.page-header {
  margin-bottom: 42px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-sub {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

/* =========================
Hero
========================= */

.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(91, 92, 240, 0.22), transparent 25%),
    radial-gradient(circle at 78% 30%, rgba(59, 130, 246, 0.12), transparent 20%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(91, 92, 240, 0.22);
  background: rgba(91, 92, 240, 0.10);
  color: #c7d2fe;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 760px;
  margin-top: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.7;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-proof {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.proof-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.proof-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--text);
}

.proof-item span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-split {
  padding: 84px 0 56px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.19rem, 4.05vw, 4.05rem);
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero-kicker {
  max-width: 620px;
  margin: -4px 0 14px;
  color: #c7d2fe;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.55;
}

.hero-sub {
  max-width: 640px;
  margin-top: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-buttons-left {
  justify-content: flex-start;
}

.hero-inline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-inline-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: #dbe4f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-visual-top h3 {
  margin-bottom: 10px;
  font-size: 1.75rem;
  line-height: 1.2;
}

.hero-visual-top p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-metric-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-metric-card {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.hero-metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: clamp(2.03rem, 4.05vw, 3.48rem);
  }
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    max-width: 760px;
  }
}

@media (max-width: 720px) {
  .hero-split {
    padding: 72px 0 40px;
  }

  .hero-copy h1 {
    font-size: 2.07rem;
    line-height: 1.06;
  }

  .hero-kicker {
    font-size: 0.84rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-metric-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
Buttons
========================= */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px rgba(91, 92, 240, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #5a4ff1 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(91, 92, 240, 0.34);
}

.btn-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* =========================
Trust Bar
========================= */

.trust-bar {
  padding: 22px 0 10px;
}

.trust-bar .section-inner {
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow-soft);
}

.trust-label {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
}

.trust-logos span {
  color: #cbd5e1;
  opacity: 0.88;
  font-size: 0.98rem;
  font-weight: 600;
}

/* =========================
Section Spacing
========================= */

.results-section,
.services-preview,
.how-it-works,
.industries-section,
.final-cta {
  padding: 88px 0 10px;
}

.final-cta {
  padding-bottom: 0;
}

.results-section h2,
.services-preview h2,
.how-it-works h2,
.industries-section h2,
.final-cta h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

/* =========================
Card Grids
========================= */

.results-grid,
.services-grid,
.steps-grid,
.industries-grid {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.results-grid,
.services-grid,
.industries-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.result-card,
.service-card,
.step-card,
.industry-card,
.selectable-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover,
.service-card:hover,
.step-card:hover,
.industry-card:hover,
.selectable-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 92, 240, 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
}

.result-card h3,
.service-card h3,
.step-card h3,
.industry-card h3,
.selectable-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.3;
}

.result-card p,
.service-card p,
.step-card p,
.industry-card p,
.selectable-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* =========================
Selectable Cards
========================= */

.selectable-card {
  cursor: pointer;
}

.selectable-card.selected {
  border-color: rgba(91, 92, 240, 0.55);
  background: linear-gradient(180deg, rgba(91, 92, 240, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 36px rgba(91, 92, 240, 0.16);
}

/* =========================
CTA Section
========================= */

.cta-section {
  margin-top: 64px;
  text-align: center;
}

.final-cta-inner {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(91, 92, 240, 0.10), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.final-cta-inner p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================
Forms
========================= */

.contact-form {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7c8aa0;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(91, 92, 240, 0.55);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 4px rgba(91, 92, 240, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.success {
  color: var(--success);
  font-weight: 600;
}

/* =========================
Utilities
========================= */

.text-center {
  text-align: center;
}

/* =========================
Responsive
========================= */

@media (max-width: 960px) {
  .hero {
    padding: 92px 0 72px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .results-section,
  .services-preview,
  .how-it-works,
  .industries-section,
  .final-cta {
    padding-top: 72px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav,
  .footer-links {
    gap: 12px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .trust-bar .section-inner,
  .final-cta-inner,
  .result-card,
  .service-card,
  .step-card,
  .industry-card,
  .selectable-card {
    padding: 22px;
  }

  .results-grid,
  .services-grid,
  .steps-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
Contact Page
========================= */

.contact-page {
  position: relative;
  overflow: hidden;
  padding: 96px 0 38px;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.18), transparent 30%),
    radial-gradient(circle at 78% 24%, rgba(124, 58, 237, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(8, 17, 32, 0.22), rgba(8, 17, 32, 0));
}

.contact-page::before,
.contact-page::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-page::before {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 72% 24%, #000 0, transparent 58%);
}

.contact-page::after {
  width: 360px;
  height: 360px;
  right: 4%;
  top: 18%;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.14);
  filter: blur(70px);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 38px;
  align-items: start;
}

.contact-content h1 {
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.contact-intro {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.audit-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 0 24px;
}

.audit-flow::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 25px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.52), rgba(91, 92, 240, 0.42), transparent);
}

.audit-flow-step {
  position: relative;
  min-height: 112px;
  padding: 16px 14px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.42));
  box-shadow: var(--shadow-soft);
}

.audit-flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.36);
  background: rgba(14, 165, 233, 0.14);
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 800;
}

.audit-flow-step strong {
  display: block;
  color: #eaf2ff;
  font-size: 0.9rem;
  line-height: 1.35;
}

.contact-benefits {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 620px;
}

.contact-benefit-card {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(96, 165, 250, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.75), rgba(91, 92, 240, 0.1));
}

.contact-benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 16px 38px rgba(14, 165, 233, 0.12);
}

.contact-card-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.contact-benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.audit-output-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  max-width: 620px;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.13), transparent 36%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(17, 24, 39, 0.58));
  box-shadow: var(--shadow-soft);
}

.audit-output-card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.audit-output-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-output-card li {
  position: relative;
  padding-left: 24px;
  color: #cbd5e1;
  font-size: 0.94rem;
}

.audit-output-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.65);
}

.contact-form-wrap {
  position: relative;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0, rgba(34, 211, 238, 0.2), transparent 42%),
    radial-gradient(circle at 100% 50%, rgba(91, 92, 240, 0.22), transparent 48%);
  filter: blur(2px);
}

.form-shell {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(8, 17, 32, 0.9));
  backdrop-filter: blur(10px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000, transparent 68%);
}

.form-shell > * {
  position: relative;
  z-index: 1;
}

.form-shell-header {
  margin-bottom: 22px;
}

.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(14, 165, 233, 0.1);
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-kicker::before,
.form-status-row span {
  content: "";
  display: inline-flex;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.75);
}

.form-shell-header h2 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.form-shell-header p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 0.86rem;
}

.form-status-row strong {
  color: #eaf2ff;
}

.form-status-row em {
  color: var(--muted);
  font-style: normal;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group-label {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #67e8f9;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #dbe4f0;
}

.form-submit-btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.28);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.34);
}

.form-helper-text {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.captcha-field {
  margin-top: 18px;
}

.captcha-dev-note {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  background: rgba(251, 191, 36, 0.08);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.captcha-field {
  margin-top: 18px;
}

.captcha-field .g-recaptcha {
  display: inline-block;
}

.success-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.10);
  color: #86efac;
  font-weight: 600;
}

/* =========================
Contact Responsive
========================= */

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .audit-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .contact-page {
    padding-top: 72px;
  }

  .form-shell {
    padding: 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-content h1 {
    font-size: 2.2rem;
  }

  .audit-flow,
  .contact-benefits,
  .audit-output-card {
    grid-template-columns: 1fr;
  }

  .audit-flow::before {
    display: none;
  }

  .form-status-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

.contact-form select:invalid,
.form-field select:invalid {
  color: #7c8aa0;
}

.selected-services-panel {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
}

.selected-services-panel h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.selected-services-list {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.selected-service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(91, 92, 240, 0.12);
  border: 1px solid rgba(91, 92, 240, 0.22);
  color: #dbe4ff;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Force readable dropdown options */

select option {
  background-color: #0f172a;
  color: #e5e7eb;
}

select option:checked {
  background-color: #4f46e5;
  color: white;
}

/* =========================
Services Page
========================= */

.services-page-section {
  padding: 12px 0 10px;
}

.services-grid {
  align-items: stretch;
}

.selectable-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

.selectable-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-checkmark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: transparent;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.selectable-card.selected .service-checkmark {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, #4f46e5 100%);
  border-color: rgba(91, 92, 240, 0.7);
  box-shadow: 0 8px 20px rgba(91, 92, 240, 0.28);
}

.selectable-card.selected {
  border-color: rgba(91, 92, 240, 0.55);
  background: linear-gradient(180deg, rgba(91, 92, 240, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: 0 14px 36px rgba(91, 92, 240, 0.16);
}

.field-error {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: #fca5a5;
}

.service-selector {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #dbe4f0;
  font-size: 0.92rem;
  font-weight: 600;
}

.service-selector input[type="checkbox"] {
  margin: 0;
}

.service-selector-label {
  color: #dbe4f0;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.service-card-body p {
  margin: 0;
}

.service-card-actions {
  margin-top: auto;
  padding-top: 22px;
}

.service-card-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  text-align: center;
}

@media (max-width: 720px) {
  .service-selector {
    margin-bottom: 16px;
  }

  .service-card-body {
    gap: 12px;
  }

  .service-card-actions {
    padding-top: 18px;
  }

  .service-card-actions .btn-secondary {
    min-height: 50px;
  }
}

/* =========================
Service Demo Pages
========================= */

.demo-hero {
  padding-bottom: 36px;
}

.demo-section {
  padding: 18px 0 12px;
}

.hero-panel-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #c7d2fe;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demo-section-heading {
  margin-bottom: 28px;
}

.demo-section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 12px;
}

.demo-grid,
.demo-help-grid,
.demo-status-grid {
  display: grid;
  gap: 24px;
}

.demo-grid-wide,
.demo-help-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.demo-panel,
.demo-help-card,
.demo-status-card,
.demo-answer-card,
.demo-message-card,
.demo-chat-message,
.demo-file-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-soft);
}

.demo-panel,
.demo-help-card {
  padding: 24px;
}

.demo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.demo-panel-header h3,
.demo-help-card h3,
.demo-answer-card h4 {
  margin-bottom: 0;
}

.demo-badge,
.demo-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: #dbe4f0;
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-badge-success {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
}

.demo-file-card,
.demo-form-mock,
.demo-answer-card,
.demo-message-card {
  padding: 18px;
}

.demo-file-card,
.demo-data-row,
.demo-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-file-card p,
.demo-list-item p,
.demo-help-card p,
.demo-timeline-item p,
.demo-answer-card p,
.demo-message-card p,
.demo-chat-message p {
  margin: 0;
  color: var(--muted);
}

.demo-data-table,
.demo-list,
.demo-message-stack,
.demo-chat,
.demo-timeline,
.demo-form-mock,
.demo-source-list {
  display: grid;
  gap: 14px;
}

.demo-data-row,
.demo-form-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.demo-data-row:last-child,
.demo-form-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.demo-data-row:first-child,
.demo-form-row:first-child {
  padding-top: 0;
}

.demo-data-row span,
.demo-form-row span,
.demo-status-label {
  color: var(--muted);
  font-size: 0.92rem;
}

.demo-action-row,
.demo-query-list,
.demo-source-list,
.demo-pipeline {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-list-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.demo-list-item strong,
.demo-status-card strong {
  display: block;
  margin-bottom: 8px;
}

.demo-search-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(91, 92, 240, 0.24);
  border-radius: 14px;
  background: rgba(91, 92, 240, 0.08);
  margin-bottom: 16px;
}

.demo-answer-card {
  margin-top: 18px;
}

.demo-timeline {
  position: relative;
}

.demo-timeline-item {
  position: relative;
  padding: 0 0 0 22px;
  border-left: 1px solid rgba(91, 92, 240, 0.28);
}

.demo-timeline-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 92, 240, 0.14);
}

.demo-chat-message {
  max-width: 92%;
  padding: 16px 18px;
}

.demo-chat-message-user {
  margin-left: auto;
  background: rgba(91, 92, 240, 0.12);
  border-color: rgba(91, 92, 240, 0.24);
}

.demo-pipeline {
  justify-content: space-between;
}

.demo-stage {
  min-width: 120px;
  flex: 1 1 120px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.demo-stage-active {
  border-color: rgba(91, 92, 240, 0.35);
  background: rgba(91, 92, 240, 0.10);
}

.demo-stage-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.demo-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.demo-status-card {
  padding: 18px;
}

.demo-stack-top {
  margin-top: 24px;
}

.demo-code-block,
.demo-quote-preview {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-soft);
}

.demo-code-block {
  margin: 0;
  overflow-x: auto;
  color: #dbe4f0;
  font-size: 0.9rem;
  line-height: 1.7;
  white-space: pre;
}

.demo-quote-preview p {
  margin-bottom: 10px;
  color: var(--muted);
}

.demo-quote-preview p:last-child {
  margin-bottom: 0;
}

.demo-no-top-margin {
  margin-top: 0;
}

.demo-score-grid,
.demo-flow-grid {
  display: grid;
  gap: 14px;
}

.demo-score-card,
.demo-flow-node,
.demo-map-row {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.demo-score-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.demo-score-card p {
  margin: 0;
  color: var(--muted);
}

.demo-flow-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.demo-flow-node {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  text-align: center;
  font-weight: 700;
  color: #dbe4f0;
  background: linear-gradient(180deg, rgba(91, 92, 240, 0.10), rgba(255, 255, 255, 0.02));
}

.demo-map-table {
  display: grid;
  gap: 10px;
}

.demo-map-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  color: #dbe4f0;
}

.demo-map-head {
  background: rgba(91, 92, 240, 0.10);
  border-color: rgba(91, 92, 240, 0.24);
  font-weight: 700;
}

.demo-subsection-header {
  margin-top: 20px;
}

.demo-upload-drop,
.demo-activity-log {
  padding: 18px;
  border: 1px dashed rgba(91, 92, 240, 0.35);
  border-radius: 14px;
  background: rgba(91, 92, 240, 0.06);
}

.demo-upload-drop {
  margin-bottom: 18px;
  text-align: center;
}

.demo-upload-drop p,
.demo-activity-log p {
  margin: 0;
  color: var(--muted);
}

.demo-activity-log {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

@media (max-width: 720px) {
  .demo-panel,
  .demo-help-card {
    padding: 20px;
  }

  .demo-panel-header,
  .demo-file-card,
  .demo-data-row,
  .demo-form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-chat-message {
    max-width: 100%;
  }

  .demo-score-card-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .demo-map-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
Homepage Visual Upgrade
========================= */

.nav .nav-cta {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #147aff 0%, #5b5cf0 100%);
  box-shadow: 0 10px 24px rgba(20, 122, 255, 0.22);
}

.nav .nav-cta:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 122, 255, 0.32);
}

.hero-split {
  isolation: isolate;
}

.hero-split::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
  opacity: 0.7;
}

.audit-dashboard {
  position: relative;
  overflow: hidden;
  border-color: rgba(20, 122, 255, 0.28);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(20, 122, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(13, 23, 40, 0.98), rgba(5, 12, 24, 0.96));
  background-size: 32px 32px, 32px 32px, auto, auto;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(20, 122, 255, 0.14);
}

.audit-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(20, 184, 166, 0.10), transparent);
  transform: translateX(-65%);
  animation: dashboard-scan 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dashboard-scan {
  0%, 35% {
    transform: translateX(-75%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  85%, 100% {
    transform: translateX(75%);
    opacity: 0;
  }
}

.dashboard-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.dashboard-header h3 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.16;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  animation: status-pulse 1.8s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.10);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(34, 197, 94, 0.02);
  }
}

.audit-dashboard .hero-visual-top,
.audit-scan-list,
.audit-metric-grid {
  position: relative;
  z-index: 1;
}

.audit-scan-list {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.audit-scan-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(20, 122, 255, 0.18);
  border-radius: 14px;
  background: rgba(2, 8, 23, 0.46);
}

.audit-scan-row strong,
.audit-scan-row span {
  display: block;
}

.audit-scan-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.audit-scan-row em {
  color: #67e8f9;
  font-style: normal;
  font-weight: 900;
}

.audit-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
}

.audit-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #147aff, #22d3ee);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.38);
}

.audit-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.audit-signal {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.audit-signal span {
  display: block;
  min-height: 34px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.audit-signal strong {
  display: block;
  margin-top: 8px;
  font-size: 1.05rem;
}

.audit-signal.warning strong,
.problem-card .card-status-label {
  color: #fbbf24;
}

.audit-signal.risk strong {
  color: #fb923c;
}

.audit-signal.opportunity strong,
.solution-card .card-status-label {
  color: #2dd4bf;
}

.mini-label,
.card-status-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-label {
  color: #67e8f9;
}

.workflow-strip-section {
  padding: 22px 0 8px;
}

.workflow-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(20, 122, 255, 0.20);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(20, 122, 255, 0.10), rgba(20, 184, 166, 0.07)),
    rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow-soft);
}

.workflow-strip::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 122, 255, 0.18), rgba(34, 211, 238, 0.5), rgba(20, 122, 255, 0.18));
}

.workflow-step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(8, 17, 32, 0.92);
}

.workflow-step span {
  color: #67e8f9;
  font-size: 0.74rem;
  font-weight: 900;
}

.workflow-step strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.problem-section,
.solution-section,
.build-showcase,
.process-section,
.metric-section {
  position: relative;
  overflow: hidden;
}

.problem-section {
  margin-top: 44px;
  padding: 86px 0 44px;
  background:
    radial-gradient(circle at 18% 8%, rgba(251, 146, 60, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.0), rgba(4, 9, 18, 0.38));
}

.solution-section {
  padding: 86px 0 44px;
  background:
    radial-gradient(circle at 82% 15%, rgba(45, 212, 191, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(8, 17, 32, 0.0), rgba(8, 47, 73, 0.16));
}

.build-showcase {
  padding: 96px 0 52px;
  background:
    linear-gradient(rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
}

.build-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20, 122, 255, 0.13), transparent 38%);
  pointer-events: none;
}

.build-showcase .section-inner {
  position: relative;
  z-index: 1;
}

.problem-card,
.solution-card,
.module-card,
.metric-card {
  position: relative;
  overflow: hidden;
}

.problem-card {
  border-color: rgba(251, 191, 36, 0.18);
  background:
    linear-gradient(180deg, rgba(251, 191, 36, 0.08), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.problem-card::before,
.solution-card::before,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #f59e0b;
}

.solution-card {
  border-color: rgba(45, 212, 191, 0.20);
  background:
    linear-gradient(180deg, rgba(45, 212, 191, 0.10), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.solution-card::before {
  background: #2dd4bf;
}

.solution-card:hover,
.module-card:hover,
.metric-card:hover {
  border-color: rgba(34, 211, 238, 0.38);
  box-shadow: 0 18px 42px rgba(20, 122, 255, 0.16);
}

.module-card {
  border-color: rgba(103, 232, 249, 0.16);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.system-architecture {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 18px;
  margin: 34px 0 32px;
  padding: 20px;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(20, 122, 255, 0.09), rgba(34, 211, 238, 0.055), rgba(45, 212, 191, 0.08)),
    rgba(2, 8, 23, 0.36);
  box-shadow: var(--shadow-soft);
}

.system-architecture::before,
.system-architecture::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18%;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(34, 211, 238, 0.7));
}

.system-architecture::before {
  left: 28%;
}

.system-architecture::after {
  right: 28%;
  transform: rotate(180deg);
}

.architecture-node {
  position: relative;
  z-index: 1;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(8, 17, 32, 0.94);
}

.architecture-node::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22d3ee;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.architecture-node.ai-core {
  border-color: rgba(34, 211, 238, 0.32);
  box-shadow: inset 0 0 28px rgba(34, 211, 238, 0.08), 0 18px 36px rgba(20, 122, 255, 0.12);
}

.node-kicker {
  display: block;
  margin-bottom: 10px;
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.architecture-node strong,
.architecture-node small {
  display: block;
}

.architecture-node strong {
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.architecture-node small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(103, 232, 249, 0.32);
  border-radius: 12px;
  color: #67e8f9;
  background: rgba(34, 211, 238, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.08);
}

.module-connector {
  position: absolute;
  top: 40px;
  right: 24px;
  width: 44px;
  height: 18px;
  border-top: 1px solid rgba(103, 232, 249, 0.35);
  border-right: 1px solid rgba(103, 232, 249, 0.22);
  border-radius: 0 10px 0 0;
}

.module-connector::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #67e8f9;
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.55);
}

.process-section {
  padding: 96px 0 42px;
}

.process-timeline {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 43px;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 122, 255, 0.2), rgba(103, 232, 249, 0.55), rgba(20, 122, 255, 0.2));
}

.process-timeline .step-card {
  position: relative;
  padding-top: 70px;
  background:
    linear-gradient(180deg, rgba(20, 122, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--card);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #147aff, #22d3ee);
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(20, 122, 255, 0.12);
}

.step-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 999px;
  color: #c7d2fe;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 800;
}

.metric-section {
  padding: 96px 0 46px;
  background:
    radial-gradient(circle at 50% 0%, rgba(91, 92, 240, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(8, 17, 32, 0), rgba(15, 23, 42, 0.34));
}

.metric-card {
  min-height: 230px;
  border-color: rgba(91, 92, 240, 0.28);
  background:
    linear-gradient(180deg, rgba(91, 92, 240, 0.12), rgba(255, 255, 255, 0.03)),
    var(--card);
}

.metric-card::before {
  background: linear-gradient(180deg, #147aff, #22d3ee);
}

.metric-kpi {
  display: block;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 950;
}

.final-cta-inner {
  border-color: rgba(91, 92, 240, 0.30);
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(20, 122, 255, 0.14), rgba(91, 92, 240, 0.18)),
    rgba(255, 255, 255, 0.03);
}

@media (max-width: 980px) {
  .workflow-strip,
  .system-architecture,
  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-strip::before,
  .system-architecture::before,
  .system-architecture::after,
  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .brand-word {
    font-size: 1.45rem;
  }

  .nav .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .dashboard-header,
  .audit-scan-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .audit-signal-grid,
  .workflow-strip,
  .system-architecture,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: auto;
  }

  .problem-section,
  .solution-section,
  .build-showcase,
  .process-section,
  .metric-section {
    padding-top: 72px;
  }
}

/* =========================
Services Page Visual Upgrade
========================= */

.services-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: 72px 0 34px;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.45), transparent);
}

.services-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.services-hero-copy p {
  max-width: 720px;
  font-size: 1.06rem;
  line-height: 1.75;
}

.services-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(20, 122, 255, 0.25);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(20, 122, 255, 0.22), transparent 35%),
    rgba(8, 17, 32, 0.92);
  background-size: 30px 30px, 30px 30px, auto, auto;
  box-shadow: var(--shadow);
}

.services-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(34, 211, 238, 0.08), transparent);
  pointer-events: none;
}

.services-panel-row {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 22px 0 14px;
}

.services-panel-row span,
.services-panel-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.services-panel-row strong {
  color: #ffffff;
  font-size: 1.18rem;
}

.services-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.services-panel-grid span {
  min-height: 40px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(2, 8, 23, 0.36);
}

.services-workflow-strip {
  margin: 8px 0 34px;
}

.services-page-grid {
  position: relative;
}

.services-page-grid::before {
  content: "";
  position: absolute;
  inset: -28px -24px auto;
  height: 220px;
  border-radius: 24px;
  background:
    linear-gradient(rgba(103, 232, 249, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.services-module-card {
  position: relative;
  border-color: rgba(103, 232, 249, 0.15);
  background:
    radial-gradient(circle at 22% 0%, rgba(34, 211, 238, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
}

.services-module-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #147aff, #22d3ee);
  opacity: 0.76;
}

.services-module-card.selected {
  border-color: rgba(34, 211, 238, 0.46);
  background:
    radial-gradient(circle at 22% 0%, rgba(34, 211, 238, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(20, 122, 255, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 42px rgba(20, 122, 255, 0.18);
}

.services-module-card .module-icon {
  margin-bottom: 4px;
}

.services-module-card .module-connector {
  top: 72px;
}

.services-cta {
  position: relative;
  margin-top: 76px;
  padding: 42px 28px;
  border: 1px solid rgba(91, 92, 240, 0.28);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.14), transparent 36%),
    linear-gradient(135deg, rgba(20, 122, 255, 0.12), rgba(91, 92, 240, 0.16)),
    rgba(255, 255, 255, 0.025);
  box-shadow: var(--shadow);
}

.services-cta h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

@media (max-width: 980px) {
  .services-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .services-hero {
    padding-top: 58px;
  }

  .services-hero-panel {
    padding: 20px;
  }

  .services-panel-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    padding: 28px 22px;
  }
}

/* =========================
Demo Workspace Visual Upgrade
========================= */

.demo-hero {
  position: relative;
  padding-bottom: 52px;
  background:
    radial-gradient(circle at 82% 16%, rgba(34, 211, 238, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(8, 17, 32, 0), rgba(2, 8, 23, 0.30));
}

.demo-hero .hero-visual-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(34, 211, 238, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 25% 0%, rgba(20, 122, 255, 0.20), transparent 34%),
    rgba(8, 17, 32, 0.96);
  background-size: 30px 30px, 30px 30px, auto, auto;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32), 0 0 36px rgba(34, 211, 238, 0.10);
}

.demo-hero .hero-visual-card::before {
  content: "Demo workspace";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(103, 232, 249, 0.20);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(2, 8, 23, 0.52);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-section {
  position: relative;
  padding: 44px 0 22px;
}

.demo-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  width: min(1120px, 88vw);
  height: 78px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.18), transparent 66%);
  filter: blur(18px);
  pointer-events: none;
}

.demo-section .section-inner {
  position: relative;
  padding: 88px 30px 30px;
  border: 8px solid rgba(15, 23, 42, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8fafc, #eef4fb);
  background-size: 34px 34px, 34px 34px, auto;
  color: #0f172a;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(103, 232, 249, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 44px rgba(15, 23, 42, 0.05);
}

.demo-section .section-inner > * {
  position: relative;
  z-index: 2;
}

.demo-section .section-inner::before {
  content: "Workspace Preview";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 30px 0 96px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px 24px 0 0;
  color: #334155;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.demo-section .section-inner::after {
  content: "Demo Mode";
  position: absolute;
  top: 15px;
  right: 30px;
  z-index: 3;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-grid:first-of-type::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 30px;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 18px 0 0 #f59e0b, 36px 0 0 #22c55e;
}

.demo-grid,
.demo-help-grid,
.demo-status-grid,
.demo-score-grid,
.demo-flow-grid,
.demo-map-table,
.demo-list,
.demo-message-stack,
.demo-chat,
.demo-timeline,
.demo-form-mock,
.demo-source-list {
  position: relative;
}

.demo-panel,
.demo-help-card,
.demo-status-card,
.demo-answer-card,
.demo-message-card,
.demo-chat-message,
.demo-file-card,
.demo-code-block,
.demo-quote-preview,
.demo-score-card,
.demo-flow-node,
.demo-map-row,
.demo-upload-drop,
.demo-activity-log {
  border-color: rgba(148, 163, 184, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.demo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #147aff, #22d3ee);
  opacity: 0.72;
}

.demo-panel-header {
  position: relative;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.26);
}

.demo-panel-header h3 {
  color: #0f172a;
  font-size: 1.08rem;
}

.demo-badge,
.demo-chip {
  border-color: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.07);
}

.demo-chip,
.demo-badge,
.demo-status-card,
.demo-list-item,
.demo-data-row,
.demo-form-row {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.demo-badge-success {
  border-color: rgba(13, 148, 136, 0.18);
  color: #0f766e;
  background: rgba(13, 148, 136, 0.08);
}

.demo-data-row,
.demo-form-row {
  border-color: rgba(148, 163, 184, 0.24);
}

.demo-data-row strong,
.demo-form-row strong,
.demo-list-item strong,
.demo-status-card strong {
  color: #0f172a;
}

.demo-data-row span,
.demo-form-row span,
.demo-status-label,
.demo-file-card p,
.demo-list-item p,
.demo-help-card p,
.demo-timeline-item p,
.demo-answer-card p,
.demo-message-card p,
.demo-chat-message p {
  color: #64748b;
}

.demo-list-item,
.demo-search-box,
.demo-form-mock,
.demo-data-table {
  border-color: rgba(148, 163, 184, 0.24);
}

.demo-search-box,
.demo-upload-drop,
.demo-activity-log {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.07), rgba(14, 165, 233, 0.05)),
    #ffffff;
}

.demo-data-table,
.demo-form-mock,
.demo-list,
.demo-status-grid {
  border-radius: 16px;
}

.demo-code-block {
  color: #dbeafe;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 8, 23, 0.92));
}

.demo-chat-message-user,
.demo-stage-active,
.demo-map-head {
  border-color: rgba(37, 99, 235, 0.20);
  background: rgba(37, 99, 235, 0.08);
}

.demo-flow-node {
  border-color: rgba(37, 99, 235, 0.18);
  color: #0f172a;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
}

@media (max-width: 720px) {
  .demo-section .section-inner {
    padding: 82px 14px 18px;
    border-width: 5px;
    border-radius: 24px;
  }

  .demo-section .section-inner::before {
    height: 54px;
    padding-left: 70px;
    padding-right: 18px;
    font-size: 0.68rem;
  }

  .demo-section .section-inner::after {
    top: 60px;
    left: 16px;
    right: auto;
    font-size: 0.62rem;
  }

  .demo-hero .hero-visual-card::before {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin-bottom: 14px;
  }

  .demo-grid:first-of-type::before {
    top: -59px;
    left: 16px;
    width: 8px;
    height: 8px;
    box-shadow: 15px 0 0 #f59e0b, 30px 0 0 #22c55e;
  }
}

/* Keep explanatory demo copy as website content; frame only the sample workspace. */
.demo-fit-section .section-inner {
  position: relative;
  padding: 54px 0 16px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(8, 17, 32, 0), rgba(15, 23, 42, 0.18));
  color: var(--text);
  box-shadow: none;
}

.demo-use-case-section {
  padding: 54px 0 34px;
}

.demo-use-case-panel {
  position: relative;
  padding: 44px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(8, 17, 32, 0.72);
  color: var(--text);
  box-shadow: var(--shadow);
}

.demo-section .demo-use-case-panel::before,
.demo-section .demo-use-case-panel::after {
  content: none;
  display: none;
}

.demo-use-case-panel > * {
  position: relative;
  z-index: 1;
}

.demo-use-case-panel .demo-section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.demo-use-case-panel .demo-section-header h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.demo-use-case-panel .section-sub {
  color: var(--muted);
}

.demo-fit-section .section-inner::before,
.demo-fit-section .section-inner::after,
.demo-fit-section .demo-grid:first-of-type::before {
  content: none;
  display: none;
}

.demo-fit-section .demo-section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.demo-fit-section .demo-section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.demo-device-frame {
  position: relative;
  padding: 88px 30px 30px;
  border: 8px solid rgba(15, 23, 42, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #f8fafc, #eef4fb);
  background-size: 34px 34px, 34px 34px, auto;
  color: #0f172a;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(103, 232, 249, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -18px 44px rgba(15, 23, 42, 0.05);
}

.demo-screen {
  position: relative;
}

.demo-support-grid {
  margin-top: 28px;
}

.demo-support-card {
  border-color: rgba(34, 211, 238, 0.16);
  background:
    linear-gradient(180deg, rgba(20, 122, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 17, 32, 0.80);
  box-shadow: var(--shadow-soft);
}

.demo-support-card h3 {
  color: var(--text);
}

.demo-support-card p {
  color: var(--muted);
}

.demo-device-frame::before {
  content: "Workspace Preview";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 30px 0 96px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px 24px 0 0;
  color: #334155;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.demo-device-frame::after {
  content: "Demo Mode";
  position: absolute;
  top: 29px;
  right: 30px;
  z-index: 3;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.demo-device-frame .demo-grid:first-of-type::before {
  content: "";
  position: absolute;
  top: -63px;
  left: 0;
  z-index: 3;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 18px 0 0 #f59e0b, 36px 0 0 #22c55e;
}

@media (max-width: 720px) {
  .demo-use-case-panel {
    padding: 26px 18px;
    border-width: 1px;
    border-radius: 20px;
  }

  .demo-device-frame {
    padding: 82px 14px 18px;
    border-width: 5px;
    border-radius: 24px;
  }

  .demo-device-frame::before {
    height: 54px;
    padding-left: 70px;
    padding-right: 18px;
    font-size: 0.68rem;
  }

  .demo-device-frame::after {
    top: 67px;
    left: 16px;
    right: auto;
    font-size: 0.62rem;
    transform: none;
  }

  .demo-device-frame .demo-grid:first-of-type::before {
    top: -59px;
    left: 16px;
    width: 8px;
    height: 8px;
    box-shadow: 15px 0 0 #f59e0b, 30px 0 0 #22c55e;
  }
}

/* =========================
Legal Pages
========================= */

.legal-page {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.14) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 8%, #000 0, transparent 58%);
}

.legal-hero,
.legal-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-hero {
  margin-bottom: 30px;
  padding: 34px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.44));
  box-shadow: var(--shadow-soft);
}

.legal-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.legal-hero p {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-effective-date {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-content {
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-soft);
}

.legal-card h2 {
  margin-bottom: 10px;
  color: #f8fafc;
  font-size: 1.25rem;
}

.legal-card p {
  margin-bottom: 12px;
  color: #cbd5e1;
  line-height: 1.78;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: #67e8f9;
  font-weight: 700;
  text-decoration: none;
}

.legal-card a:hover {
  color: #bfdbfe;
}

@media (max-width: 720px) {
  .legal-page {
    padding: 66px 0 52px;
  }

  .legal-hero,
  .legal-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
}
