/* ============================================
   VOLTS — Design that converts.
   ============================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --bg-3: #1a1a1d;
  --fg: #f5f5f7;
  --fg-dim: #a1a1aa;
  --fg-dimmer: #52525b;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);
  --accent: #FFE600;
  --accent-2: #FF4D5E;
  --accent-3: #6366F1;
  --grad: linear-gradient(135deg, #FFE600 0%, #FF4D5E 50%, #6366F1 100%);
  --grad-2: linear-gradient(135deg, #FF4D5E, #FFB84D);
  --ff-display: 'Space Grotesk', 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --ff-body: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--ff-body);
  background: #07070f;
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ===== Noise ===== */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Loader ===== */
.loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.gone { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-text {
  font-family: var(--ff-display); font-weight: 800; font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: -0.04em; margin-bottom: 2rem; display: flex; gap: 0.05em; justify-content: center;
}
.loader-text span {
  display: inline-block; animation: loader-bounce 0.9s var(--ease) infinite alternate;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader-text span:nth-child(1) { animation-delay: 0s; }
.loader-text span:nth-child(2) { animation-delay: 0.1s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.3s; }
.loader-text span:nth-child(5) { animation-delay: 0.4s; }
@keyframes loader-bounce { from { transform: translateY(0); } to { transform: translateY(-18px); } }
.loader-bar { width: 240px; height: 2px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 0 auto; }
.loader-bar-fill { height: 100%; background: var(--grad); width: 0%; animation: loader-fill 1.6s var(--ease) forwards; }
@keyframes loader-fill { to { width: 100%; } }

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0; transition: background 0.3s, backdrop-filter 0.3s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.logo {
  display: inline-flex; align-items: baseline; gap: 0.02em;
  font-family: var(--ff-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em;
  line-height: 1;
}
.logo-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-dot {
  color: var(--accent); font-weight: 800; font-size: 1.3em; line-height: 0;
  transform: translateY(-0.05em);
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.92rem; color: var(--fg-dim); font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.3rem; border: 1px solid var(--border-2); border-radius: 100px;
  font-size: 0.88rem; font-weight: 600; transition: all 0.3s var(--ease);
  background: rgba(255,255,255,0.03);
}
.nav-cta:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: translateY(-2px); }
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 12rem 2rem 10rem; overflow: hidden;
}
/* Persistent page-level background (stays fixed during scroll) */
.page-bg {
  position: fixed; inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #07070f 0%, #0c0818 100%);
  overflow: hidden;
  pointer-events: none;
}
/* All page content stacks above the persistent bg */
.hero, .troubles, .solutions, .game-section,
.pricing, .process, .faq, .cta-final, .footer {
  position: relative; z-index: 1;
}
/* Nav stays fixed (already has position: fixed in .nav rule) — just bump its z-index above bg */
/* Section bg made transparent so the persistent bg shows through */
.hero, .troubles, .solutions, .game-section,
.pricing, .process, .faq, .cta-final, .footer {
  background: transparent !important;
}
.cta-final .cta-bg, .cta-final .orb-cta { display: none; }

/* ===== Sharp mesh gradient (animated breathe + slow hue rotation) ===== */
.hero-mesh {
  position: absolute; inset: -8%;
  background:
    radial-gradient(ellipse 50% 45% at 15% 20%, rgba(236,72,153,0.32) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(99,102,241,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 70% 85%, rgba(255,230,0,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 25% 80%, rgba(236,72,153,0.18) 0%, transparent 55%);
  pointer-events: none;
  animation:
    mesh-breathe 28s ease-in-out infinite,
    mesh-hue 24s linear infinite;
  will-change: transform, filter;
}
@keyframes mesh-breathe {
  0%, 100% { transform: scale(1)    translate(0,    0   ) rotate(0deg);  }
  33%      { transform: scale(1.08) translate(2.5%, -1.5%) rotate(0.6deg); }
  66%      { transform: scale(1.04) translate(-2%,  1.5%) rotate(-0.4deg); }
}
@keyframes mesh-hue {
  0%, 100% { filter: hue-rotate(0deg); }
  50%      { filter: hue-rotate(40deg); }
}


/* ===== Dot grid texture (gentle pulse) ===== */
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1.5px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  pointer-events: none;
  animation: dots-pulse 5s ease-in-out infinite;
}
@keyframes dots-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* ===== Vertical light beams sweeping across ===== */
.hero-beam {
  position: absolute;
  top: -10%; bottom: -10%;
  width: 1px;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-beam-1 {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,230,0,0.9) 45%,
    rgba(236,72,153,0.7) 55%,
    transparent 100%);
  box-shadow: 0 0 16px rgba(255,230,0,0.5), 0 0 40px rgba(236,72,153,0.25);
  animation: beam-sweep 9s linear infinite;
}
.hero-beam-2 {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(99,102,241,0.8) 40%,
    rgba(236,72,153,0.6) 60%,
    transparent 100%);
  box-shadow: 0 0 14px rgba(99,102,241,0.5), 0 0 36px rgba(99,102,241,0.2);
  animation: beam-sweep 13s linear infinite;
  animation-delay: -5s;
}
.hero-beam-3 {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(236,72,153,0.7) 50%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(236,72,153,0.4);
  animation: beam-sweep 7s linear infinite;
  animation-delay: -2s;
}
.hero-beam-4 {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,230,0,0.55) 45%,
    rgba(99,102,241,0.4) 55%,
    transparent 100%);
  box-shadow: 0 0 18px rgba(255,230,0,0.3);
  animation: beam-sweep 17s linear infinite;
  animation-delay: -11s;
}
@keyframes beam-sweep {
  0%   { transform: translateX(-10vw); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

/* ===== Vignette for depth ===== */
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 50%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-beam { animation: none; opacity: 0.3; }
}
/* ===== 3D SF Cave ===== */
.cave-section {
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, #0d0d12 100%);
  position: relative;
  border-top: 1px solid var(--border);
}
.cave-head { text-align: center; margin-bottom: 2.5rem; }
.cave-head .section-label { justify-content: center; display: inline-flex; }
.cave-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.25;
  margin-bottom: 1rem;
}
.cave-lead {
  color: var(--fg-dim); font-size: 0.96rem; line-height: 1.8;
  max-width: 600px; margin: 0 auto;
}
.cave-wrap {
  max-width: 980px; margin: 0 auto;
  padding: 1rem 1rem 1.2rem;
  border: 1px solid var(--border-2); border-radius: 18px;
  background: linear-gradient(160deg, rgba(99,102,241,0.08), rgba(236,72,153,0.05), rgba(10,10,11,0.7));
  box-shadow: 0 40px 80px -30px rgba(99,102,241,0.25);
}
.cave-hud {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 0.6rem 0.7rem;
  font-family: var(--ff-display); font-size: 0.82rem; letter-spacing: 0.22em;
  color: var(--fg-dim); font-weight: 600;
}
.cave-hud span {
  color: var(--accent); margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.cave-stage {
  position: relative; width: 100%; overflow: hidden;
  background: radial-gradient(ellipse at center, #14142a 0%, #0a0a0b 75%);
  border-radius: 12px; border: 1px solid var(--border);
  aspect-ratio: 900 / 300;
}
#cave-canvas {
  display: block; width: 100%; height: 100%;
  cursor: pointer; touch-action: none;
}
.cave-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,11,0.45); backdrop-filter: blur(3px);
  transition: opacity 0.3s; pointer-events: none;
  padding: 1rem;
}
.cave-overlay.hidden { opacity: 0; }
.cave-overlay-text {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); letter-spacing: 0.14em;
  text-align: center; line-height: 1.5;
  background: linear-gradient(135deg, #FFE600, #FF4D5E 60%, #6366F1);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cave-overlay-text small {
  display: block; margin-top: 0.7rem;
  font-size: 0.55em; letter-spacing: 0.1em;
  color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim);
  font-weight: 500;
}
.cave-legend {
  display: flex; gap: 1.3rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.9rem; font-size: 0.78rem; color: var(--fg-dim);
}
.cave-legend kbd {
  display: inline-block; padding: 0.1rem 0.45rem;
  border: 1px solid var(--border-2); border-radius: 4px;
  background: rgba(255,255,255,0.04); font-family: var(--ff-display); font-size: 0.75rem;
  color: var(--fg); margin: 0 0.1rem;
}
@media (max-width: 700px) {
  .cave-section { padding: 4rem 0 3rem; }
  .cave-legend { font-size: 0.72rem; gap: 0.7rem; }
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; width: 100%;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.1rem; border: 1px solid var(--border-2); border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; color: var(--fg-dim);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}
.pulse {
  width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 4.5rem;
}
.hero-title .line { display: block; overflow: hidden; margin-bottom: 0.2em; }
.hero-title .line:last-child { margin-bottom: 0; }
.hero-title .word { display: inline-block; }
.word-outline {
  -webkit-text-stroke: 1.5px var(--fg); color: transparent;
}
.word-gradient {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--fg-dim);
  max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8;
}
.hero-sub b { color: var(--fg); font-weight: 600; }

