/* =========================================================
   红影AI — 中小企业AI营销转型伙伴
   Aesthetic: blue-white technology / clean editorial
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1e3c;
  --ink-2: #0d2549;
  --ink-3: #123058;
  --navy: #071a33;
  --navy-2: #0a2346;
  --paper: #eef3f9;
  --paper-2: #e1e9f4;
  --ice: #e6eef8;
  --blue: #155eef;
  --blue-deep: #0b3bc4;
  --blue-bright: #2f7bff;
  --sky: #00a6ff;
  --cyan: #00c2ff;
  --green: #0aa06e;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(10, 30, 60, 0.12);
  --muted-dark: rgba(255, 255, 255, 0.62);
  --muted-light: #4d617f;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  max-width: 100%;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* ---------- Utilities ---------- */
section[id],
.plan[id] {
  scroll-margin-top: 96px;
}

#top {
  scroll-margin-top: 0;
}

.container {
  width: min(calc(100% - clamp(32px, 6vw, 64px)), var(--container));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 130;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-deep), var(--sky));
  box-shadow: 0 0 14px rgba(47, 123, 255, 0.55);
}

.nowrap {
  white-space: nowrap;
}

.mono-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}

.section--dark .mono-label {
  color: #7fb2ff;
}

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease), translate 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 1px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s,
    color 0.3s, box-shadow 0.3s;
  position: relative;
  white-space: nowrap;
}

.btn .icon {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
}

