/* ============================================
   Schema JSON-LD Oluşturucu — Premium Design System
   Senior Frontend Developer Level
   ============================================ */

:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --card-hover: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --accent-light: rgba(99,102,241,.08);
  --accent-glow: rgba(99,102,241,.2);
  --accent2: #06b6d4;
  --accent2-hover: #0891b2;
  --accent2-light: rgba(6,182,212,.08);
  --success: #10b981;
  --success-light: rgba(16,185,129,.08);
  --warning: #f59e0b;
  --warning-light: rgba(245,158,11,.08);
  --danger: #ef4444;
  --danger-light: rgba(239,68,68,.08);
  --info: #3b82f6;
  --info-light: rgba(59,130,246,.08);
  --code-bg: #1e1e2e;
  --code-text: #cdd6f4;
  --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-2: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-3: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.08), 0 16px 48px rgba(0,0,0,.04);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.1), 0 24px 64px rgba(0,0,0,.06);
  --shadow-glow: 0 0 20px rgba(99,102,241,.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --max-w: 1200px;
  --header-h: 64px;
  --transition: .2s cubic-bezier(.4,0,.2,1);
  --transition-slow: .4s cubic-bezier(.4,0,.2,1);
  --transition-bounce: .5s cubic-bezier(.34,1.56,.64,1);
}

[data-theme="dark"] {
  --bg: #0c0a1d;
  --bg-alt: #151230;
  --card: #1a1740;
  --card-hover: #201c4a;
  --text: #e8e6f0;
  --text-secondary: #a8a4c0;
  --muted: #6b6890;
  --border: #2a2750;
  --border-hover: #3a3660;
  --accent-light: rgba(99,102,241,.15);
  --accent-glow: rgba(99,102,241,.3);
  --accent2-light: rgba(6,182,212,.12);
  --success-light: rgba(16,185,129,.12);
  --warning-light: rgba(245,158,11,.12);
  --danger-light: rgba(239,68,68,.12);
  --info-light: rgba(59,130,246,.12);
  --gradient-3: linear-gradient(135deg, #0c0a1d 0%, #151230 100%);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.2);
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,.3), 0 8px 32px rgba(0,0,0,.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.3), 0 16px 48px rgba(0,0,0,.2);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.4);
  --shadow-glow: 0 0 30px rgba(99,102,241,.25);
  --code-bg: #0d0b1a;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; }
pre { background: var(--code-bg); color: var(--code-text); border-radius: var(--radius-sm); padding: 1rem 1.25rem; overflow-x: auto; font-family: var(--font-mono); font-size: .83rem; line-height: 1.65; }
pre code { background: transparent; padding: 0; border-radius: 0; color: inherit; font-size: inherit; }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes borderGlow {
  0%, 100% { border-color: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
  50% { border-color: var(--accent2); box-shadow: 0 0 16px rgba(6,182,212,.2); }
}
.animate-fade-up { animation: fadeInUp .6s var(--transition) both; }
.animate-fade-in { animation: fadeIn .6s var(--transition) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ---- HEADER ---- */
.site-header {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}
[data-theme="dark"] .site-header {
  background: rgba(12,10,29,.85);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
  letter-spacing: -.01em;
  transition: opacity var(--transition);
}
.logo:hover { opacity: .8; color: var(--text); }
.logo-icon {
  width: 34px; height: 34px;
  background: var(--gradient-1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
  transition: transform var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-4deg) scale(1.05); }

nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.05rem;
  transition: all var(--transition);
  color: var(--text-secondary);
}
.theme-toggle:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: rotate(15deg);
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: .35rem;
  border-radius: var(--radius-xs);
  transition: background var(--transition);
}
.mobile-menu-btn:hover { background: var(--bg-alt); }

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: .75rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp .25s ease;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 1rem; width: 100%; border-radius: var(--radius-sm); }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
}

/* ---- MAIN ---- */
main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
main > h1 { margin-bottom: 1rem; font-weight: 800; }
.lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 640px;
  line-height: 1.75;
}
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; font-weight: 700; }
.prose p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.8; }
.prose code {
  padding: .15rem .4rem;
  background: var(--bg-alt);
  border-radius: var(--radius-xs);
  font-size: .85em;
  font-family: var(--font-mono);
  color: var(--accent);
}
.prose pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: .83rem;
  line-height: 1.65;
  border: 1px solid rgba(255,255,255,.06);
}
.prose pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}