/* ===== Troubles section (pain points) ===== */
.troubles {
  padding: 7rem 0 6rem;
  background: var(--bg);
}
.troubles-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.trouble-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border); border-radius: 20px;
  background: linear-gradient(160deg, var(--bg-2), rgba(10,10,11,0.6));
  position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.trouble-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.trouble-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
}
.trouble-card:hover::before { transform: scaleX(1); }
.trouble-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 2.2rem; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 1.2rem;
}
.trouble-card h3 {
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700;
  line-height: 1.35; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.trouble-card p {
  color: var(--fg-dim); font-size: 0.95rem; line-height: 1.8;
}
.troubles-bridge {
  text-align: center; margin: 4.5rem auto 0;
  max-width: 720px;
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 600; line-height: 1.5;
  color: var(--fg-dim);
}
.troubles-bridge b {
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 700px) {
  .troubles-grid { grid-template-columns: 1fr; }
  .troubles { padding: 5rem 0 4rem; }
}

/* ===== Solutions section ===== */
.solutions {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.solutions-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.solution-card {
  display: flex; align-items: flex-start; gap: 1.4rem;
  padding: 2rem 2rem;
  border: 1px solid var(--border-2); border-radius: 20px;
  background: linear-gradient(140deg, rgba(255,230,0,0.04), rgba(99,102,241,0.04), var(--bg-3));
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.solution-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #0a0a0b;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 10px 30px -6px rgba(255,230,0,0.3);
}
.solution-body h3 {
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 700;
  line-height: 1.35; letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.solution-body p {
  color: var(--fg-dim); font-size: 0.94rem; line-height: 1.8;
}
@media (max-width: 700px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .solutions { padding: 5rem 0; }
  .solution-card { padding: 1.5rem 1.3rem; gap: 1rem; }
  .solution-icon { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* ===== Game section (below hero) ===== */
.game-section {
  padding: 4rem 0 5rem;
  background: var(--bg-2);
}

/* ===== Hero runner game (transparent, seamless) ===== */
.hero-game {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0;
}
.hero-game-hud {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 0.3rem 0.4rem;
  font-family: var(--ff-display); font-size: 0.72rem; letter-spacing: 0.22em;
  color: var(--fg-dimmer); font-weight: 600;
}
.hero-game-hud span {
  color: var(--accent); margin-left: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.hero-game-stage {
  position: relative; width: 100%;
  aspect-ratio: 900 / 600;
  overflow: hidden;
}
#trex-canvas {
  display: block; width: 100%; height: 100%;
  cursor: pointer; touch-action: manipulation;
  background: transparent;
}
.hero-game-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.25s; pointer-events: none;
  background: rgba(8,8,16,0.82);
  backdrop-filter: blur(10px);
}
.hero-game-overlay.hidden { opacity: 0; }
.hero-game-overlay-text {
  text-align: center; line-height: 1;
  width: 100%; padding: 0 0.6rem;
}
.endcard-logo {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(2.6rem, 14vw, 10rem);
  letter-spacing: -0.05em; line-height: 0.9;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: clamp(0.3rem, 1.2vw, 1.4rem);
  filter: drop-shadow(0 0 30px rgba(255,230,0,0.25));
}
.endcard-sub {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(0.72rem, 1.8vw, 1.6rem);
  color: var(--fg-dim); letter-spacing: 0.2em;
  margin-bottom: clamp(0.2rem, 0.8vw, 0.9rem);
}
.endcard-price {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(0.85rem, 2.2vw, 2rem);
  color: var(--fg); letter-spacing: 0.06em;
  white-space: nowrap;
}
@media (max-width: 500px) {
  .endcard-price { white-space: normal; }
}
.hero-game-legend {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-top: 0.5rem; font-size: 0.72rem; color: var(--fg-dimmer);
}
.hero-game-legend kbd {
  display: inline-block; padding: 0.05rem 0.4rem;
  border: 1px solid var(--border-2); border-radius: 4px;
  background: rgba(255,255,255,0.03); font-family: var(--ff-display); font-size: 0.7rem;
  color: var(--fg-dim); margin: 0 0.1rem;
}
@media (max-width: 700px) {
  .hero-game-legend { font-size: 0.68rem; gap: 0.5rem; }
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 0; justify-content: center; }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center;
  padding: 1.1rem 2rem; border-radius: 100px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.35s var(--ease); cursor: pointer; position: relative; overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--fg); color: #000;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-3px); box-shadow: 0 20px 40px -10px rgba(255,230,0,0.5); }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost {
  border: 1px solid var(--border-2); color: var(--fg);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--fg); transform: translateY(-3px); }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-large { padding: 1.3rem 2.4rem; font-size: 1rem; }
.btn-xl { padding: 1.6rem 3rem; font-size: 1.1rem; font-weight: 700; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
  max-width: 900px;
}
.stat-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat-num span { font-size: 0.55em; color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim); }
.stat-label { font-size: 0.82rem; color: var(--fg-dim); margin-top: 0.5rem; letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.hero-scroll {
  position: absolute; bottom: 2rem; right: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.75rem; letter-spacing: 0.2em; color: var(--fg-dim); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 80px; background: linear-gradient(to bottom, var(--fg-dim), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%;
  background: var(--accent); animation: scroll-move 2s var(--ease) infinite;
}
@keyframes scroll-move {
  0% { transform: translateY(-100%); } 100% { transform: translateY(400%); }
}
@media (max-width: 700px) { .hero-scroll { display: none; } }

/* ===== Playground (T-Rex game) ===== */
.playground { padding: 6rem 0 5rem; background: var(--bg); position: relative; }
.playground-head { text-align: center; margin-bottom: 3rem; }
.playground-head .section-label { justify-content: center; display: inline-flex; }
.playground-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.3;
}
.game-wrap {
  max-width: 920px; margin: 0 auto;
  padding: 1.2rem 1.2rem 1.4rem;
  border: 1px solid var(--border-2); border-radius: 18px;
  background: linear-gradient(160deg, rgba(99,102,241,0.05), rgba(255,77,94,0.04), var(--bg-2));
}
.game-hud {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 0.6rem 0.8rem;
  font-family: var(--ff-display); font-size: 0.82rem; letter-spacing: 0.2em;
  color: var(--fg-dim); font-weight: 600;
}
.hud-score span, .hud-hi span {
  color: var(--accent); margin-left: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.game-stage {
  position: relative; width: 100%; overflow: hidden;
  background: var(--bg-3); border-radius: 12px; border: 1px solid var(--border);
  aspect-ratio: 900 / 200;
}
#trex-canvas { display: block; width: 100%; height: 100%; cursor: pointer; }
.game-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,11,0.55); backdrop-filter: blur(4px);
  transition: opacity 0.3s; pointer-events: none;
}
.game-overlay.hidden { opacity: 0; }
.game-overlay-text {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: 0.15em;
  text-align: center; line-height: 1.5;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.game-overlay-text small {
  display: block; margin-top: 0.7rem;
  font-size: 0.55em; letter-spacing: 0.12em;
  color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim);
  font-weight: 500;
}
.game-legend {
  display: flex; gap: 1.3rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1rem; font-size: 0.78rem; color: var(--fg-dim);
}
.game-legend kbd {
  display: inline-block; padding: 0.1rem 0.45rem;
  border: 1px solid var(--border-2); border-radius: 4px;
  background: rgba(255,255,255,0.04); font-family: var(--ff-display); font-size: 0.75rem;
  color: var(--fg); margin: 0 0.1rem;
}
@media (max-width: 700px) {
  .playground { padding: 4rem 0 3rem; }
  .game-legend { font-size: 0.72rem; gap: 0.8rem; }
}

