/* =========================================================
   StartSmart AI — Public Site
   main-stripe.css  (alternative theme, same selectors as main.css)

   Design language: light-weight display type, small radii,
   soft layered shadows, flat buttons. Brand palette unchanged.
   Swap by pointing the <link> at this file instead of main.css.
   ========================================================= */

/* Geist = closest free match to Stripe's Sohne. Move this to a <link>
   in header.php if you prefer (faster than @import). */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&family=Geist+Mono:wght@400;500&display=swap');

/* ---------- TOKENS ---------- */
:root {
  /* Brand */
  --brand: #5847FF;
  --brand-hover: #4838E8;
  --brand-active: #3A2DC9;
  --brand-tint: #EEEBFF;
  --brand-tint-2: #F4F3FC;
  --brand-light-bg: #EEEBFF;

  --navy: #0F1133;
  --navy-soft: #14173D;
  --navy-700: #1E1F52;

  --ink: #0F1133;
  --ink-2: #1A1A2E;
  --muted: #6E7191;
  --muted-2: #8B8BA7;
  --line: #E8E7F5;
  --line-soft: #EFEEF8;

  --page-bg: #F4F4FB;     /* very light lavender */
  --section-alt: #EFEEF8;
  --card: #FFFFFF;

  --success: #22C55E;
  --success-soft: #DCFCE7;
  --success-ink: #15803D;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Shadows */
  --shadow-card: 0 1px 2px rgba(15, 17, 51, 0.04), 0 8px 22px -10px rgba(45, 36, 160, 0.14);
  --shadow-card-hover: 0 30px 45px -30px rgba(45, 36, 160, 0.26), 0 18px 36px -18px rgba(15, 17, 51, 0.14);
  --shadow-btn: none;
  --shadow-pop: 0 50px 100px -20px rgba(45, 36, 160, 0.25), 0 30px 60px -30px rgba(15, 17, 51, 0.30);

  /* Radii */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-pill: 9999px;

  /* Type */
  --font-display: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --header-h: 64px;
}

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-hover); }
button { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- DISPLAY TYPE ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--brand); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.brand-mark .logo-tile {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--brand);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(88,71,255,0.32);
}
.brand-mark .logo-tile svg { color: #fff; }
.brand-mark .brand-suffix { color: var(--brand); margin-left: 2px; }

.main-nav {
  display: flex; align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.brand-mark, .header-cta { flex-shrink: 0; }
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); }
.main-nav a.active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--brand);
}

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Mobile-drawer language row — hidden on desktop, surfaced under 900px
   (see responsive section) since .header-cta's own lang-pill disappears there. */
.mobile-lang-row { display: none; }

/* Mobile-drawer CTA row (Sign in + Start free) — hidden on desktop, where
   .header-cta already shows the same two buttons. Surfaced under 900px. */
.mobile-cta-row { display: none; }

.lang-switcher { position: relative; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 500; font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.lang-pill .chev { transition: transform .15s ease; }
.lang-switcher.open .lang-pill .chev { transform: rotate(180deg); }

/* Flags rendered as crisp inline SVG data-URIs (3:2 ratio) rather than CSS gradients */
.flag {
  display: inline-block;
  width: 22px; height: 16px; border-radius: 2px;
  background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.flag--en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23012169'/%3E%3Cpath d='M0,0 L30,20 M30,0 L0,20' stroke='%23fff' stroke-width='4'/%3E%3Cpath d='M0,0 L30,20 M30,0 L0,20' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M15,0 V20 M0,10 H30' stroke='%23fff' stroke-width='7'/%3E%3Cpath d='M15,0 V20 M0,10 H30' stroke='%23C8102E' stroke-width='3.5'/%3E%3C/svg%3E");
}
.flag--tr {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20'%3E%3Crect width='30' height='20' fill='%23E30A17'/%3E%3Ccircle cx='12.5' cy='10' r='5.2' fill='%23fff'/%3E%3Ccircle cx='14' cy='10' r='4.2' fill='%23E30A17'/%3E%3Cpolygon points='19,10 20.4,10.7 20.1,9.1 21.3,8.1 19.7,7.9 19,6.4 18.3,7.9 16.7,8.1 17.9,9.1 17.6,10.7' fill='%23fff'/%3E%3C/svg%3E");
}

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-card-hover);
  padding: 6px;
  min-width: 160px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.lang-switcher.open .lang-dropdown { display: flex; }
.lang-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--ink);
  font-weight: 500; font-size: 14px;
}
.lang-dropdown a:hover { background: var(--brand-tint-2); color: var(--ink); }
.lang-dropdown a.active { color: var(--brand); background: var(--brand-tint); }
.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover { background: var(--brand-tint-2); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; }

.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: #0a0c26; color: #fff; }

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-light:hover { background: var(--brand-tint-2); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--brand-tint-2); }

.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 6px; }

/* Chevron stack icon for primary CTA */
.btn .chev-stack { display: inline-flex; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(88,71,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,71,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 40%, transparent 75%);
  pointer-events: none;
}
.hero > .container { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.eyebrow.alt {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}

.hero h1 {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 26px auto 26px;
  max-width: 1100px;
  color: var(--ink);
  font-family: var(--font-display);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brand); }

.hero-sub {
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.credit-pill {
  margin: 44px auto 0;
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--success-soft);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 12px 22px;
  border-radius: 8px;
}
.credit-pill .ico {
  width: 40px; height: 40px; border-radius: 6px;
  background: rgba(34,197,94,0.22);
  display: grid; place-items: center;
  color: var(--success-ink);
}
.credit-pill .t1 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--success-ink);
  font-size: 16px;
  line-height: 1.1;
}
.credit-pill .t2 {
  color: var(--success-ink);
  opacity: 0.8;
  font-size: 13px;
}

/* ---------- SECTIONS ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--section-alt); }
.section-head { text-align: center; max-width: 880px; margin: 0 auto 60px; }
.section-head h2 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 18px auto 18px;
  font-family: var(--font-display);
  text-wrap: balance;
}
.section-head h2 em { font-style: normal; color: var(--brand); }
.section-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- STATS ---------- */
.stats {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num span { color: var(--brand); }
.stat-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 12px;
}
.hiw-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.hiw-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.hiw-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--brand);
  background: var(--brand-tint);
  width: 42px; height: 42px;
  border-radius: 6px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.hiw-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 8px;
}
.hiw-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.2;
}
.hiw-desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- TOOL CATEGORY ---------- */
.tool-category { margin-top: 56px; }
.tool-category:first-of-type { margin-top: 0; }
.tool-category-head {
  display: flex; align-items: flex-start; gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.tool-category-icon {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tool-category-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.tool-category-desc { color: var(--muted); margin-top: 4px; font-size: 15px; }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tool-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.tool-icon {
  margin: 22px 0 16px;
  color: var(--brand);
}
.tool-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.tool-desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.tool-items {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
}
.tool-items span {
  background: #F4F3FC;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
}

/* ---------- FEATURES ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feat-card.wide { grid-column: span 2; display: flex; gap: 28px; align-items: stretch; }
.feat-tag {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.feat-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--brand-tint-2);
  border-radius: 6px;
  color: var(--brand);
  margin-bottom: 18px;
}
.feat-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.feat-desc { color: var(--muted); font-size: 15px; line-height: 1.65; }
.feat-list { padding: 0; margin: 14px 0 0; list-style: none; }
.feat-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: var(--ink);
  font-size: 14.5px;
}
.feat-list li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-tint);
  border: 2px solid var(--brand);
}
.feat-visual {
  flex-shrink: 0;
  width: 240px;
  background: var(--brand-tint-2);
  border-radius: 8px;
  padding: 20px;
  display: flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--line-soft);
}
.score-lbl-cap {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}
.score-row {
  display: grid;
  grid-template-columns: 80px 1fr 28px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.score-lbl { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.score-track {
  height: 8px; background: #fff;
  border-radius: 4px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.score-fill { height: 100%; border-radius: 4px; }
.score-val { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-align: right; }
.score-total {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.score-total-lbl { font-size: 12px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; }
.score-total-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  color: var(--brand);
}

/* ---------- TOOLS PAGE — SHOWCASE ROWS ---------- */
.tools-page-hero { padding: 64px 0 8px; }
.tools-cat-nav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 28px 0 0;
}
.tools-cat-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.tools-cat-nav a:hover { border-color: var(--brand); color: var(--brand); }

.tsr-category { padding: 64px 0 8px; }
.tsr-category:first-of-type { padding-top: 40px; }
.tsr-category-head {
  display: flex; align-items: flex-start; gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.tsr-category-icon {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tsr-category-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.tsr-category-desc { color: var(--muted); margin-top: 4px; font-size: 15px; }

.tool-showcase-row { padding: 56px 0; border-bottom: 1px solid var(--line-soft); }
.tool-showcase-row:last-child { border-bottom: none; }
.tsr-grid { display: flex; align-items: center; gap: 56px; }
.tsr-grid.tsr-reverse { flex-direction: row-reverse; }
.tsr-text { flex: 1 1 50%; min-width: 0; }
.tsr-visual { flex: 1 1 44%; min-width: 0; }

.tsr-text .feat-tag { margin-bottom: 16px; }
.tsr-text .feat-icon { margin-bottom: 18px; }
.tsr-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.18;
}
.tsr-desc { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 4px; }
.tsr-text .feat-list { margin-top: 18px; }
.tsr-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 13px; font-weight: 500;
  color: var(--brand);
}
.tsr-meta svg { flex-shrink: 0; }

/* Visual panel shell — shared "device card" look across all tool mockups */
.tv-card {
  background: var(--brand-tint-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.tv-cap {
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 16px;
}
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tv-chips span {
  background: #fff;
  color: var(--ink);
  font-size: 12px; font-weight: 500;
  padding: 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
}

/* Opportunity score stat trio (Product Analysis) */
.tv-stat-row { display: flex; gap: 10px; }
.tv-stat {
  flex: 1; text-align: center;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  padding: 16px 8px;
}
.tv-stat-num { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--brand); }
.tv-stat-lbl { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.03em; }

/* Keyword result rows */
.tv-kw-search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 10px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 14px;
}
.tv-kw-search svg { color: var(--muted); flex-shrink: 0; }
.tv-kw-row {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 10px 12px; margin-bottom: 8px;
}
.tv-kw-row:last-child { margin-bottom: 0; }
.tv-kw-rank { font-size: 12px; font-weight: 500; color: var(--muted); }
.tv-kw-bar { height: 6px; border-radius: 2px; background: var(--line-soft); overflow: hidden; }
.tv-kw-bar span { display: block; height: 100%; background: var(--brand); border-radius: 2px; }
.tv-kw-score { font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--brand); }

