/* ═══════════════════════════════════════════════════
   ChatPMI Home v2 — Premium dark design
   Same design system as Demo v2
   Manrope + Space Grotesk, violet/orange, glassmorphism
   ═══════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS (mirrored from demo-v2) ─── */
:root {
  --bg: #050312;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-s: rgba(255, 255, 255, 0.14);
  --text: #f5f1fa;
  --text-soft: #cbc3d7;
  --text-muted: #a89fb8;
  --accent: #ff7a1a;
  --accent-deep: #ff5a19;
  --violet: #7d52ff;
  --violet-soft: rgba(125, 82, 255, 0.18);
  --green: #34d399;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --font: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --font-d: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-m: 'IBM Plex Mono', 'Consolas', monospace;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body.home-v2 {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.home-v2 h1, body.home-v2 h2, body.home-v2 h3,
body.home-v2 h4, body.home-v2 p, body.home-v2 strong { margin: 0; }
body.home-v2 a { color: inherit; text-decoration: none; }
body.home-v2 button { font: inherit; border: 0; cursor: pointer; }
body.home-v2 img { max-width: 100%; height: auto; }
body.home-v2 a:focus-visible, body.home-v2 button:focus-visible {
  outline: 2px solid rgba(125, 82, 255, 0.7);
  outline-offset: 3px;
}

/* ─── AMBIENT ─── */
.hv2-ambient {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.hv2-ambient-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(125, 82, 255, 0.20), transparent 36%),
    radial-gradient(circle at 80% 15%, rgba(255, 122, 26, 0.16), transparent 24%),
    linear-gradient(180deg, #070313 0%, #0a0417 42%, #050312 100%);
}
.hv2-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.hv2-orb--v { left: 8%; top: 18%; width: 340px; height: 340px; background: rgba(125, 82, 255, 0.08); }
.hv2-orb--o { right: 6%; bottom: 14%; width: 380px; height: 380px; background: rgba(255, 122, 26, 0.06); }

/* ─── LAYOUT ─── */
.hv2-c { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hv2-main { position: relative; z-index: 1; }

/* ─── HEADER ─── */
.hv2-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.hv2-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 0 20px;
  border-radius: var(--r-xl); border: 1px solid var(--border);
  background: rgba(13, 7, 24, 0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.hv2-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-size: 15px; font-weight: 600; letter-spacing: -0.02em;
}
.hv2-brand img {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); padding: 6px;
}
.hv2-nav-links { display: flex; align-items: center; gap: 24px; }
.hv2-nav-links a { font-size: 14px; color: var(--text-soft); transition: color 0.2s; }
.hv2-nav-links a:hover { color: var(--text); }
.hv2-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─── BUTTONS ─── */
.hv2-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: all 0.25s ease;
  border: 1px solid transparent;
}
.hv2-btn--p {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff; box-shadow: 0 8px 32px rgba(255, 122, 26, 0.25);
}
.hv2-btn--p:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(255, 122, 26, 0.35); }
.hv2-btn--g {
  border-color: var(--border-s); background: var(--surface); color: var(--text);
}
.hv2-btn--g:hover { border-color: rgba(255,255,255,0.22); background: var(--surface-hover); transform: translateY(-1px); }
.hv2-btn--lg { min-height: 52px; padding: 0 28px; font-size: 15px; }