/* ===== Marquee ===== */
.marquee-section { padding: 3rem 0; border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.marquee { display: flex; overflow: hidden; }
.marquee-track {
  display: flex; gap: 2rem; align-items: center; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.02em;
}
.marquee-track .dot { color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Container / sections ===== */
.container { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
section { padding: 8rem 0; position: relative; }

.section-label {
  font-size: 0.78rem; letter-spacing: 0.25em; color: var(--fg-dim);
  text-transform: uppercase; margin-bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.035em;
  margin-bottom: 3rem;
}
.section-lead {
  font-size: 1.05rem; color: var(--fg-dim); max-width: 640px; margin-bottom: 3rem; line-height: 1.8;
}

/* ===== Problem ===== */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.problem-card {
  padding: 2.5rem 2rem; border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg-2); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.problem-card::before {
  content: ''; position: absolute; inset: 0; background: var(--grad-2); opacity: 0;
  transition: opacity 0.4s; pointer-events: none;
}
.problem-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.problem-tier {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-dim); font-weight: 600;
  padding: 0.35rem 0.75rem; border: 1px solid var(--border-2); border-radius: 100px;
  margin-bottom: 1.2rem;
}
.problem-tier-us {
  color: #000; background: var(--accent); border-color: var(--accent);
  letter-spacing: 0.15em;
}
.problem-price {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 1.3rem; letter-spacing: -0.02em;
}
.problem-price small {
  font-size: 0.55em; color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim);
  font-weight: 500; margin-left: 0.1em;
}
.problem-price-us {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}
.problem-card-center {
  background: linear-gradient(160deg, rgba(255,230,0,0.06), rgba(255,77,94,0.04), var(--bg-3));
  border-color: var(--accent);
  transform: scale(1.02);
}
.problem-card-center:hover { transform: scale(1.02) translateY(-6px); }
.problem-card h3 {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700;
  line-height: 1.3; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.problem-card p { color: var(--fg-dim); font-size: 0.94rem; line-height: 1.75; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr; } }

/* ===== Work ===== */
.work { background: var(--bg-2); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card {
  grid-column: span 1; border-radius: 24px; overflow: hidden; position: relative;
  background: var(--bg-3); transition: transform 0.5s var(--ease); border: 1px solid var(--border);
  display: block;
}
.work-card.large { grid-column: span 2; }
.work-card:hover { transform: translateY(-8px); }
.work-card:hover .work-visual { transform: scale(1.03); }
.work-visual {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  padding: 2.5rem 2.5rem 0; overflow: hidden; transition: transform 0.6s var(--ease);
}
.work-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 50%);
}
.work-mockup {
  background: #0a0a0b; border-radius: 12px 12px 0 0; width: 90%; aspect-ratio: 16/9;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6); overflow: hidden; transform: translateY(10%);
  border: 1px solid rgba(255,255,255,0.1);
}
.mockup-bar {
  background: var(--bg-3); padding: 0.6rem 1rem; display: flex; gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mockup-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-bar span:nth-child(1) { background: #ff605c; }
.mockup-bar span:nth-child(2) { background: #ffbd44; }
.mockup-bar span:nth-child(3) { background: #00ca4e; }
.mockup-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.m-hero {
  height: 40%; background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 4px; opacity: 0.85; min-height: 60px;
}
.m-row { display: flex; gap: 0.5rem; }
.m-row > div {
  flex: 1; height: 20px; background: rgba(255,255,255,0.08); border-radius: 3px;
}

.work-meta { padding: 1.8rem 1.8rem 2rem; }
.work-tag {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.1em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.work-meta h3 {
  font-family: var(--ff-display); font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.5rem; letter-spacing: -0.02em;
}
.work-meta p { color: var(--fg-dim); font-size: 0.9rem; }
@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card.large { grid-column: span 1; }
}

/* ===== Proof (replaces Work) ===== */
.proof-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-bottom: 4rem;
}
.proof-card {
  padding: 2.5rem 2rem; border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg-3); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.proof-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.proof-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.proof-card:hover::before { transform: scaleX(1); }
.proof-icon {
  font-size: 2rem; margin-bottom: 1.2rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.proof-card h3 {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700;
  line-height: 1.3; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.proof-card p { color: var(--fg-dim); font-size: 0.95rem; line-height: 1.75; }

.proof-cta {
  text-align: center; padding: 3rem; border: 1px solid var(--border-2); border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,77,94,0.05), rgba(99,102,241,0.05));
}
.proof-cta p {
  font-family: var(--ff-display); font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700;
  margin-bottom: 1.5rem; letter-spacing: -0.02em;
}
@media (max-width: 700px) { .proof-grid { grid-template-columns: 1fr; } }

/* ===== Services ===== */
.services { background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.service-card {
  padding: 3rem 2.5rem; border: 1px solid var(--border); border-radius: 24px;
  background: var(--bg-2); transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-2); background: var(--bg-3); }
.service-card.featured {
  background: linear-gradient(135deg, rgba(255,77,94,0.08), rgba(99,102,241,0.08));
  border-color: var(--border-2);
}
.service-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  padding: 0.3rem 0.7rem; background: var(--accent); color: #000;
  font-size: 0.7rem; font-weight: 700; border-radius: 100px; letter-spacing: 0.1em;
}
.service-icon {
  width: 56px; height: 56px; color: var(--accent); margin-bottom: 1.8rem;
  padding: 0.8rem; border: 1px solid var(--border-2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.service-card h3 {
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700;
  margin-bottom: 1rem; letter-spacing: -0.02em;
}
.service-card > p { color: var(--fg-dim); margin-bottom: 1.5rem; line-height: 1.75; font-size: 0.95rem; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card ul li {
  font-size: 0.88rem; color: var(--fg-dim); padding-left: 1.4rem; position: relative;
}
.service-card ul li::before {
  content: '→'; position: absolute; left: 0; color: var(--accent);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* ===== Pricing ===== */
.pricing { background: var(--bg-2); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.pricing-grid-single {
  grid-template-columns: 1fr;
  max-width: 560px;
}
.pricing-card {
  padding: 3rem 2.5rem;
  border: 1px solid var(--border); border-radius: 28px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.pricing-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(255,230,0,0.06), rgba(255,77,94,0.04), var(--bg-2));
}
.price-badge-top {
  position: absolute; top: 1.5rem; right: 1.5rem;
  padding: 0.35rem 0.9rem; background: var(--accent); color: #000;
  font-size: 0.7rem; font-weight: 700; border-radius: 100px; letter-spacing: 0.15em;
  z-index: 2;
}
.price-main-single {
  padding: 2rem 0; margin-bottom: 2rem;
  border-block: 1px solid var(--border);
  text-align: center;
}
.price-main-single .price-col { text-align: center; }
.price-main-single .price-label { font-size: 0.82rem; color: var(--fg-dim); margin-top: 0.5rem; letter-spacing: 0.05em; }
.price-features.single { grid-template-columns: 1fr; }
.dash { color: var(--fg-dimmer); font-weight: 700; }
.price-features li:has(.dash) { color: var(--fg-dimmer); }
.pricing-card .btn { width: 100%; margin-top: 1rem; }
.pricing-footnote {
  text-align: center; font-size: 0.82rem; color: var(--fg-dimmer);
  margin-top: 3rem; line-height: 1.8;
}

.why-contract {
  max-width: 900px; margin: 4rem auto 0;
  padding: 2.5rem 2.5rem; border: 1px dashed var(--border-2); border-radius: 20px;
  background: rgba(255,255,255,0.02);
}
.why-label {
  font-size: 0.72rem; letter-spacing: 0.25em; color: var(--accent);
  margin-bottom: 1rem; font-weight: 700;
}
.why-contract h3 {
  font-family: var(--ff-display); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.why-contract p {
  color: var(--fg-dim); line-height: 1.9; font-size: 0.94rem;
}
.why-contract b { color: var(--fg); }
@media (max-width: 700px) { .why-contract { padding: 2rem 1.5rem; } }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card.legacy {
  max-width: 720px; margin: 0 auto; padding: 3.5rem 3rem;
  border: 1px solid var(--border-2);
}
.price-glow {
  position: absolute; top: -100px; left: -100px; width: 400px; height: 400px;
  background: var(--grad); filter: blur(100px); opacity: 0.3; pointer-events: none;
}
.price-header { position: relative; margin-bottom: 2.5rem; }
.price-tag {
  display: inline-block; font-size: 0.78rem; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 0.8rem; font-weight: 600;
}
.price-header h3 {
  font-family: var(--ff-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em;
}
.price-main {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center;
  padding: 2rem 0; margin-bottom: 2rem;
  border-block: 1px solid var(--border);
  position: relative;
}
.price-col { text-align: center; }
.price-label { font-size: 0.82rem; color: var(--fg-dim); letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.price-value { display: flex; align-items: baseline; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.price-strike { color: var(--fg-dimmer); text-decoration: line-through; font-size: 1.1rem; }
.price-now {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.price-now small { font-size: 0.45em; color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim); font-weight: 500; }
.price-divider { width: 1px; height: 60px; background: var(--border); }
.price-features {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; margin-bottom: 2.5rem;
}
.price-features li { font-size: 0.92rem; color: var(--fg-dim); display: flex; align-items: center; gap: 0.6rem; }
.check { color: #22c55e; font-weight: 700; }
.pricing-card .btn { width: 100%; }
.price-note { text-align: center; font-size: 0.82rem; color: var(--fg-dimmer); margin-top: 1.5rem; }
@media (max-width: 700px) {
  .pricing-card { padding: 2.5rem 1.5rem; }
  .price-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .price-divider { width: 60%; height: 1px; margin: 0 auto; }
  .price-features { grid-template-columns: 1fr; }
}

/* ===== Process ===== */
.process { background: var(--bg); }
.process-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.process-item {
  display: grid; grid-template-columns: 140px 1fr; gap: 3rem;
  padding: 2.5rem 0; border-bottom: 1px solid var(--border);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.process-item:hover { padding-left: 1rem; border-bottom-color: var(--border-2); }
.process-item:hover .process-num { transform: translateX(8px); }
.process-num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 0.3s var(--ease);
}
.process-content h3 {
  font-family: var(--ff-display); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700;
  margin-bottom: 0.8rem; letter-spacing: -0.02em;
}
.process-content h3 span {
  font-size: 0.65em; color: var(--fg-dim); font-weight: 500; margin-left: 0.8rem;
}
.process-content p { color: var(--fg-dim); max-width: 600px; line-height: 1.8; }
@media (max-width: 700px) {
  .process-item { grid-template-columns: 1fr; gap: 1rem; }
}

/* ===== FAQ ===== */
.faq { background: var(--bg-2); }
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 860px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 16px; background: var(--bg-3);
  overflow: hidden; transition: border-color 0.3s;
}
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary {
  padding: 1.5rem 1.8rem; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; font-weight: 600; font-size: 1rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 28px; height: 28px; border: 1px solid var(--border-2); border-radius: 50%;
  flex-shrink: 0; position: relative; transition: transform 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--fg);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-icon::before { width: 12px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 12px; transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #000; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  padding: 0 1.8rem 1.5rem; color: var(--fg-dim); line-height: 1.8; font-size: 0.95rem;
}

/* ===== Final CTA ===== */
.cta-final {
  padding: 10rem 0; text-align: center; position: relative; overflow: hidden; background: var(--bg);
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.orb-cta {
  width: 900px; height: 900px; background: var(--grad);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  filter: blur(140px); opacity: 0.25;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final .section-label { justify-content: center; display: inline-flex; }
.cta-title {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 8rem); line-height: 0.95; letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.cta-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--fg-dim);
  max-width: 640px; margin: 0 auto 3rem; line-height: 1.8;
}
.cta-sub { margin-top: 2rem; color: var(--fg-dim); font-size: 0.92rem; }
.cta-sub a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ===== Footer ===== */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--border); padding: 5rem 0 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  padding-bottom: 4rem; border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--fg-dim); margin-top: 1.5rem; line-height: 1.8; font-size: 0.92rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.2em; color: var(--fg-dim);
  margin-bottom: 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--fg); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 2rem;
  color: var(--fg-dim); font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 0.1s; }
.reveal-2 { transition-delay: 0.2s; }
.reveal-3 { transition-delay: 0.3s; }
.reveal-4 { transition-delay: 0.4s; }

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