/* ============================================================
   GEO PORT CHECK — Landing
   Accettabilità Geometrica Navi · palette chiara & geometrica
   ============================================================ */

:root {
  --white: #ffffff;
  --cream: #f7fafc;
  --mist: #eef4f8;
  --line: #d4e0ea;
  --line-soft: #e8eef4;
  --navy: #0a3d62;
  --navy-deep: #072a45;
  --petrol: #1b6b93;
  --petrol-soft: #2d8bb3;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --gold-dim: rgba(201, 162, 39, 0.14);
  --text: #0f2438;
  --muted: #5a7184;
  --muted-2: #8aa0b3;
  --ok: #1a7a4c;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(10, 61, 98, 0.06);
  --shadow-lg: 0 20px 60px rgba(10, 61, 98, 0.1);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.22);
}
.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 12px 32px rgba(10, 61, 98, 0.28);
}
.btn-gold {
  background: linear-gradient(135deg, #d4af37, var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}
.btn-gold:hover {
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  color: var(--navy);
  border: 1.5px solid transparent;
}
.btn-ghost:hover { background: var(--mist); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1rem; }
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform 0.2s;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(10, 61, 98, 0.05);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--petrol) 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.2);
}
.logo b { color: var(--gold); font-weight: 700; }
.nav {
  display: flex;
  gap: 1.75rem;
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.25rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(45, 139, 179, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201, 162, 39, 0.08), transparent 50%),
    linear-gradient(180deg, #f4f9fc 0%, var(--white) 55%, var(--cream) 100%);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 61, 98, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 61, 98, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 1.15rem;
}
.hero-eyebrow .pip {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-dim);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 1.15rem;
}
.hero h1 .gold {
  color: var(--gold);
  position: relative;
}
.hero h1 .line-mark {
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 0.85rem;
  animation: lineGrow 1.2s 0.4s ease forwards;
}
@keyframes lineGrow {
  to { width: min(180px, 40%); }
}
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.85rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-meta-item strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.hero-meta-item span {
  font-size: 0.78rem;
  color: var(--muted-2);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.hero-frame {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(160deg, #fff 0%, #f0f7fb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}
.hero-frame svg {
  width: 100%;
  height: 100%;
}
.hero-badge {
  position: absolute;
  bottom: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.78rem;
  box-shadow: var(--shadow);
}
.hero-badge strong { color: var(--navy); font-weight: 700; }
.hero-badge .status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--ok);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}
.hero-badge .status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(26, 122, 76, 0.15);
}
.float-dim {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--petrol);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0;
  animation: fadeDim 0.6s ease forwards;
}
.float-dim.d1 { top: 12%; right: -8px; animation-delay: 0.8s; }
.float-dim.d2 { bottom: 28%; left: -12px; animation-delay: 1.1s; }
@keyframes fadeDim {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ── Section common ── */
.section {
  position: relative;
  padding: 6rem 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 0.85rem;
}
.section-tag::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--gold);
}
.section h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.65;
}

/* ── Experience ── */
.experience {
  background: var(--cream);
  overflow: hidden;
}
.exp-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  margin-top: 2.75rem;
  align-items: stretch;
}
.exp-years {
  position: relative;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10, 61, 98, 0.25);
}
.exp-years::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.exp-years::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 50%;
  right: -60px; bottom: -60px;
}
.years-num {
  position: relative;
  font-size: clamp(5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
}
.years-num span {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.75rem;
}
.years-copy {
  position: relative;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.78);
  max-width: 18rem;
  line-height: 1.55;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.case-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 61, 98, 0.2);
}
.case-card.wide { grid-column: 1 / -1; flex-direction: row; }
.case-visual {
  position: relative;
  background: linear-gradient(145deg, #e8f2f8, #d5e6f0);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-card.wide .case-visual {
  width: 42%;
  min-height: 100%;
  flex-shrink: 0;
}
.case-visual svg { width: 85%; height: auto; opacity: 0.95; }
.case-visual .quote-line {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--petrol);
  opacity: 0;
  transition: opacity 0.3s;
}
.case-card:hover .quote-line { opacity: 1; }
.case-body { padding: 1.15rem 1.25rem 1.3rem; flex: 1; }
.case-body .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}
.chip {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--petrol);
}
.chip.gold {
  background: var(--gold-dim);
  color: #8a6d12;
}
.case-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.case-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.case-dims {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--petrol);
  font-weight: 600;
}

