/*
Theme Name: SOM-Security
Theme URI: https://som-security.com
Author: SOM-Security
Author URI: https://som-security.com
Description: Custom dark-theme WordPress site replicating the SOM-Security public website design. Features a cybersecurity-inspired dark UI with violet accents, animated hero, and responsive mobile layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: som-security
Tags: dark, custom-menu, featured-images, theme-options, translation-ready
*/
:root {
  /* ===== DARK theme (public marketing site) ===== */
  --bg: #0c0a16;
  --surface: #17131f;
  --surface-muted: #1e1930;
  --primary: #8b5cf6;
  --primary-hover: #7c4def;
  --accent: #a78bfa;
  --primary-subtle-bg: rgba(139, 92, 246, 0.18);
  --text-primary: #f3f1fa;
  --text-secondary: #a7a2b8;
  --text-muted: #7c778c;
  --border: #2a2440;
  --border-strong: #3a3358;
  --hover: #221c34;
  --focus-ring: #a594ff;
  --disabled-text: #6b6680;

  /* Semantic (dark — lighter fills so text passes AA) */
  --success: #3bb666;  --success-subtle-bg: rgba(59, 182, 102, 0.16);  --success-text: #8fe6b0;
  --warning: #e6a700;  --warning-subtle-bg: rgba(230, 167, 0, 0.16);   --warning-text: #f0cf7a;
  --danger:  #e5687d;  --danger-subtle-bg:  rgba(229, 104, 125, 0.16); --danger-text:  #f2b4c0;

  /* Severity ramp (shared; must print on white in the report PDF) */
  --sev-critical: #8b0f26;
  --sev-high: #c62e48;
  --sev-medium: #e6a700;
  --sev-low: #f2d268;
  --sev-info: #3b5f8a;

  /* ===== Legacy aliases (existing components read these) ===== */
  --bg-2: #12101e;
  --surface-2: var(--surface-muted);
  --border-soft: #201a34;
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --muted-2: var(--text-muted);
  --accent-2: var(--accent);
  --accent-soft: var(--primary-subtle-bg);
  --accent-strong: var(--primary-hover);
  --lav: #c4b5fd;
  --grad: linear-gradient(135deg, #7c3aed, #a855f7);
  --ok: var(--success);
  --warn: var(--warning);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Inter Tight", var(--font-sans);

  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  --ring: 0 0 0 3px var(--accent-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(139, 92, 246, 0.10), transparent 70%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 0.4em;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f2f5fb;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); font-weight: 800; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-sm { padding: 48px 0; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.18rem; line-height: 1.65; color: var(--text-secondary); max-width: 640px; font-weight: 400; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem;
  color: var(--accent-2); font-weight: 700; font-family: var(--font-head);
}
.hr { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); border: 0; margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm);
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  cursor: pointer; border: 1px solid transparent; box-shadow: var(--shadow-sm);
  transition: transform 0.06s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 8px 22px rgba(124, 77, 239, 0.4); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--text); box-shadow: none; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text-secondary); box-shadow: none; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(139, 92, 246, 0.06); }