.btn-primary {
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  box-shadow: 0 10px 24px rgba(21, 94, 239, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(100deg, var(--blue-bright), var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(21, 94, 239, 0.3);
}

.btn-primary:hover .icon {
  transform: translate(2px, -2px);
}

.btn-ghost {
  border: 1px solid rgba(10, 30, 60, 0.22);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(21, 94, 239, 0.05);
  transform: translateY(-2px);
}

.btn-ghost:hover .icon {
  transform: translateY(2px);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 22px 0;
  transition: background 0.4s, padding 0.4s, border-color 0.4s,
    backdrop-filter 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 13px 0;
  background: rgba(243, 247, 252, 0.9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(10, 30, 60, 0.08);
  box-shadow: 0 8px 30px rgba(10, 30, 60, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 38px;
}

.brand {
  flex-shrink: 0;
  display: block;
}

.brand img {
  height: 31px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.nav.is-scrolled .brand img {
  height: 27px;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: rgba(10, 30, 60, 0.62);
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--blue);
  border: 1px solid rgba(21, 94, 239, 0.45);
  background: rgba(21, 94, 239, 0.06);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, color 0.3s;
}

.nav-cta .icon {
  font-size: 14px;
  color: var(--blue);
  transition: color 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(21, 94, 239, 0.22);
}

.nav-cta:hover .icon {
  color: #fff;
  transform: translate(2px, -2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 30, 60, 0.2);
  color: var(--ink);
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s, bottom 0.35s;
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  bottom: 17px;
}

.nav-toggle.is-open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  bottom: 22px;
  transform: rotate(-45deg);
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 112px clamp(24px, 7vw, 40px) 36px;
  background: rgba(243, 247, 252, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  font-family: var(--serif);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  line-height: 1.3;
  border-bottom: 1px solid rgba(10, 30, 60, 0.08);
}

.mobile-nav nav em {
  font-family: var(--mono);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.mobile-nav .btn {
  margin-top: 30px;
  align-self: flex-start;
}

.mobile-nav-meta {
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(10, 30, 60, 0.4);
  line-height: 2;
}

body.menu-open {
  overflow: hidden;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f0f9 0%, #e2ecf7 52%, #eef3f9 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 74% 14%, rgba(21, 94, 239, 0.14), transparent 50%),
    radial-gradient(ellipse at 8% 88%, rgba(0, 166, 255, 0.09), transparent 46%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(21, 94, 239, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 94, 239, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 42%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 70% 42%, #000 0%, transparent 68%);
  pointer-events: none;
}

.hero-horizon {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 94, 239, 0.45), transparent);
  box-shadow: 0 0 40px 6px rgba(21, 94, 239, 0.1);
  pointer-events: none;
}

.hero-vertical {
  position: absolute;
  top: 50%;
  right: 1.4vw;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: clamp(72px, 8vw, 140px);
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 30, 60, 0.08);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  left: 60%;
  top: 30%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(21, 94, 239, 0.16),
    rgba(0, 166, 255, 0.05) 45%,
    transparent 68%
  );
  filter: blur(26px);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: #5b7191;
  text-transform: uppercase;
  animation: fadeUp 0.9s 0.1s var(--ease) both;
}

.eyebrow-line {
  width: 42px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.hero-title {
  margin-top: 30px;
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 86px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.04em;
}

.hero-title .line > span {
  display: block;
  transform: translateY(114%);
  animation: heroLine 1.1s var(--ease) forwards;
}

.hero-title .line:nth-child(1) > span {
  animation-delay: 0.18s;
}

.hero-title .line:nth-child(2) > span {
  animation-delay: 0.3s;
}

.hero-title .line:nth-child(3) > span {
  animation-delay: 0.42s;
}

.hero-title .accent {
  background: linear-gradient(100deg, var(--blue-deep), var(--blue) 45%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--muted-light);
  animation: fadeUp 0.9s 0.62s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  animation: fadeUp 0.9s 0.76s var(--ease) both;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  animation: fadeUp 0.9s 0.9s var(--ease) both;
}

.hero-meta > div {
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid var(--line-light);
}

.hero-meta > div:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}

.hero-meta strong {
  display: block;
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-meta span {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #7a8ba6;
}

/* ---------- Hero OS panel ---------- */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeIn 1.2s 0.45s var(--ease) both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14% -16%;
  background: radial-gradient(circle at 60% 38%, rgba(21, 94, 239, 0.14), transparent 62%);
  filter: blur(28px);
  pointer-events: none;
}

.os-panel {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  padding: 24px 24px 22px;
  background:
    linear-gradient(180deg, rgba(21, 94, 239, 0.06), transparent 26%),
    linear-gradient(165deg, #fbfcff 0%, #f2f7fd 58%, #e7eff9 100%);
  border: 1px solid rgba(21, 94, 239, 0.18);
  box-shadow: 0 44px 110px rgba(10, 37, 73, 0.16),
    0 0 0 1px rgba(21, 94, 239, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    rotate(-1.2deg);
  transition: transform 0.5s var(--ease);
  overflow: hidden;
  will-change: transform;
}

.os-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--sky), transparent);
  opacity: 0.9;
}

.os-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40%;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(47, 123, 255, 0.07), transparent);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 2;
  pointer-events: none;
}

.corner--tl {
  top: 8px;
  left: 8px;
  border-top: 1px solid rgba(21, 94, 239, 0.6);
  border-left: 1px solid rgba(21, 94, 239, 0.6);
}

.corner--tr {
  top: 8px;
  right: 8px;
  border-top: 1px solid rgba(21, 94, 239, 0.6);
  border-right: 1px solid rgba(21, 94, 239, 0.6);
}

.corner--bl {
  bottom: 8px;
  left: 8px;
  border-bottom: 1px solid rgba(21, 94, 239, 0.6);
  border-left: 1px solid rgba(21, 94, 239, 0.6);
}

.corner--br {
  bottom: 8px;
  right: 8px;
  border-bottom: 1px solid rgba(21, 94, 239, 0.6);
  border-right: 1px solid rgba(21, 94, 239, 0.6);
}

.os-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 30, 60, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7a8ba6;
}

.os-dots {
  display: flex;
  gap: 5px;
}

.os-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(10, 30, 60, 0.16);
}

.os-dots i:first-child {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(21, 94, 239, 0.55);
}

.os-path {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.os-clock {
  margin-left: auto;
  color: #5b7191;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.14em;
}

.os-brand {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 0 18px;
}

.os-mark {
  width: 74px;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(21, 94, 239, 0.22));
}

.os-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}

.os-sub {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #8b9bb4;
}

.os-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
  white-space: nowrap;
}

