/* ============================================================
   铭文鼎成 · 企业 AI 智囊  —  营销官网
   ============================================================ */

:root {
  --brand-300: #8AAAFF;
  --brand-400: #5C82F8;
  --brand-500: #3B62EA;
  --brand-600: #2B4BD1;
  --brand-700: #1E3AAA;

  --violet: #7C5CFF;
  --teal:   #16C2A8;
  --rose:   #EB4D6A;
  --amber:  #F2A93B;

  --ink-950: #070912;
  --ink-900: #0B0E1A;
  --ink-850: #0F1322;
  --ink-800: #141934;

  --paper:   #FBFBFD;
  --paper-2: #F4F6FB;
  --line:    #E7EAF1;
  --line-2:  #D9DEEA;

  --text-pri: #0E1117;
  --text-sec: #4B5363;
  --text-ter: #828A9C;

  --on-dark-pri: #F4F6FE;
  --on-dark-sec: #AAB2CC;
  --on-dark-ter: #6C748E;

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1200px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
          BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text-pri);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "tnum" 1;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(59,98,234,0.6), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(59,98,234,0.7), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-ghost-light {
  background: rgba(255,255,255,0.8);
  color: var(--text-pri);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px -4px rgba(16,24,40,0.1);
}
.btn-ghost-light:hover { background: #fff; border-color: var(--brand-400); color: var(--brand-600); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(16,24,40,0.18); }
.btn-dark {
  background: var(--ink-900);
  color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 10px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.3s var(--ease);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav.scrolled {
  background: rgba(251,251,253,0.82);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav.scrolled .nav-inner { height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(59,98,234,0.6);
}
.brand-logo { height: 48px; width: auto; display: block; }
.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-pri);
  transition: color 0.3s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--brand-500);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--brand-500); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 15px; font-weight: 500; color: var(--text-sec); transition: color 0.2s; }
.nav-login:hover { color: var(--brand-500); }

.nav-burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  color: var(--text-pri);
  padding: 168px 0 120px;
  overflow: hidden;
  isolation: isolate;
}

/* Aurora blobs */
.aurora { position: absolute; inset: -20% -10% 0; z-index: -2; filter: blur(90px); opacity: 0.5; }
.blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: drift 22s var(--ease) infinite alternate;
}
.blob.b1 { width: 620px; height: 620px; left: -8%; top: -12%; background: radial-gradient(circle, rgba(59,98,234,0.45), transparent 65%); }
.blob.b2 { width: 560px; height: 560px; right: -6%; top: -4%; background: radial-gradient(circle, rgba(124,92,255,0.4), transparent 65%); animation-delay: -6s; }
.blob.b3 { width: 520px; height: 520px; left: 32%; top: 18%; background: radial-gradient(circle, rgba(22,194,168,0.32), transparent 66%); animation-delay: -12s; }
.blob.b4 { width: 360px; height: 360px; right: 22%; top: 34%; background: radial-gradient(circle, rgba(235,77,106,0.22), transparent 68%); animation-delay: -3s; }

@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(40px,-30px) scale(1.12); }
  100% { transform: translate(-30px,28px) scale(0.96); }
}

/* grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16,24,40,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,40,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero::after {
  /* bottom fade to next section */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--paper));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px 0 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px -4px rgba(16,24,40,0.1);
  white-space: nowrap;
  max-width: 100%;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,194,168,0.2); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.pill b { color: var(--text-pri); font-weight: 600; }

.hero h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand-300), var(--violet) 60%, var(--teal));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-sec);
  margin: 22px 0 36px;
  max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--text-ter); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--teal); }
