/* ============ Alibaba Cloud AI — concept landing ============ */

:root {
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --ink: #eef0f8;
  --muted: #98a1b6;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --amber: #ff7a29;
  --qoder: #2adb5c;
  --qoder-bright: #8af2a8;
  --grad-1: linear-gradient(100deg, #a78bfa 0%, #7c5cff 45%, #22d3ee 100%);
  --grad-2: linear-gradient(100deg, #22d3ee 0%, #7c5cff 60%, #f472b6 100%);
  --grad-qoder: linear-gradient(100deg, #c4f7d1 0%, #2adb5c 55%, #0d9e55 100%);
  --radius: 18px;
  --font-display: "Space Grotesk", "Hiragino Sans", sans-serif;
  --font-body: "Inter", "Hiragino Sans", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#7c5cff66, #22d3ee66);
  border-radius: 99px;
  border: 2px solid var(--bg);
}

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

a { color: inherit; text-decoration: none; }

/* ---------- background scene ---------- */

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, #131a2e 0%, var(--bg) 60%);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.aurora-violet {
  width: 55vw; height: 55vw;
  min-width: 480px; min-height: 480px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 65%);
  top: -18%; left: -12%;
  animation: drift-a 26s ease-in-out infinite alternate;
}

.aurora-cyan {
  width: 45vw; height: 45vw;
  min-width: 400px; min-height: 400px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 65%);
  top: 22%; right: -15%;
  animation: drift-b 32s ease-in-out infinite alternate;
}

.aurora-amber {
  width: 38vw; height: 38vw;
  min-width: 340px; min-height: 340px;
  background: radial-gradient(circle, rgba(255, 122, 41, 0.28), transparent 65%);
  bottom: -20%; left: 22%;
  animation: drift-c 38s ease-in-out infinite alternate;
}

@keyframes drift-a { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-8vw, -6vh) scale(0.9); } }
@keyframes drift-c { to { transform: translate(6vw, -9vh) scale(1.1); } }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, black 20%, transparent 75%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 560px; height: 560px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.09), transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.4s;
  opacity: 0;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.disclaimer {
  margin: 0;
  padding: 7px 16px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  color: #ffd58a;
  background: rgba(24, 17, 4, 0.92);
  border-bottom: 1px solid rgba(255, 196, 84, 0.25);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }

.brand-name em {
  font-style: normal;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.55);
}

.brand-mark.small { width: 24px; height: 24px; border-radius: 7px; box-shadow: none; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--grad-1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; }

.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 24px 22px;
  background: rgba(5, 6, 10, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--muted); font-weight: 500; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.99); }

.btn-sm { font-size: 13.5px; padding: 9px 16px; }
.btn-lg { font-size: 16px; padding: 14px 26px; border-radius: 14px; }