/* Best-sellers rank list */
.tv-rank-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 12px 14px; margin-bottom: 8px;
}
.tv-rank-row:last-child { margin-bottom: 0; }
.tv-rank-badge {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 500; flex-shrink: 0;
}
.tv-rank-line { flex: 1; height: 8px; border-radius: 4px; background: var(--line-soft); }
.tv-rank-trend { font-size: 12px; font-weight: 500; flex-shrink: 0; }
.tv-rank-trend.up { color: var(--success); }
.tv-rank-trend.down { color: var(--danger); }

/* ---------- AI Business Analyst — animated chat demo (tools.php) ---------- */
.tvc-wrap { padding: 20px; }
.tvc {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 48px rgba(88, 71, 255, 0.14), 0 2px 8px rgba(88, 71, 255, 0.06);
  overflow: hidden;
}

/* Header */
.tvc-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #fff, #FBFAFF);
  border-bottom: 1px solid var(--line-soft);
}
.tvc-head-text { min-width: 0; }
.tvc-name {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px; line-height: 1.2;
  color: var(--ink);
}
.tvc-status {
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
  font-size: 12px; font-weight: 500; color: var(--success-ink);
}
.tvc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: tvc-pulse 2s ease-out infinite;
}

/* Avatars */
.tvc-avatar {
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #8B7BFF);
  box-shadow: 0 3px 8px rgba(88, 71, 255, 0.28);
}
.tvc-avatar--lg { width: 40px; height: 40px; }

/* Message area */
.tvc-body {
  display: flex; flex-direction: column; gap: 12px;
  padding: 18px;
  background: #FAFAFE;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: opacity .4s ease;
}
.tvc-body::-webkit-scrollbar { display: none; }
.tvc-body.is-fading { opacity: 0; }
.tvc--anim .tvc-body { height: 372px; }

.tvc-msg { display: flex; align-items: flex-end; gap: 8px; }
.tvc-msg--user { justify-content: flex-end; }
.tvc-msg[hidden] { display: none; }
.tvc--anim .tvc-msg[data-tvc-msg]:not(.is-shown) { display: none; }
.tvc--anim .tvc-msg.is-shown { animation: tvc-pop .35s cubic-bezier(.2, .8, .2, 1) both; }

.tvc-bubble {
  padding: 11px 14px;
  font-size: 13.5px; line-height: 1.55;
  overflow-wrap: anywhere;
}
.tvc-msg--user .tvc-bubble {
  max-width: 88%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #7A6BFF);
  border-radius: 8px 8px 2px 8px;
  box-shadow: 0 6px 16px rgba(88, 71, 255, 0.24);
}
.tvc-msg--ai .tvc-bubble {
  max-width: calc(100% - 38px);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 8px 8px 8px 2px;
  box-shadow: 0 2px 10px rgba(88, 71, 255, 0.06);
}

/* Typing indicator */
.tvc-typing { display: inline-flex; align-items: center; gap: 4px; padding: 15px 16px; }
.tvc-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); opacity: 0.35;
  animation: tvc-bounce 1.1s ease-in-out infinite;
}
.tvc-typing span:nth-child(2) { animation-delay: .15s; }
.tvc-typing span:nth-child(3) { animation-delay: .3s; }

/* Input bar */
.tvc-input {
  display: flex; align-items: center; gap: 10px;
  margin: 0 14px 14px;
  padding: 6px 6px 6px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.tvc-input-text {
  flex: 1; min-width: 0;
  min-height: 40px;
  display: flex; align-items: center;
  font-size: 13.5px; line-height: 1.4; color: var(--ink);
}
.tvc-input-text:empty::before { content: attr(data-placeholder); color: var(--muted-2); }
.tvc-input-text.is-typing::after {
  content: ''; flex: 0 0 auto;
  width: 1.5px; height: 15px; margin-left: 2px;
  background: var(--brand);
  animation: tvc-blink 1s steps(1) infinite;
}
.tvc-send {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 6px;
  display: grid; place-items: center;
  color: #fff; background: var(--brand);
  box-shadow: 0 4px 12px rgba(88, 71, 255, 0.3);
  transition: transform .15s ease;
}
.tvc-send.is-sent { transform: scale(0.86); }

@keyframes tvc-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes tvc-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30%           { transform: translateY(-4px); opacity: 1; }
}
@keyframes tvc-blink { 50% { opacity: 0; } }
@keyframes tvc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .tvc-dot, .tvc-typing span { animation: none; }
}
/* Hero sits on a centred layout — keep the chat itself left-aligned */
.tvc { text-align: left; }

/* Wide variant (home hero) */
.hero-chat { max-width: 820px; margin: 56px auto 0; }
.hero-chat .tvc { box-shadow: 0 28px 70px rgba(88, 71, 255, 0.18), 0 2px 10px rgba(88, 71, 255, 0.08); }
.tvc--wide .tvc-head { padding: 16px 24px; }
.tvc--wide .tvc-body { padding: 24px 26px; gap: 14px; }
.tvc--anim.tvc--wide .tvc-body { height: 400px; }
.tvc--wide .tvc-bubble { padding: 13px 17px; font-size: 15px; }
.tvc--wide .tvc-avatar:not(.tvc-avatar--lg) { width: 34px; height: 34px; }
.tvc--wide .tvc-msg--user .tvc-bubble { max-width: 76%; }
.tvc--wide .tvc-msg--ai .tvc-bubble { max-width: 84%; }
.tvc--wide .tvc-typing { padding: 17px 18px; }
.tvc--wide .tvc-input { margin: 0 22px 22px; padding: 8px 8px 8px 20px; }
.tvc--wide .tvc-input-text { font-size: 15px; }
.tvc--wide .tvc-send { width: 40px; height: 40px; }

@media (max-width: 768px) {
  .tvc-wrap { padding: 14px; }
  .tvc--anim .tvc-body { height: 400px; }
  .hero-chat { margin-top: 40px; }
  .tvc--anim.tvc--wide .tvc-body { height: 420px; }
  .tvc--wide .tvc-head { padding: 14px 16px; }
  .tvc--wide .tvc-body { padding: 16px; }
  .tvc--wide .tvc-bubble { font-size: 14px; padding: 11px 14px; }
  .tvc--wide .tvc-msg--user .tvc-bubble { max-width: 88%; }
  .tvc--wide .tvc-msg--ai .tvc-bubble { max-width: calc(100% - 42px); }
  .tvc--wide .tvc-input { margin: 0 12px 12px; }
  .tvc--wide .tvc-input-text { font-size: 14px; }
}

/* Listing creator preview */
.tv-listing-title { font-size: 13.5px; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 10px 12px; margin-bottom: 10px; }
.tv-listing-line { height: 9px; border-radius: 4px; background: #fff; border: 1px solid var(--line-soft); margin-bottom: 8px; }
.tv-listing-line.w-90 { width: 90%; } .tv-listing-line.w-75 { width: 75%; } .tv-listing-line.w-60 { width: 60%; }
.tv-listing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--success-soft); color: var(--success-ink);
  font-size: 11.5px; font-weight: 500;
  padding: 5px 10px; border-radius: var(--r-pill);
  margin-top: 8px;
}

/* Image studio type grid */
.tv-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tv-type-tile {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 14px 8px; text-align: center;
}
.tv-type-tile svg { color: var(--brand); margin-bottom: 8px; }
.tv-type-tile span { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink); }

