/* ============================================================
   SURVANTIS — Design System
   Premium B2B · AI-driven market intelligence
   Palette: Dark Navy Slate + Electric Blue · Inter / Space Grotesk
   ============================================================ */

:root {
  --navy-950: #070D1C;
  --navy-900: #0B1325;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --navy-600: #334155;
  --blue: #38BDF8;
  --blue-deep: #2563EB;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --ink: #0F172A;
  --muted: #5B6B82;
  --muted-dark: #8FA3BF;
  --line: #E4EAF2;
  --line-dark: rgba(148, 184, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 24px 60px -28px rgba(11, 19, 37, 0.25);
  --shadow-card: 0 10px 40px -18px rgba(11, 19, 37, 0.18);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow { width: min(880px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  border-radius: 2px;
}

.section-dark .eyebrow, .on-dark .eyebrow { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.h-xl { font-size: clamp(40px, 5.6vw, 68px); }
.h-lg { font-size: clamp(30px, 3.8vw, 46px); }
.h-md { font-size: clamp(22px, 2.6vw, 30px); }
.h-sm { font-size: 19px; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 400;
}

.on-dark .lead, .section-dark .lead { color: var(--muted-dark); }

.accent { color: var(--blue-deep); }
.section-dark .accent { color: var(--blue); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #3B82F6 60%, var(--blue) 130%);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(37, 99, 235, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.18);
}
.btn-ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }

.btn-ghost-light {
  background: transparent;
  color: #E7EEF9;
  border-color: rgba(231, 238, 249, 0.28);
}
.btn-ghost-light:hover { border-color: var(--blue); color: var(--blue); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 13, 28, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 184, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(7, 13, 28, 0.92);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.brand img { height: 30px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: #C6D3E6;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s ease;
}

@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 13.5px; }
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px; height: 42px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(120% 90% at 70% -10%, #13223F 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  padding: calc(var(--header-h) + 96px) 0 110px;
  overflow: hidden;
}

.hero--sub { padding: calc(var(--header-h) + 72px) 0 84px; }

#mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-inner { position: relative; z-index: 2; }

.hero .h-xl { color: #fff; max-width: 15ch; }
.hero--sub .h-xl { font-size: clamp(34px, 4.6vw, 56px); max-width: 20ch; }

.hero .lead { max-width: 56ch; margin-top: 24px; color: #A9BAD3; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero-meta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6E82A3;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #9FD9FA;
  margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* ---------- Sections ---------- */

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }

.section-dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #E7EEF9;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .h-lg { margin: 16px 0 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Stat band ---------- */

.stat-band {
  border-top: 1px solid var(--line-dark);
  background: var(--navy-950);
  color: #fff;
  padding: 44px 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  background: linear-gradient(100deg, #fff 30%, var(--blue) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat .label { font-size: 13.5px; color: #7E92B3; margin-top: 6px; letter-spacing: 0.02em; }

/* ---------- Solution cards ---------- */

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px 32px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}

.sol-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.sol-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(37, 99, 235, 0.35);
}
.sol-card:hover::before { opacity: 1; }

.sol-card .glyph {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.14));
  color: var(--blue-deep);
  margin-bottom: 24px;
}

.sol-card .kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.sol-card h3 { font-size: 23px; margin-bottom: 12px; }

.sol-card p { color: var(--muted); font-size: 15px; flex: 1; }

.sol-card .more {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--blue-deep);
}
.sol-card .more svg { transition: transform 0.3s ease; }
.sol-card:hover .more svg { transform: translateX(4px); }

.sol-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.sol-card .tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-600);
  background: var(--bg-light);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 999px;
}