/* ─── KICKER ─── */
.hv2-kicker {
  display: inline-flex; align-items: center; width: fit-content;
  min-height: 30px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font-family: var(--font-m);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.hv2-kicker--sm { min-height: 26px; padding: 0 10px; font-size: 10px; }

/* ═══════════ HERO ═══════════ */
.hv2-hero { position: relative; z-index: 1; padding: 80px 0 56px; }
.hv2-hero-layout {
  display: grid; grid-template-columns: 1fr minmax(300px, 0.52fr);
  gap: 48px; align-items: center;
}
.hv2-hero-content {
  display: grid; gap: 24px; justify-items: start;
  animation: hv2FadeUp 0.8s ease both;
}
.hv2-hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  font-weight: 700; line-height: 0.94;
  letter-spacing: -0.055em; max-width: 14ch;
}
.hv2-hero-sub {
  max-width: 52ch; font-size: 17px; line-height: 1.7; color: var(--text-soft);
}
.hv2-hero-sub strong { color: var(--text); font-weight: 600; }
.hv2-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero right — scenario preview */
.hv2-hero-preview {
  border-radius: 32px; border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); overflow: hidden;
  animation: hv2FadeUp 1s ease 0.2s both;
}
.hv2-hero-preview-header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.hv2-hero-preview-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.hv2-hero-preview-dot--r { background: #ff6f61; }
.hv2-hero-preview-dot--y { background: #ffbd54; }
.hv2-hero-preview-dot--g { background: #52d47a; }
.hv2-hero-preview-title {
  margin-left: 8px; font-family: var(--font-m);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.hv2-hero-preview-body {
  padding: 4px;
}
.hv2-hero-preview-body img {
  display: block; width: 100%; border-radius: 24px;
}

/* ═══════════ METRICS STRIP ═══════════ */
.hv2-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; padding: 0 0 16px;
}
.hv2-metric {
  display: grid; gap: 6px; padding: 22px 20px;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px); text-align: center;
  animation: hv2FadeUp 0.6s ease both;
}
.hv2-metric:nth-child(2) { animation-delay: 0.1s; }
.hv2-metric:nth-child(3) { animation-delay: 0.2s; }
.hv2-metric:nth-child(4) { animation-delay: 0.3s; }
.hv2-metric-value {
  font-family: var(--font-d); font-size: 32px; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  background: linear-gradient(135deg, var(--accent), #ff9c5a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hv2-metric-label { font-size: 13px; color: var(--text-muted); }
.hv2-metrics-note {
  margin: 14px auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* ═══════════ SECTIONS ═══════════ */
.hv2-section { position: relative; z-index: 1; padding: 80px 0; scroll-margin-top: 80px; }
.hv2-section--compact { padding-top: 36px; }
.hv2-section-header {
  text-align: center; max-width: 720px; margin: 0 auto 56px;
  display: grid; gap: 16px; justify-items: center;
}
.hv2-section-header h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.05em;
}
.hv2-section-header p { font-size: 17px; color: var(--text-soft); max-width: 54ch; }

/* ═══════════ SETTORI (Sectors Grid) ═══════════ */
.hv2-sectors-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hv2-sector {
  display: grid; gap: 12px; align-content: start;
  padding: 24px 20px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  transition: transform 0.3s, border-color 0.3s;
}
.hv2-sector:hover { transform: translateY(-4px); border-color: var(--border-s); }
.hv2-sector-icon {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--violet-soft); color: var(--violet);
}
.hv2-sector-icon svg { width: 22px; height: 22px; }
.hv2-sector h3 {
  font-family: var(--font-d); font-size: 17px; font-weight: 700;
  letter-spacing: -0.03em;
}
.hv2-sector p { font-size: 14px; line-height: 1.6; color: var(--text-soft); }
.hv2-sector--accent .hv2-sector-icon { background: rgba(255,122,26,0.15); color: var(--accent); }

/* ═══════════ STEPS (How it works) ═══════════ */
.hv2-steps { display: flex; align-items: stretch; justify-content: center; gap: 0; }
.hv2-step {
  flex: 1; max-width: 360px; display: grid; gap: 14px; align-content: start;
  padding: 32px 28px; border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px); transition: transform 0.3s, border-color 0.3s;
}
.hv2-step:hover { transform: translateY(-4px); border-color: var(--border-s); }
.hv2-step--accent {
  border-color: rgba(255,122,26,0.22);
  background: radial-gradient(circle at 50% 0%, rgba(255,122,26,0.12), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hv2-step-num {
  font-family: var(--font-m); font-size: 12px; color: var(--text-muted);
  letter-spacing: 0.12em;
}
.hv2-step-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--violet-soft); color: var(--violet);
}
.hv2-step--accent .hv2-step-icon { background: rgba(255,122,26,0.15); color: var(--accent); }
.hv2-step-icon svg { width: 24px; height: 24px; }
.hv2-step h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; letter-spacing: -0.03em; }
.hv2-step p { font-size: 15px; line-height: 1.65; color: var(--text-soft); }
.hv2-step-connector {
  display: flex; align-items: center; padding: 0 12px;
  color: var(--text-muted); opacity: 0.4;
}
.hv2-step-connector svg { width: 40px; height: 24px; }

/* ═══════════ SCENARIO OPERATIVO ═══════════ */
.hv2-scenario {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start;
}
.hv2-scenario-main {
  border-radius: 32px; border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,122,26,0.10), rgba(125,82,255,0.08) 55%, rgba(255,255,255,0.03));
  padding: 32px; box-shadow: var(--shadow);
}
.hv2-scenario-main > .hv2-kicker { margin-bottom: 16px; }
.hv2-scenario-main h2 {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.05em;
}
.hv2-scenario-main > p {
  margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--text-soft); max-width: 50ch;
}