.os-online i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(10, 160, 110, 0.7);
  animation: pulse 2s infinite;
}

.os-rows {
  display: grid;
  gap: 13px;
}

.os-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.os-task {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.os-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #8b9bb4;
  white-space: nowrap;
}

.os-status.is-run {
  color: var(--blue);
}

.os-status.is-on {
  color: var(--green);
}

.os-bar {
  position: relative;
  height: 3px;
  margin-top: 7px;
  margin-right: 42px;
  background: rgba(10, 30, 60, 0.08);
  overflow: visible;
}

.os-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p);
  background: linear-gradient(90deg, var(--blue-deep), var(--sky));
  transform-origin: left;
  animation: osBar 1.4s 1s var(--ease) both;
}

.os-bar em {
  position: absolute;
  right: -42px;
  top: -6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #8b9bb4;
}

.os-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(10, 30, 60, 0.08);
}

.os-summary span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8b9bb4;
}

.os-summary strong {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.os-chip {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(10, 37, 73, 0.16);
}

.os-chip--1 {
  top: -15px;
  right: 30px;
  background: #f8fafd;
  color: var(--ink);
  border: 1px solid rgba(21, 94, 239, 0.18);
  transform: rotate(3deg);
}

.os-chip--2 {
  bottom: -15px;
  left: -12px;
  background: linear-gradient(100deg, var(--blue), var(--blue-deep));
  color: #fff;
  transform: rotate(-4deg);
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 48%, #008fe0);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 34px rgba(21, 94, 239, 0.18);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span,
.ticker-group i {
  font-family: var(--mono);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 17px 0;
  white-space: nowrap;
}

.ticker-group i {
  font-style: normal;
  padding: 0 24px;
  opacity: 0.6;
}

/* =========================================================
   SECTION BASE
   ========================================================= */
.section {
  position: relative;
  padding: clamp(88px, 9vw, 140px) 0;
  overflow: hidden;
}

.section--light {
  background: var(--paper);
  color: var(--ink);
}

.section--dark {
  background: var(--navy);
  color: var(--paper);
}

.ghost-no {
  position: absolute;
  top: 26px;
  right: -1%;
  font-family: var(--sans);
  font-size: clamp(150px, 23vw, 340px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 30, 60, 0.08);
  pointer-events: none;
  user-select: none;
}

.section--dark .ghost-no {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.07);
}

.section-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(46px, 6vw, 76px);
}

.section-tag {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 112px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #6b7f9c;
}

.section--dark .section-tag {
  color: rgba(255, 255, 255, 0.52);
}

.tag-index {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.section--dark .tag-index {
  color: #7fb2ff;
}

.tag-line {
  width: 34px;
  height: 1px;
  background: var(--blue);
}

.section--dark .tag-line {
  background: #7fb2ff;
}

.tag-text {
  line-height: 1.8;
}

.display {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 920px;
  color: var(--ink);
}

.section--dark .display {
  color: #fff;
}

.lead {
  margin-top: 22px;
  max-width: 700px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted-light);
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.62);
}

.hl {
  background: linear-gradient(transparent 66%, rgba(21, 94, 239, 0.16) 66%);
  padding: 0 0.05em;
}

.accent-text {
  color: var(--blue);
}

.section--dark .accent-text {
  color: #7fb2ff;
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(21, 94, 239, 0.06), transparent 40%),
    var(--paper);
}

.pain-list {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.pain-row {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: baseline;
  padding: 30px 24px 30px 0;
  border-top: 1px solid var(--line-light);
  transition: background 0.45s, padding 0.45s;
}

.pain-row:last-child {
  border-bottom: 1px solid var(--line-light);
}

.pain-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.pain-row:hover {
  background: rgba(21, 94, 239, 0.035);
  padding-left: 22px;
}

.pain-row:hover::before {
  transform: scaleY(1);
}

.pain-no {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #8b9bb4;
}

.pain-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.pain-row:hover .pain-title {
  color: var(--blue);
}

.pain-desc {
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted-light);
}

.problem-quote {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: 1000px;
  margin-top: clamp(60px, 8vw, 110px);
}