/* Background removal / upscale before-after */
.tv-ba { display: flex; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); height: 130px; }
.tv-ba-half { flex: 1; display: grid; place-items: center; position: relative; }
.tv-ba-half.before {
  background-image:
    linear-gradient(45deg, #E4E2F5 25%, transparent 25%), linear-gradient(-45deg, #E4E2F5 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #E4E2F5 75%), linear-gradient(-45deg, transparent 75%, #E4E2F5 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
  background-color: #F4F3FC;
}
.tv-ba-half.after { background: var(--brand-tint); }
.tv-ba-half svg { color: var(--brand); opacity: 0.55; }
.tv-ba-label {
  position: absolute; bottom: 8px; left: 8px;
  font-size: 10.5px; font-weight: 500; color: var(--ink);
  background: #fff; padding: 3px 8px; border-radius: var(--r-pill);
}

/* Cloud library gallery */
.tv-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tv-gallery-tile {
  aspect-ratio: 1; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-soft);
  display: grid; place-items: center; color: var(--brand); opacity: 0.7;
}
.tv-gallery-count {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 12.5px; font-weight: 500; color: var(--ink);
}

/* Marketplace code grid (Features page) */
.tv-mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tv-mp-tile {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 12px 4px; text-align: center;
  font-family: var(--font-display); font-weight: 500; font-size: 13px; color: var(--ink);
}

/* Billing toggle mockup (Features page) */
.tv-bill-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
.tv-bill-pill {
  flex: 1; text-align: center; padding: 10px; border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 500;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.tv-bill-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- PRICING PAGE — CREDIT COST TABLE ---------- */
.cost-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}
.cost-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line-soft);
}
.cost-row:last-child { border-bottom: none; }
.cost-row-label { font-weight: 500; font-size: 15px; color: var(--ink); }
.cost-row-note { font-size: 13px; color: var(--muted); margin-top: 3px; }
.cost-row-credits {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-tint); color: var(--brand);
  font-weight: 500; font-size: 13px;
  padding: 7px 14px; border-radius: var(--r-pill);
  flex-shrink: 0; white-space: nowrap;
}
.cost-row-credits.free { background: var(--success-soft); color: var(--success-ink); }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

/* Growth: bordered highlight, NOT a solid fill */
.price-card--highlight {
  border: 2px solid var(--brand);
  box-shadow: 0 8px 32px rgba(88,71,255,0.18);
}

/* Pro: solid dark card */
.price-card--dark {
  background: var(--navy);
  border: 1px solid var(--navy);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.price-card--dark .price-tier,
.price-card--dark .price-num,
.price-card--dark .price-sym { color: #fff; }
.price-card--dark .price-desc,
.price-card--dark .price-mo,
.price-card--dark .price-billed-note { color: rgba(255,255,255,0.6); }
.price-card--dark .price-feats li { color: rgba(255,255,255,0.9); }

.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(88,71,255,0.4);
}
.price-tier {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.price-desc { color: var(--muted); font-size: 13px; line-height: 1.5; min-height: 40px; }

.price-amt {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin-top: 18px;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 500;
}
.price-sym {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  align-self: flex-start;
  margin-top: 6px;
}
.price-num { font-size: 52px; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.price-mo { font-size: 13px; color: var(--muted); margin-left: 2px; margin-bottom: 8px; font-weight: 500; font-family: var(--font-body); }
.price-billed-note { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.price-credits-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand-tint);
  border: 1px solid #C4CCFF;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  margin-bottom: 12px;
  width: fit-content;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}
.price-card--dark .price-credits-pill {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: #C0BEDD;
}

.price-savings {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--success);
  background: #DCFCE7;
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 20px;
  text-align: center;
}
.price-card--dark .price-savings { background: rgba(34,197,94,0.16); }

/* ---------- PRICING BILLING TOGGLE ---------- */
.pricing-toggle-wrap { display: flex; justify-content: center; margin-bottom: 40px; }
.pricing-toggle {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 5px;
  box-shadow: var(--shadow-card);
}
.pt-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.pt-btn--active { background: var(--brand); color: #fff; }
.pt-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--brand);
  background: #fff;
  border-radius: 999px;
  padding: 3px 8px;
}
.pt-btn--active .pt-badge { color: var(--brand); background: rgba(255,255,255,0.92); }

.price-feats { padding: 0; margin: 0 0 24px; list-style: none; flex: 1; }
.price-feats li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 14px;
  color: var(--ink);
}
.price-feats li::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235847FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.price-card--dark .price-feats li::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322C55E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