.hv2-scenario-steps-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.hv2-scenario-step-mini {
  padding: 18px; border-radius: var(--r-lg);
  border: 1px solid var(--border); background: rgba(11, 8, 21, 0.82);
}
.hv2-scenario-step-mini span {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
}
.hv2-scenario-step-mini strong {
  display: block; margin-top: 8px;
  font-size: 16px; font-weight: 600; letter-spacing: -0.02em;
}
.hv2-scenario-step-mini p {
  margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--text-soft);
}

/* scenario aside */
.hv2-scenario-aside {
  border-radius: 32px; border: 1px solid var(--border);
  background: rgba(9, 5, 19, 1); padding: 28px; box-shadow: var(--shadow);
}
.hv2-scenario-aside-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.hv2-scenario-aside-header h3 {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.04em; max-width: 11ch;
  margin-top: 8px;
}
.hv2-badge {
  min-height: 28px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); font-family: var(--font-m);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  display: inline-flex; align-items: center;
}
.hv2-badge--violet { background: rgba(125,82,255,0.15); color: #c4b5fd; border-color: rgba(125,82,255,0.2); }
.hv2-badge--green { background: rgba(52,211,153,0.12); color: #a7f3d0; border-color: rgba(52,211,153,0.2); }

.hv2-preset-details {
  display: grid; gap: 14px; margin-top: 20px;
}
.hv2-preset-field {
  padding: 16px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface);
}
.hv2-preset-field span {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
}
.hv2-preset-field p {
  margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-soft);
}
.hv2-preset-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

/* ═══════════ PRESET GRID ═══════════ */
.hv2-presets-section {
  border-radius: 32px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); padding: 32px;
}
.hv2-presets-header {
  display: grid; gap: 16px; max-width: 720px; margin-bottom: 28px;
}
.hv2-presets-header h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.05em;
}
.hv2-presets-header p { font-size: 17px; color: var(--text-soft); max-width: 56ch; }

/* search */
.hv2-search {
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 0 18px;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: rgba(11, 8, 22, 1); margin-bottom: 20px;
}
.hv2-search svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.hv2-search input {
  flex: 1; background: transparent; border: 0; padding: 0;
  font-family: var(--font); font-size: 15px; color: var(--text);
  outline: none;
}
.hv2-search input::placeholder { color: rgba(168,159,184,0.5); }