.sol-card--future {
  border-style: dashed;
  background: linear-gradient(180deg, #FBFDFF, #F4F8FD);
  justify-content: center;
  text-align: center;
  align-items: center;
}
.sol-card--future .glyph { background: #EEF3FA; color: var(--muted); }
.sol-card--future:hover { transform: none; box-shadow: none; border-color: var(--line); }
.sol-card--future:hover::before { opacity: 0; }

/* ---------- Split screen (AI / Human) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  min-height: 460px;
  box-shadow: var(--shadow-soft);
}

.split-pane {
  padding: 64px 52px;
  position: relative;
  transition: flex 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-pane.ai {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #E7EEF9;
}

.split-pane.human {
  background: #fff;
  border: 1px solid var(--line);
  border-left: none;
  border-radius: 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0;
}

.split-pane .h-md { margin: 14px 0 16px; }
.split-pane p { font-size: 15.5px; }
.split-pane.ai p { color: var(--muted-dark); }
.split-pane.human p { color: var(--muted); }

.split-pane ul { margin-top: 22px; display: grid; gap: 12px; }
.split-pane li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  align-items: flex-start;
}
.split-pane li svg { flex-shrink: 0; margin-top: 3px; }

.split-join {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.12), 0 14px 30px -10px rgba(37, 99, 235, 0.6);
}

.split-wrap { position: relative; }

/* ---------- Workflow / ecosystem ---------- */

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.flow-step {
  background: rgba(148, 184, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.flow-step:hover { border-color: rgba(56, 189, 248, 0.45); background: rgba(56, 189, 248, 0.07); transform: translateY(-4px); }

.flow-step .step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
}
.flow-step h3 { font-size: 20px; margin: 10px 0 8px; color: #fff; }
.flow-step p { font-size: 14px; color: var(--muted-dark); }

.flow-arrow {
  align-self: center;
  color: rgba(56, 189, 248, 0.6);
}

/* ---------- Feature rows (product pages) ---------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: 64px 0;
}

.feature-row + .feature-row { border-top: 1px solid var(--line); }

.feature-row .h-md { margin: 14px 0 16px; }
.feature-row p { color: var(--muted); }

.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; }
.check-list li svg { flex-shrink: 0; margin-top: 4px; }
.check-list li strong { display: block; font-weight: 600; }
.check-list li span { color: var(--muted); font-size: 14.5px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.panel-dark {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line-dark);
  color: #E7EEF9;
}

/* Abstract data visual used on product pages */
.data-visual {
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line-dark);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.data-visual .bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; }
.data-visual .bars i {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  opacity: 0.85;
  animation: grow 2.8s ease-in-out infinite alternate;
}
@keyframes grow { from { transform: scaleY(0.82); } to { transform: scaleY(1); } }
.data-visual .bars i:nth-child(odd) { animation-delay: 0.6s; opacity: 0.55; }
.data-visual .caption { margin-top: 22px; font-size: 13px; color: #7E92B3; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Pricing ---------- */

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  margin: 8px auto 0;
}

.billing-toggle button {
  border: none;
  background: transparent;
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.3s ease;
}

.billing-toggle button.active {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(11, 19, 37, 0.5);
}

.billing-toggle .save {
  font-size: 11px;
  font-weight: 700;
  color: #0E9F6E;
  background: rgba(14, 159, 110, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.plan.featured {
  background: linear-gradient(170deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-color: rgba(56, 189, 248, 0.35);
}
.plan.featured .plan-desc, .plan.featured li span { color: var(--muted-dark); }

.plan .flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 { font-size: 21px; }
.plan .plan-desc { font-size: 14px; color: var(--muted); margin-top: 6px; min-height: 42px; }

.plan .price {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  margin: 22px 0 2px;
  letter-spacing: -0.03em;
}
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.plan.featured .price small { color: var(--muted-dark); }
.plan .bill-note { font-size: 12.5px; color: var(--muted); min-height: 20px; }
.plan.featured .bill-note { color: var(--muted-dark); }

.plan ul { margin: 26px 0 30px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 11px; font-size: 14.5px; align-items: flex-start; }
.plan li svg { flex-shrink: 0; margin-top: 3px; }

/* Radar transactional module */

.radar-calc {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 48px;
}

.radar-calc .config { background: #fff; border: 1px solid var(--line); border-right: none; padding: 44px 40px; }
.radar-calc .summary {
  background: linear-gradient(165deg, var(--navy-800), var(--navy-950));
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
}

.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 8px; color: var(--navy-600); }

.field select, .field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B6B82' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select:focus, .field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  background: #fff;
}

.depth-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.depth-choice input { display: none; }
.depth-choice label {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: block;
}
.depth-choice input:checked + label {
  border-color: var(--blue-deep);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.depth-choice .d-name { font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.depth-choice .d-name em { font-style: normal; font-size: 12px; color: var(--blue-deep); font-weight: 700; }
.depth-choice .d-desc { font-size: 12.5px; color: var(--muted); margin-top: 5px; line-height: 1.5; }

.summary .sum-rows { flex: 1; display: grid; gap: 14px; align-content: start; margin-top: 26px; }
.summary .sum-row { display: flex; justify-content: space-between; font-size: 14.5px; color: #A9BAD3; }
.summary .sum-row b { color: #fff; font-weight: 600; text-align: right; }
.summary .total {
  border-top: 1px solid var(--line-dark);
  margin-top: 24px;
  padding-top: 24px;
}
.summary .total .amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.summary .total .note { font-size: 12.5px; color: #7E92B3; margin-top: 4px; }
.summary .btn { margin-top: 28px; width: 100%; }

/* Payment badges */

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pay-methods .chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #C6D3E6;
}
.pay-methods.on-light .chip { border-color: var(--line); background: #fff; color: var(--navy-600); }

/* ---------- Blog / journal ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-bar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s ease;
}
.filter-bar button.active, .filter-bar button:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }

.post-card .thumb {
  height: 170px;
  position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
}
.post-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 80% 10%, rgba(56, 189, 248, 0.25), transparent 60%),
    radial-gradient(40% 60% at 15% 90%, rgba(37, 99, 235, 0.3), transparent 65%);
}
.post-card .thumb .cat {
  position: absolute;
  z-index: 2;
  top: 16px; left: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #BFE7FC;
  background: rgba(7, 13, 28, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.post-card .thumb svg { position: absolute; right: -10px; bottom: -14px; opacity: 0.5; }

.post-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-body time { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.post-body h3 { font-size: 18.5px; line-height: 1.35; margin: 10px 0 10px; }
.post-body h3 a:hover { color: var(--blue-deep); }
.post-body p { font-size: 14px; color: var(--muted); flex: 1; }

.post-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.post-foot .read {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-foot .share-li {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.post-foot .share-li:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }

/* ---------- Contact / global map ---------- */

.map-stage {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% -20%, #16294D 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  border: 1px solid var(--line-dark);
  padding: clamp(40px, 6vw, 80px);
}

.map-stage .grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 184, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 184, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 80% at 50% 40%, #000 30%, transparent 100%);
}

.hub-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.hub-card {
  background: rgba(11, 19, 37, 0.6);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 30px 28px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.hub-card:hover { border-color: rgba(56, 189, 248, 0.45); transform: translateY(-5px); }

.hub-card .flag-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.hub-card .flag-line::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
}
.hub-card h3 { color: #fff; font-size: 19px; margin: 14px 0 4px; }
.hub-card .entity { font-size: 13px; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.hub-card address { font-style: normal; font-size: 14px; color: #A9BAD3; line-height: 1.7; }
.hub-card .tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}
.hub-card .tel:hover { color: var(--blue); }

/* Contact form */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field.full { grid-column: 1 / -1; }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Auth / portal ---------- */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  background:
    radial-gradient(110% 90% at 20% 0%, #14254A 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: #fff;
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-side .brand img { height: 34px; }
.auth-side blockquote { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.35; letter-spacing: -0.01em; max-width: 18ch; }
.auth-side .side-foot { font-size: 13px; color: #7E92B3; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--bg-light);
}

.auth-card { width: min(440px, 100%); }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #EDF2F9;
  border-radius: 999px;
  padding: 5px;
  margin: 28px 0 30px;
}
.auth-tabs button {
  border: none;
  background: transparent;
  padding: 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  transition: all 0.3s ease;
}
.auth-tabs button.active { background: #fff; color: var(--ink); box-shadow: 0 4px 14px -6px rgba(11, 19, 37, 0.25); }

.sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.sso-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-600);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.sso-btn:hover { border-color: var(--navy-600); box-shadow: var(--shadow-card); }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  padding: clamp(48px, 6vw, 84px);
  text-align: center;
}
.cta-band .h-lg { max-width: 24ch; margin: 14px auto 18px; }
.cta-band .lead { max-width: 52ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: #93A5C2;
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand img.footer-mark { height: 34px; width: auto; }
.footer-brand p { font-size: 13.5px; margin-top: 20px; max-width: 34ch; line-height: 1.7; }

.brand-tagline {
  display: inline-block;
  margin-top: 16px;
  padding-top: 11px;
  border-top: 2px solid var(--blue-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9FB2CE;
}

.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-weight: 600;
}

.site-footer ul { display: grid; gap: 11px; }
.site-footer ul a { font-size: 14px; transition: color 0.25s ease; }
.site-footer ul a:hover { color: var(--blue); }

.footer-hubs li { font-size: 13.5px; line-height: 1.6; }
.footer-hubs b { color: #C6D3E6; font-weight: 600; display: block; }

.footer-legal {
  padding-top: 30px;
  display: grid;
  gap: 18px;
}
.footer-legal p { font-size: 12.5px; line-height: 1.7; color: #64789A; max-width: 110ch; }
.footer-legal .pay-methods { margin-top: 4px; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  .split-words .w > span { transform: none !important; }
  .rot-word { transform: none !important; opacity: 1 !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .sol-grid, .plans, .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(7, 13, 28, 0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-links a { padding: 12px 0; font-size: 16px; width: 100%; }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
  body.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
  .nav-toggle { display: block; }
  .header-cta .btn-ghost-light { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-pane.human { border-left: 1px solid var(--line); border-top: none; border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px); }
  .split-join { display: none; }

  .feature-row, .contact-grid, .radar-calc { grid-template-columns: 1fr; }
  .radar-calc .config { border-right: 1px solid var(--line); border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .sol-grid, .plans, .journal-grid, .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 76px; }
  .depth-choice { grid-template-columns: 1fr; }
  .sso-row { grid-template-columns: 1fr; }
}

/* ============================================================
   V2 — MOTION & CREATIVE LAYER
   Aurora, spotlight, kinetic type, live console, marquee,
   tilt + glow cards, magnetic buttons, interactive split.
   ============================================================ */

/* ---------- Page enter & scroll progress ---------- */

body { animation: pageIn 0.7s ease both; }
@keyframes pageIn { from { opacity: 0; } }

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 300;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
  pointer-events: none;
}

/* ---------- Aurora blobs on dark heroes ---------- */

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 540px; height: 540px;
  left: -160px; top: -140px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.42), transparent 65%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.hero::after {
  width: 680px; height: 680px;
  right: -220px; bottom: -300px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26), transparent 65%);
  animation: drift2 22s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-90px, -50px) scale(1.08); } }

/* ---------- Pointer spotlight on dark sections ---------- */

.spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(560px circle at var(--cx, 50%) var(--cy, 30%), rgba(56, 189, 248, 0.09), transparent 62%);
}
.hero:hover .spot, .section-dark:hover .spot, .stat-band:hover .spot { opacity: 1; }
.section-dark, .stat-band { position: relative; overflow: hidden; }

/* ---------- Kinetic headline (word mask reveal) ---------- */

.split-words .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-words .w > span {
  display: inline-block;
  transform: translateY(115%);
  animation: wordUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}
@keyframes wordUp { to { transform: translateY(0); } }

/* ---------- Rotating word ---------- */

.rotator { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.rot-word {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
.rot-word.out { transform: translateY(-108%); opacity: 0; }
.rot-word.pre { transition: none; transform: translateY(108%); opacity: 0; }

/* ---------- Gradient shimmer text ---------- */

.grad {
  background: linear-gradient(90deg, #38BDF8, #7DD3FC 25%, #2563EB 55%, #38BDF8 85%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 7s linear infinite;
}
@keyframes gradShift { to { background-position: 220% 0; } }

/* ---------- Hero grid + live console ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.92fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-visual { position: relative; perspective: 1100px; }

.console {
  position: relative;
  border-radius: 22px;
  padding: 30px 30px 26px;
  background: linear-gradient(155deg, rgba(24, 38, 68, 0.78), rgba(9, 16, 33, 0.9));
  border: 1px solid rgba(148, 184, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 50px 100px -45px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.console .c-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.console .dots { display: inline-flex; gap: 6px; }
.console .dots i { width: 9px; height: 9px; border-radius: 50%; background: #24344F; }
.console .dots i:first-child { background: rgba(56, 189, 248, 0.75); }
.console .c-title {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5E739A;
}

.console .c-label { font-size: 12.5px; color: #7E92B3; letter-spacing: 0.04em; }
.console .c-score-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.console .c-score {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
}
.console .c-score small { font-size: 20px; color: #5E739A; font-weight: 500; }
.console .c-pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  margin-bottom: 10px;
}

.console .spark { width: 100%; height: auto; margin: 18px 0 8px; display: block; }
.console .spark .line {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}
.console .spark .area { opacity: 0; animation: fadeArea 1.2s ease 2.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeArea { to { opacity: 1; } }

.console .c-bars { display: flex; align-items: flex-end; gap: 7px; height: 54px; margin-top: 12px; }
.console .c-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  opacity: 0.75;
  transform-origin: bottom;
  animation: grow 3.2s ease-in-out infinite alternate;
}
.console .c-bars i:nth-child(even) { opacity: 0.4; animation-delay: 0.8s; }

.console .c-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.console .c-chips span {
  font-size: 11.5px;
  font-weight: 600;
  color: #A9BAD3;
  background: rgba(148, 184, 255, 0.07);
  border: 1px solid rgba(148, 184, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #E7EEF9;
  background: rgba(13, 22, 42, 0.85);
  border: 1px solid rgba(148, 184, 255, 0.2);
  border-radius: 12px;
  padding: 10px 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.7);
  animation: floaty 5.5s ease-in-out infinite alternate;
}
.float-chip b { color: var(--blue); font-weight: 700; }
.fc-1 { top: -18px; right: -14px; }
.fc-2 { bottom: -18px; left: -18px; animation-delay: 1.6s; }
@keyframes floaty { from { transform: translateY(-5px); } to { transform: translateY(7px); } }

/* ---------- Marquee band ---------- */

.marquee {
  overflow: hidden;
  background: var(--navy-950);
  border-top: 1px solid var(--line-dark);
  padding: 20px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-950), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-950), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #56698D;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  margin: 0 34px;
  color: rgba(56, 189, 248, 0.55);
  font-size: 11px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Glow-border cards (cursor tracked) ---------- */

.glow-card { position: relative; }
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, 0.14), transparent 65%);
}
.glow-card:hover::after { opacity: 1; }

/* ---------- Tilt ---------- */

[data-tilt] { transform-style: preserve-3d; }

/* ---------- Button shine sweep ---------- */

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 135%; }

/* ---------- Post-card thumb sheen ---------- */

.post-card .thumb::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -30%; left: -80%;
  width: 50%; height: 160%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.post-card:hover .thumb::before { left: 150%; }

/* ---------- Interactive split (panes expand toward cursor) ---------- */

.split { display: flex; }
.split .split-pane {
  flex: 1 1 0;
  min-width: 0;
  transition: flex-grow 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reveal variants ---------- */

.reveal[data-anim="left"] { transform: translateX(-36px); }
.reveal[data-anim="right"] { transform: translateX(36px); }
.reveal[data-anim="scale"] { transform: scale(0.92); }
.reveal[data-anim="blur"] { filter: blur(8px); transform: none; transition: opacity 0.8s ease, filter 0.8s ease; }
.reveal.visible { transform: none; filter: none; }

/* ---------- Section heading accent line draw ---------- */

.section-head .h-lg { position: relative; }

/* ---------- V2 responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-top: 26px; }
}

@media (max-width: 640px) {
  .fc-1 { right: 0; top: -14px; }
  .fc-2 { left: 0; bottom: -14px; }
  .console .c-score { font-size: 44px; }
  .marquee-track span { font-size: 12px; }
}