.btn-price {
  display: block;
  text-align: center;
  height: 48px;
  line-height: 48px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14.5px;
}
.btn-price-light {
  background: var(--brand-tint-2);
  color: var(--ink);
}
.btn-price-light:hover { background: var(--brand-tint); color: var(--ink); }
.btn-price-solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(88,71,255,0.35);
}
.btn-price-solid:hover { background: var(--brand-hover); color: #fff; }
.btn-price-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  height: 44px; line-height: 40px;
}
.btn-price-outline:hover { background: rgba(255,255,255,0.10); color: #fff; }

.pricing-note {
  text-align: center;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  cursor: pointer;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item:hover { border-color: var(--brand); }
.faq-item.open { box-shadow: var(--shadow-card-hover); border-color: var(--brand); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.faq-plus {
  flex-shrink: 0;
  color: var(--brand);
  transition: transform .2s;
}
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  transition: max-height .25s ease, margin-top .2s ease;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 14px; }

/* ---------- FINAL CTA ---------- */
.cta-final {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 30%, rgba(88,71,255,0.35), transparent 60%);
  pointer-events: none;
}
.cta-final > .container { position: relative; }
.cta-final h2 {
  color: #fff;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.0;
  margin: 24px auto 20px;
  text-wrap: balance;
}
.cta-final h2 em { font-style: normal; color: #B4A8FF; }
.cta-final p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 36px; font-size: 17px; }
.cta-final .eyebrow {
  background: rgba(255,255,255,0.08);
  color: #B4A8FF;
  border: 1px solid rgba(255,255,255,0.12);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #0A0B26;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14.5px; line-height: 1.65; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .social { display: flex; gap: 14px; }
.footer-bottom .social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.6);
}
.footer-bottom .social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- INNER PAGE / TOOLS LAYOUT ---------- */
.page-hero {
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 22px auto 18px;
  line-height: 1;
  text-wrap: balance;
  font-family: var(--font-display);
}
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 28px 96px;
}
.docs-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.docs-toc-title {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.docs-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.docs-toc a {
  display: block;
  padding: 8px 12px;
  font-size: 14.5px;
  color: var(--muted);
  border-radius: 4px;
  font-weight: 500;
}
.docs-toc a:hover, .docs-toc a.active { background: var(--brand-tint); color: var(--brand); font-weight: 500; }

.docs-content { min-width: 0; }
.docs-section { padding-bottom: 56px; border-bottom: 1px solid var(--line); margin-bottom: 56px; }
.docs-section:last-child { border-bottom: 0; margin-bottom: 0; }
.docs-section-tag {
  display: inline-block;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.docs-section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.05;
}
.docs-section .lede { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 28px; }
.docs-sub { margin-top: 28px; }
.docs-sub h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.docs-sub p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.docs-section p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.docs-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.docs-section ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.docs-section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.docs-section a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.docs-section strong { color: var(--ink); font-weight: 500; }

.docs-callout {
  background: var(--brand-tint-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 8px 0 14px;
}
.docs-callout--warning {
  background: #FEF3C7;
  border-left-color: #D97706;
}
.docs-callout a { color: var(--brand); }

.docs-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.docs-info-grid {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.docs-info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.docs-info-card.highlight {
  background: linear-gradient(135deg, var(--brand-tint), #fff);
  border-color: rgba(88,71,255,0.25);
}
.docs-info-ico {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--brand-tint);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.docs-info-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
}
.docs-info-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.docs-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.docs-pill {
  background: var(--brand-tint-2);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
}

.score-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.score-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500;
}
.score-chip .pct { font-family: var(--font-display); font-weight: 500; }
.score-chip.high .pct { color: var(--success); }
.score-chip.mid .pct { color: var(--warning); }
.score-chip.low .pct { color: var(--danger); }
.score-chip em { font-style: normal; color: var(--muted); font-weight: 500; }

/* ---------- ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- MOBILE NAV TOGGLE (hidden on desktop) ---------- */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
body.nav-locked { overflow: hidden; }

/* ---------- BESTSELLERS SLIDER (includes/bestsellers-slider.php) ---------- */
.bss { padding: 72px 0; }
.bss[hidden] { display: none; }

.bss-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 28px;
}
.bss-title {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em; color: var(--ink);
  margin-top: 14px;
}
.bss-title em { font-style: normal; color: var(--brand); }
.bss-sub { color: var(--muted); font-size: 16px; margin: 10px 0 0; max-width: 620px; }

.bss-nav { display: flex; gap: 8px; flex-shrink: 0; }
.bss-arrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.bss-arrow:hover { border-color: var(--brand); color: var(--brand); }
.bss-arrow:active { transform: scale(0.94); }

/* Viewport — kenarlarda yumuşak geçiş */
.bss-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.bss-viewport::-webkit-scrollbar { display: none; }
.bss-viewport.is-dragging { cursor: grabbing; }
.bss-viewport.is-dragging .bss-card { pointer-events: none; }

.bss-track {
  display: flex; gap: 18px;
  padding: 6px 2px 10px;
  width: max-content;
}

.bss-card {
  flex: 0 0 232px;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bss-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-tint);
}
.bss-thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--brand-tint-2);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  overflow: hidden;
  margin-bottom: 12px;
}
.bss-thumb img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.bss-noimg { font-size: 30px; }
.bss-badge {
  position: absolute; top: 9px; left: 9px; z-index: 1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--success-soft);
  color: var(--success-ink);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.01em;
}
.bss-cat {
  font-size: 10.5px; font-weight: 500; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bss-name {
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--ink);
  margin: 5px 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.bss-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; margin-top: 10px;
}
.bss-price {
  font-family: var(--font-display);
  font-weight: 500; font-size: 17px; color: var(--ink);
}
.bss-flag {
  font-size: 10.5px; font-weight: 500; color: var(--muted-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bss-nums {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted);
}
.bss-nums strong { color: var(--ink); font-weight: 500; }
.bss-links { display: flex; gap: 6px; margin-top: 12px; }
.bss-cta, .bss-ext {
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px;
  border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 500;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.bss-cta { flex: 1; background: var(--brand); color: #fff; }
.bss-cta:hover { background: var(--brand-hover); color: #fff; }
.bss-ext {
  flex: 0 0 auto; padding: 0 12px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
}
.bss-ext:hover { border-color: var(--brand); color: var(--brand); }

.bss-foot { display: flex; justify-content: center; margin-top: 26px; }
.bss-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--brand);
}
.bss-all:hover { gap: 9px; }

@media (max-width: 768px) {
  .bss { padding: 52px 0; }
  .bss-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bss-nav { align-self: flex-end; margin-top: -8px; }
  .bss-card { flex-basis: 200px; }
  .bss-viewport {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
}
@media (max-width: 480px) {
  .bss-card { flex-basis: 178px; padding: 12px; }
  .bss-arrow { width: 38px; height: 38px; }
}

/* ---------- BESTSELLERS PAGE (bestseller.php) ---------- */
.bsp-hero { padding: 64px 0 8px; }

/* Hero stat strip */
.bsp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-top: 32px;
}
.bsp-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}
.bsp-stat-num {
  font-family: var(--font-display);
  font-weight: 500; font-size: 26px; line-height: 1.1;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.bsp-stat-lbl {
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  margin-top: 4px;
}

/* Toolbar */
.bsp-toolbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin: 40px 0 20px;
  box-shadow: var(--shadow-card);
}
.bsp-tool { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bsp-tool-lbl {
  font-size: 11px; font-weight: 500; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.bsp-select {
  height: 40px; padding: 0 12px; max-width: 230px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit; font-size: 14px; color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease;
}
.bsp-select:hover, .bsp-select:focus { border-color: var(--brand); outline: none; }

.bsp-sort { display: flex; gap: 6px; flex-wrap: wrap; }
.bsp-sort-btn {
  height: 40px; padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.bsp-sort-btn:hover { border-color: var(--brand); color: var(--brand); }
.bsp-sort-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.bsp-count { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* States */
.bsp-state {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 64px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  margin: 40px 0;
}
.bsp-state-title {
  font-family: var(--font-display);
  font-weight: 500; font-size: 18px; color: var(--ink);
}
.bsp-state-sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.bsp-spinner {
  width: 34px; height: 34px; margin: 0 auto 18px;
  border: 3px solid var(--brand-tint);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: bsp-spin .8s linear infinite;
}
@keyframes bsp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .bsp-spinner { animation-duration: 2.4s; }
}

/* Product grid */
.bsp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.bsp-card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bsp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-tint);
}
.bsp-thumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--brand-tint-2);
  border-radius: var(--r-md);
  display: grid; place-items: center;
  overflow: hidden;
}
.bsp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bsp-noimg { font-size: 34px; }
.bsp-rank {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(15, 17, 51, 0.72);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500; font-size: 12px;
  backdrop-filter: blur(4px);
}
.bsp-rank--1 { background: linear-gradient(135deg, #FFD24A, #E0A800); color: var(--ink); }
.bsp-rank--2 { background: linear-gradient(135deg, #C8C8D6, #93939E); }
.bsp-rank--3 { background: linear-gradient(135deg, #D58F5A, #A66932); }

.bsp-body { flex: 1; min-width: 0; }
.bsp-title {
  font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.bsp-brand { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 4px; }

.bsp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.bsp-chip {
  display: inline-flex; align-items: center;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--brand-tint-2);
  font-size: 11px; font-weight: 500; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bsp-chip--cat   { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--brand); }
.bsp-chip--prime { background: #232F3E; border-color: #232F3E; color: #FF9900; }
.bsp-chip--oos   { background: #FEE2E2; border-color: #FECACA; color: #B91C1C; }

.bsp-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.bsp-metric { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bsp-metric-lbl {
  font-size: 10px; font-weight: 500; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.bsp-metric-val {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.bsp-actions { display: flex; gap: 8px; }
.bsp-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 12px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  text-align: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.bsp-btn--primary { background: var(--brand); color: #fff; }
.bsp-btn--primary:hover { background: var(--brand-hover); color: #fff; }
.bsp-btn--ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  flex: 0 0 auto; padding: 0 16px;
}
.bsp-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Pagination */
.bsp-pager {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 8px;
  margin: 40px 0 8px;
}
.bsp-page {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.bsp-page:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.bsp-page.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.bsp-page:disabled { opacity: 0.4; cursor: not-allowed; }
.bsp-page-gap { color: var(--muted-2); padding: 0 2px; }

/* Signup banner */
.bsp-banner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 22px;
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint);
  border-radius: var(--r-xl);
  padding: 32px 36px;
  margin: 56px 0 8px;
}
.bsp-banner-title {
  font-family: var(--font-display);
  font-weight: 500; font-size: 22px; color: var(--ink);
  letter-spacing: -0.01em;
}
.bsp-banner-text p { margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 620px; }

@media (max-width: 900px) {
  .bsp-stats { grid-template-columns: repeat(2, 1fr); }
  .bsp-toolbar { gap: 14px; }
  .bsp-select { max-width: 100%; }
}
@media (max-width: 640px) {
  .bsp-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
  .bsp-toolbar { flex-direction: column; align-items: stretch; padding: 16px; }
  .bsp-tool { width: 100%; }
  .bsp-select { max-width: none; width: 100%; }
  .bsp-banner { padding: 26px 22px; }
  .bsp-page { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}
@media (max-width: 480px) {
  .bsp-stats { gap: 10px; }
  .bsp-stat { padding: 13px 14px; }
  .bsp-stat-num { font-size: 22px; }
  .bsp-actions { flex-direction: column; }
  .bsp-btn--ghost { flex: 1; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root { --container: 100%; }
  .container,
  .site-header .header-inner { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .hiw-grid, .tools-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card.wide { grid-column: span 2; flex-direction: column; }
  .feat-visual { width: 100%; }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px 72px; }
  .docs-toc { position: relative; top: 0; border-left: 0; padding-left: 0; }
  .docs-toc ul { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; }
  .tsr-grid, .tsr-grid.tsr-reverse { flex-direction: column; }
  .tsr-visual { width: 100%; }
}

@media (max-width: 900px) {
  /* Header → hamburger drawer */
  .nav-toggle { display: inline-flex; }

  .site-header .header-inner {
    position: relative;
    height: 64px;
  }
  :root { --header-h: 64px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 20px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15,17,51,0.10);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a {
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--line-soft);
  }
  .main-nav a.active::after { display: none; }

  /* Header CTAs: hide secondary chrome, keep one action button */
  .header-cta { gap: 8px; }
  .header-cta .lang-pill,
  .header-cta .icon-btn,
  .header-cta .btn-primary { display: none; }
  .header-cta .btn { height: 40px; padding: 0 14px; font-size: 13.5px; }

  /* Sign in + Start free, shown inside the drawer */
  .mobile-cta-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .main-nav .mobile-cta-row .btn {
    width: 100%;
    height: 48px;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    border: 1px solid transparent;
  }

  /* Language switcher, relocated into the drawer for mobile */
  .mobile-lang-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }
  .mobile-lang-link {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 500; font-size: 14px;
    color: var(--ink);
  }
  .mobile-lang-link.active {
    color: var(--brand);
    background: var(--brand-tint);
    border-color: var(--brand);
  }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 36px; }
  .page-hero { padding: 56px 0 24px; }
  .section-head { margin-bottom: 40px; }

  .container,
  .site-header .header-inner { padding-left: 20px; padding-right: 20px; }

  .hero-sub { font-size: 16.5px; margin-bottom: 32px; }
  .hero-actions .btn-lg { height: 50px; padding: 0 22px; font-size: 15px; }
  .credit-pill { margin-top: 32px; padding: 10px 16px; gap: 12px; }
  .credit-pill .ico { width: 34px; height: 34px; }
  .credit-pill .t1 { font-size: 14.5px; }
  .credit-pill .t2 { font-size: 12px; }

  .hiw-grid, .tools-grid, .features-grid { grid-template-columns: 1fr; }
  .hiw-step { padding: 24px 22px; }
  .feat-card.wide { grid-column: span 1; }
  .feat-card { padding: 24px; }

  /* Tool category header stacks */
  .tool-category-head { gap: 14px; }
  .tool-category-icon { width: 48px; height: 48px; border-radius: 6px; }
  .tool-category-label { font-size: 19px; }
  .tool-category-desc { font-size: 14px; }

  /* Tools page — showcase rows stack, category header shrinks */
  .tsr-category-head,
  .tsr-category-head { gap: 14px; }
  .tsr-category-icon { width: 48px; height: 48px; border-radius: 6px; }
  .tsr-category-label { font-size: 19px; }
  .tsr-category-desc { font-size: 14px; }
  .tool-showcase-row { padding: 40px 0; }
  .tsr-grid { gap: 28px; }
  .tv-card { padding: 20px; }
  .tv-type-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-gallery { grid-template-columns: repeat(4, 1fr); }
  .cost-row { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 20px; }

  /* Pricing scaling */
  .price-card { padding: 26px 22px 22px; border-radius: 8px; }
  .pt-btn { padding: 10px 14px; font-size: 13.5px; }

  /* FAQ */
  .faq-item { padding: 18px 20px; }
  .faq-q { font-size: 16.5px; gap: 14px; }
  .faq-a { font-size: 14.5px; }

  /* Final CTA */
  .cta-final { padding: 72px 0; }
  .cta-final p { font-size: 16px; margin-bottom: 28px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; align-items: center; }
  .site-footer { padding: 48px 0 24px; }

  /* Docs */
  .docs-info-grid { grid-template-columns: 1fr; }
  .docs-section { padding-bottom: 40px; margin-bottom: 40px; }
  .docs-section h2 { font-size: 30px; }

  /* Stats */
  .stats { padding: 28px 0; }
  .stats-grid { gap: 24px; }
  .stat-num { font-size: 36px; }
}

@media (max-width: 480px) {
  .container,
  .site-header .header-inner { padding-left: 16px; padding-right: 16px; }

  section { padding: 48px 0; }
  .hero { padding: 44px 0 28px; }
  .page-hero { padding: 44px 0 20px; }

  .eyebrow { font-size: 11.5px; padding: 7px 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .credit-pill { display: flex; width: 100%; }

  /* Smaller stat grid for very narrow */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 30px; }

  /* Header keeps only brand + hamburger; hide all CTAs */
  .header-cta { display: none; }
  .site-header.nav-open .main-nav { padding-bottom: 24px; }

  .docs-section h2 { font-size: 26px; }
  .section-head p, .page-hero p { font-size: 15.5px; }
}

/* =========================================================
   STRIPE-STYLE LAYER  (loaded last — wins over the base above)
   ========================================================= */

/* ---- Base ---- */
body {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}
strong, b { font-weight: 600; }

/* ---- Display type: light weight, tight tracking ---- */
.display,
h1, h2,
.hero h1,
.section-head h2,
.cta-final h2,
.page-hero h1,
.docs-section h2,
.bss-title,
.tsr-title,
.tool-title,
.feat-title,
.hiw-num,
.stat-num,
.price-num, .price-amt,
.tv-stat-num, .bsp-stat-num, .score-total-num,
.bsp-banner-title {
  font-weight: 400;
}
.display { letter-spacing: -0.03em; line-height: 1.05; }

.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 22px auto 24px;
  max-width: 980px;
}
.hero-sub {
  max-width: 640px;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  margin: 0 auto 36px;
}
.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 14px auto 16px;
}
.section-head p { font-size: 18px; font-weight: 300; line-height: 1.6; }
.cta-final h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.06; }
.docs-section h2 { font-size: 32px; letter-spacing: -0.025em; }
.stat-num { font-size: 40px; letter-spacing: -0.03em; font-feature-settings: 'tnum'; }
.price-num { font-size: 48px; letter-spacing: -0.04em; }
.tool-title, .feat-title, .tsr-title { letter-spacing: -0.02em; }
.bss-title { letter-spacing: -0.025em; }

/* Sub-headings & UI titles stay readable at medium weight */
h3, h4, h5,
.hiw-title, .faq-q, .price-tier, .footer-col h4, .docs-sub h3, .docs-toc-title,
.credit-pill .t1, .tvc-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tool-title, .feat-title, .tsr-title { font-size: 22px; }

/* Numerals line up like Stripe's dashboards */
.stat-num, .price-num, .price-amt, .tv-stat-num, .tv-kw-score, .score-val,
.score-total-num, .bsp-stat-num, .bsp-metric-val, .bss-price, .cost-row-credits {
  font-feature-settings: 'tnum';
}

/* ---- Header ---- */
.site-header {
  background: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(232,231,245,0.7);
}
.brand-mark { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark .logo-tile { width: 32px; height: 32px; border-radius: 6px; box-shadow: none; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { font-weight: 600; }
.lang-pill, .icon-btn { height: 36px; border-radius: 4px; font-weight: 600; }
.icon-btn { width: 36px; }
.lang-dropdown { border-radius: 6px; box-shadow: var(--shadow-card-hover); }
.lang-dropdown a { border-radius: 4px; font-weight: 400; }

/* ---- Buttons: flat, small radius, light weight ---- */
.btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  gap: 8px;
}
.btn:active { transform: none; }
.btn-primary { background: var(--brand); box-shadow: none; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:active { background: var(--brand-active); }
.btn-dark:hover { background: var(--navy-700); }
.btn-light {
  background: #fff;
  border-color: #D6D9FC;
  color: var(--brand);
}
.btn-light:hover { background: var(--brand-tint-2); color: var(--brand-hover); }
.btn-ghost { color: var(--brand); padding: 0 10px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 4px; }

/* ---- Hero: soft gradient wash instead of hard grid ---- */
.hero { padding: 88px 0 72px; }
.hero::before {
  background-image:
    radial-gradient(ellipse 55% 50% at 18% 12%, rgba(88,71,255,0.14), transparent 70%),
    radial-gradient(ellipse 45% 45% at 85% 8%,  rgba(130,110,255,0.12), transparent 70%),
    radial-gradient(ellipse 50% 40% at 60% 70%, rgba(34,197,94,0.06), transparent 70%);
  background-size: auto;
  -webkit-mask-image: none;
          mask-image: none;
}
.eyebrow {
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 10px;
}
.eyebrow .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(34,197,94,0.18); }
.credit-pill { border-radius: 6px; padding: 10px 18px; }
.credit-pill .ico { border-radius: 6px; width: 34px; height: 34px; }
.credit-pill .t1 { font-size: 15px; }

/* ---- Sections / cards ---- */
section { padding: 88px 0; }
.stats { padding: 40px 0; }
.stat-label { font-weight: 400; }

.tool-card, .feat-card, .tv-card, .price-card, .faq-item {
  border-radius: 8px;
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
.tool-card:hover, .feat-card:hover, .price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.price-card--highlight { border: 1px solid var(--brand); box-shadow: var(--shadow-pop); }
.price-card--dark { box-shadow: var(--shadow-pop); }
.price-badge { border-radius: 4px; font-weight: 500; letter-spacing: 0.04em; }
.tool-badge, .tool-category-label, .tsr-category-label { border-radius: 4px; font-weight: 500; }

.tool-showcase-row .tv-card { box-shadow: var(--shadow-pop); }

/* ---- Forms ---- */
input, select, textarea { font-family: inherit; border-radius: 4px; }

/* ---- Chat demo: same Stripe feel ---- */
.tvc, .hero-chat .tvc { border-radius: 8px; box-shadow: var(--shadow-pop); }
.tvc-send { border-radius: 4px; }
.tvc-input { border-radius: 4px; }
.tvc-name { font-weight: 500; }

/* ---- FAQ ---- */
.faq-item { border-radius: 8px; }
.faq-q { font-size: 17px; }

/* ---- Footer ---- */
.footer-col h4 { font-size: 13px; letter-spacing: 0.04em; font-weight: 500; }

/* ---- Small uppercase labels: lighter, slightly wider ---- */
.score-total-lbl, .tv-stat-lbl { font-weight: 500; }

/* ---- Responsive tuning ---- */
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .hero { padding: 64px 0 56px; }
  .hero-sub { font-size: 18px; }
  .btn-lg { height: 46px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(34px, 9.5vw, 44px); }
  .section-head h2 { font-size: clamp(28px, 7.6vw, 34px); }
  .stat-num { font-size: 32px; }
}

/* ---- h1 / h2 weight (bolder headings) ---- */
h1, h2,
.display,
.hero h1,
.section-head h2,
.cta-final h2,
.page-hero h1,
.docs-section h2 {
  font-weight: 600;
}

/* =========================================================
   TOP SEARCHES — topsearches.php, includes/topsearches-slider.php,
   tools.php görseli, index.php tool kartı
   (kabuk: .bss* ve .bsp* sınıfları yukarıda zaten var)
   ========================================================= */

/* ---- index: Research kategorisinde 4 kart ---- */
.tools-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .tools-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .tools-grid--4 { grid-template-columns: 1fr; } }

/* ---- Slider kartı (içerik) ---- */
.tsl-thumb {
  aspect-ratio: auto;
  height: 116px;
  display: flex; align-items: flex-end; justify-content: stretch;
  gap: 5px;
  padding: 36px 12px 12px;
}
.tsl-thumb i {
  flex: 1; min-width: 0; display: block;
  border-radius: 3px 3px 0 0;
  background: rgba(88, 71, 255, 0.20);
}
.tsl-thumb i.is-peak { background: rgba(88, 71, 255, 0.50); }
.tsl-thumb i.is-cur  { background: var(--brand); }
.tsl-thumb i.is-null { background: var(--line); }
.tsl-rank {
  position: absolute; top: 9px; right: 9px; z-index: 1;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  color: var(--ink);
  font-size: 10.5px; font-weight: 500;
}
.tsl-card .bss-name { font-size: 15px; }

/* ---- tools.php görseli: mevsimsel çubuklar ---- */
.tv-quarters {
  display: flex; align-items: flex-end; gap: 8px;
  height: 120px; padding-bottom: 2px;
  border-bottom: 1px solid var(--line-soft);
}
.tv-quarters i {
  flex: 1; display: block;
  border-radius: 4px 4px 0 0;
  background: rgba(88, 71, 255, 0.22);
}
.tv-quarters i.is-peak { background: var(--brand); }
.tv-quarters i.is-cur  { box-shadow: 0 0 0 2px rgba(88, 71, 255, 0.28); }
.tv-quarters-lbl { display: flex; gap: 8px; padding-top: 6px; }
.tv-quarters-lbl span {
  flex: 1; text-align: center;
  font-size: 11px; font-weight: 500; color: var(--muted);
}

/* ---- topsearches.php ---- */
.tsp-input {
  height: 40px; padding: 0 12px; min-width: 220px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .15s ease;
}
.tsp-input:hover, .tsp-input:focus { border-color: var(--brand); outline: none; }

.tsp-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tsp-list[hidden] { display: none; }
.tsp-row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1fr) 118px 140px 110px 104px;
  align-items: center; gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.tsp-row > * { min-width: 0; }
.tsp-row--head {
  background: var(--brand-tint-2);
  padding-top: 12px; padding-bottom: 12px;
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted);
}
.tsp-row.is-open { background: var(--brand-tint-2); border-bottom-color: transparent; }
.tsp-rank { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink); }

.tsp-term {
  border: 0; background: none; padding: 0;
  text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0; font: inherit; color: inherit;
}
.tsp-term-t {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.tsp-term:hover .tsp-term-t { color: var(--brand); }
.tsp-tag {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 500;
  padding: 2px 9px; border-radius: var(--r-pill);
}
.tsp-tag--season   { background: #EDE9FE; color: #6D28D9; }
.tsp-tag--event    { background: #FCE7F3; color: #BE185D; }
.tsp-tag--stable   { background: var(--success-soft); color: var(--success-ink); }
.tsp-tag--volatile { background: #FEF3C7; color: #B45309; }

.tsp-delta {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  padding: 4px 9px; border-radius: var(--r-sm);
}
.tsp-delta.up   { background: var(--success-soft); color: var(--success-ink); }
.tsp-delta.down { background: #FEE2E2; color: #B91C1C; }
.tsp-delta.flat { background: var(--line-soft); color: var(--muted); }

.tsp-spark { display: flex; align-items: flex-end; gap: 3px; height: 28px; }
.tsp-spark i {
  width: 10px; display: block; border-radius: 2px;
  background: rgba(88, 71, 255, 0.20);
}
.tsp-spark i.is-peak { background: rgba(88, 71, 255, 0.50); }
.tsp-spark i.is-cur  { background: var(--brand); }
.tsp-spark i.is-null { background: var(--line); }

.tsp-peak { font-size: 12.5px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.tsp-peak small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.tsp-act { justify-self: end; padding: 0 14px; height: 34px; font-size: 13px; white-space: nowrap; }

/* detay (satıra tıklayınca) */
.tsp-detail {
  padding: 6px 20px 22px;
  background: var(--brand-tint-2);
  border-bottom: 1px solid var(--line-soft);
}
.tsp-d-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tsp-bars {
  display: flex; align-items: flex-end; gap: 6px; height: 160px;
  border-bottom: 1px solid var(--line);
}
.tsp-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.tsp-col-v { font-size: 10px; font-weight: 500; color: var(--muted); }
.tsp-col-b { width: 100%; border-radius: 5px 5px 0 0; background: rgba(88, 71, 255, 0.22); }
.tsp-col-b.is-peak { background: var(--brand); }
.tsp-col-b.is-cur  { box-shadow: 0 0 0 2px rgba(88, 71, 255, 0.28); }
.tsp-lbls { display: flex; gap: 6px; padding: 6px 0 4px; }
.tsp-lbls div { flex: 1; min-width: 0; text-align: center; font-size: 10.5px; line-height: 1.3; color: var(--muted); }
.tsp-lbls div.is-cur { font-weight: 500; color: var(--brand); }
.tsp-note { font-size: 12px; color: var(--muted); padding-top: 4px; }
.tsp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tsp-kpis > div {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.tsp-kpis span { font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tsp-kpis strong { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); }
.tsp-insight {
  margin: 14px 0 16px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
  font-size: 13.5px; line-height: 1.55; color: var(--ink);
}

@media (max-width: 900px) {
  .tsp-d-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .tsp-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 12px 14px; }
  .tsp-row > :nth-child(4), .tsp-row > :nth-child(5), .tsp-row > :nth-child(6) { display: none; }
  .tsp-detail { padding: 6px 14px 18px; }
  .tsp-input { min-width: 0; width: 100%; }
}

/* Araç vitrin başlıkları (.tsr-title) biraz daha kalın — 18.10.2026
   Yukarıdaki genel "font-weight: 400" kuralını yalnızca bu başlık için ezer. */
.tsr-title { font-weight: 600; letter-spacing: -0.02em; }

/* =========================================================
   HELP CENTER — help.php
   (kabuk: .docs-* sınıfları yukarıda zaten var; burada yalnızca
   tablo, numaralı adım ve bilgi kartı eklemeleri)
   ========================================================= */
.docs-section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Bilgi kartları: bölüm içinde kullanıldığında */
.docs-section .docs-info-grid { margin: 8px 0 20px; }
.docs-section .docs-info-card p { margin: 0; }
.docs-info-meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}
.docs-info-meta span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

/* Numaralı adımlar */
.docs-steps {
  list-style: none;
  counter-reset: docs-step;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.docs-steps li {
  counter-increment: docs-step;
  position: relative;
  padding-left: 46px;
  min-height: 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.docs-steps li::before {
  content: counter(docs-step);
  position: absolute;
  left: 0; top: -1px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  display: grid; place-items: center;
}

/* Kural / değer tablosu */
.docs-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  margin: 8px 0 18px;
  max-width: 560px;
}
.docs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.docs-table th {
  text-align: left;
  background: var(--brand-tint-2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 20px;
}
.docs-table td {
  padding: 13px 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  line-height: 1.5;
}
.docs-table td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.docs-table tbody tr:hover td { background: var(--brand-tint-2); }

/* Alt bölümler arası boşluk (h3 + içerik) */
.docs-sub + .docs-sub { margin-top: 32px; }
.docs-sub h3 { color: var(--ink); }
.docs-sub .docs-callout { margin-top: 12px; }

/* Help: içindekiler grup başlığı + geniş tablo */
.docs-toc .docs-toc-group {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 14px 12px 4px;
}
.docs-toc .docs-toc-group:first-child { padding-top: 0; }
.docs-table-wrap--wide { max-width: none; }
.docs-table-wrap--wide .docs-table td:first-child { white-space: normal; min-width: 150px; }
.docs-table-wrap--wide .docs-table td { vertical-align: top; }
@media (max-width: 960px) {
  .docs-toc .docs-toc-group { width: 100%; padding: 8px 0 0; }
}

/* Help: uzun içindekiler listesi kendi içinde kayar */
.docs-toc {
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
}
@media (max-width: 1024px) {
  .docs-toc { max-height: none; overflow: visible; padding-right: 0; }
}

/* ---------- YARDIM MERKEZİ (hub + rehber sayfaları) ---------- */
.help-hero { padding: 72px 0 40px; }
.help-search {
  max-width: 560px; margin: 28px auto 0; position: relative;
}
.help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.help-search input {
  width: 100%; height: 52px; padding: 0 18px 0 46px;
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--card); color: var(--ink); font: inherit; font-size: 15.5px;
  box-shadow: var(--shadow-card);
}
.help-search input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: transparent; }
.help-body { padding: 24px 0 80px; }
.help-group { margin-top: 36px; }
.help-group-title {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 14px;
}
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 22px 22px 18px; box-shadow: var(--shadow-card);
  color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--brand-tint); color: var(--ink); }
.help-card-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.help-card-desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex: 1; }
.help-card-more { color: var(--brand); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.help-empty { text-align: center; color: var(--muted); margin-top: 40px; }
.help-trnote { margin-top: 40px; max-width: 760px; }
.help-contact { text-align: center; color: var(--muted); margin-top: 48px; font-size: 15px; }
.help-contact a { text-decoration: underline; text-underline-offset: 2px; }

.help-top { padding: 56px 0 8px; border-bottom: 1px solid var(--line); background: var(--page-bg); }
.help-top .container { max-width: 1180px; padding: 0 28px; }
.help-top h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; margin: 10px 0 12px; font-family: var(--font-display); }
.help-top-sub { color: var(--muted); font-size: 17px; max-width: 680px; margin-bottom: 28px; }
.help-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted-2); }
.help-crumbs a { color: var(--muted); }
.help-crumbs a:hover { color: var(--brand); }
.help-article h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin: 20px 0 8px; }
.help-article .docs-section ul ul, .help-article .docs-section ol ul { margin-top: 8px; margin-bottom: 4px; }
.help-article .docs-section code { background: var(--brand-tint-2); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 1px 6px; font-family: var(--font-mono); font-size: 0.9em; }
.help-article .docs-callout > :last-child { margin-bottom: 0; }
.help-article .docs-section em { color: var(--ink-2); }
.help-intro { padding-bottom: 28px; margin-bottom: 36px; }
.help-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.help-pager-a {
  display: flex; flex-direction: column; gap: 4px; max-width: 48%;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--card); color: var(--ink); font-weight: 600; font-size: 15px;
}
.help-pager-a small { color: var(--muted-2); font-weight: 500; }
.help-pager-a:hover { border-color: var(--brand); color: var(--brand); }
.help-pager-next { text-align: right; margin-left: auto; }
@media (max-width: 1024px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .help-grid { grid-template-columns: 1fr; }
  .help-hero { padding: 48px 0 24px; }
  .help-pager { flex-direction: column; }
  .help-pager-a { max-width: none; }
}


/* ── Products açılır menüsü (header) ───────────────────────── */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: 5px; }
.nav-dd-toggle .chev { transition: transform .2s; }
.nav-dd-menu {
  display: none;
  position: absolute; top: 100%; left: -14px;
  min-width: 210px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 16px 32px rgba(15,17,51,0.12);
  z-index: 60;
}
/* hover köprüsü: toggle ile menü arasındaki boşlukta menü kapanmasın */
.nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: block; }
.nav-dd:hover .chev, .nav-dd:focus-within .chev { transform: rotate(180deg); }
.main-nav .nav-dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; }
.main-nav .nav-dd-menu a:hover { background: var(--brand-tint); color: var(--brand); }
@media (max-width: 900px) {
  .nav-dd { display: block; }
  .nav-dd-toggle .chev { display: none; }
  .nav-dd-menu {
    display: block; position: static; min-width: 0; padding: 0 0 0 14px;
    border: 0; box-shadow: none; border-radius: 0; background: transparent;
  }
  .nav-dd-menu::before { display: none; }
  .main-nav .nav-dd-menu a { padding: 13px 4px; font-size: 15px; border-radius: 0; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
  .main-nav .nav-dd-menu a:hover { background: transparent; }
}
@media (max-width: 900px) { .nav-dd-toggle { display: flex; } }

/* ════════════════════════════════════════════════════════════════
   04.11.2026 — Yardım Merkezi v2 · iPhone uygulaması · Listing Kalitesi
   ════════════════════════════════════════════════════════════════ */

/* Ortak küçük parçalar */
.hc-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border-radius: 10px; background: var(--brand-tint); color: var(--brand); }
.hc-ico--lg { width: 52px; height: 52px; border-radius: 14px; }
.hc-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.hc-badge--new { background: var(--success-soft); color: var(--success-ink); }
.hc-badge--updated { background: var(--brand-tint); color: var(--brand); }
.nav-soon { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 600;
  background: var(--success-soft); color: var(--success-ink); vertical-align: 1px; }