/* ── Interactive Tool ── */
.tool-section {
  background: var(--white);
}
.tool-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.tool-stage {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.25rem;
  align-items: stretch;
}
.viewer-3d {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fbfcfe;
  min-height: 420px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.viewer-3d .grid-floor { display: none; }
.viewer-canvas svg {
  max-width: 100%;
  height: auto;
  filter: none;
}
.viewer-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.viewer-canvas svg {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(10, 61, 98, 0.12));
}
.viewer-label {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
}
.viewer-label .live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(201, 162, 39, 0); }
}
.viewer-hint {
  position: absolute;
  bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.controls-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.controls-panel h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.ctrl {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ctrl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ctrl-head output {
  font-family: var(--mono);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.ctrl input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  outline: none;
}
.ctrl input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(10, 61, 98, 0.3);
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.ctrl input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  background: var(--petrol);
}
.ctrl select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ctrl select:focus {
  border-color: var(--petrol);
  box-shadow: 0 0 0 3px rgba(27, 107, 147, 0.12);
}
.verdict-mini {
  margin-top: auto;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecf8f1, #e0f2e9);
  border: 1px solid #b8e0c8;
}
.verdict-mini .vm-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ok);
  margin-bottom: 0.25rem;
}
.verdict-mini .vm-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
}
.verdict-mini .vm-margin {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── Trust / Social ── */
.trust {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
.social-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.social-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.social-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.social-btn:hover {
  border-color: var(--petrol);
  background: var(--mist);
  transform: translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; }
.feed-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.feed-item {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #e8f2f8, #f5f9fc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.feed-item:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: scale(1.02);
}
.feed-item .fi-icon {
  font-size: 1.4rem;
}
.feed-item span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

.badges-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.badge-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
}
.badge-card:hover {
  border-color: rgba(10, 61, 98, 0.2);
  transform: translateX(4px);
}
.badge-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold-dim);
  color: #8a6d12;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: var(--mono);
}
.badge-icon.navy {
  background: rgba(10, 61, 98, 0.08);
  color: var(--navy);
}
.badge-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.badge-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── CTA band ── */
.cta-band {
  position: relative;
  padding: 5rem 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent);
}
.cta-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--white);
}
.cta-band p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}
.cta-band .btn-gold { margin-inline: 0.35rem; }
.cta-band .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 700;
  display: inline-flex;
  margin: 0.35rem;
  transition: background 0.2s, border-color 0.2s;
}
.cta-band .btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ── Footer ── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.75rem;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--petrol), var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { margin-bottom: 0.85rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.55;
}
.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.85rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.15s, padding-left 0.15s;
}
.footer-links a:hover {
  color: var(--navy);
  padding-left: 4px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem;
  color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--navy); }

/* ── Mobile nav drawer ── */
.nav-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255,255,255,0.98);
  z-index: 90;
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line-soft);
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-inner,
  .exp-layout,
  .tool-stage,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .case-card.wide { flex-direction: column; }
  .case-card.wide .case-visual { width: 100%; min-height: 160px; }
  .float-dim { display: none; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 1.5rem); }
  .viewer-3d, .viewer-canvas { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .exp-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1rem; }
  .header-cta .btn-ghost { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .feed-mock { grid-template-columns: 1fr 1fr; }
  .cta-band .btn-outline-light,
  .cta-band .btn-gold { width: 100%; justify-content: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