/* ---- HERO ---- */
.hero {
  text-align: center;
  padding: 4rem 1rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, var(--accent-light) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, var(--accent2-light) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem .4rem .5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  animation: fadeInUp .6s ease both;
  box-shadow: var(--shadow-xs);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -.03em;
  background: var(--gradient-1);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite, fadeInUp .6s ease .1s both;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fadeInUp .6s ease .2s both;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp .6s ease .3s both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  animation: fadeInUp .6s ease .4s both;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
}
.hero-stat-label {
  font-size: .82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---- LIVE DEMO PREVIEW ---- */
.hero-preview {
  margin-top: 3rem;
  animation: fadeInUp .7s ease .5s both;
}
.hero-preview-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--code-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.06);
  text-align: left;
}
.hero-preview-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-preview-dot:nth-child(1) { background: #ff5f57; }
.hero-preview-dot:nth-child(2) { background: #febc2e; }
.hero-preview-dot:nth-child(3) { background: #28c840; }
.hero-preview-title {
  margin-left: auto;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  font-family: var(--font-mono);
}
.hero-preview-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--code-text);
  overflow-x: auto;
  max-height: 220px;
}
.hero-preview-body .key { color: #89b4fa; }
.hero-preview-body .string { color: #a6e3a1; }
.hero-preview-body .bracket { color: #cba6f7; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gradient-1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 2px 8px rgba(99,102,241,.25);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,.35);
  background-position: 100% 50%;
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
.btn-sm { padding: .5rem 1.1rem; font-size: .84rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; color: #fff; transform: translateY(-1px); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #059669; color: #fff; transform: translateY(-1px); }

/* ---- CARDS ---- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.card:hover::before { opacity: 1; }
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.card p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
  transition: transform var(--transition-bounce);
}
.card:hover .card-icon { transform: scale(1.1) rotate(-3deg); }
.card-icon.faq { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.card-icon.article { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.card-icon.local { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
[data-theme="dark"] .card-icon.faq { background: linear-gradient(135deg, #2e1065, #4c1d95); }
[data-theme="dark"] .card-icon.article { background: linear-gradient(135deg, #1e3a5f, #1e40af); }
[data-theme="dark"] .card-icon.local { background: linear-gradient(135deg, #064e3b, #065f46); }

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1rem;
  transition: gap var(--transition);
}
.card:hover .card-arrow { gap: .65rem; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---- FEATURE SECTION ---- */
.feature-section {
  padding: 4rem 0;
  position: relative;
}
.feature-section + .feature-section {
  border-top: 1px solid var(--border);
}

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  counter-reset: step;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  counter-increment: step;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(99,102,241,.25);
}
.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.step-card p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.65;
}
.step-connector {
  display: none;
}
@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 3.5rem; right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--border);
  }
  .step-connector::after {
    content: '';
    position: absolute;
    right: -2px; top: -3px;
    width: 0; height: 0;
    border-left: 6px solid var(--border);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }
}

/* ---- SECTIONS ---- */
.section { margin: 3.5rem 0; }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- TABS ---- */
.tabs {
  display: flex;
  gap: .25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: .75rem 1.25rem;
  font-size: .92rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  color: var(--muted);
  white-space: nowrap;
  transition: all var(--transition);
  font-family: var(--font);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-label .optional { color: var(--muted); font-weight: 400; font-size: .78rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font);
  background: var(--card);
  color: var(--text);
  transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { min-height: 80px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* ---- REPEATABLE GROUP ---- */
.repeatable-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  margin-bottom: .75rem;
  transition: border-color var(--transition);
}
.repeatable-item:hover { border-color: var(--border-hover); }
.repeatable-item .item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
}
.repeatable-item .item-number {
  font-weight: 700;
  font-size: .84rem;
  color: var(--accent);
}
.item-actions { display: flex; gap: .3rem; }
.item-actions button {
  width: 30px; height: 30px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  color: var(--muted);
  transition: all var(--transition);
}
.item-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.item-actions button.delete-btn:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: var(--danger-light);
}

