/* =========================================================
   ImagePiper Landing · Perspective Design System
   Colors: primary #00BD7D, surface #FFFFFF, text #111827
   Type:   Oswald (display) · Poppins (body) · JetBrains Mono (code)
   ========================================================= */

:root {
  --c-primary: #00BD7D;
  --c-primary-600: #0e8f5f;
  --c-primary-700: #0b6b48;
  --c-primary-100: #e8faf1;
  --c-success: #16A34A;
  --c-warning: #D97706;
  --c-danger:  #DC2626;
  --c-surface: #ffffff;
  --c-surface-2: #f7faf8;
  --c-text: #111827;
  --c-text-2: #374151;
  --c-muted: #6b7280;
  --c-border: #e5e7eb;
  --c-border-strong: #d1d5db;
  --c-dark: #0b1220;
  --c-dark-2: #111827;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(17,24,39,.06), 0 1px 1px rgba(17,24,39,.04);
  --shadow:    0 6px 16px -6px rgba(17,24,39,.15), 0 2px 6px rgba(17,24,39,.06);
  --shadow-lg: 0 20px 40px -20px rgba(17,24,39,.25), 0 8px 18px rgba(17,24,39,.08);
  --shadow-xl: 0 30px 60px -30px rgba(17,24,39,.35), 0 12px 24px rgba(17,24,39,.08);

  --ff-display: 'Oswald', 'Poppins', 'Noto Sans SC', system-ui, sans-serif;
  --ff-body:    'Poppins', 'Noto Sans SC', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --ff-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-body);
  color: var(--c-text);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--ff-mono); font-size: .88em; background: var(--c-surface-2); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--c-border); }