.site-footer .nav-soon, footer .nav-soon { background: rgba(34,197,94,.16); color: #86EFAC; }
.tool-items span.tag-new { background: var(--success-soft); color: var(--success-ink); border-color: transparent; }

/* Merkez sayfa: hero + arama */
.hc-hero { padding: 76px 0 36px; }
.hc-h1 { font-size: clamp(34px, 4.8vw, 60px); }
.hc-h1 em { font-style: normal; color: var(--brand); }
.hc-search { position: relative; max-width: 640px; margin: 30px auto 0; text-align: left; }
.hc-search .help-search { max-width: none; margin: 0; }
.hc-search .help-search input { height: 56px; font-size: 16px; padding-right: 52px; box-shadow: var(--shadow-card); }
.hc-kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); min-width: 24px; height: 24px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px;
  font: 500 12px var(--font-mono); color: var(--muted-2); background: var(--brand-tint-2); }
.hc-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--shadow-pop); padding: 6px; max-height: 420px; overflow: auto; }
.hc-res { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 8px; color: var(--ink); }
.hc-res:hover, .hc-res.is-sel { background: var(--brand-tint); color: var(--ink); }
.hc-res-t { font-weight: 500; font-size: 15px; }
.hc-res-g { flex: none; font-size: 12.5px; color: var(--muted); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-res-none, .hc-res-hint { padding: 12px; color: var(--muted); font-size: 13.5px; }
.hc-res-hint { border-top: 1px solid var(--line-soft); margin-top: 4px; font-size: 12px; color: var(--muted-2); }
.hc-popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hc-popular a { padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); transition: border-color .15s, color .15s; }
.hc-popular a:hover { border-color: var(--brand); color: var(--brand); }

