/* ══════════════════════════════════════════════════════
   LEETSYNC — LANDING PAGE DESIGN SYSTEM
   Matches the extension theme: same tokens, same vibe.
   ══════════════════════════════════════════════════════ */

/* ── LeetSync Landing — Interactions ────────── */

:root {
  /* ─ Design Tokens ─ */
  --bg:           #0f0f12;
  --bg-2:         #16161c;
  --surface:      #17171d;
  --surface-2:    #1d1d24;
  --line:         #2e2e38;
  --line-hover:   #3e3e4f;
  --text:         #f5f5f7;
  --text-2:       #d4d4da;
  --muted:        #a7a8af;
  --accent:       #facc15;
  --accent-2:     #eab308;

  /* ─ Spacing System ─ */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 12px;
  --sp-lg: 16px;
  --sp-xl: 24px;
  --sp-2xl: 32px;
  --sp-3xl: 48px;
  --sp-4xl: 64px;
  --sp-5xl: 80px;
  --sp-6xl: 120px;

  /* ─ Typography ─ */
  --font-sans: "Inter", "Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Menlo, monospace;
  
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-title: clamp(40px, 8vw, 72px);

  /* ─ Utils ─ */
  --r-xs: 6px;  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 250ms;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.2);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.4);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--font-sans); background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
code {
  font-family: var(--font-mono); background: rgba(250,204,21,0.08);
  color: var(--accent); padding: 2px 7px; border-radius: var(--r-xs);
  font-size: 0.85em; border: 1px solid rgba(250,204,21,0.12);
}
.link { color: var(--accent); border-bottom: 1px solid rgba(250,204,21,0.3); }
.link:hover { border-color: var(--accent); }

/* ── UTILITIES ── */
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.gold {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 50%, #facc15 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }

/* ── AMBIENT ── */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.glow-1 { background: radial-gradient(ellipse 55% 35% at 15% -8%, rgba(250,204,21,0.09), transparent 60%); }
.glow-2 { background: radial-gradient(ellipse 40% 25% at 85% 5%, rgba(250,204,21,0.05), transparent 50%); }
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ══════ NAV ══════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,8,12,0.6); backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s var(--ease);
}
.nav.scrolled { background: rgba(8,8,12,0.9); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: var(--sp-2xl); }
.nav-brand { display: flex; align-items: center; gap: var(--sp-sm); margin-right: auto; }
.nav-logo { border-radius: var(--r-xs); transition: transform 0.3s var(--ease); }
.nav-brand:hover .nav-logo { transform: rotate(-5deg) scale(1.05); }
.nav-name { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: var(--sp-xl); }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color var(--dur) var(--ease); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent); transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; }
.burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); }

/* ══════ BUTTONS ══════ */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-md);
  border: none; border-radius: var(--r-md); font-family: var(--font-sans); font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: all var(--dur) var(--ease), transform 100ms var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0c0c0e;
  box-shadow: 0 0 0 1px rgba(250,204,21,0.2), 0 8px 16px -4px rgba(250,204,21,0.25);
}
.btn-primary:hover { filter: contrast(1.1) brightness(1.1); box-shadow: 0 0 0 1px rgba(250,204,21,0.4), 0 12px 24px -4px rgba(250,204,21,0.3); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #0c0c0e; }
.btn-accent:hover { filter: brightness(1.08); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--muted); background: rgba(255,255,255,0.04); transform: translateY(-1px); }
.btn-xl { padding: 18px 36px; font-size: 15px; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: var(--r-sm); }