/* filter pills */
.hv2-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hv2-filter-pill {
  min-height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-soft); font-size: 14px; font-weight: 600;
  transition: all 0.2s;
}
.hv2-filter-pill:hover { border-color: var(--border-s); background: var(--surface); }
.hv2-filter-pill[data-active="true"] {
  border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.09); color: var(--text);
}

/* preset cards grid */
.hv2-preset-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* preset card */
.hv2-preset-card {
  display: grid; gap: 14px; align-content: space-between;
  padding: 22px; border-radius: var(--r-xl);
  border: 1px solid var(--border); background: var(--surface);
  transition: all 0.3s ease; cursor: pointer;
}
.hv2-preset-card:hover { transform: translateY(-3px); border-color: var(--border-s); background: var(--surface-hover); }
.hv2-preset-card[data-selected="true"] {
  border-color: rgba(255,122,26,0.35); background: rgba(255,122,26,0.09);
}
.hv2-preset-card h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
}
.hv2-preset-card p { font-size: 14px; line-height: 1.55; color: var(--text-soft); }
.hv2-preset-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.hv2-preset-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hv2-chip {
  display: inline-flex; align-items: center; min-height: 26px;
  padding: 0 10px; border-radius: 999px;
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hv2-chip--default { border: 1px solid var(--border); color: var(--text-muted); }
.hv2-chip--accent { border: 1px solid rgba(255,122,26,0.2); background: rgba(255,122,26,0.12); color: #ffd3bb; }
.hv2-chip--extra { border: 1px solid var(--border); color: rgba(168,159,184,0.5); }
.hv2-preset-owner {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 13px; font-weight: 600;
}
.hv2-preset-empty {
  grid-column: 1 / -1; padding: 48px 24px; text-align: center;
  border-radius: var(--r-xl); border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02); color: var(--text-soft); font-size: 15px;
}

/* load more */
.hv2-load-more {
  display: flex; justify-content: center; margin-top: 24px;
}
.hv2-load-more button {
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-soft); font-size: 14px; font-weight: 600;
  transition: all 0.2s;
}
.hv2-load-more button:hover { border-color: var(--border-s); background: var(--surface-hover); }

/* ═══════════ TRUST ═══════════ */
.hv2-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hv2-trust-card {
  display: grid;
  gap: 12px;
  padding: 24px 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hv2-trust-card--accent {
  border-color: rgba(255,122,26,0.18);
  background: linear-gradient(180deg, rgba(255,122,26,0.12), rgba(255,255,255,0.03));
}
.hv2-trust-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-m);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hv2-trust-card h3 {
  font-family: var(--font-d);
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hv2-trust-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

/* ═══════════ SOCIAL PROOF ═══════════ */
.hv2-proof-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hv2-proof-card {
  display: grid; gap: 16px; padding: 28px;
  border-radius: var(--r-xl); border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hv2-proof-card blockquote {
  margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4;
  letter-spacing: -0.02em; font-style: italic;
}
.hv2-proof-card cite {
  font-style: normal; font-size: 13px; color: var(--text-muted);
}
.hv2-proof-card:first-child {
  background: linear-gradient(145deg, rgba(45, 24, 20, 0.7), rgba(26, 15, 13, 0.8));
  border-color: rgba(255,122,26,0.12);
}

/* ═══════════ FAQ ═══════════ */
.hv2-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.hv2-faq-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}
.hv2-faq-card h3 {
  font-family: var(--font-d);
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.hv2-faq-card p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ═══════════ CTA ═══════════ */
.hv2-cta-card {
  position: relative; overflow: hidden;
  border-radius: 36px; border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,122,26,0.08), rgba(125,82,255,0.08));
  padding: 56px 48px; box-shadow: var(--shadow);
}
.hv2-cta-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 60% 50%, rgba(125,82,255,0.18), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255,122,26,0.14), transparent 30%);
}
.hv2-cta-card-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.hv2-cta-text { display: grid; gap: 16px; }
.hv2-cta-text h2 {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 0.98; letter-spacing: -0.05em;
}
.hv2-cta-text p { font-size: 17px; color: var(--text-soft); max-width: 52ch; }
.hv2-cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ═══════════ FOOTER ═══════════ */
.hv2-footer { position: relative; z-index: 1; padding: 60px 0 32px; }
.hv2-footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.hv2-footer-brand p {
  margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--text-muted); max-width: 32ch;
}
.hv2-footer-col { display: grid; gap: 10px; align-content: start; }
.hv2-footer-col span {
  font-family: var(--font-m); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.hv2-footer-col a { font-size: 14px; color: var(--text-soft); transition: color 0.2s; }
.hv2-footer-col a:hover { color: var(--text); }
.hv2-footer-bottom { padding-top: 24px; }
.hv2-footer-bottom p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes hv2FadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── MOBILE TOGGLE BUTTON ─── */
.hv2-mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid var(--border-s);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hv2-mobile-toggle:hover { background: var(--surface-hover); border-color: rgba(255,255,255,0.22); }
.hv2-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
}
body.hv2-nav-open .hv2-mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.hv2-nav-open .hv2-mobile-toggle span:nth-child(2) { opacity: 0; }
body.hv2-nav-open .hv2-mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE OVERLAY ─── */
.hv2-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 3, 18, 0.7);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
body.hv2-nav-open .hv2-mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ─── MOBILE DRAWER ─── */
.hv2-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: min(320px, 88vw);
  display: flex;
  flex-direction: column;
  background: rgba(13, 7, 24, 0.97);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