.quote-bar {
  display: block;
  background: linear-gradient(180deg, var(--blue), var(--sky));
}

.problem-quote p {
  font-family: var(--serif);
  font-size: clamp(28px, 3.7vw, 50px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* =========================================================
   SYSTEM
   ========================================================= */
.system {
  background:
    radial-gradient(ellipse at 88% -8%, rgba(21, 94, 239, 0.1), transparent 46%),
    radial-gradient(ellipse at 0% 100%, rgba(0, 166, 255, 0.07), transparent 40%),
    var(--ice);
}

.filter-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}

.filter-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: #7a8ba6;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 14.5px;
  color: #46597a;
  border: 1px solid rgba(10, 30, 60, 0.16);
  background: #f8fafd;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s, box-shadow 0.3s;
}

.filter-chip em {
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.06em;
  color: #8b9bb4;
}

.filter-chip:hover {
  border-color: rgba(21, 94, 239, 0.55);
  color: var(--blue);
}

.filter-chip.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 94, 239, 0.22);
}

.filter-chip.is-active em {
  color: rgba(255, 255, 255, 0.68);
}

.system-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.system-grid.is-filtered {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-grid.is-filtered .module-card--wide {
  grid-column: auto;
}

.module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 25px 23px 22px;
  min-height: 300px;
  background: #f8fafd;
  border: 1px solid rgba(10, 30, 60, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s,
    box-shadow 0.4s;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(21, 94, 239, 0.08), transparent 58%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.module-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 94, 239, 0.45);
  box-shadow: 0 22px 46px rgba(10, 37, 73, 0.12);
  background: linear-gradient(170deg, #fbfcff, #edf3fb);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card--wide {
  grid-column: span 2;
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.module-no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #9aa9c0;
}

.module-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6b7f9c;
  border: 1px solid rgba(10, 30, 60, 0.12);
  padding: 4px 8px;
  white-space: nowrap;
}

.module-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 25px 0 18px;
  color: var(--blue);
  border: 1px solid rgba(21, 94, 239, 0.28);
  background: rgba(21, 94, 239, 0.05);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s;
}

.module-icon .icon {
  font-size: 20px;
}

.module-card:hover .module-icon {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: rotate(-4deg);
}

.module-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ink);
}

.module-card--wide h3 {
  font-size: 29px;
}

.module-tagline {
  margin-top: 8px;
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #5b7191;
}

.module-list {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.module-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #52678a;
}

.module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 1px;
  background: var(--blue);
  opacity: 0.8;
}

.module-card--wide .module-list {
  display: block;
  columns: 2;
  column-gap: 30px;
}

.module-card--wide .module-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.module-state {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #9aa9c0;
  transition: color 0.3s;
}

.module-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(10, 160, 110, 0.6);
}

.module-card:hover .module-state {
  color: #5b7191;
}

.module-card.is-hidden {
  display: none;
}

/* ---------- Stats ---------- */
.stats-band {
  position: relative;
  z-index: 2;
  margin-top: clamp(66px, 8vw, 108px);
  padding-top: clamp(38px, 5vw, 58px);
  border-top: 1px solid var(--line-light);
}

.stats-head h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  margin-top: 10px;
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.38);
}

.stat {
  padding: 25px 20px 23px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.4s;
}

.stat:hover {
  background: rgba(21, 94, 239, 0.05);
}

.stat-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--sans);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-num em {
  font-size: 0.4em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--blue);
  margin-left: 3px;
}

.stat-label {
  margin-top: 12px;
  font-size: 14.5px;
  color: #40536f;
}

.stat-desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #7a8ba6;
}

.stats-note {
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #8b9bb4;
}

/* =========================================================
   PLANS
   ========================================================= */
.plans {
  background:
    radial-gradient(ellipse at 6% 0%, rgba(21, 94, 239, 0.05), transparent 36%),
    var(--paper);
}