/* Hızlı başlangıç */
.hc-qs { padding: 8px 0 8px; }
.hc-qs-h { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 14px; letter-spacing: -.01em; }
.hc-qs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: none; }
.hc-qs-list a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; height: 100%;
  padding: 18px; border-radius: var(--r-xl); background: linear-gradient(135deg, #fff 0%, var(--brand-tint-2) 100%); border: 1px solid var(--line);
  color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hc-qs-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); border-color: var(--brand-tint); color: var(--ink); }
.hc-qs-n { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; }
.hc-qs-t { font-weight: 600; font-size: 15.5px; }
.hc-qs-p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* Gruplar ve kartlar */
.hc-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 16px; }
.hc-group-head .help-group-title { margin: 0; }
.hc-group-count { font-size: 12.5px; color: var(--muted-2); }
.hc-card { gap: 8px; }
.hc-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hc-card-meta { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.hc-card:hover .hc-ico { background: var(--brand); color: #fff; }
.hc-ico { transition: background .2s, color .2s; }

/* İletişim kartı */
.hc-contact { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; margin-top: 48px; padding: 26px 28px;
  border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.hc-contact-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--navy); color: #fff; }
.hc-contact h2 { font-size: 20px; margin: 0 0 4px; letter-spacing: -.01em; }
.hc-contact p { margin: 0; color: var(--muted); font-size: 14.5px; }
.hc-contact-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hc-contact-alt { font-size: 13px; color: var(--muted); }
.hc-contact-alt:hover { color: var(--brand); }

/* Rehber sayfası */
.ht-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 4px; }
.ht-title h1 { margin: 0; }
.ht-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 13.5px; margin: -10px 0 26px; }
.ht-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ht-meta svg { color: var(--muted-2); }
.ht-toc-m { display: none; margin-bottom: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); }
.ht-toc-m summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; }
.ht-toc-m summary::-webkit-details-marker { display: none; }
.ht-toc-m summary::after { content: '+'; margin-left: auto; color: var(--muted); font-size: 18px; line-height: 1; }
.ht-toc-m[open] summary::after { content: '−'; }
.ht-toc-m ol { margin: 0; padding: 4px 16px 14px 36px; display: grid; gap: 6px; font-size: 14.5px; }
.ht-toc-m a { color: var(--ink-2); }
.ht-related { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.ht-related h2 { font-size: 20px; margin: 0 0 16px; letter-spacing: -.01em; }
.ht-related-grid, .home-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ht-rel { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card);
  color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ht-rel:hover { border-color: var(--brand-tint); transform: translateY(-2px); box-shadow: var(--shadow-card); color: var(--ink); }
.ht-rel .hc-ico { width: 34px; height: 34px; border-radius: 9px; }
.ht-rel b { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 2px; }
.ht-rel small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.ht-totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-card-hover); transform: rotate(-90deg); }
.ht-totop:hover { background: var(--brand); color: #fff; }
.ht-totop[hidden] { display: none; }
.docs-sub h3:target, .docs-section:target > h2 { scroll-margin-top: calc(var(--header-h) + 24px); }
.docs-section, .docs-sub h3 { scroll-margin-top: calc(var(--header-h) + 24px); }
.ht-flash { animation: htFlash 2.2s ease-out; border-radius: 6px; }
@keyframes htFlash { 0%, 30% { background: var(--brand-tint); box-shadow: 0 0 0 8px var(--brand-tint); } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }

/* Ana sayfa yardım bloğu */
.home-help { padding: 72px 0; }
.home-help-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.home-help-head h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; }
.home-help-head p { margin: 0; color: var(--muted); }
.home-help-grid { grid-template-columns: repeat(4, 1fr); }