body.hv2-nav-open .hv2-mobile-drawer {
  transform: translateX(0);
}

.hv2-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.hv2-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.hv2-drawer-close:hover { background: var(--surface-hover); color: var(--text); }

.hv2-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 4px;
  flex: 1;
}
.hv2-drawer-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.18s, color 0.18s;
}
.hv2-drawer-links a:hover { background: var(--surface); color: var(--text); }
.hv2-drawer-link--highlight {
  border: 1px solid rgba(255, 122, 26, 0.22) !important;
  background: rgba(255, 122, 26, 0.08) !important;
  color: #ffd3bb !important;
}
.hv2-drawer-link--highlight:hover { background: rgba(255, 122, 26, 0.14) !important; }

.hv2-drawer-footer {
  padding: 16px 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hv2-hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hv2-metrics { grid-template-columns: repeat(2, 1fr); }
  .hv2-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-scenario { grid-template-columns: 1fr; }
  .hv2-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-proof-grid { grid-template-columns: 1fr; }
  .hv2-faq-grid { grid-template-columns: 1fr; }
  .hv2-cta-card-inner { grid-template-columns: 1fr; }
  .hv2-preset-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hv2-c { width: calc(100% - 32px); }
  .hv2-nav-links { display: none; }
  .hv2-mobile-toggle { display: flex; }
  .hv2-hero { padding: 56px 0 40px; }
  .hv2-hero h1 { font-size: clamp(2.2rem, 10vw, 3.6rem); max-width: 100%; }
  .hv2-metrics { grid-template-columns: 1fr 1fr; }
  .hv2-sectors-grid { grid-template-columns: 1fr; }
  .hv2-steps { flex-direction: column; gap: 16px; }
  .hv2-step { max-width: 100%; }
  .hv2-step-connector { display: none; }
  .hv2-trust-grid { grid-template-columns: 1fr; }
  .hv2-section { padding: 56px 0; }
  .hv2-section-header { margin-bottom: 40px; }
  .hv2-section-header h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hv2-scenario-steps-mini { grid-template-columns: 1fr; }
  .hv2-presets-section { padding: 20px; }
  .hv2-preset-grid { grid-template-columns: 1fr; }
  .hv2-preset-field-row { grid-template-columns: 1fr; }
  .hv2-cta-card { padding: 36px 24px; border-radius: 28px; }
  .hv2-footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