.btn-primary {
  background: var(--grad-1);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(124, 92, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-glass {
  background: var(--glass-strong);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); background: var(--glass-strong); }

.btn-light { background: #fff; color: #0a0a12; box-shadow: 0 10px 34px rgba(255,255,255,0.22); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 46px rgba(255,255,255,0.3); }

/* ---------- hero ---------- */

.hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 168px 24px 72px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
}

.hero-badge strong { color: var(--ink); font-weight: 600; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.mask-line { display: block; overflow: hidden; padding-bottom: 0.08em; }

.mask-line > span {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title .mask-line:nth-child(2) > span { animation-delay: 0.14s; }

@keyframes rise { to { transform: translateY(0); } }

.grad-text {
  background: var(--grad-1);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

.grad-text-2 {
  background: var(--grad-qoder);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}

@keyframes shimmer { to { background-position: 200% 0; } }

.hero-sub {
  max-width: 640px;
  margin: 26px auto 38px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }

/* ---------- terminals ---------- */

.hero-terminal, .qoder-terminal {
  text-align: left;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.12),
    0 0 90px rgba(124, 92, 255, 0.14);
  overflow: hidden;
}

.qoder-terminal {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(42, 219, 92, 0.16),
    0 0 90px rgba(42, 219, 92, 0.12);
}

.term-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.term-dot { width: 11px; height: 11px; border-radius: 50%; }
.term-r { background: #ff5f57; }
.term-y { background: #febc2e; }
.term-g { background: #28c840; }

.term-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.term-body {
  padding: 22px 24px 26px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 2.05;
  min-height: 218px;
}

.js .term-line { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.4s; }
.term-line.on { opacity: 1; transform: none; }

.t-prompt { color: var(--qoder); font-weight: 700; }
.t-accent { color: var(--qoder-bright); }
.t-ok { color: #34d399; }
.t-check { color: #34d399; font-weight: 700; }
.t-spin { color: var(--violet); display: inline-block; animation: spin 1.1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.term-step { color: var(--muted); }
.term-ok { color: #c7f9dd; }

.caret {
  display: inline-block;
  width: 8px; height: 17px;
  background: var(--qoder);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* ---------- stats ---------- */

.stats {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  background: var(--grad-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-size: 13px; color: var(--muted); }

.stats-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 11.5px;
  color: rgba(168, 176, 196, 0.85);
}

/* ---------- sections ---------- */

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 24px;
  position: relative;
}

.section-alt { max-width: none; }
.section-alt > * { max-width: 1160px; margin-left: auto; margin-right: auto; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; }

#qoder .kicker { color: var(--qoder); }
#qoder .t-spin { color: var(--qoder); }
.code-chip .q-green { color: var(--qoder); font-weight: 500; }

.section-sub { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* ---------- product hero card ---------- */

.product-card {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(14px);
  padding: 40px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s;
  transform-style: preserve-3d;
}

.product-card:hover { border-color: rgba(124, 92, 255, 0.4); }

.product-glow {
  position: absolute;
  inset: -1px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.product-card:hover .product-glow { opacity: 1; }

.product-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; flex-wrap: wrap; }

.product-logo {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

.qwen-logo {
  background: linear-gradient(135deg, #ff7a29, #ff3d81 55%, #7c5cff);
  box-shadow: 0 10px 34px rgba(255, 90, 60, 0.35);
}

.product-head h3 { font-size: 26px; }
.product-tagline { color: var(--muted); font-size: 14px; }

.chip {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.chip-flag {
  color: #ffd9c2;
  border: 1px solid rgba(255, 122, 41, 0.4);
  background: rgba(255, 122, 41, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.mini-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  padding: 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.mini-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.05);
  transform: translateY(-3px);
}

.mini-card h3 { font-size: 15.5px; margin-bottom: 6px; font-family: var(--font-display); }
.mini-card p { font-size: 13.5px; color: var(--muted); }

.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- qoder ---------- */

.qoder-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 24px;
}

.qoder-terminal { margin: 0; }

.qoder-features { display: flex; flex-direction: column; gap: 22px; }

.feature-row {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.feature-row:hover {
  border-color: var(--line);
  background: var(--glass);
  transform: translateX(6px);
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-size: 19px;
  color: var(--qoder);
  background: rgba(42, 219, 92, 0.08);
  border: 1px solid rgba(42, 219, 92, 0.3);
}

.feature-row h3 { font-size: 16px; margin-bottom: 4px; }
.feature-row p { font-size: 13.5px; color: var(--muted); }

/* ---------- benchmarks ---------- */

.bench {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  padding: 34px 36px;
}

.bench-row { margin-bottom: 24px; }

.bench-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.bench-val { font-family: var(--font-mono); color: var(--cyan); font-weight: 700; }

.bench-track { position: relative; height: 26px; }

.bench-bar {
  position: absolute;
  left: 0; top: 0;
  height: 12px;
  border-radius: 99px;
  width: var(--w, 0);
}

.js .bench-bar { width: 0; transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }

.bench-bar.bar-prev {
  top: 15px;
  height: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.bar-grad-1 { background: var(--grad-1); box-shadow: 0 0 18px rgba(124, 92, 255, 0.45); }
.bar-grad-2 { background: var(--grad-2); box-shadow: 0 0 18px rgba(34, 211, 238, 0.4); }

.bench-legend {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  flex-wrap: wrap;
}

.swatch { display: inline-block; width: 18px; height: 8px; border-radius: 99px; margin-right: 7px; vertical-align: middle; }
.swatch-grad { background: var(--grad-1); }
.swatch-prev { background: rgba(255, 255, 255, 0.14); }

.bench-note { margin-left: auto; font-size: 11px; color: rgba(168, 176, 196, 0.85); }

/* ---------- bento ---------- */

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

.bento-wide { grid-column: span 2; }

.bento-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(8px);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.bento-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.18); }
.bento-card:hover::before { opacity: 1; }

.bento-card h3 { font-size: 17px; margin-bottom: 8px; }
.bento-card p { font-size: 13.5px; color: var(--muted); }

.code-chip {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--line);
}

.code-chip b { color: var(--cyan); font-weight: 500; }

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

.cta-band {
  margin: 40px 24px 90px;
}

.cta-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  border-radius: 28px;
  padding: 76px 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 90% at 50% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 100%, rgba(34, 211, 238, 0.22), transparent 60%),
    linear-gradient(180deg, #0c0f1c, #080a12);
  border: 1px solid rgba(124, 92, 255, 0.3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.cta-inner h2 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); font-size: 17px; margin-bottom: 34px; }

.cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }

.cta-cli {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  color: inherit;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s;
}

.cta-cli:hover { border-color: rgba(42, 219, 92, 0.5); }
.cta-cli code { color: var(--ink); }
.cta-copy { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--qoder); }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); padding: 30px 24px 40px; }

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }

.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--ink); }

.footer-note { width: 100%; font-size: 11.5px; color: rgba(168, 176, 196, 0.8); }

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

.product-card.reveal.in { transition: transform 0.25s ease, border-color 0.25s; }
.bento-card.reveal.in { transition: transform 0.25s, border-color 0.25s, background 0.25s; }
.feature-row.reveal.in { transition: border-color 0.25s, background 0.25s, transform 0.25s; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

section[id], .cta-band[id] { scroll-margin-top: 90px; }

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

@media (max-width: 960px) {
  .nav-links { display: none; }
  .qoder-layout { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
  .hero { padding-top: 130px; }
  .product-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-wide { grid-column: auto; }
  .product-card { padding: 26px; }
  .bench { padding: 24px; }
  .footer-links { margin-left: 0; }
  .cursor-glow { display: none; }
}

/* ---------- 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;
  }
  .reveal { opacity: 1; transform: none; }
  .mask-line > span { transform: none; animation: none; }
}