/* iPhone: telefon görünümü (CSS ile çizilir) */
.app-phone { --w: 290px; position: relative; width: var(--w); aspect-ratio: 9 / 19.2; padding: 11px; border-radius: 46px;
  background: linear-gradient(145deg, #1d2045, #0b0d26); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(45,36,160,.55), 0 20px 40px -20px rgba(15,17,51,.45); }
.app-phone--sm { --w: 210px; border-radius: 36px; padding: 8px; }
.app-phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 36px; background: #F6F6FC; padding: 0 14px; display: flex; flex-direction: column; font-family: var(--font-body); }
.app-phone--sm .app-phone-screen { border-radius: 29px; padding: 0 10px; font-size: 92%; }
.app-phone-status { display: flex; justify-content: space-between; align-items: center; height: 38px; font-size: 12px; font-weight: 600; color: var(--ink); }
.app-phone-pill { width: 84px; height: 24px; border-radius: 14px; background: #0b0d26; }
.app-phone--sm .app-phone-pill { width: 60px; height: 18px; }
.app-phone-sig { display: inline-flex; gap: 2px; align-items: flex-end; }
.app-phone-sig i { width: 3px; background: var(--ink); border-radius: 1px; }
.app-phone-sig i:nth-child(1) { height: 5px; } .app-phone-sig i:nth-child(2) { height: 7px; } .app-phone-sig i:nth-child(3) { height: 9px; }
.app-scr-head { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 12px; }
.app-scr-logo { font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -.02em; }
.app-scr-logo b { color: var(--brand); }
.app-scr-cr { font-size: 11px; font-weight: 600; color: var(--brand); background: var(--brand-tint); border-radius: 99px; padding: 3px 8px; }
.app-scr-title { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.app-scr-sub { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.app-scr-list { display: grid; gap: 7px; }
.app-scr-item { display: grid; grid-template-columns: 22px 34px 1fr auto; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 1px 2px rgba(15,17,51,.05); }
.app-scr-rank { font-size: 11px; font-weight: 700; color: var(--muted-2); }
.app-scr-thumb { width: 34px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #E9E6FF, #CFC8FF); }
.app-scr-thumb--2 { background: linear-gradient(135deg, #E2F7EA, #B7EBCB); }
.app-scr-thumb--3 { background: linear-gradient(135deg, #FFF1D6, #FFD99A); }
.app-scr-txt { min-width: 0; }
.app-scr-txt b { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-scr-txt small { font-size: 10.5px; color: var(--muted); }
.app-scr-score { font-size: 12px; font-weight: 700; color: var(--success-ink); background: var(--success-soft); border-radius: 8px; padding: 4px 7px; }
.app-scr-calc { margin-top: 10px; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.app-scr-calc span { font-size: 11px; opacity: .8; }
.app-scr-calc b { font-size: 18px; letter-spacing: -.02em; }
.app-scr-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; }
.app-scr-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7C6CFF, #22C55E); border-radius: 6px; }
.app-scr-tabs { margin-top: auto; margin-inline: -14px; padding: 8px 6px 18px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-top: 1px solid var(--line-soft); }
.app-phone--sm .app-scr-tabs { margin-inline: -10px; }
.app-scr-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: var(--muted-2); }
.app-scr-tabs i { width: 16px; height: 16px; border-radius: 5px; background: var(--line); }
.app-scr-tabs .on { color: var(--brand); font-weight: 600; }
.app-scr-tabs .on i { background: var(--brand); }
.app-phone--sm .app-scr-calc, .app-phone--sm .app-scr-item:nth-child(3) { display: none; }

.app-store-soon { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; border: 1px dashed rgba(255,255,255,.35);
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; }
.app-store-soon--hero { margin-top: 18px; border-color: var(--line); color: var(--muted); }

/* Ana sayfa bandı */
.app-band { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 30%, rgba(88,71,255,.45), transparent 60%), var(--navy); color: #fff; padding: 88px 0; }
.app-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.app-band h2 { color: #fff; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0 16px; }
.app-band h2 em { font-style: normal; color: #A79CFF; }
.app-band p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 520px; }
.eyebrow--dark { background: rgba(255,255,255,.1); color: #C9C2FF; border-color: rgba(255,255,255,.14); }
.app-band-li { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.app-band-li li { position: relative; padding-left: 28px; color: rgba(255,255,255,.88); }
.app-band-li li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(34,197,94,.2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386EFAC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.app-band-act { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.app-band-visual { display: flex; justify-content: center; }
.app-band-visual .app-phone { transform: rotate(-4deg); }

/* Kompakt kart (yardım merkezi, rehber) */
.app-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 44px; padding: 28px 32px 0; border-radius: 18px; overflow: hidden;
  background: radial-gradient(700px 300px at 90% 20%, rgba(88,71,255,.35), transparent 60%), var(--navy); color: #fff; }
.app-card-copy { padding-bottom: 28px; }
.app-card h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 10px; }
.app-card h2 em { font-style: normal; color: #A79CFF; }
.app-card p { color: rgba(255,255,255,.75); margin: 0 0 18px; max-width: 520px; }
.app-card-act { display: flex; flex-wrap: wrap; gap: 10px; }
.app-card-visual { align-self: end; height: 250px; overflow: hidden; }
.help-article .app-card h2 { margin-top: 12px; }

/* iPhone sayfası */
.app-hero { text-align: left; }
.app-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.app-hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; }
.app-hero .hero-sub { margin-left: 0; margin-right: 0; }
.app-hero .hero-actions { justify-content: flex-start; }
.app-hero .eyebrow { margin-left: 0; }
.app-hero-visual { display: flex; justify-content: center; }
.app-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-feat { padding: 24px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.app-feat h3 { font-size: 18px; margin: 16px 0 6px; letter-spacing: -.01em; }
.app-feat p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.app-sync { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-sync-item { padding: 24px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); }
.app-sync-item h3 { font-size: 17px; margin: 14px 0 6px; }
.app-sync-item p { color: var(--muted); margin: 0; font-size: 14.5px; }
.app-faq { display: grid; gap: 10px; }
.app-faq-item { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--card); padding: 0 20px; }
.app-faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.app-faq-item summary::-webkit-details-marker { display: none; }
.app-faq-item summary::after { content: '+'; color: var(--brand); font-size: 20px; line-height: 1; }
.app-faq-item[open] summary::after { content: '−'; }
.app-faq-item p { margin: 0 0 18px; color: var(--muted); }

/* Listing Kalitesi örnek kartı */
.lq-mock .prp-head { margin-bottom: 14px; }
.lq-row { display: grid; grid-template-columns: 130px 1fr 34px; gap: 12px; align-items: center; padding: 8px 0; font-size: 13.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-soft); }
.lq-row b { text-align: right; font-variant-numeric: tabular-nums; }
.lq-bar { height: 8px; border-radius: 8px; background: var(--line-soft); overflow: hidden; }
.lq-bar i { display: block; height: 100%; border-radius: 8px; }
.lq-good { background: var(--success); } .lq-mid { background: var(--brand); } .lq-low { background: var(--warning); }
.lq-mock .prp-insight { margin-top: 14px; }

/* Duyarlı düzen */
@media (max-width: 1024px) {
  .home-help-grid { grid-template-columns: repeat(2, 1fr); }
  .app-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hc-qs-list, .ht-related-grid, .app-sync { grid-template-columns: 1fr; }
  .hc-contact { grid-template-columns: 1fr; text-align: left; }
  .hc-contact-act { align-items: flex-start; }
  .docs-toc { display: none; }
  .ht-toc-m { display: block; }
  .app-band-inner, .app-hero-inner { grid-template-columns: 1fr; }
  .app-band-visual .app-phone { transform: none; }
  .app-hero { text-align: center; }
  .app-hero .hero-sub { margin-left: auto; margin-right: auto; }
  .app-hero .hero-actions { justify-content: center; }
  .app-card { grid-template-columns: 1fr; padding-bottom: 0; }
  .app-card-visual { justify-self: center; }
  .home-help-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .home-help-grid, .app-feat-grid { grid-template-columns: 1fr; }
  .hc-kbd { display: none; }
  .hc-search .help-search input { padding-right: 16px; }
  .app-phone { --w: 250px; }
  .app-band { padding: 64px 0; }
  .lq-row { grid-template-columns: 100px 1fr 30px; }
  .app-card { padding: 24px 20px 0; }
}
.app-scr-ai { margin-top: 10px; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-active); font-size: 11.5px; font-weight: 600; }
.app-scr-ai span { font-size: 13px; }
.app-phone--sm .app-scr-ai, .app-phone--sm .app-scr-rank { display: none; }
.app-phone--sm .app-scr-item { grid-template-columns: 30px 1fr auto; }
.app-phone--sm .app-scr-thumb { width: 30px; height: 30px; }
.app-phone { text-align: left; }
.hc-hero { overflow-x: clip; overflow-y: visible; position: relative; z-index: 5; }
.hc-search input:not(:placeholder-shown) ~ .hc-kbd { display: none; }