.plan-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 27px 26px;
  background: #f8fafd;
  border: 1px solid rgba(10, 30, 60, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.45s var(--ease), box-shadow 0.45s,
    border-color 0.45s, opacity 0.4s, filter 0.4s;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 94, 239, 0.45);
  box-shadow: 0 26px 54px rgba(10, 37, 73, 0.12);
}

.plan--featured {
  margin-top: -14px;
  margin-bottom: 14px;
  background: linear-gradient(165deg, #0d2a55 0%, var(--navy) 58%, #071a33 100%);
  color: var(--paper);
  border-color: rgba(21, 94, 239, 0.5);
  box-shadow: 0 30px 70px rgba(7, 26, 51, 0.3);
}

.plan--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(47, 123, 255, 0.22), transparent 60%);
  pointer-events: none;
}

.plan--featured > .plan-no,
.plan--featured > .plan-kicker,
.plan--featured > h3,
.plan--featured > .plan-gift,
.plan--featured > .plan-for,
.plan--featured > .plan-list,
.plan--featured > .plan-tags,
.plan--featured > .plan-cta {
  position: relative;
  z-index: 1;
}

.plan--featured:hover {
  transform: translateY(-12px);
  border-color: var(--blue-bright);
  box-shadow: 0 40px 84px rgba(7, 26, 51, 0.38);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 22px;
  transform: translateY(-50%);
  padding: 7px 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #fff;
  background: linear-gradient(100deg, var(--blue), var(--blue-deep));
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(21, 94, 239, 0.3);
  z-index: 1;
}

.plan-no {
  font-family: var(--sans);
  font-size: 62px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 30, 60, 0.2);
  margin-bottom: 20px;
}

.plan--featured .plan-no {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.26);
}

.plan-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan--featured .plan-kicker {
  color: #7fb2ff;
}

.plan h3 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  min-height: 2.7em;
  color: var(--ink);
}

.plan--featured h3 {
  color: #fff;
}

.plan-gift {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--blue-deep);
}

.plan-gift::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--blue);
  flex-shrink: 0;
}

.plan--featured .plan-gift {
  color: #7fb2ff;
}

.plan--featured .plan-gift::before {
  background: var(--sky);
}

.plan-for {
  margin-top: 16px;
  padding-left: 14px;
  border-left: 2px solid rgba(21, 94, 239, 0.35);
  font-size: 14.5px;
  line-height: 1.75;
  color: #5b7191;
}

.plan--featured .plan-for {
  border-left-color: var(--sky);
  color: rgba(255, 255, 255, 0.62);
}

.plan-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
}

.plan-list li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.75;
  color: #384d6b;
}

.plan-list .icon {
  font-size: 15px;
  color: var(--blue);
  margin-top: 4px;
  stroke-width: 2.2;
}

.plan--featured .plan-list li {
  color: rgba(255, 255, 255, 0.72);
}

.plan--featured .plan-list .icon {
  color: var(--sky);
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}

.plan-tags span {
  padding: 5px 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #5b7191;
  border: 1px solid rgba(10, 30, 60, 0.16);
}

.plan--featured .plan-tags span {
  color: rgba(255, 255, 255, 0.62);
  border-color: rgba(255, 255, 255, 0.18);
}

.plan-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 30, 60, 0.12);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.3s;
}

.plan-cta .icon {
  font-size: 18px;
  transition: transform 0.3s var(--ease);
}

.plan-cta:hover {
  color: var(--blue);
}

.plan-cta:hover .icon {
  transform: translate(3px, -3px);
}

.plan--featured .plan-cta {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.plan--featured .plan-cta:hover {
  color: var(--sky);
}

.plan.is-focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.16), 0 26px 54px rgba(10, 37, 73, 0.14);
  transform: translateY(-6px);
}

.plan.is-dim {
  opacity: 0.45;
  filter: grayscale(0.3);
}

.plan-guide {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid rgba(10, 30, 60, 0.08);
}

.plan-guide-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--ink);
}

.plan-guide-text span {
  font-size: 14px;
  color: #5b7191;
}

.guide-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-btn {
  padding: 9px 13px;
  font-size: 14px;
  color: #384d6b;
  border: 1px solid rgba(10, 30, 60, 0.18);
  background: #f8fafd;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.guide-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.guide-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.plans-note {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 13px;
  color: #8b9bb4;
}