pre { margin: 0; }
pre code { display: block; background: transparent; border: 0; padding: 0; font-size: 13.5px; line-height: 1.7; color: #e8faf1; }

h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.15; letter-spacing: .01em; margin: 0; color: var(--c-text); }
h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p  { margin: 0; color: var(--c-text-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kicker / Eyebrow ---------- */
.kicker {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-primary-700);
  background: var(--c-primary-100);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,189,125,.18);
  margin-bottom: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: 20px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(0,189,125,.15); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { margin: 4px 0 14px; }
.section-head p { color: var(--c-muted); font-size: 17px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(0,189,125,.55), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn-primary:hover { background: var(--c-primary-600); transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(0,189,125,.6), inset 0 -2px 0 rgba(0,0,0,.1); }
.btn-primary:active { transform: translateY(0); background: var(--c-primary-700); }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}
.btn-ghost:hover { border-color: var(--c-text); background: var(--c-surface-2); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 600; font-size: 19px; color: var(--c-text); letter-spacing: .02em; }
.brand-mark { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
.brand-name { letter-spacing: .03em; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--c-text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--c-surface-2); color: var(--c-text); }

/* ---------- Language switcher ---------- */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  color: var(--c-text-2);
  cursor: pointer;
  user-select: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.lang-switch:hover { border-color: var(--c-border-strong); box-shadow: var(--shadow-sm); }
.lang-switch .lang-opt {
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--c-muted);
  transition: color .15s ease, background .15s ease;
  font-weight: 500;
  letter-spacing: .04em;
}
.lang-switch .lang-opt.is-active {
  color: var(--c-primary-700);
  background: var(--c-primary-100);
  font-weight: 600;
}
.lang-switch .lang-sep { color: var(--c-border-strong); opacity: .8; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(0,189,125,.12), transparent 60%),
    radial-gradient(800px 420px at 0% 30%, rgba(139,92,246,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(17,24,39,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,24,39,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.display {
  font-family: var(--ff-display);
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--c-text);
  margin: 0 0 20px;
}
.display .grad {
  background: linear-gradient(120deg, #00BD7D 0%, #0ea86b 45%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 18px; color: var(--c-text-2); max-width: 560px; margin-bottom: 28px; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 560px;
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-family: var(--ff-display); font-size: 26px; font-weight: 600; color: var(--c-text); line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--c-muted); }

/* --- hero visual: isometric panel + floating chips --- */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.iso-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  transform: perspective(1200px) rotateX(10deg) rotateY(-14deg) rotateZ(-2deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.iso-card:hover { transform: perspective(1200px) rotateX(6deg) rotateY(-10deg) rotateZ(-1.5deg); }
.iso-card-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fafafa, #f3f4f6);
  border-bottom: 1px solid var(--c-border);
}
.panel-dots { display: inline-flex; gap: 6px; }
.panel-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; display: inline-block; }
.panel-dots i:nth-child(1) { background: #ef4444; }
.panel-dots i:nth-child(2) { background: #f59e0b; }
.panel-dots i:nth-child(3) { background: var(--c-primary); }
.panel-title { flex: 1; font-family: var(--ff-mono); font-size: 12.5px; color: var(--c-text-2); }
.panel-badge { font-family: var(--ff-mono); font-size: 11px; color: var(--c-primary-700); background: var(--c-primary-100); border: 1px solid rgba(0,189,125,.2); padding: 3px 8px; border-radius: 999px; }

.panel-body { padding: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--ff-mono); font-size: 11.5px;
  padding: 5px 10px; border-radius: 999px;
  background: #f3f4f6; color: var(--c-text-2);
  border: 1px solid var(--c-border);
}
.chip-on { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.tile {
  aspect-ratio: 1/1;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(255,255,255,.1));
}

.panel-action { display: flex; align-items: center; gap: 14px; }
.progress { flex: 1; position: relative; height: 28px; background: #f3f4f6; border-radius: 999px; overflow: hidden; border: 1px solid var(--c-border); }
.progress-bar { position: absolute; inset: 0 auto 0 0; width: 78%; background: linear-gradient(90deg, var(--c-primary), #34d399); border-radius: 999px; }
.progress-text { position: relative; font-family: var(--ff-mono); font-size: 12px; color: var(--c-text-2); display: inline-flex; align-items: center; height: 100%; padding: 0 12px; }

/* floating chips */
.floating-chip {
  position: absolute;
  font-family: var(--ff-mono);
  font-size: 12px;
  background: #fff;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 8px 12px;
  border-radius: 10px;
  animation: float 6s ease-in-out infinite;
}
.fc-1 { top: 8%; left: -4%; animation-delay: 0s; background: var(--c-dark); color: #fff; border-color: var(--c-dark); }
.fc-2 { top: 22%; right: -6%; animation-delay: .8s; }
.fc-3 { bottom: 16%; left: 2%; animation-delay: 1.6s; }
.fc-4 { bottom: 6%; right: 4%; animation-delay: 2.4s; background: var(--c-primary); color: #fff; border-color: var(--c-primary-600); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================================
   TRUST
   ========================================================= */
.trust { padding: 40px 0 20px; background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.trust-head { text-align: center; font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 20px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.trust-logos span {
  font-family: var(--ff-display);
  font-size: 18px;
  letter-spacing: .08em;
  color: var(--c-muted);
  opacity: .75;
  transition: color .15s ease, opacity .15s ease;
}
.trust-logos span:hover { color: var(--c-text); opacity: 1; }

/* =========================================================
   FEATURES
   ========================================================= */
.features { padding: 100px 0; background: #fff; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature h3 { margin: 16px 0 8px; }
.feature p { color: var(--c-muted); font-size: 14.5px; line-height: 1.65; }
.feature p code { font-size: 12.5px; color: var(--c-primary-700); background: var(--c-primary-100); border-color: rgba(0,189,125,.2); }

.f-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}
.f-icon-1 { background: linear-gradient(135deg, #00BD7D, #0ea86b); }
.f-icon-2 { background: linear-gradient(135deg, #111827, #374151); }
.f-icon-3 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.f-icon-4 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.f-icon-5 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.f-icon-6 { background: linear-gradient(135deg, #ec4899, #be185d); }
.f-icon-7 { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.f-icon-8 { background: linear-gradient(135deg, #ef4444, #b91c1c); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { padding: 100px 0; background: var(--c-surface-2); }
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--ff-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  display: inline-block;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: 15px; }

/* =========================================================
   FORMATS
   ========================================================= */
.formats { padding: 100px 0; background: #fff; }
.format-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
}
.format-pill {
  font-family: var(--ff-mono);
  font-size: 13.5px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text-2);
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
  cursor: default;
}
.format-pill:hover { transform: translateY(-2px); border-color: var(--c-primary); color: var(--c-primary-700); }

/* =========================================================
   CTA / INSTALL
   ========================================================= */
.cta { padding: 100px 0; background: var(--c-dark); color: #e8faf1; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(0,189,125,.25), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.cta::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(139,92,246,.15), transparent 70%);
  bottom: -200px; left: -100px;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.cta p { color: rgba(232,250,241,.75); font-size: 17px; margin-bottom: 20px; max-width: 520px; }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li {
  position: relative; padding-left: 28px;
  font-size: 15.5px; color: #e8faf1;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(0,189,125,.18);
}
.check-list li::after {
  content: "";
  position: absolute; left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }

/* terminal card */
.cta-card { display: flex; justify-content: center; }
.terminal {
  width: 100%;
  max-width: 520px;
  background: #0b1220;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateX(4deg) rotateY(-8deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.terminal:hover { transform: perspective(1000px) rotateX(2deg) rotateY(-4deg); }
.terminal-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.td { width: 10px; height: 10px; border-radius: 50%; background: #374151; display: inline-block; }
.td:nth-child(1) { background: #ef4444; }
.td:nth-child(2) { background: #f59e0b; }
.td:nth-child(3) { background: var(--c-primary); }
.terminal-title { margin-left: 8px; font-family: var(--ff-mono); font-size: 12px; color: rgba(232,250,241,.55); }
.terminal pre { padding: 22px 22px 24px; overflow-x: auto; }
.terminal pre code { color: #e8faf1; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 100px 0; background: #fff; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--c-primary); box-shadow: var(--shadow); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--ff-mono);
  font-size: 20px;
  color: var(--c-primary);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 12px 0 4px; color: var(--c-muted); font-size: 15px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--c-surface-2); border-top: 1px solid var(--c-border); padding-top: 60px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 40px;
}
.footer-brand p { margin-top: 14px; color: var(--c-muted); font-size: 14.5px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-family: var(--ff-body); font-size: 13px; font-weight: 600; color: var(--c-text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--c-muted); font-size: 14.5px; padding: 6px 0; }
.footer-cols a:hover { color: var(--c-primary-700); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: 20px 0;
  background: #fff;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--c-muted); font-size: 13.5px;
}
.footer-bottom .mono { font-family: var(--ff-mono); font-size: 12.5px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; margin-top: 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .features, .how, .formats, .cta, .faq { padding: 72px 0; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   i18n — Chinese typography adjustments
   ========================================================= */
html[data-lang="zh"] body {
  line-height: 1.78;
  letter-spacing: .01em;
  font-feature-settings: "palt";
}
html[data-lang="zh"] h1,
html[data-lang="zh"] h2,
html[data-lang="zh"] h3,
html[data-lang="zh"] h4 {
  letter-spacing: .02em;
  line-height: 1.25;
  font-family: 'Noto Sans SC', 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
}
html[data-lang="zh"] .display {
  font-family: 'Noto Sans SC', 'Poppins', system-ui, sans-serif;
  letter-spacing: .02em;
  line-height: 1.18;
}
html[data-lang="zh"] p,
html[data-lang="zh"] li {
  line-height: 1.8;
}
html[data-lang="zh"] .kicker,
html[data-lang="zh"] .eyebrow {
  letter-spacing: .1em;
  text-transform: none;
  font-family: 'Noto Sans SC', 'Poppins', sans-serif;
}
html[data-lang="zh"] .btn,
html[data-lang="zh"] .nav-links a {
  letter-spacing: .02em;
}
html[data-lang="zh"] .terminal-title,
html[data-lang="zh"] .panel-title {
  font-family: 'Noto Sans SC', 'JetBrains Mono', monospace;
}