/* ══════ HERO ══════ */
.hero { position: relative; z-index: 1; padding: 180px 0 120px; text-align: center; }
.hero-wrap { max-width: 800px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: rgba(250,204,21,0.06);
  border: 1px solid rgba(250,204,21,0.12); border-radius: 50px; padding: 6px 18px;
  margin-bottom: var(--sp-xl);
}
.hero-h1 { font-size: var(--fs-title); font-weight: 950; line-height: 1; letter-spacing: -0.04em; margin-bottom: var(--sp-xl); }
.hero-p { font-size: var(--fs-lg); color: var(--muted); line-height: 1.6; max-width: 600px; margin: 0 auto var(--sp-3xl); }
.hero-p strong { color: var(--text); font-weight: 700; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-lg); margin-bottom: var(--sp-3xl); }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-md); }
.pill {
  display: inline-flex; align-items: center; gap: var(--sp-sm);
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 50px; padding: 6px 16px; transition: all var(--dur) var(--ease);
}
.pill:hover { border-color: var(--muted); background: var(--surface-2); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; }
.pill-dot.green { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.4); }
.pill-dot.gold { background: var(--accent); box-shadow: 0 0 8px rgba(250, 204, 21, 0.4); }

/* ══════ SECTIONS ══════ */
.sec { position: relative; z-index: 1; padding: var(--sp-6xl) 0; }
.sec-dark { background: var(--bg-2); }
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; color: var(--accent); text-align: center; margin-bottom: var(--sp-md); text-transform: uppercase; }
.sec-h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 900; text-align: center; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--sp-4xl); }
.sec-sub { text-align: center; color: var(--muted); margin-top: calc(-1 * var(--sp-2xl)); margin-bottom: var(--sp-4xl); font-size: 15px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ══════ FEATURE CARDS ══════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-2xl); transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(250,204,21,0.25); transform: translateY(-8px); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(250,204,21,0.05); }
.card-icon { font-size: 28px; margin-bottom: var(--sp-xl); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }
.card h3 { font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--sp-sm); color: var(--text); }
.card p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