.btn-danger { background: var(--danger-subtle-bg, rgba(220,38,38,.12)); border-color: var(--danger, #dc2626); color: var(--danger-text, #dc2626); box-shadow: none; }
.btn-danger:hover { background: var(--danger, #dc2626); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); padding-inline: 0; box-shadow: none; }
.btn-ghost:hover { color: var(--accent-2); }
.btn[disabled] { opacity: 0.5; cursor: default; box-shadow: none; }
.btn-block { width: 100%; justify-content: center; }
.btn-header { padding: 10px 18px; font-size: 0.88rem; min-width: 130px; text-align: center; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.send-opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; cursor: pointer; background: var(--bg-2); }
.send-opt input { margin-top: 3px; }
.send-opt b { display: block; font-size: .9rem; }
.send-opt small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.send-opt:has(input:checked) { border-color: var(--primary); background: var(--accent-soft); }

.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--accent-soft); color: var(--accent-2); }
.tag-outline { background: transparent; border: 1px solid var(--border); color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease; }
a.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12); }
.card-kicker { font-family: var(--font-head); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-2); font-weight: 700; margin-bottom: 12px; }
.card-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--text-primary); }
.card-body { color: var(--text-secondary); font-size: 0.98rem; margin: 0; line-height: 1.6; }
.card-link { display: inline-block; margin-top: 18px; color: var(--accent-2); font-weight: 600; font-family: var(--font-head); font-size: 0.95rem; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 14, 20, 0.88); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--border-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.01em; font-size: 1.15rem; }
.brand-logo { height: 36px; width: auto; display: block; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); font-size: 0.92rem; font-weight: 500; transition: color 0.15s ease; letter-spacing: 0.01em; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; padding: 6px; }
.burger-bar { display: block; width: 22px; height: 2px; background: var(--text); position: relative; transition: background 0.2s; }
.burger-bar::before, .burger-bar::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); transition: transform 0.3s ease; }
.burger-bar::before { top: -7px; }
.burger-bar::after { top: 7px; }
.burger-bar.open { background: transparent; }
.burger-bar.open::before { transform: translateY(7px) rotate(45deg); }
.burger-bar.open::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu-overlay { display: none; }
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 12px 0 20px; border-top: 1px solid var(--border-soft); }
.mobile-menu a { padding: 11px 4px; color: var(--muted); }
.mobile-menu-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-soft); }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .mobile-menu.open { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .container-lg { padding: 0 20px; }
}

.hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.hero .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero h1 { max-width: 860px; }
.hero p { max-width: 620px; }
.hero .btn-row { margin-top: 36px; }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.split-wide { grid-template-columns: 0.8fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checklist li { padding-left: 30px; position: relative; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.checklist li::after { content: "\2713"; position: absolute; left: 3px; top: 3px; font-size: 11px; color: var(--accent-2); font-weight: 700; }

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-head); list-style: none; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 12px 0 0; color: var(--muted); }

.field { margin-bottom: 20px; }
.field > label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); font-family: var(--font-head); }
.input { width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-2); color: var(--text); font: inherit; font-size: 0.98rem; font-weight: 400; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
textarea.input { resize: vertical; min-height: 100px; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > .field { flex: 1 1 220px; }

.alert { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.alert-error { background: rgba(212, 107, 107, 0.13); border: 1px solid rgba(212, 107, 107, 0.5); color: var(--danger-text); }
.alert-ok { background: rgba(56, 178, 106, 0.13); border: 1px solid rgba(56, 178, 106, 0.5); color: var(--success-text); }

.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }

/* Day navigation for single-day slot picker */
.day-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 18px; }
.day-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-2);
  color: var(--text-secondary); cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.day-nav-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent-2); }
.day-nav-btn:disabled { opacity: 0.3; cursor: default; }
.day-nav-label { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--text-primary); min-width: 160px; text-align: center; }
.day-nav-label-btn {
  background: none; border: 1px solid transparent; border-radius: 8px;
  padding: 4px 10px; cursor: pointer; display: inline-flex; align-items: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.day-nav-label-btn:hover { border-color: var(--border); background: var(--hover); }

/* Calendar popover */
.calendar-popover {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; margin-bottom: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.calendar-popover-nav {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg-2);
  color: var(--text-secondary); cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.calendar-popover-month {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted); text-align: center;
  padding: 4px 0;
}
.calendar-popover-day {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; margin: 0 auto; border-radius: 8px;
  border: 1px solid transparent; background: none;
  color: var(--text-secondary); font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: all 0.12s ease;
}

.modes { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.day { margin-bottom: 20px; }
.day-label { font-weight: 600; font-family: var(--font-head); margin-bottom: 9px; }
.slot { padding: 9px 6px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); cursor: pointer; font-size: 0.9rem; transition: border-color 0.12s ease, background 0.12s ease; }
.slot:hover { border-color: var(--accent); }
.slot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.chosen { margin: 8px 0 4px; color: var(--accent-2); font-weight: 600; font-size: 0.9rem; }

.site-footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 64px 0 36px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--text-primary); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--font-head); margin-bottom: 8px; }
.footer-grid a { display: block; padding: 5px 0; color: var(--text-secondary); font-size: 0.92rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.prose p { color: var(--text-secondary); line-height: 1.75; }
.prose h2 { margin-top: 40px; color: var(--text-primary); }

/* ===================== Motion / 3D / cyber layer ===================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 100; width: 0; box-shadow: 0 0 12px rgba(139, 92, 246,.6); }

/* ===== Announcement banner ===== */
.announcement-banner {
  position: sticky; top: 0; z-index: 51;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--accent-bg);
  border-bottom: 2px solid var(--accent-bar);
  padding: 10px 24px; gap: 12px;
  font-size: .88rem; color: var(--text-primary);
}
.announcement-banner-inner {
  display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0;
  flex-wrap: wrap;
}
.announcement-banner-icon { flex-shrink: 0; font-size: 1rem; }
.announcement-banner-text { flex: 1 1 auto; min-width: 0; }
.announcement-banner-link {
  color: var(--accent-bar); font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; flex-shrink: 0;
  transition: opacity .15s;
}
.announcement-banner-link:hover { opacity: .8; text-decoration: underline; }
.announcement-banner-close {
  background: none; border: none; color: var(--text-muted); font-size: 1.3rem;
  cursor: pointer; padding: 0 4px; line-height: 1; flex-shrink: 0;
  transition: color .15s;
}
.announcement-banner-close:hover { color: var(--text-primary); }
@media (max-width: 640px) {
  .announcement-banner { padding: 8px 14px; font-size: .82rem; }
}