.hero-note b { color: var(--text-pri); }

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hstat-num { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.hstat-num .u { font-size: 16px; font-weight: 600; color: var(--text-sec); margin-left: 2px; }
.hstat-label { font-size: 13px; color: var(--text-ter); margin-top: 8px; }

/* ============================================================
   HERO VISUAL — floating product glass + orbiting agents
   ============================================================ */
.hero-visual {
  position: relative;
  height: 520px;
}
.product-glass {
  position: absolute;
  inset: 30px 0 30px 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, #FFFFFF, #F7F9FE);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -24px rgba(16,24,40,0.22), 0 8px 24px -12px rgba(16,24,40,0.1), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-9deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.pg-top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.pg-dot { width: 10px; height: 10px; border-radius: 50%; }
.pg-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pg-bubble {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-sec);
  max-width: 86%;
}
.pg-bubble.ai { background: var(--paper-2); border: 1px solid var(--line); }
.pg-bubble.user { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; align-self: flex-end; }
.pg-typing { display: inline-flex; gap: 4px; align-items: center; }
.pg-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-300); animation: typing 1.2s infinite; }
.pg-typing i:nth-child(2) { animation-delay: 0.2s; }
.pg-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* floating agent chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -12px rgba(16,24,40,0.18);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-pri);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.float-chip .fc-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float-chip small { display: block; font-size: 11px; font-weight: 400; color: var(--text-ter); }
.fc1 { top: 8px; right: -6px; animation-delay: 0s; }
.fc2 { bottom: 60px; left: -34px; animation-delay: -2s; }
.fc3 { bottom: 0px; right: 36px; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-band {
  background: var(--paper);
  padding: 44px 0 12px;
  text-align: center;
}
.marquee-label { font-size: 13px; color: var(--text-ter); letter-spacing: 0.08em; font-weight: 600; }
.marquee {
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size: 20px; font-weight: 700; color: var(--text-ter); opacity: 0.7; white-space: nowrap; letter-spacing: 0.01em; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: 110px 0; position: relative; overflow: hidden; }
.section.dark { background: var(--ink-950); color: var(--on-dark-pri); }
.section.tint { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-500); border-radius: 2px; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 16px 0 0;
}
.section.dark h2 { color: var(--on-dark-pri); }
.section-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-sec);
  margin-top: 18px;
}
.section.dark .section-lead { color: var(--on-dark-sec); }

/* ============================================================
   AGENT GRID
   ============================================================ */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.agent-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
  will-change: transform;
}
.agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), var(--glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.agent-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -24px rgba(16,24,40,0.22); border-color: transparent; }
.agent-card:hover::before { opacity: 0.1; }
.agent-ic {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 12px 24px -10px var(--glow);
}
.agent-ic svg { width: 26px; height: 26px; }
.agent-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.agent-card p { font-size: 14.5px; color: var(--text-sec); line-height: 1.65; margin-top: 8px; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.agent-tag { font-size: 12px; font-weight: 500; color: var(--text-ter); background: var(--paper-2); border-radius: 7px; padding: 4px 9px; }

/* ============================================================
   CAPABILITY FEATURE ROWS
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature.flip .feature-visual { order: -1; }
.feature-text .eyebrow { color: var(--accent, var(--brand-500)); }
.feature-text .eyebrow::before { background: var(--accent, var(--brand-500)); }
.feature-text h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0 0;
}
.feature-text p { font-size: 17px; color: var(--text-sec); line-height: 1.7; margin-top: 16px; }
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-pri); }
.feature-list .ck {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0;
  display: grid; place-items: center; margin-top: 1px;
  background: var(--accent-soft, #EFF4FF); color: var(--accent, var(--brand-500));
}
.feature-list .ck svg { width: 13px; height: 13px; }

.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(160deg, var(--v-from), var(--v-to));
  box-shadow: 0 40px 80px -30px rgba(16,24,40,0.4);
  display: grid;
  place-items: center;
}
.feature-visual .fv-grain { position: absolute; inset: 0; opacity: 0.12; }

/* designer mock */
.fv-designer { position: relative; width: 78%; height: 78%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fv-tile { border-radius: 14px; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px); overflow: hidden; position: relative; }
.fv-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%); }
.fv-tile .shimmer { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 2.6s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* video mock */
.fv-video { position: relative; width: 60%; aspect-ratio: 9/16; border-radius: 18px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.25); overflow: hidden; display: grid; place-items: center; }
.fv-play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--rose); box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: pulsePlay 2.4s ease-in-out infinite; }
.fv-play svg { width: 24px; height: 24px; margin-left: 3px; }
@keyframes pulsePlay { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.5); } 50% { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.fv-progress { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.3); overflow: hidden; }
.fv-progress i { display: block; height: 100%; width: 40%; background: #fff; border-radius: 4px; animation: prog 4s ease-in-out infinite; }
@keyframes prog { 0% { width: 8%; } 100% { width: 96%; } }

/* meeting mock */
.fv-meeting { position: relative; width: 80%; height: 80%; display: flex; flex-direction: column; gap: 10px; }
.fv-speaker { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.22); border-radius: 14px; padding: 10px 12px; backdrop-filter: blur(6px); transform: translateX(0); }
.fv-speaker .av { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.fv-speaker .ln { flex: 1; }
.fv-speaker .ln span { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.5); }
.fv-speaker .ln span:first-child { width: 40%; margin-bottom: 6px; background: rgba(255,255,255,0.85); }
.fv-speaker.active { box-shadow: 0 0 0 2px rgba(255,255,255,0.6); }