/* ══════ PREVIEW GALLERY ══════ */
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-2xl); }
.preview-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; transition: all 0.4s var(--ease);
}
.preview-item:hover { border-color: rgba(250,204,21,0.25); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.preview-label {
  padding: var(--sp-xl) var(--sp-xl) 0; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: space-between;
}
.preview-tag {
  font-size: 10px; font-weight: 700; color: var(--accent);
  background: rgba(250,204,21,0.08); border: 1px solid rgba(250,204,21,0.15);
  border-radius: 50px; padding: 3px 12px; letter-spacing: 0.05em; text-transform: uppercase;
}
.preview-img { padding: var(--sp-xl); border-radius: calc(var(--r-xl) + 8px); filter: saturate(1.1); }
.preview-caption { padding: 0 var(--sp-xl) var(--sp-xl); font-size: 13px; color: var(--muted); line-height: 1.6; }

/* GitHub preview */
.github-preview {
  max-width: 720px; margin: 0 auto 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color 0.3s var(--ease);
}
.github-preview:hover { border-color: rgba(250,204,21,0.2); }
.github-preview .preview-label { padding-top: 18px; }
.github-preview .preview-img { padding: 16px 20px; }
.github-preview .preview-caption { padding: 0 20px 18px; }

/* ══════ FLOW (HOW IT WORKS) ══════ */
.flow { display: flex; align-items: flex-start; justify-content: center; gap: var(--sp-sm); }
.flow-step { flex: 1; text-align: center; padding: var(--sp-2xl) var(--sp-lg); }
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #0c0c0e; font-weight: 900; font-size: 20px; margin-bottom: var(--sp-xl);
  box-shadow: 0 0 32px rgba(250,204,21,0.2);
}
.flow-step h3 { font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--sp-sm); color: var(--text); }
.flow-step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.flow-line { width: 80px; height: 1px; margin-top: 48px; flex-shrink: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ══════ TERMINAL / MARKDOWN PREVIEW ══════ */
.terminal {
  max-width: 800px; margin: 0 auto var(--sp-4xl);
  background: #0d0d12; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.term-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 20px;
  background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.term-bar-green { background: #0c1a0c; border-bottom-color: #1a3a1a; }
.term-bar-green .term-title { color: #52e088; }
.dot { width: 11px; height: 11px; border-radius: 50%; opacity: 0.8; }
.dot.red { background: #ff5f57; } .dot.yel { background: #ffbd2e; } .dot.grn { background: #27c93f; }
.term-title { margin-left: 10px; font-size: 12px; color: var(--muted); font-weight: 600; font-family: var(--font-mono); }
.term-body { padding: var(--sp-3xl); font-size: 13px; line-height: 1.75; }
.md-line { margin-bottom: 2px; }
.md-h1 { color: var(--accent); font-size: 18px; font-weight: 900; letter-spacing: -0.01em; }
.md-h2 { color: var(--accent); font-size: 14px; font-weight: 800; }
.md-bold { color: var(--text); font-weight: 700; }
.md-link { color: #60a5fa; font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.md-text { color: var(--text-2); font-size: 13px; line-height: 1.6; }
.md-hr { height: 1px; background: var(--line); margin: 16px 0; }
.md-code {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6;
  background: rgba(0,0,0,0.4); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px; margin: 12px 0;
  color: var(--text-2); overflow-x: auto;
}
.md-watermark { font-size: 11px; color: #444; text-align: right; margin-top: var(--sp-xl); font-style: italic; font-family: var(--font-mono); }

/* Repo tree */
.repo-preview {
  max-width: 520px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px;
}
.repo-tree { font-family: var(--mono); font-size: 12px; line-height: 1.65; color: #888; margin: 0; }
.repo-tree code { background: none; border: none; padding: 0; color: #aaa; }
.repo-tree b { color: var(--text); font-weight: 600; }


/* ══════ SCRIPTS SECTION ══════ */
.script-tabs {
  display: flex; justify-content: center; gap: 6px; margin-bottom: var(--sp-2xl);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 6px; width: fit-content; margin-left: auto; margin-right: auto;
}
.script-tab {
  padding: 10px 24px; font-size: 13px; font-weight: 700; border-radius: var(--r-sm);
  border: none; cursor: pointer; font-family: var(--font-sans);
  background: transparent; color: var(--muted); transition: all var(--dur) var(--ease);
}
.script-tab.active { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); }
.script-tab:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.02); }
.script-block {
  max-width: 720px; margin: 0 auto 24px;
  background: #050f05; border: 1px solid #1a3a1a; border-radius: var(--r-lg);
  overflow: hidden;
}
.script-code {
  font-family: var(--mono); font-size: 12px; line-height: 1.55;
  padding: 20px; color: #4ade80; margin: 0; overflow-x: auto;
}
.script-note {
  max-width: 720px; margin: 0 auto;
  padding: 16px 20px; background: rgba(250,204,21,0.04);
  border: 1px solid rgba(250,204,21,0.1); border-radius: var(--r-md);
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.script-note strong { color: var(--text-2); }

/* ══════ INSTALL STEPS ══════ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-lg); margin-bottom: var(--sp-4xl); }
.step {
  display: flex; align-items: flex-start; gap: var(--sp-lg);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--sp-2xl); transition: all 0.3s var(--ease);
}
.step:hover { border-color: rgba(250,204,21,0.25); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-n {
  flex-shrink: 0; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--accent); font-weight: 900; font-size: 14px; border-radius: var(--r-sm);
}
.step h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.step p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.dl-cta { text-align: center; }
.dl-hint { font-size: 13px; color: var(--muted); margin-top: var(--sp-xl); }

/* ══════ COPY BUTTON ══════ */
.copy-btn {
  margin-left: auto; padding: 4px 14px; font-size: 11px; font-weight: 600;
  font-family: var(--font); border-radius: var(--r-sm);
  border: 1px solid rgba(74,222,128,0.25); background: rgba(74,222,128,0.08);
  color: #4ade80; cursor: pointer; transition: all var(--dur) var(--ease);
}
.copy-btn:hover { background: rgba(74,222,128,0.15); border-color: rgba(74,222,128,0.4); }
.copy-btn.copied { background: rgba(74,222,128,0.2); color: #fff; border-color: #4ade80; }

/* ══════ ABOUT GRID ══════ */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 24px; transition: border-color 0.3s var(--ease);
}
.about-block:hover { border-color: rgba(250,204,21,0.18); }
.about-block h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.about-block p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ══════ DEVELOPER CARD ══════ */
.dev-wrap { max-width: 720px; }
.dev-card {
  display: flex; align-items: center; gap: var(--sp-3xl);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--sp-4xl); transition: all 0.4s var(--ease);
}
.dev-card:hover { border-color: rgba(250,204,21,0.3); box-shadow: var(--shadow-lg); }
.dev-avatar {
  flex-shrink: 0; width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(250,204,21,0.15), rgba(250,204,21,0.05));
  border: 1px solid rgba(250,204,21,0.25);
  border-radius: 50%; font-size: 32px; font-weight: 950; color: var(--accent);
  box-shadow: 0 0 40px rgba(250,204,21,0.1);
}
.dev-info h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.01em; }
.dev-info p { font-size: 15px; color: var(--muted); line-height: 1.65; margin-bottom: var(--sp-2xl); }
.dev-links { display: flex; flex-wrap: wrap; gap: var(--sp-md); }

/* ══════ FOOTER ══════ */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: var(--sp-4xl) 0; background: var(--bg-2); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-xl); }
.foot-left { display: flex; align-items: center; gap: var(--sp-sm); }
.foot-logo { border-radius: var(--r-xs); }
.foot-links { display: flex; gap: var(--sp-xl); }
.foot-links a { font-size: 13px; font-weight: 500; color: var(--muted); transition: color var(--dur) var(--ease); }
.foot-links a:hover { color: var(--accent); }
.foot-copy { font-size: 12px; color: #555; }

/* ══════ SCROLL ANIMATIONS ══════ */
[data-anim] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-anim].vis { opacity: 1; transform: translateY(0); }
.grid-3 [data-anim]:nth-child(2) { transition-delay: 80ms; }
.grid-3 [data-anim]:nth-child(3) { transition-delay: 160ms; }
.grid-3 [data-anim]:nth-child(4) { transition-delay: 80ms; }
.grid-3 [data-anim]:nth-child(5) { transition-delay: 160ms; }
.grid-3 [data-anim]:nth-child(6) { transition-delay: 240ms; }
.steps-grid [data-anim]:nth-child(2) { transition-delay: 60ms; }
.steps-grid [data-anim]:nth-child(3) { transition-delay: 120ms; }
.steps-grid [data-anim]:nth-child(4) { transition-delay: 60ms; }
.steps-grid [data-anim]:nth-child(5) { transition-delay: 120ms; }
.steps-grid [data-anim]:nth-child(6) { transition-delay: 180ms; }
.about-grid [data-anim]:nth-child(2) { transition-delay: 80ms; }
.about-grid [data-anim]:nth-child(3) { transition-delay: 80ms; }
.about-grid [data-anim]:nth-child(4) { transition-delay: 160ms; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1024px) {
  .hero { padding: 140px 0 80px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(8,8,12,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: var(--sp-lg) 0;
  }
  .nav-links.open a { padding: var(--sp-lg) var(--sp-2xl); border-bottom: 1px solid rgba(255,255,255,0.03); }
  .burger { display: flex; }
  .grid-3, .steps-grid, .about-grid { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: center; }
  .flow-line { width: 1px; height: 48px; margin-top: 0; background: linear-gradient(180deg, transparent, var(--line), transparent); }
  .hero { padding: 120px 0 60px; }
  .dev-card { flex-direction: column; text-align: center; gap: var(--sp-xl); }
  .dev-links { justify-content: center; }
  .script-tabs { flex-direction: column; width: 100%; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-xl { justify-content: center; }
  .hero-pills { flex-direction: column; align-items: center; }
  .preview-grid { grid-template-columns: 1fr; }
  .foot-inner { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; flex-wrap: wrap; }
}

/* ══════ TRUST NOTE ══════ */
.trust-note { max-width: 800px; margin: 40px auto 0; padding: 0 24px; }
.trust-card {
  display: flex; align-items: flex-start; gap: 20px;
  background: rgba(255,255,255,0.02); border: 1px dashed var(--line);
  border-radius: var(--r-lg); padding: 24px; text-align: left;
}
.trust-icon { font-size: 24px; flex-shrink: 0; filter: grayscale(1); opacity: 0.6; }
.trust-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text-2); }
.trust-content p { font-size: 13px; color: var(--muted); line-height: 1.6; }
