/* =========================================================
   X-Playbook landing — self-contained styles
   ========================================================= */

:root {
  --bg: #07080a;
  --bg-soft: #0a0c10;
  --panel: #0f1115;
  --panel-2: #13161c;
  --panel-3: #171b22;
  --border: #232830;
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f4f6f8;
  --muted: #9aa4b2;
  --muted-2: #7b8694;
  --accent: #1d9bf0;
  --accent-2: #8b5cf6;
  --accent-3: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

::selection { background: rgba(29, 155, 240, 0.35); color: #fff; }

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #7cc7ff; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: 0.92em; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--border-soft); padding: 0.12em 0.38em; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { transform: none; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: clamp(76px, 10vw, 128px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9bd7ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14); }

h1 {
  font-size: clamp(2.55rem, 5.6vw, 4.7rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
  font-weight: 800;
  margin-top: 22px;
}
h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 800;
}
h3 { font-size: 1.08rem; line-height: 1.25; letter-spacing: -0.015em; font-weight: 700; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.45vw, 1.16rem); line-height: 1.7; }
.lead a, .prose a, .faq-item div a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gradient-text {
  background: linear-gradient(100deg, #7cc7ff 0%, #1d9bf0 35%, #a78bfa 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #1d9bf0, #0c7ac4);
  box-shadow: 0 10px 28px rgba(29, 155, 240, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #37a9f5, #1287d1); box-shadow: 0 14px 34px rgba(29, 155, 240, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--border); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: #3a424d; }
.btn-large { min-height: 52px; padding: 0.95rem 1.35rem; font-size: 1rem; }
.btn-small { min-height: 40px; padding: 0.68rem 0.95rem; font-size: 0.84rem; }
.btn-block { width: 100%; }
.center-actions { justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 10, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--border-soft); background: rgba(7, 8, 10, 0.88); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25); }
.header-inner { min-height: 72px; display: flex; align-items: center; gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #0d1015; border: 1px solid var(--border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); overflow: hidden; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-text { font-size: 1.02rem; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 0.86rem; font-weight: 650; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.03); font-size: 0.72rem; font-weight: 750; line-height: 1; }
.lang-switch a { padding: 4px 5px; border-radius: 999px; color: var(--muted-2); }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active { color: #fff; background: rgba(29, 155, 240, 0.18); }
.lang-switch span { color: #5f6a78; font-size: 0.65rem; }
@media (max-width: 420px) {
  .lang-switch { gap: 2px; padding: 4px; }
  .lang-switch a { padding: 4px; }
}
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); cursor: pointer; place-items: center; }
.nav-toggle .close-icon { display: none; }
.nav-toggle[aria-expanded="true"] .menu-icon { display: none; }
.nav-toggle[aria-expanded="true"] .close-icon { display: block; }

/* Hero */
.hero { position: relative; padding: clamp(70px, 10vw, 116px) 0 0; overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(700px 480px at 78% 20%, rgba(29, 155, 240, 0.16), transparent 70%),
  radial-gradient(620px 420px at 18% 8%, rgba(139, 92, 246, 0.14), transparent 70%),
  radial-gradient(500px 300px at 55% 100%, rgba(34, 197, 94, 0.06), transparent 70%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(36px, 5vw, 70px); align-items: center; padding-bottom: 46px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 600px; margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.microcopy { color: var(--muted-2); font-size: 0.8rem; margin-top: 14px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.trust-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0.45rem 0.68rem;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  color: #b7c0cb;
  font-size: 0.72rem;
  font-weight: 650;
}
.trust-chips .icon { color: #7cc7ff; }

/* Hero mockup */
.hero-visual { position: relative; min-height: 520px; perspective: 1600px; }
.mock-glow { position: absolute; inset: 8% 2% 4% 8%; background: radial-gradient(closest-side, rgba(29, 155, 240, 0.22), transparent 72%); filter: blur(18px); }
.browser {
  position: relative;
  z-index: 1;
  border: 1px solid #2a3039;
  border-radius: 18px;
  background: #090b0f;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: center;
}
.browser-bar { height: 42px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid #1b2028; background: #0c0f14; }
.browser-dots { display: inline-flex; gap: 5px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #2a3039; }
.browser-dots i:first-child { background: #3b414b; }
.browser-url { flex: 1; display: flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 7px; background: #0a0c10; color: #8d98a5; font-size: 0.65rem; font-family: var(--mono); }
.browser-url .icon { width: 10px; height: 10px; }
.browser-tag { color: #4e5a67; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.app-ui { display: grid; grid-template-columns: 62px minmax(0, 1fr); min-height: 410px; background: #0a0c10; }
.app-sidebar { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 8px; border-right: 1px solid #1a1f27; background: #0b0e12; }
.app-logo { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(135deg, #1d9bf0, #6d3df0); color: #fff; font-weight: 900; font-size: 0.8rem; margin-bottom: 8px; }
.app-nav { width: 44px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 9px; color: #7b8694; font-size: 0.52rem; font-weight: 650; }
.app-nav .icon { width: 15px; height: 15px; }
.app-nav.active { color: #b9e4ff; background: rgba(29, 155, 240, 0.13); }
.app-main { padding: 18px 18px 16px; min-width: 0; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-kicker { color: #8d98a5; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.app-head h3 { margin-top: 4px; color: #eef4f9; font-size: 1.05rem; letter-spacing: -0.02em; }
.app-pill { padding: 5px 8px; border-radius: 999px; background: rgba(34, 197, 94, 0.12); color: #7ee2a1; font-size: 0.58rem; font-weight: 750; white-space: nowrap; }
.mini-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mini-card { padding: 12px; border: 1px solid #20262f; border-radius: 12px; background: #0d1015; }
.mini-card--muted { opacity: 0.72; }
.mini-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini-cat { color: #7cc7ff; font-size: 0.56rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.mini-priority { padding: 3px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #98a3b1; font-size: 0.52rem; font-weight: 750; }
.mini-priority.high { background: rgba(245, 158, 11, 0.13); color: #fbbf24; }
.mini-priority.low { background: rgba(34, 197, 94, 0.1); color: #7ee2a1; }
.mini-card h4 { margin-top: 8px; color: #dce5ee; font-size: 0.76rem; line-height: 1.25; }
.mini-card p { margin-top: 4px; color: #8d98a5; font-size: 0.58rem; }
.mini-progress { height: 4px; margin-top: 10px; border-radius: 999px; background: #1a2028; overflow: hidden; }
.mini-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1d9bf0, #7c3aed); }
.mini-foot { display: flex; justify-content: space-between; margin-top: 6px; color: #8d98a5; font-size: 0.56rem; }
.app-toolbar { display: flex; gap: 8px; margin-top: 14px; }
.app-search, .app-filter { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 9px; border: 1px solid #1e242d; border-radius: 8px; color: #7b8694; font-size: 0.56rem; }
.app-search { flex: 1; }
.app-search .icon, .app-filter .icon { width: 11px; height: 11px; }

.float-card { position: absolute; z-index: 3; border: 1px solid #2b333e; border-radius: 14px; background: rgba(15, 18, 23, 0.96); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px); }
.float-checklist { right: -8px; bottom: 54px; width: 218px; padding: 13px; animation: float 7s ease-in-out infinite; }
.float-head { display: flex; justify-content: space-between; color: #dce5ee; font-size: 0.68rem; font-weight: 750; }
.float-head span:last-child { color: #7cc7ff; }
.float-item { display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #9aa4b2; font-size: 0.64rem; }
.fake-check { width: 15px; height: 15px; flex: none; display: grid; place-items: center; border: 1px solid #39414c; border-radius: 4px; background: #0b0e12; }
.fake-check.checked { border-color: #1d9bf0; background: #1d9bf0; color: #fff; }
.fake-check .icon { width: 10px; height: 10px; }
.float-progress { height: 4px; margin-top: 12px; border-radius: 999px; background: #1a2028; overflow: hidden; }
.float-progress span { display: block; height: 100%; background: linear-gradient(90deg, #1d9bf0, #22c55e); }
.float-rescue { left: -8px; bottom: -12px; display: flex; align-items: flex-start; gap: 10px; width: 250px; padding: 12px; animation: float 8s ease-in-out infinite reverse; }
.rescue-icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(245, 158, 11, 0.14); color: #fbbf24; }
.rescue-icon .icon { width: 15px; height: 15px; }
.float-rescue strong { display: block; color: #dce5ee; font-size: 0.66rem; }
.float-rescue p { margin-top: 2px; color: #9aa4b2; font-size: 0.58rem; line-height: 1.35; }
.float-badge { position: absolute; z-index: 4; top: 18px; right: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, 0.28); background: rgba(10, 40, 22, 0.94); color: #7ee2a1; font-size: 0.64rem; font-weight: 750; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.float-badge .icon { width: 12px; height: 12px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.trust-strip { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.trust-strip > div { padding: 20px 18px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--border-soft); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.trust-strip span { color: var(--muted-2); font-size: 0.72rem; }

/* Problem / before-after */
.problem { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent); }
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; }
.before-card, .after-card { border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); background: var(--panel); }
.before-card { background: linear-gradient(180deg, #0d1015, #0a0c10); }
.after-card { border-color: rgba(29, 155, 240, 0.35); background: linear-gradient(180deg, rgba(29, 155, 240, 0.08), #0d1015 55%); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-muted { color: #8893a0; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-soft); }
.badge-accent { color: #9bd7ff; background: rgba(29, 155, 240, 0.12); border: 1px solid rgba(29, 155, 240, 0.25); }
.counter { color: #6f7a88; font-size: 0.72rem; font-weight: 650; }
.counter-good { color: #7ee2a1; }
.before-card h3, .after-card h3 { margin-top: 20px; font-size: 1.25rem; }
.saved-list { margin-top: 18px; display: grid; gap: 8px; }
.saved-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 10px; background: rgba(255, 255, 255, 0.02); color: #8d98a5; font-size: 0.78rem; }
.saved-list em { color: #5f6a78; font-style: normal; font-size: 0.64rem; white-space: nowrap; }
.saved-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #161a20; color: #626d7a; font-size: 0.65rem; font-weight: 900; }
.card-note { margin-top: 16px; color: #5f6a78; font-size: 0.76rem; }
.transform-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--panel-2); color: var(--accent); }
.transform-arrow .icon { width: 18px; height: 18px; }
.after-title { margin-top: 18px; color: #eef4f9; font-weight: 750; font-size: 1.02rem; }
.after-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #6f7a88; font-size: 0.72rem; }
.checklist { display: grid; gap: 4px; margin-top: 18px; }
.check-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #b9c3ce; font-size: 0.84rem; }
.check-row:last-child { border-bottom: 0; }
.after-actions { display: flex; gap: 16px; margin-top: 16px; color: #7cc7ff; font-size: 0.74rem; font-weight: 650; }
.after-actions span { display: inline-flex; align-items: center; gap: 6px; }
.transform-line { max-width: 780px; margin: 34px auto 0; text-align: center; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.transform-line strong { color: var(--text); }

/* Benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.benefit-card { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease; }
.benefit-card:hover { transform: translateY(-3px); border-color: #35404c; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); }
.benefit-card--wide { grid-column: span 2; }
.benefit-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(29, 155, 240, 0.1); border: 1px solid rgba(29, 155, 240, 0.18); color: #7cc7ff; }
.benefit-icon .icon { width: 19px; height: 19px; }
.benefit-card h3 { margin-top: 18px; }
.benefit-card p { margin-top: 8px; color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.mini-tag { display: inline-block; margin-top: 16px; padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-soft); color: #8d98a5; font-family: var(--mono); font-size: 0.64rem; }
.pro-tag { display: inline-flex; align-items: center; justify-content: center; margin-left: 7px; padding: 2px 6px; border-radius: 999px; background: linear-gradient(135deg, #0b6cb0, #5b21b6); color: #fff; font-size: 0.55rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; vertical-align: middle; }

/* Tabs / features */
.features { background: radial-gradient(900px 500px at 10% 30%, rgba(29, 155, 240, 0.06), transparent 70%); }
.tabs { margin-top: 12px; }
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255, 255, 255, 0.02); width: fit-content; max-width: 100%; }
.tab { border: 0; background: transparent; color: var(--muted); padding: 0.58rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: background 0.18s ease, color 0.18s ease; }
.tab:hover { color: var(--text); }
.tab.is-active { color: #fff; background: linear-gradient(135deg, #1d9bf0, #0c7ac4); box-shadow: 0 6px 18px rgba(29, 155, 240, 0.22); }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: clamp(24px, 4vw, 56px); margin-top: 28px; }
.tab-panel[hidden] { display: none; }
.feature-list { display: grid; gap: 0; }
.feature-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.feature-item:first-child { padding-top: 0; }
.feature-item:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); color: #7cc7ff; }
.feature-icon .icon { width: 19px; height: 19px; }
.feature-item h3 { font-size: 1rem; }
.feature-item p { margin-top: 4px; color: var(--muted); font-size: 0.86rem; line-height: 1.6; }
.tab-aside { align-self: start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #101319, #0b0e12); }
.aside-kicker { color: #7cc7ff; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-list { margin-top: 16px; display: grid; gap: 12px; }
.aside-list li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.aside-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-list strong { font-size: 0.82rem; }
.aside-list span { color: var(--muted-2); font-size: 0.74rem; }
.analysis-card { margin-top: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #0b0e12; }
.analysis-card h4 { margin-top: 8px; font-size: 0.92rem; line-height: 1.3; }
.analysis-thesis { margin-top: 10px; color: #b9c3ce; font-size: 0.8rem; font-style: italic; }
.analysis-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted-2); font-size: 0.68rem; }
.analysis-tools { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.analysis-tools span { padding: 3px 6px; border-radius: 5px; background: rgba(29, 155, 240, 0.08); color: #8fd4ff; font-size: 0.62rem; }
.view-stack { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.view-chip { padding: 7px 10px; border: 1px solid var(--border-soft); border-radius: 8px; color: var(--muted); font-size: 0.72rem; font-weight: 650; }
.view-chip.active { border-color: rgba(29, 155, 240, 0.35); background: rgba(29, 155, 240, 0.1); color: #9bd7ff; }
.aside-note { margin-top: 18px; color: var(--muted-2); font-size: 0.78rem; }
.template-card { margin-top: 16px; }
.template-line { color: #dce5ee; font-size: 0.86rem; line-height: 1.55; }
.template-vars { display: flex; gap: 6px; margin-top: 12px; }
.template-vars span { padding: 4px 6px; border-radius: 5px; background: rgba(139, 92, 246, 0.14); color: #c4b5fd; font-family: var(--mono); font-size: 0.66rem; }
.template-preview { margin-top: 14px; padding: 12px; border-left: 2px solid #1d9bf0; background: rgba(29, 155, 240, 0.06); color: #9aa4b2; font-size: 0.76rem; line-height: 1.5; }
.export-card { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #0a0c10; }
.export-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--border); color: #8d98a5; font-family: var(--mono); font-size: 0.68rem; }
.export-badge { padding: 2px 5px; border-radius: 4px; background: rgba(34, 197, 94, 0.12); color: #7ee2a1; font-size: 0.6rem; }
.export-card pre { margin: 0; padding: 12px; overflow-x: auto; color: #b9c3ce; font-family: var(--mono); font-size: 0.68rem; line-height: 1.55; }

/* Views */
.views { padding-top: 0; }
.views-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.view-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.02); }
.view-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 92, 246, 0.1); color: #c4b5fd; }
.view-icon .icon { width: 17px; height: 17px; }
.view-card h3 { margin-top: 14px; font-size: 0.92rem; }
.view-card p { margin-top: 4px; color: var(--muted-2); font-size: 0.76rem; line-height: 1.5; }

/* Security */
.security { background: linear-gradient(180deg, #090b0f, #07080a); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.security-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.security-copy h2 { margin-top: 14px; }
.security-copy .lead { margin-top: 18px; }
.security-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.security-points > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 9px; row-gap: 1px; }
.security-points .point-icon { grid-row: span 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(34, 197, 94, 0.1); color: #7ee2a1; }
.security-points .point-icon .icon { width: 14px; height: 14px; }
.security-points strong { font-size: 0.8rem; }
.security-points span:last-child { color: var(--muted-2); font-size: 0.72rem; line-height: 1.4; }
.flow { position: relative; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #0b0e12; box-shadow: var(--shadow); }
.flow-browser { padding: 18px; border: 1px solid rgba(29, 155, 240, 0.24); border-radius: 14px; background: rgba(29, 155, 240, 0.06); }
.flow-head { display: flex; align-items: center; gap: 8px; color: #dce5ee; font-size: 0.82rem; font-weight: 750; }
.flow-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12); }
.flow-items { display: grid; gap: 7px; margin-top: 14px; }
.flow-items span { display: flex; align-items: center; gap: 7px; color: #9aa4b2; font-size: 0.74rem; }
.flow-items .icon { width: 13px; height: 13px; color: #7cc7ff; }
.flow-lines { display: flex; justify-content: space-around; height: 26px; }
.flow-lines span { width: 1px; background: linear-gradient(to bottom, rgba(29, 155, 240, 0.5), transparent); }
.flow-external { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--border); border-radius: 10px; background: #0a0c10; text-align: center; }
.flow-node-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, 0.05); color: #c4b5fd; font-weight: 900; font-size: 0.76rem; }
.flow-node-icon .icon { width: 15px; height: 15px; }
.flow-node strong { font-size: 0.72rem; }
.flow-node span:last-child { color: var(--muted-2); font-size: 0.62rem; }
.flow-no-server { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 9px; border: 1px dashed #3a2a2f; border-radius: 9px; color: #d19aa0; font-size: 0.72rem; font-weight: 650; }
.flow-cross { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(239, 68, 68, 0.12); color: #f87171; font-weight: 900; }
.spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 46px; }
.spec { padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.spec > span { color: #7b8694; font-family: var(--mono); font-size: 0.62rem; }
.spec strong { display: block; margin-top: 6px; font-size: 0.82rem; }
.spec p { margin-top: 4px; color: var(--muted-2); font-size: 0.7rem; line-height: 1.45; }

/* Compare */
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto 32px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(180deg, #0f1217, #0b0e12); }
.plan-card--pro { border-color: rgba(29, 155, 240, 0.4); background: linear-gradient(180deg, rgba(29, 155, 240, 0.09), #0b0e12 45%); box-shadow: 0 24px 70px rgba(29, 155, 240, 0.1); }
.plan-badge { position: absolute; top: -11px; right: 22px; padding: 5px 9px; border-radius: 999px; background: linear-gradient(135deg, #1d9bf0, #6d3df0); color: #fff; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.plan-name { color: #9bd7ff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.plan-card h3 { margin-top: 10px; font-size: 1.2rem; }
.plan-price { margin-top: 18px; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.plan-price span { display: block; margin-top: 2px; color: var(--muted-2); font-size: 0.72rem; font-weight: 500; letter-spacing: 0; }
.plan-list { display: grid; flex: 1; gap: 10px; margin: 22px 0; }
.plan-list li { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.plan-list .icon { width: 14px; height: 14px; margin-top: 2px; color: #7ee2a1; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.82rem; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.compare-table thead th { background: #0b0e12; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.compare-table tbody th { font-weight: 600; color: #dce5ee; }
.compare-table td { color: var(--muted); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .pro-col { background: rgba(29, 155, 240, 0.07); color: #cfeaff; font-weight: 600; }
.compare-table thead .pro-col { color: #9bd7ff; }
.compare-table .yes { color: #7ee2a1; }
.compare-table .yes .icon { width: 15px; height: 15px; }
.compare-table .no { color: #5f6a78; }
.compare-note { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--muted-2); font-size: 0.76rem; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.audience-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); }
.audience-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 92, 246, 0.11); color: #c4b5fd; }
.audience-icon .icon { width: 18px; height: 18px; }
.audience-card h3 { margin-top: 16px; }
.audience-card p { margin-top: 6px; color: var(--muted); font-size: 0.88rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 70px); align-items: start; }
.faq-intro { position: sticky; top: 100px; }
.faq-intro .lead { margin-top: 18px; }
.faq-list { display: grid; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; color: #dce5ee; font-size: 0.94rem; font-weight: 650; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 16px; height: 16px; color: var(--muted-2); transition: transform 0.2s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--accent); }
.faq-item div { padding: 0 0 20px; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.faq-item div p + p { margin-top: 10px; }

/* Final CTA */
.final-cta { padding-top: 20px; }
.cta-panel { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 68px); border: 1px solid rgba(29, 155, 240, 0.28); border-radius: var(--radius-lg); background:
  radial-gradient(600px 300px at 50% 0%, rgba(29, 155, 240, 0.18), transparent 70%),
  linear-gradient(180deg, #0e1218, #090b0f);
  text-align: center;
}
.cta-panel h2 { max-width: 760px; margin: 14px auto 0; }
.cta-panel .lead { max-width: 680px; margin: 18px auto 0; }
.cta-panel .microcopy { margin-top: 14px; }

/* Footer */
.site-footer { margin-top: 30px; border-top: 1px solid var(--border-soft); background: #06070a; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; padding: 54px 0 38px; }
.footer-brand p { max-width: 320px; margin-top: 14px; color: var(--muted-2); font-size: 0.8rem; }
.footer-small { margin-top: 8px !important; color: #8d98a5 !important; font-family: var(--mono); font-size: 0.66rem !important; }
.footer-col h3 { color: #cfd7e0; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col a { display: block; margin-top: 10px; color: var(--muted-2); font-size: 0.8rem; }
.footer-col a:hover { color: var(--text); }
.footer-legal { margin-top: 10px; color: #8d98a5; font-size: 0.72rem; line-height: 1.55; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0 26px; border-top: 1px solid var(--border-soft); color: #8d98a5; font-size: 0.68rem; }

/* Toast */
.store-toast { position: fixed; z-index: 150; right: 18px; bottom: 18px; display: flex; align-items: flex-start; gap: 11px; width: min(420px, calc(100% - 36px)); padding: 14px; border: 1px solid #2b333e; border-radius: 14px; background: rgba(15, 18, 23, 0.97); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); backdrop-filter: blur(12px); }
.store-toast[hidden] { display: none; }
.toast-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(29, 155, 240, 0.12); color: #7cc7ff; }
.toast-icon .icon { width: 16px; height: 16px; }
.store-toast strong { display: block; color: #dce5ee; font-size: 0.78rem; }
.store-toast p { margin-top: 3px; color: var(--muted); font-size: 0.72rem; line-height: 1.45; }
.toast-close { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; }
.toast-close .icon { width: 12px; height: 12px; }

/* Prose pages */
.page-main { padding: clamp(64px, 8vw, 100px) 0; }
.page-hero { max-width: 820px; margin: 0 auto; padding: 0 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
.page-hero p { margin-top: 16px; color: var(--muted); }
.page-hero .updated { margin-top: 8px; color: var(--muted-2); font-size: 0.8rem; }
.prose { max-width: 820px; margin: 0 auto; color: #c3ccd6; font-size: 0.96rem; line-height: 1.75; }
.prose h2 { margin: 40px 0 12px; color: var(--text); font-size: 1.35rem; letter-spacing: -0.02em; }
.prose h3 { margin: 28px 0 8px; color: #e6edf4; font-size: 1.05rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 5px 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.prose .notice { padding: 16px 18px; border-left: 2px solid var(--accent); background: rgba(29, 155, 240, 0.06); border-radius: 0 10px 10px 0; color: #b9c3ce; }
.prose .updated { color: var(--muted-2); font-size: 0.8rem; }
.back-link { display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--muted); font-size: 0.82rem; }
.back-link:hover { color: var(--text); }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 500px; max-width: 720px; width: 100%; margin-inline: auto; }
  .browser { transform: none; }
  .float-rescue { left: 0; }
  .float-checklist { right: 0; }
  .security-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .views-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card--wide { grid-column: span 2; }
  .faq-intro { position: static; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 8, 10, 0.98);
    backdrop-filter: blur(18px);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: grid; }
  .header-login { display: none; }
  .header-actions { margin-left: auto; }
  .tab-list { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 14px; }
  .tab { white-space: nowrap; }
  .tab-panel { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); margin-inline: auto; }
  .plan-cards { grid-template-columns: 1fr; max-width: 560px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: span 3; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 700px) {
  .header-actions .btn-primary { display: none; }
  .header-inner { gap: 12px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .hero { padding-top: 54px; }
  .hero-actions .btn { width: 100%; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip > div:nth-child(2) { border-right: 0; }
  .trust-strip > div:nth-child(1), .trust-strip > div:nth-child(2) { border-bottom: 1px solid var(--border-soft); }
  .benefit-grid, .audience-grid, .views-grid, .spec-grid { grid-template-columns: 1fr; }
  .benefit-card--wide { grid-column: span 1; }
  .hero-visual { min-height: 420px; }
  .float-card, .float-badge { display: none; }
  .mini-cards { grid-template-columns: 1fr; }
  .mini-card--muted { display: none; }
  .app-toolbar { display: none; }
  .security-points { grid-template-columns: 1fr; }
  .flow-external { gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-col:last-child { grid-column: span 2; }
  .store-toast { right: 14px; bottom: 14px; width: calc(100% - 28px); }
}

@media (max-width: 420px) {
  .browser-tag { display: none; }
  .app-ui { grid-template-columns: 50px minmax(0, 1fr); }
  .app-sidebar { padding-inline: 4px; }
  .app-nav span:last-child { display: none; }
  .app-main { padding: 14px; }
  .app-head h3 { font-size: 0.92rem; }
  .mini-cards { gap: 8px; }
  .mini-card { padding: 10px; }
  .float-rescue { display: none; }
  .cta-panel { padding: 30px 20px; }
  .plan-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-col:last-child { grid-column: span 1; }
}

@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; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* No-JS fallback */
.no-js .nav-toggle { display: none; }
.no-js .main-nav { display: flex; }
.no-js .tab-panel[hidden] { display: grid; }
@media (max-width: 860px) {
  .no-js .main-nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; background: transparent; }
  .no-js .main-nav a { border: 0; padding: 6px 0; }
}