/* ---------- Path ---------- */
.path {
  position: relative;
  z-index: 2;
  margin-top: clamp(58px, 7vw, 92px);
  padding-top: clamp(36px, 4vw, 50px);
  border-top: 1px solid rgba(10, 30, 60, 0.14);
}

.path-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}

.path-head h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 600;
  color: var(--ink);
}

.path-head > p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.75;
  color: #7a8ba6;
  text-align: right;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  position: relative;
  padding: 22px 24px 0 0;
  border-top: 1px solid rgba(10, 30, 60, 0.28);
}

.step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--paper);
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 15px;
  color: rgba(10, 30, 60, 0.25);
}

.step-week {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.step h4 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.step p {
  margin-top: 7px;
  max-width: 220px;
  font-size: 14px;
  line-height: 1.75;
  color: #5b7191;
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  background:
    radial-gradient(ellipse at 12% 12%, rgba(21, 94, 239, 0.08), transparent 40%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 166, 255, 0.06), transparent 42%),
    var(--ice);
}

.compare {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light);
  background: #f8fafd;
}

.compare-col {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 27px;
  border-right: 1px solid var(--line-light);
  transition: background 0.4s;
}

.compare-col:last-child {
  border-right: none;
}

.compare-col--brand {
  background: linear-gradient(180deg, rgba(21, 94, 239, 0.09), rgba(0, 166, 255, 0.02));
  box-shadow: inset 0 2px 0 var(--blue);
}

.compare-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8b9bb4;
}

.compare-col--brand .compare-tag {
  color: var(--blue);
}

.compare-col h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}

.compare-col ul {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.compare-col li {
  display: grid;
  grid-template-columns: 17px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.75;
  color: #52678a;
}

.compare-col li .icon {
  font-size: 14px;
  margin-top: 4px;
  color: #9aa9c0;
}

.compare-col--brand li {
  color: #2f4463;
}

.compare-col--brand li .icon {
  color: var(--blue);
  stroke-width: 2.2;
}

.why-statement {
  position: relative;
  z-index: 2;
  margin-top: clamp(50px, 6vw, 80px);
  max-width: 940px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.trust-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(50px, 6vw, 80px);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
  background: rgba(248, 250, 253, 0.75);
}

.trust-card {
  padding: 28px 25px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.4s;
}

.trust-card:hover {
  background: #fbfcff;
}

.trust-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--blue);
  border: 1px solid rgba(21, 94, 239, 0.28);
  background: rgba(21, 94, 239, 0.05);
}

.trust-icon .icon {
  font-size: 18px;
}

.trust-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.trust-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
  color: #5b7191;
}

/* ---------- Certificates ---------- */
.certs-block {
  position: relative;
  z-index: 2;
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--line-light);
}

.certs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.certs-head p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8b9bb4;
}

.cert-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 780px;
}