.hero { position: relative; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 40%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 40%, #000 40%, transparent 78%); }
.hero > .container { position: relative; z-index: 1; }

/* Scroll reveal */
.reveal { opacity: 0; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal-up { transform: translateY(30px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(.96); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Cyber grid background for feature bands */
.cyber-grid { position: relative; }
.cyber-grid::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000, transparent 75%); opacity: .5; }
.cyber-grid > .container { position: relative; z-index: 1; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 26px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.stat-num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Glow accent for hero heading */
.glow { text-shadow: 0 0 40px rgba(139, 92, 246,.25); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .scroll-progress { display: none; }
}

/* ===================== Living cyber atmosphere ===================== */
main { position: relative; z-index: 1; }
.site-footer { position: relative; z-index: 1; }

/* Code-rain background (faint, masked out of the reading column) */
.cyber-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.16;
  -webkit-mask-image: radial-gradient(72% 60% at 50% 42%, transparent 0%, #000 86%);
  mask-image: radial-gradient(72% 60% at 50% 42%, transparent 0%, #000 86%);
}

/* Click burst layer (above everything, non-interactive) */
.click-spark { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* Subtle scanline + vignette overlay */
.cyber-overlay { position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 60%, rgba(0,0,0,0.35) 100%);
  opacity: 0.6; }

/* Hero two-column with live terminal */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-terminal { display: none; } }

/* Terminal */
.terminal { background: rgba(9, 12, 19, 0.72); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); backdrop-filter: blur(4px); }
.terminal-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); background: rgba(255,255,255,0.02); }
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2d3550; }
.terminal-bar .dot:nth-child(1) { background: #d46b6b; } .terminal-bar .dot:nth-child(2) { background: #d0a53a; } .terminal-bar .dot:nth-child(3) { background: #38b26a; }
.terminal-title { margin-left: auto; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.terminal-body { height: 220px; overflow: hidden; padding: 14px 16px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; line-height: 1.7; color: #c7ccf5; }
.tline { white-space: pre; }
.tline.prompt { color: var(--accent-2); }
.tline.ok { color: #7fe0a5; }
.tline.warn { color: #e6cf7a; }
.tline.dim { color: var(--muted); }
.cursor { display: inline-block; width: 7px; height: 14px; margin-left: 2px; background: var(--accent-2); transform: translateY(2px); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cyber-bg { opacity: 0.06; }
  .cursor { animation: none; }
}

/* ===== Foreground HUD frame + moving scan sweep (over the whole site) ===== */
.cyber-overlay::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 200px;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246,0.06) 45%, rgba(196, 181, 253,0.10) 50%, rgba(139, 92, 246,0.06) 55%, transparent);
  transform: translateY(-200px); animation: scanSweep 8s linear infinite;
}
@keyframes scanSweep { to { transform: translateY(100vh); } }

.cyber-hud { position: fixed; inset: 16px; z-index: 3; pointer-events: none; }
.cyber-hud span { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(196, 181, 253,0.30); }
.cyber-hud span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.cyber-hud span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.cyber-hud span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.cyber-hud span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .cyber-overlay::after { animation: none; display: none; }
}

/* ============================ Admin dashboard ============================ */
.btn-sm { padding: 6px 12px; font-size: 0.82rem; border-radius: 8px; margin-right: 6px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav-chat-badge { margin-left: auto; background: var(--primary); color: #fff; font-size: .68rem; font-weight: 700; border-radius: 999px; padding: 1px 7px; }


/* Dashboard two-column layout */
.dash-two-col { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.dash-main { min-width: 0; }
.dash-widgets { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 80px; }
.dash-widget { padding: 18px; }
.dash-widget h2 { font-size: 1rem; margin-bottom: 12px; }

/* Job tracking rows */
.dash-job-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: var(--text); transition: background .1s ease; }
.dash-job-row:last-child { border-bottom: 0; }
.dash-job-row:hover { background: var(--hover); margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 8px; }
.dash-job-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.dash-job-name { font-weight: 600; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-job-service { font-size: .78rem; color: var(--muted); }
.dash-job-date { font-size: .8rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* Earnings widget */
.dash-earnings-row { display: flex; gap: 18px; margin-bottom: 6px; }
.dash-earnings-item { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dash-earnings-label { font-size: .78rem; color: var(--muted); }
.dash-earnings-value { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.dash-earnings-prev { color: var(--muted); font-size: 1.1rem; }
.dash-earnings-change { font-size: .8rem; font-weight: 600; }

/* Customer list rows */
.dash-customer-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border-soft); text-decoration: none; color: var(--text); transition: background .1s ease; }
.dash-customer-row:last-child { border-bottom: 0; }
.dash-customer-row:hover { background: var(--hover); margin: 0 -18px; padding-left: 18px; padding-right: 18px; border-radius: 8px; }
.dash-customer-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-subtle-bg); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: .78rem; flex-shrink: 0; }
.dash-customer-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.dash-customer-name { font-weight: 600; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-customer-meta { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Booking stats */
.dash-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 10px; }
.dash-stat-item { display: flex; align-items: center; gap: 7px; }
.dash-stat-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dash-stat-label { font-size: .82rem; color: var(--muted); flex: 1; }
.dash-stat-num { font-weight: 700; font-size: .92rem; font-family: var(--font-head); }
.dash-bar-track { display: flex; gap: 3px; height: 8px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.dash-bar-seg { border-radius: 99px; min-width: 6px; transition: flex .3s ease; }

@media (max-width: 1100px) {
  .dash-two-col { grid-template-columns: 1fr; }
  .dash-widgets { position: static; }
}



@media (max-width: 480px) {

}

/* ---- Reports editor ---- */

/* ============================ LIGHT THEME (admin) ============================ */
.site-light, .admin-theme {
  --bg: #f7f7fc;
  --surface: #ffffff;
  --surface-muted: #f0eef6;
  --primary: #4c3fbf;
  --primary-hover: #3f34a6;
  --accent: #6d4aff;
  --primary-subtle-bg: #edebfb;
  --text-primary: #171526;
  --text-secondary: #6f6a7d;
  --text-muted: #9a96a8;
  --border: #e5e3f0;
  --border-strong: #d6d3e4;
  --hover: #eeeafe;
  --focus-ring: #a594ff;
  --disabled-text: #b8b4c8;

  --success: #1b7a3b;  --success-subtle-bg: #e7f4ec;  --success-text: #14622f;
  --warning: #e6a700;  --warning-subtle-bg: #fcf3dc;  --warning-text: #7a5a00;
  --danger:  #c62e48;  --danger-subtle-bg:  #fbe9ec;  --danger-text:  #9a2236;

  /* legacy aliases remapped for light */
  --bg-2: #f0eef6;
  --surface-2: #f0eef6;
  --border-soft: #eeeaf6;
  --text: var(--text-primary);
  --muted: var(--text-secondary);
  --muted-2: var(--text-muted);
  --accent-2: var(--accent);
  --accent-soft: var(--primary-subtle-bg);
  --accent-strong: var(--primary-hover);
  --ok: var(--success);
  --warn: var(--warning);
  --shadow: 0 12px 30px rgba(76, 63, 191, 0.10);
  --shadow-sm: 0 1px 2px rgba(23, 21, 38, 0.06);
  --ring: 0 0 0 3px rgba(165, 148, 255, 0.4);

  background: var(--bg);
  color: var(--text);
}
/* Headings are hardcoded near-white for the dark public site; remap them for light */
/* Admin surfaces fill their own background regardless of the dark body */
/* Dark mode: brighten muted greys inside admin surfaces so table headers and
   secondary info stay readable on the deep navy backgrounds (AA >= 4.5:1) */
.site-light blockquote { color: var(--text); }

/* Severity pills (shared ramp; dark navy text on the light amber/yellow) */
.sev { color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }

/* ---- Notifications bell ---- */
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 0.82rem; font-weight: 600; }

/* ---- Notifications page ---- */

/* ---- Audit / activity ---- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 18px 24px; border-left: 2px solid var(--border); margin-left: 8px; }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline .t-act { font-weight: 600; font-size: 0.9rem; }
.timeline .t-meta { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }

/* ---- Permission matrix ---- */

/* ---- Portal ---- */




/* Dashboard hero */

/* Stat cards */

/* Dashboard tiles + quick access */

/* Page headers + empty states */

/* Auth (login) */

/* Inputs with leading icons */
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-left: 40px; }

/* ---- Theme switch (dark / light / auto) ---- */

@media (max-width: 860px) {
}

/* ---- Appointment calendar ---- */
@media (max-width: 900px) {
}

/* ---- Interactive calendar cells ---- */
@media (max-width: 900px) {
}

/* ---- Admin topbar user chip ---- */

/* ---- User detail modal ---- */
.user-detail-head { display: flex; gap: 16px; align-items: center; }
.user-detail-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--primary-subtle-bg); color: var(--accent); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; flex-shrink: 0; }
.user-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-detail-name { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.user-detail-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; color: var(--muted); font-size: .84rem; }
.user-detail-h3 { font-size: .86rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 22px 0 8px; }
.user-detail-table { width: 100%; }
.user-detail-table th { font-size: .72rem; }

/* ---- Team chat ---- */
@media (max-width: 860px) {
}

/* ---- Public live chat widget ---- */
@keyframes chatSlideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== COMPREHENSIVE MOBILE RESPONSIVENESS ===================== */

/* ---- Testimonials section ---- */
.testimonials-section { padding: 80px 0; }
.testimonials-container { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonials-eyebrow { color: var(--primary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.testimonials-content { position: relative; min-height: 180px; }
.testimonials-stars { margin-bottom: 14px; }
.testimonial-stars { color: #f59e0b; letter-spacing: 3px; font-size: 1.1rem; }
.star-filled { color: #f59e0b; }
.star-empty { color: var(--border-strong); }
.testimonials-quote {
  font-size: 1.15rem; line-height: 1.75; color: var(--text-primary);
  font-style: italic; margin: 0 0 24px; padding: 0 48px;
}
.testimonials-author { margin: 0; color: var(--text-secondary); font-size: 0.92rem; }
.testimonials-author strong { color: var(--text-primary); }
.testimonials-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; width: fit-content; margin-left: auto; margin-right: auto; }
.testimonials-arrow {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 38px; height: 38px; color: var(--text-secondary); cursor: pointer;
  font-size: 1rem; display: grid; place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.testimonials-arrow:hover { border-color: var(--accent); color: var(--accent); }
.testimonials-dot {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; cursor: pointer;
  background: var(--border); transition: background 0.2s ease, transform 0.2s ease;
}
.testimonials-dot.active { background: var(--primary); transform: scale(1.3); }

/* -- Tablet (<= 900px) -- */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 48px; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .hero p { font-size: 1rem; }
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { min-width: 0; flex: 1 1 auto; }
  .btn-header { min-width: 0; flex: 1 1 auto; padding: 10px 14px; font-size: 0.82rem; }
  .nav { height: 64px; }
  .brand-logo { height: 28px; }
  .nav-cta { gap: 6px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-footer { padding: 48px 0 28px; margin-top: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat-num { font-size: 1.8rem; }
  .card { padding: 24px; }
}

/* -- Mobile (<= 640px) -- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 72px 0 40px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.1; }
  .hero p { font-size: 0.95rem; max-width: 100%; }
  .hero .btn-row { flex-direction: column; gap: 8px; }
  .hero .btn-row .btn { width: 100%; }
  h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  h3 { font-size: 1.1rem; }
  .lead { font-size: 1.05rem; }

  /* Header — only logo + burger on mobile */
  .nav { height: 56px; }
  .brand-logo { height: 26px; }
  .nav-links { display: none !important; }
  .nav-cta .btn, .nav-cta .btn-outline, .nav-cta .btn-secondary { display: none !important; }
  .burger { display: flex !important; align-items: center; justify-content: center; }

  /* Mobile menu backdrop */
  .mobile-menu-overlay {
    display: block; position: fixed; inset: 0; z-index: 99;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(2px);
  }

  /* Mobile menu — full-width overlay (now outside <header>) */
  .mobile-menu {
    position: fixed; inset: 0; top: 56px; z-index: 100;
    background: rgba(12, 10, 22, 0.98); backdrop-filter: blur(16px);
    padding: 20px 16px 40px; overflow-y: auto;
    border-top: none;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 14px 4px; color: var(--text-secondary); font-size: 1.05rem;
    font-weight: 500; border-bottom: 1px solid var(--border-soft);
  }
  .mobile-menu a:last-of-type { border-bottom: none; }
  .mobile-menu-cta {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  }
  .mobile-menu-cta .btn { padding: 14px; font-size: 0.95rem; }

  /* Stats — single column on mobile */
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 10px; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.8rem; }

  /* Cards */
  .card { padding: 20px; border-radius: 12px; }
  .card-title { font-size: 1.05rem; }
  .card-body { font-size: 0.9rem; }

  /* Footer — single column */
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid h4 { font-size: 0.75rem; }
  .footer-grid a { font-size: 0.88rem; }
  .site-footer { padding: 40px 0 24px; margin-top: 40px; }

  /* Forms */
  .form-row { flex-direction: column; gap: 0; }
  .form-row > .field { flex: 1 1 auto; }
  .input { padding: 12px 14px; font-size: 16px; /* prevents iOS zoom */ }
  textarea.input { min-height: 80px; }

  /* Buttons */
  .btn { padding: 11px 18px; font-size: 0.9rem; }
  .btn-header { padding: 10px 14px; font-size: 0.82rem; }

  /* FAQ */
  .faq details { padding: 14px 0; }
  .faq summary { font-size: 0.95rem; }

  /* Prose */
  .prose h2 { margin-top: 28px; }

  /* Split layout */
  .split { gap: 20px; }

  /* Booking */
  .book-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-section { padding: 48px 0; }
  .testimonials-quote { font-size: 1rem; padding: 0 8px; line-height: 1.65; }
  .testimonials-author { font-size: 0.85rem; }
  .testimonial-stars { font-size: 0.95rem; letter-spacing: 2px; }
  .testimonials-nav { gap: 6px; }
  .testimonials-arrow { width: 34px; height: 34px; font-size: 0.9rem; }

  /* Chat widget */
  .chat-widget {
    position: fixed; inset: 12px; bottom: 12px;
    width: auto; max-height: calc(100vh - 24px);
    border-radius: 14px;
  }

  /* Portal */

  /* Bell popup & calendar nav */
  .day-nav-label { min-width: 0; flex: 1; font-size: 0.88rem; }
}

/* -- Small mobile (<= 380px) — Galaxy S21, iPhone SE, etc. -- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .section { padding: 40px 0; }
  .hero { padding: 64px 0 32px; }
  .hero h1 { font-size: 1.5rem; }
  .nav { height: 52px; }
  .brand-logo { height: 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat-num { font-size: 1.3rem; }
  .stat-label { font-size: 0.72rem; }
  .btn { padding: 10px 14px; font-size: 0.85rem; }
  .btn-header { padding: 9px 10px; font-size: 0.78rem; }
  .card { padding: 16px; }
  .eyebrow { font-size: 0.68rem; }
}

/* -- Touch-friendly hover states -- */
@media (hover: none) and (pointer: coarse) {
  a.card:hover { transform: none; box-shadow: none; }
  .btn:active { transform: scale(0.97); }
  .slot:active { transform: scale(0.95); }
}

/* -- Safe area insets for iPhone notch -- */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-header { padding-top: env(safe-area-inset-top); }
  .mobile-menu { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .cookie-consent, [role="dialog"] { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* -- Landscape mobile -- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 40px 0 24px; }
  .mobile-menu { top: 52px; }
}

/* -- Prevent iOS rubber-band scroll on body -- */
@supports (-webkit-touch-callout: none) {
  body { -webkit-overflow-scrolling: touch; }
}

/* -- Font size reset for form inputs (prevent iOS zoom) -- */
@media (max-width: 640px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ===================================================================
   FORM PAGE REDESIGN — Contact & Quote (ultra-enterprise aesthetic)
   =================================================================== */

/* Left panel layout fix — align top, not center */
.split-form { align-items: start; }

/* Form card — gradient border + ambient glow + elevated surface */
.form-card {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 19, 31, 0.95), rgba(12, 10, 22, 0.98));
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  box-shadow: 0 0 0 1px var(--border), 0 8px 40px rgba(139, 92, 246, 0.08), 0 2px 12px rgba(0, 0, 0, 0.3);
}
.form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.05) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Micro-label — uppercase, letter-spaced, smaller */
.form-card .field > label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
}

/* Input — elevated focus states, refined borders */
.form-card .input {
  background: rgba(30, 25, 48, 0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-card .input:hover {
  border-color: var(--border-strong);
  background: rgba(30, 25, 48, 0.8);
}
.form-card .input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15), 0 0 20px rgba(139, 92, 246, 0.08);
  background: rgba(30, 25, 48, 0.9);
}
.form-card textarea.input {
  min-height: 110px;
  resize: vertical;
}
.form-card select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c778c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Field spacing — more breathing room */
.form-card .field { margin-bottom: 22px; }
.form-card .form-row { gap: 18px; }

/* Submit button — polished hover/active */
.form-card .btn-primary {
  background: linear-gradient(135deg, var(--primary), #9b6dff);
  border: none;
  border-radius: 10px;
  padding: 13px 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-card .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.3);
  background: linear-gradient(135deg, var(--primary-hover), #8b5cf6);
}
.form-card .btn-primary:active {
  transform: translateY(0.5px) scale(0.99);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}
.form-card .btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Success state */
.form-card .alert-ok {
  background: rgba(59, 182, 102, 0.1);
  border: 1px solid rgba(59, 182, 102, 0.3);
  color: var(--success-text);
  border-radius: 12px;
  padding: 16px 18px;
}

/* Error state */
.form-card .alert-error {
  background: rgba(229, 104, 125, 0.1);
  border: 1px solid rgba(229, 104, 125, 0.3);
  color: var(--danger-text);
  border-radius: 12px;
}

/* Left panel — enhanced typography */
.form-left .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  display: inline-block;
}
.form-left h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 18px;
  background: linear-gradient(180deg, var(--text-primary) 40%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form-left .lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 12px;
}
.form-left .text-muted {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 420px;
}

/* "What happens next" timeline */
.next-steps {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.next-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(139, 92, 246, 0.15));
  border-radius: 2px;
}
.next-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}
.next-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.3);
}
.next-step-text {
  padding-top: 2px;
}
.next-step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.next-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Trust row — badges/compliance */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 31, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.trust-badge svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

/* Responsive — stack on mobile */
@media (max-width: 860px) {
  .split-form { grid-template-columns: 1fr !important; }
  .form-card { padding: 28px 22px 24px; }
  .next-steps { margin-top: 28px; }
  .form-left { margin-bottom: 8px; }
}

/* ---- Portal ---- */
.section-portal { padding: 120px 0; text-align: center; }
.section-portal .section-subtitle { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.portal-content { max-width: 560px; margin: 0 auto; }
.portal-content p { color: var(--text-secondary); margin-bottom: 1.2em; }
.portal-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 32px; }
.portal-actions .btn { min-width: 180px; }
@media (max-width: 640px) {
  .section-portal { padding: 80px 0; }
  .portal-actions { flex-direction: column; align-items: center; }
  .portal-actions .btn { width: 100%; max-width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-canvas { display: none; }
  .cursor { animation: none; }
  .cyber-bg { opacity: 0.06; }
  .cyber-overlay::after { animation: none; display: none; }
}