/* ---- OUTPUT PANEL ---- */
.output-panel {
  background: var(--code-bg);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.06);
}
.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 1.1rem;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-wrap: wrap;
  gap: .5rem;
}
.output-header span {
  color: var(--code-text);
  font-size: .84rem;
  font-weight: 600;
  font-family: var(--font-mono);
}
.output-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.output-actions button {
  padding: .4rem .85rem;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--code-text);
  font-size: .76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.output-actions button:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
}
.output-body {
  padding: 1.1rem;
  max-height: 500px;
  overflow: auto;
}
.output-body pre {
  font-family: var(--font-mono);
  font-size: .83rem;
  line-height: 1.65;
  color: var(--code-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---- VALIDATION PANEL ---- */
.validation-panel { margin: 1rem 0; }
.validation-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  font-size: .88rem;
  transition: transform var(--transition);
}
.validation-item:hover { transform: translateX(2px); }
.validation-item.critical { background: var(--danger-light); border: 1px solid rgba(239,68,68,.2); color: #991b1b; }
.validation-item.warning { background: var(--warning-light); border: 1px solid rgba(245,158,11,.2); color: #92400e; }
.validation-item.info { background: var(--info-light); border: 1px solid rgba(59,130,246,.2); color: #1e40af; }
.validation-item.success { background: var(--success-light); border: 1px solid rgba(16,185,129,.2); color: #166534; }
[data-theme="dark"] .validation-item.critical { color: #fca5a5; }
[data-theme="dark"] .validation-item.warning { color: #fcd34d; }
[data-theme="dark"] .validation-item.info { color: #93c5fd; }
[data-theme="dark"] .validation-item.success { color: #86efac; }
.validation-badge {
  padding: .18rem .55rem;
  border-radius: var(--radius-xs);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: .03em;
}
.validation-badge.critical { background: var(--danger); color: #fff; }
.validation-badge.warning { background: var(--warning); color: #fff; }
.validation-badge.info { background: var(--info); color: #fff; }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--text);
  color: var(--bg);
  padding: .8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  transform: translateY(120%);
  opacity: 0;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
  z-index: 1000;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { color: var(--border); font-size: .75rem; }

/* ---- ARTICLE / GUIDE ---- */
.article-content { max-width: 780px; }
.article-content h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}
.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
  letter-spacing: -.01em;
}
.article-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
}
.article-content p {
  margin-bottom: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.article-content ul, .article-content ol {
  margin: .75rem 0 1.25rem 1.5rem;
  color: var(--text-secondary);
}
.article-content li { margin-bottom: .5rem; line-height: 1.7; }
.article-content code {
  background: var(--bg-alt);
  padding: .15rem .45rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: .83em;
  color: var(--accent);
}
.article-content pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: .83rem;
  line-height: 1.65;
  border: 1px solid rgba(255,255,255,.06);
}
.article-content pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: inherit;
  font-size: inherit;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.article-tag {
  display: inline-flex;
  align-items: center;
  padding: .22rem .7rem;
  background: var(--accent-light);
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent);
}

/* ---- ACCORDION ---- */
.accordion { margin: 1.25rem 0; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item:hover { border-color: var(--border-hover); }
.accordion-item.open { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-light); }
.accordion-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: none;
  text-align: left;
  font-size: .94rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--bg-alt); }
.accordion-header::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--muted);
  transition: transform .3s ease;
  font-weight: 300;
}
.accordion-item.open .accordion-header { color: var(--accent); }
.accordion-item.open .accordion-header::after { content: '−'; color: var(--accent); }
.accordion-body {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.75;
}
.accordion-item.open .accordion-body { display: block; }

/* ---- SEARCH ---- */
.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.search-input {
  width: 100%;
  padding: .9rem 1rem .9rem 3.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  background: var(--card);
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-xs);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}
.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.15rem;
}
.search-filters {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.filter-chip {
  padding: .42rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(99,102,241,.25);
}
.search-results { margin-top: 1rem; }
.search-result-item {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  background: var(--card);
  transition: all var(--transition);
}
.search-result-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.search-result-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
.search-result-item h3 a { color: var(--text); }
.search-result-item h3 a:hover { color: var(--accent); }
.search-result-item p { font-size: .84rem; color: var(--muted); }

/* ---- TOGGLE SWITCH ---- */
.toggle-wrapper { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { display: none; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 3px; left: 3px;
  transition: transform var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-label { font-size: .86rem; color: var(--text-secondary); }

/* ---- TOOL LAYOUT ---- */
.tool-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
@media (max-width: 900px) {
  .tool-layout { grid-template-columns: 1fr; }
}
.tool-form-panel, .tool-output-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.tool-output-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.example-loader {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.example-loader select { flex: 1; min-width: 200px; }

/* ---- LINKS GRID ---- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .85rem;
}
.link-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: all var(--transition);
  color: var(--text);
  font-weight: 500;
  font-size: .9rem;
}
.link-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.link-card-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ---- TRUST / SOCIAL PROOF ---- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.trust-icon { font-size: 1.15rem; }

/* ---- COMPARISON TABLE ---- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}
.comparison-table th {
  background: var(--bg-alt);
  padding: .85rem 1rem;
  text-align: left;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.comparison-table td {
  padding: .75rem 1rem;
  font-size: .88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--accent-light); }

/* ---- AD SLOT ---- */
.ad-slot {
  margin: 2rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px dashed var(--border);
}
.ad-slot-inline {
  margin: 1.5rem 0;
  min-height: 250px;
}
.ad-slot-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  min-height: 250px;
}
.ad-slot-anchor {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  margin: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  min-height: 50px;
  max-height: 100px;
  padding: 0;
}
.ad-slot-anchor .ad-anchor-close {
  position: absolute;
  top: -28px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  font-size: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  z-index: 1;
  box-shadow: var(--shadow-xs);
}
.ad-slot-anchor .ad-anchor-close:hover { color: var(--text); }

/* ---- COOKIE CONSENT ---- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-consent.show { transform: translateY(0); }
.cookie-consent p {
  font-size: .85rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 700px;
  line-height: 1.5;
}
.cookie-consent p a { color: var(--accent); text-decoration: underline; }
.cookie-consent-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-consent-actions button {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-xs);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent) !important;
}
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-reject {
  background: var(--card);
  color: var(--text-secondary);
}
.cookie-btn-reject:hover { background: var(--bg-alt); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-col h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: .85rem;
  color: var(--text);
  letter-spacing: -.01em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a {
  font-size: .84rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-disclaimer {
  max-width: var(--max-w);
  margin: 1.25rem auto 0;
  padding: .85rem 1.1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--border);
}

/* ---- CONTACT ---- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ---- STEP INDICATOR ---- */
.step-indicator { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--muted);
  transition: all var(--transition);
}
.step-dot.active { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 2px 8px rgba(99,102,241,.25); }
.step-dot.completed { border-color: var(--success); background: var(--success); color: #fff; }
.step-line { flex: 1; height: 2px; background: var(--border); }
.step-line.active { background: var(--accent); }

/* ---- DAY CHIPS ---- */
.day-select { display: flex; flex-wrap: wrap; gap: .4rem; }
.day-chip {
  padding: .35rem .65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: .78rem;
  cursor: pointer;
  background: var(--card);
  color: var(--text-secondary);
  transition: all var(--transition);
  user-select: none;
  font-weight: 500;
}
.day-chip:hover { border-color: var(--accent); color: var(--accent); }
.day-chip.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--gradient-1);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .75rem;
  position: relative;
}
.cta-banner p {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  position: relative;
}
.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  color: var(--accent-hover);
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---- INDUSTRY GRID ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  text-align: center;
  transition: all var(--transition);
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
}
.industry-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: var(--bg-alt);
  transition: transform var(--transition-bounce);
}
.industry-card:hover .industry-card-icon { transform: scale(1.12) rotate(-3deg); }
.industry-card small {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 400;
}

/* ---- FEATURE LIST ---- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.feature-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-xs);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-item h4 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.feature-item p {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- STAT COUNTER ---- */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
}
@media (max-width: 768px) {
  .stats-section { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.stat-box-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.stat-box-label {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: .35rem;
}

/* ---- GUIDE CAROUSEL ---- */
.guide-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .guide-scroll { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .guide-scroll { grid-template-columns: 1fr; }
}
.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.guide-card-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .2rem .65rem;
  border-radius: 100px;
  margin-bottom: .85rem;
  width: fit-content;
}
.guide-card-tag.schema { background: var(--accent-light); color: var(--accent); }
.guide-card-tag.industry { background: var(--success-light); color: var(--success); }
.guide-card-tag.seo { background: var(--info-light); color: var(--info); }
.guide-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  line-height: 1.35;
  color: var(--text);
}
.guide-card p {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.guide-card-link {
  font-size: .84rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.guide-card:hover .guide-card-link { gap: .55rem; }

/* ---- KNOWLEDGE BASE GRID ---- */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.kb-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .9rem;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  color: var(--text);
  font-size: .84rem;
  font-weight: 500;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.kb-item:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}
.kb-item-icon { font-size: 1rem; flex-shrink: 0; }

/* ---- PRINT ---- */
@media print {
  .site-header, .site-footer, .ad-slot, .theme-toggle,
  .mobile-menu-btn, .output-actions, .hero::before,
  .cta-banner { display: none !important; }
  body { background: #fff; color: #000; }
  .output-body pre { white-space: pre-wrap; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---- TAB PANEL ---- */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- RESPONSIVE FINE-TUNING ---- */
@media (max-width: 480px) {
  .hero { padding: 2.5rem .5rem 2rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-preview-body { font-size: .72rem; max-height: 160px; }
  .cards-grid { gap: 1rem; }
  .steps-grid { gap: 1rem; }
  .output-actions { gap: .25rem; }
  .output-actions button { padding: .3rem .55rem; font-size: .72rem; }
  .tool-form-panel, .tool-output-panel { padding: 1rem; }
  .cta-banner { padding: 2rem 1.25rem; }
}