.cert-card {
  display: block;
  width: 100%;
  padding: 9px;
  text-align: left;
  background: #f8fafd;
  border: 1px solid rgba(10, 30, 60, 0.14);
  box-shadow: 0 14px 30px rgba(10, 37, 73, 0.08);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

.cert-row .cert-card:nth-child(1) {
  transform: rotate(-1.4deg);
}

.cert-row .cert-card:nth-child(2) {
  transform: rotate(1.2deg);
}

.cert-row .cert-card:nth-child(1):hover {
  transform: rotate(0) translateY(-6px);
}

.cert-row .cert-card:nth-child(2):hover {
  transform: rotate(0) translateY(-6px);
}

.cert-card:hover {
  border-color: rgba(21, 94, 239, 0.55);
  box-shadow: 0 30px 60px rgba(10, 37, 73, 0.18);
  z-index: 2;
}

.cert-img {
  display: block;
  overflow: hidden;
  background: #fff;
}

.cert-img img {
  width: 100%;
  height: auto;
  filter: saturate(0.95) brightness(0.97);
  transition: filter 0.4s;
}

.cert-card:hover .cert-img img {
  filter: none;
}

.cert-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 3px 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #8b9bb4;
  text-transform: uppercase;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(21, 94, 239, 0.05), transparent 38%),
    var(--paper);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.about-lead {
  max-width: 640px;
  font-family: var(--serif);
  font-size: clamp(21px, 2.15vw, 29px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.about-values {
  margin-top: 40px;
}

.value {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}

.value:last-child {
  border-bottom: 1px solid var(--line-light);
}

.value-no {
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.value h4 {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.value p {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: #5b7191;
}

.about-card {
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(165deg, #0d2a55 0%, var(--navy) 60%, #071a33 100%);
  color: var(--paper);
  border-top: 2px solid var(--blue);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(7, 26, 51, 0.22);
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 100%, rgba(47, 123, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.about-mark {
  position: absolute;
  right: -34px;
  bottom: -44px;
  width: 230px;
  opacity: 0.09;
  filter: saturate(0.8);
  pointer-events: none;
}

.about-card .mono-label {
  position: relative;
  z-index: 1;
  color: #7fb2ff;
}

.about-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}

.about-card dl {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.about-card dl > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-card dt {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
}

.about-card dd {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.about-industries-label {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
}

.about-industries {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.about-industries span {
  padding: 5px 9px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(47, 123, 255, 0.22), transparent 46%),
    radial-gradient(ellipse at 100% 100%, rgba(0, 166, 255, 0.12), transparent 42%),
    linear-gradient(165deg, #0a2346 0%, #071a33 58%, #05152b 100%);
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-info .section-tag {
  position: static;
  margin-bottom: 32px;
}

.contact-info .display {
  font-size: clamp(34px, 4vw, 56px);
}

.contact-facts {
  margin-top: 40px;
  border-top: 1px solid var(--line-dark);
}

.fact {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
}

.fact-label {
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.fact-value {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.fact-value a {
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.3s, border-color 0.3s;
}

.fact-value a:hover {
  color: #fff;
  border-color: var(--sky);
}

.contact-flow {
  margin-top: 34px;
}

.contact-flow ol {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-flow li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-flow em {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  color: #7fb2ff;
  border: 1px solid rgba(127, 178, 255, 0.4);
}

/* ---------- Form ---------- */
.form-panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 42px);
  background: #f8fafd;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-top: 3px solid var(--blue);
  box-shadow: 0 40px 90px rgba(4, 15, 32, 0.45);
  overflow: hidden;
}

.form-panel::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(21, 94, 239, 0.08), transparent 66%);
  pointer-events: none;
}

.form-panel .mono-label {
  color: var(--blue);
}

.form-head {
  position: relative;
  z-index: 1;
}

.form-head h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}

.form-head p {
  margin-top: 8px;
  font-size: 14.5px;
  color: #5b7191;
}

.form-panel form {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.field {
  min-width: 0;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #6b7f9c;
}

.field label em {
  font-style: normal;
  color: var(--blue);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  background: #edf3fb;
  border: 1px solid rgba(10, 30, 60, 0.14);
  border-radius: 1px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa9c0;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  background: #fbfcff;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.1);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.7;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid #7b8ca6;
  border-bottom: 1px solid #7b8ca6;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-wrap select option {
  background: #f8fafd;
  color: var(--ink);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #8b9bb4;
}

.form-panel.is-flash {
  animation: flashBorder 1.6s var(--ease);
}

.form-panel.is-success .form-head {
  display: none;
}

.form-success {
  position: relative;
  z-index: 1;
  padding: 14px 0 6px;
}

.success-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  border: 1px solid rgba(21, 94, 239, 0.4);
  background: rgba(21, 94, 239, 0.06);
}

.success-icon .icon {
  font-size: 24px;
  stroke-width: 2;
}

.form-success h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 600;
  color: var(--ink);
}

.form-success p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  color: #5b7191;
}

.form-success .btn {
  margin-top: 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  padding: 60px 0 26px;
  background: #05152b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col h4 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #7fb2ff;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col--contact p {
  line-height: 1.9;
  margin-bottom: 6px;
}

.footer-col--contact p a {
  display: inline;
  line-height: 1.9;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-slogan {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 0.3s, border-color 0.3s;
}

.footer-bottom a:hover {
  color: #fff;
  border-color: var(--sky);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(4, 15, 32, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.lightbox-close:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.lightbox-close .icon {
  font-size: 18px;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-height: 90vh;
}

.lightbox-figure img {
  max-width: min(900px, 92vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  background: #fff;
}

.lightbox-figure figcaption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes heroLine {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes scan {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(420%);
  }
}

@keyframes osBar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes flashBorder {
  0%,
  100% {
    border-color: rgba(10, 30, 60, 0.14);
    box-shadow: 0 0 0 0 rgba(21, 94, 239, 0);
  }
  30%,
  60% {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(21, 94, 239, 0.18);
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1140px) {
  .section-head {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-grid.is-filtered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-inner {
    gap: 36px;
  }

  .hero-meta > div {
    padding-right: 24px;
    margin-right: 24px;
  }
}

@media (max-width: 960px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding: 134px 0 86px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-vertical {
    display: none;
  }

  .hero-visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .os-panel {
    margin-inline: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-tag {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
  }

  .tag-line {
    width: 30px;
  }

  .tag-text {
    line-height: 1.55;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan--featured {
    margin-top: 0;
    margin-bottom: 0;
  }

  .plan h3 {
    min-height: 0;
  }

  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .path-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .path-head > p {
    text-align: left;
    max-width: 420px;
  }

  .compare {
    grid-template-columns: 1fr;
  }

  .compare-col {
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid var(--line-light);
  }

  .compare-col:last-child {
    border-bottom: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info .display {
    max-width: 640px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 34px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 120px;
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 54px);
  }

  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 0;
    margin-top: 38px;
  }

  .hero-meta > div {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }

  .hero-meta strong {
    font-size: 24px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .os-panel {
    transform: none;
    padding: 20px 18px 18px;
  }

  .os-brand {
    grid-template-columns: 60px 1fr;
    row-gap: 8px;
  }

  .os-mark {
    width: 60px;
    grid-row: span 2;
  }

  .os-online {
    grid-column: 2;
  }

  .os-name {
    font-size: 23px;
  }

  .os-chip--1 {
    right: 14px;
    top: -13px;
  }

  .os-chip--2 {
    left: -6px;
    bottom: -13px;
  }

  .ticker-group span,
  .ticker-group i {
    font-size: 13px;
    padding-block: 14px;
  }

  .ticker-group i {
    padding-inline: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .ghost-no {
    font-size: 150px;
    top: 12px;
  }

  .display {
    font-size: clamp(32px, 8.6vw, 44px);
  }

  .pain-row {
    grid-template-columns: 38px 1fr;
    gap: 10px 18px;
    padding: 24px 16px 24px 0;
  }

  .pain-desc {
    grid-column: 2;
  }

  .pain-title {
    font-size: 22px;
  }

  .problem-quote {
    grid-template-columns: 2px 1fr;
    gap: 20px;
  }

  .system-grid,
  .system-grid.is-filtered {
    grid-template-columns: 1fr;
  }

  .module-card--wide {
    grid-column: auto;
  }

  .module-card--wide .module-list {
    columns: 1;
  }

  .module-card {
    min-height: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat {
    padding: 20px 16px;
  }

  .stat-num {
    font-size: 36px;
  }

  .plan-guide {
    align-items: flex-start;
    flex-direction: column;
  }

  .path-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .step {
    padding: 20px 0 24px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step p {
    max-width: 340px;
  }

  .cert-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cert-row .cert-card:nth-child(1),
  .cert-row .cert-card:nth-child(2) {
    transform: none;
  }

  .certs-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .about-card dl > div {
    grid-template-columns: 76px 1fr;
  }

  .contact-facts .fact {
    grid-template-columns: 78px 1fr;
    gap: 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }

  .os-row-top {
    align-items: flex-start;
  }

  .os-status {
    font-size: 10px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }

  .hero-title .line > span {
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}