/* ============================================================
   STEPS / WORKFLOW
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 800;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-500);
  margin-bottom: 18px;
  box-shadow: 0 6px 16px -8px rgba(59,98,234,0.4);
}
.step h4 { font-size: 18px; font-weight: 700; }
.step p { font-size: 14.5px; color: var(--text-sec); line-height: 1.65; margin-top: 8px; }
.step-line { position: absolute; top: 23px; left: 60px; right: -10px; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step:last-child .step-line { display: none; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(16,24,40,0.18); }
.stat-num { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; background: linear-gradient(135deg, var(--brand-500), var(--violet)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-num .u { font-size: 22px; }
.stat-label { font-size: 14.5px; color: var(--text-sec); margin-top: 12px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card.featured {
  background: var(--ink-950);
  color: var(--on-dark-pri);
  border-color: transparent;
  box-shadow: 0 40px 80px -30px rgba(59,98,234,0.5);
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px circle at 80% -10%, rgba(124,92,255,0.4), transparent 60%);
}
.price-card:hover { transform: translateY(-6px); }
.price-badge { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; background: linear-gradient(135deg, var(--brand-400), var(--violet)); color: #fff; padding: 5px 12px; border-radius: 99px; z-index: 1; }
.price-name { font-size: 16px; font-weight: 700; position: relative; }
.price-amt { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 4px; position: relative; }
.price-amt small { font-size: 16px; font-weight: 600; color: var(--text-ter); }
.price-card.featured .price-amt small { color: var(--on-dark-ter); }
.price-desc { font-size: 14px; color: var(--text-ter); position: relative; }
.price-card.featured .price-desc { color: var(--on-dark-sec); }
.price-feats { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 13px; position: relative; flex: 1; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-sec); }
.price-card.featured .price-feats li { color: var(--on-dark-sec); }
.price-feats .ck { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; background: var(--paper-2); color: var(--brand-500); margin-top: 1px; }
.price-card.featured .price-feats .ck { background: rgba(255,255,255,0.12); color: var(--brand-300); }
.price-feats .ck svg { width: 12px; height: 12px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { position: relative; padding: 130px 0; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, #FFFFFF 100%); color: var(--text-pri); text-align: center; isolation: isolate; }
.cta-band .aurora { opacity: 0.5; }
.cta-band h2 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.cta-band p { font-size: 19px; color: var(--text-sec); margin: 20px auto 38px; max-width: 580px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper-2); color: var(--text-sec); padding: 72px 0 36px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-logo { height: 44px; width: auto; }
.footer-desc { font-size: 14px; line-height: 1.7; color: var(--text-ter); margin-top: 16px; max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--text-pri); letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-ter); margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-500); }
.footer-bot { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 13px; color: var(--text-ter); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ============================================================
   TRIAL MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11,14,26,0.55);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  text-align: center;
  box-shadow: 0 40px 90px -24px rgba(16,24,40,0.4);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
  overflow: hidden;
}
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 280px; height: 160px;
  background: radial-gradient(circle, rgba(59,98,234,0.18), transparent 70%);
  pointer-events: none;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-ter);
  transition: all 0.15s;
}
.modal-close:hover { background: var(--paper-2); color: var(--text-pri); }
.modal-logo { height: 52px; width: auto; margin: 0 auto 20px; position: relative; }
.modal h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.01em; position: relative; }
.modal-sub { font-size: 15px; color: var(--text-sec); margin: 10px 0 24px; line-height: 1.6; position: relative; }
.qr-frame {
  position: relative;
  width: 220px; height: 220px;
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 36px -16px rgba(16,24,40,0.2);
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.qr-corner { position: absolute; width: 18px; height: 18px; border: 2.5px solid var(--brand-500); }
.qr-corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.qr-corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.qr-corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.qr-corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }
.modal-hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand-600);
  background: #EFF4FF;
  padding: 8px 16px;
  border-radius: 99px;
  position: relative;
}
.modal-hint svg { width: 16px; height: 16px; }
body.modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 420px; order: 2; }
  .agent-grid { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .feature-visual { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step-line { display: none; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 130px 0 90px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .agent-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
