/* =========================================================================
   Avida — main stylesheet (DARK THEME — app-brand colors)
   Navy base + purple + pink CTA (matching the lightning-bolt logo)
   ========================================================================= */

:root {
  /* Brand */
  --primary: #a78bfa;
  --primary-deep: #7c3aed;
  --primary-hover: #c4b5fd;
  --primary-container: #4c1d95;
  --primary-ink: #f5f3ff;

  --secondary: #ec4899;
  --secondary-deep: #be185d;
  --secondary-hover: #f472b6;
  --secondary-container: #831843;

  --accent-cyan: #22d3ee;

  /* Surfaces (dark) */
  --surface: #0f172a;
  --surface-1: #111827;
  --surface-2: #1e293b;
  --surface-3: #2a3548;
  --surface-4: #334155;

  /* Text */
  --ink: #e2e8f0;
  --ink-muted: #94a3b8;
  --ink-light: #64748b;

  /* Lines */
  --outline: #475569;
  --outline-soft: #334155;

  /* Accents */
  --gold: #fbbf24;
  --info: #22d3ee;
  --success: #4ade80;
  --danger: #f87171;

  /* Radii, shadows, motion */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 1px 3px rgba(0,0,0,.2);
  --shadow: 0 4px 14px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.25);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.45), 0 8px 16px rgba(0,0,0,.25);
  --glow-primary: 0 0 0 1px rgba(167,139,250,.2), 0 6px 20px rgba(167,139,250,.15);
  --glow-secondary: 0 0 0 1px rgba(236,72,153,.25), 0 6px 20px rgba(236,72,153,.25);
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 72px;

  --font: "Open Sans Hebrew", "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--primary-hover); text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--outline-soft); margin: 2rem 0; }

/* Selection */
::selection { background: var(--primary); color: var(--surface); }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; right: 12px;
  background: var(--primary); color: var(--surface);
  padding: 8px 16px; border-radius: var(--radius-sm);
  z-index: 1000; transition: top .15s var(--ease);
  font-weight: 700;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--secondary); }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-title { font-size: clamp(28px, 3.5vw, 38px); font-weight: 800; color: var(--ink); margin: 0 0 12px; letter-spacing: -.01em; }
.section-subtitle { font-size: 18px; color: var(--ink-muted); margin: 0; }
.section-foot { text-align: center; margin-top: 32px; }

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--outline-soft);
  position: sticky; top: 0; z-index: 100;
}
@supports (backdrop-filter: blur(10px)) {
  @media (min-width: 769px) {
    .site-header {
      background: rgba(15,23,42,.9);
      backdrop-filter: saturate(1.4) blur(10px);
      -webkit-backdrop-filter: saturate(1.4) blur(10px);
    }
  }
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; display: block; }
.brand-name { font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -.01em; }

.main-nav { flex: 1; }
.main-nav > ul { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; justify-content: center; flex-wrap: wrap; }
.main-nav a, .main-nav .dropdown-trigger {
  color: var(--ink-muted); font-weight: 500; font-size: 14.5px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: all .15s var(--ease);
  background: none; border: 0; font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px; text-decoration: none;
}
.main-nav a:hover, .main-nav .dropdown-trigger:hover { color: var(--primary); background: rgba(167,139,250,.1); text-decoration: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-caret { font-size: 10px; opacity: .8; transition: transform .2s var(--ease); }
.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); inset-inline-start: 0;
  background: var(--surface-2); border: 1px solid var(--outline-soft);
  border-radius: var(--radius); min-width: 220px;
  padding: 6px; margin: 0; list-style: none;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  z-index: 120;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 14.5px; color: var(--ink); font-weight: 500;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(167,139,250,.12); color: var(--primary); }

/* Mobile group (dropdown in mobile-nav) */
.mobile-group { padding: 8px 0; }
.mobile-group-label { display: block; padding: 6px 8px; color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.mobile-group ul { list-style: none; padding: 0 0 0 12px; margin: 0; }

.btn-download { flex-shrink: 0; }
.btn-icon { display: inline-block; transform: rotate(-90deg); font-size: 12px; margin-inline-start: 4px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: all .2s var(--ease); border-radius: 2px; }

.mobile-nav { display: none; background: var(--surface-1); border-top: 1px solid var(--outline-soft); }
.mobile-nav ul { list-style: none; padding: 12px 20px; margin: 0; }
.mobile-nav a { display: block; padding: 12px 8px; color: var(--ink); border-bottom: 1px solid var(--outline-soft); font-weight: 500; }
.mobile-nav .mobile-cta { background: var(--secondary); color: #fff; border-radius: var(--radius); margin: 12px 0; text-align: center; font-weight: 700; border: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  transition: all .15s var(--ease);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: var(--glow-secondary);
}
.btn-primary:hover { box-shadow: 0 8px 24px rgba(236,72,153,.45), 0 0 0 1px rgba(236,72,153,.4); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: rgba(167,139,250,.12); color: var(--primary-hover); }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-xl { padding: 18px 36px; font-size: 19px; }

/* ---------- hero (home) ---------- */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(167,139,250,.16), transparent 60%),
    radial-gradient(700px 400px at 5% 110%, rgba(236,72,153,.14), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--outline-soft);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow {
  display: inline-block; background: rgba(167,139,250,.15); color: var(--primary);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin: 0 0 20px;
  border: 1px solid rgba(167,139,250,.25);
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 56px); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.08; margin: 0 0 20px; color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-lede { font-size: 20px; color: var(--ink-muted); margin: 0 0 32px; line-height: 1.6; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: 14px; font-weight: 500; }
.badge-icon { font-size: 18px; color: var(--primary); }
.hero-visual img {
  /* transparent PNG cutout of just the phone, no background box.
     the drop-shadow follows the phone silhouette for a clean float. */
  filter: drop-shadow(0 22px 45px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(167,139,250,.22));
  max-width: 230px; width: 100%; margin: 0 auto; display: block;
}

/* ---------- cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface-2);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .2s var(--ease); text-decoration: none; color: var(--ink);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  text-decoration: none;
}
.card-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--surface-3); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-eyebrow { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.card-title { font-size: 19px; font-weight: 700; color: var(--ink); margin: 4px 0 0; line-height: 1.35; }
.card-text { font-size: 15px; color: var(--ink-muted); margin: 6px 0 0; line-height: 1.6; }
.card-meta { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-light); }

.tool-card { padding: 28px 24px; text-align: center; background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface-1) 100%); }
.tool-icon { font-size: 42px; margin-bottom: 12px; }
.tool-card .card-title { font-size: 20px; }

.category-card { padding: 28px 24px; }
.category-icon { font-size: 38px; margin-bottom: 10px; }

/* Food card with "calorie badge" style on featured image */
.food-card { background: var(--surface-2); }
.food-card .card-image { aspect-ratio: 1/1; }
.food-card .card-body { text-align: center; padding: 16px 18px 20px; }
.food-card .card-title { font-size: 20px; font-weight: 800; }
.food-stat {
  display: inline-block; margin-top: 10px;
  background: linear-gradient(135deg, var(--primary-container) 0%, var(--primary-deep) 100%);
  color: #fff;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(167,139,250,.3);
}
.food-card .card-read-more {
  display: inline-block; margin-top: 8px; color: var(--accent-cyan); font-size: 14px; font-weight: 600;
}

/* ---------- article ---------- */
.article-header { padding: 48px 20px 24px; max-width: var(--container-narrow); margin: 0 auto; }
.breadcrumb { font-size: 14px; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "‹"; margin-inline-start: 6px; color: var(--ink-light); }
.breadcrumb a { color: var(--primary); }

.article-title { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -.015em; line-height: 1.15; margin: 0 0 18px; color: var(--ink); }
.article-lede { font-size: 21px; color: var(--ink-muted); line-height: 1.55; margin: 0 0 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--ink-light); padding-bottom: 20px; border-bottom: 1px solid var(--outline-soft); }
.article-meta strong { color: var(--ink); font-weight: 600; }

.article-hero-image { margin: 24px auto 40px; max-width: 100%; }
.article-hero-image img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10; object-fit: cover;
}

/* Quick answer callout */
.quick-answer {
  background: linear-gradient(135deg, rgba(167,139,250,.12) 0%, rgba(236,72,153,.08) 100%);
  border: 1px solid rgba(167,139,250,.25);
  border-right: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0 32px;
}
.quick-answer-label {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 8px;
}
.quick-answer-body { font-size: 18px; color: var(--ink); line-height: 1.65; }
.quick-answer-body > *:first-child { margin-top: 0; }
.quick-answer-body > *:last-child { margin-bottom: 0; }

/* KPI cards */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 24px 0 32px; }
.kpi-card {
  background: var(--surface-2);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.kpi-value { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -.02em; line-height: 1.1; }
.kpi-label { font-size: 14px; color: var(--ink-muted); font-weight: 600; margin-top: 6px; }
.kpi-note { font-size: 12px; color: var(--ink-light); margin-top: 4px; }

/* Prose — article body */
.prose { font-size: 18px; line-height: 1.85; color: var(--ink); }
.prose p { margin: 1.1em 0; color: var(--ink); }
.prose h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; margin: 2em 0 .6em; color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
.prose h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 700; margin: 1.7em 0 .5em; color: var(--ink); line-height: 1.3; }
.prose h4 { font-size: 19px; font-weight: 700; margin: 1.4em 0 .4em; color: var(--ink); }
.prose ul, .prose ol { margin: 1em 0; padding-inline-start: 1.6em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--primary); }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(167,139,250,.5); }
.prose a:hover { color: var(--primary-hover); text-decoration-thickness: 2px; }
.prose blockquote {
  margin: 1.5em 0; padding: 18px 22px;
  background: var(--surface-2); border-right: 4px solid var(--primary);
  border-radius: var(--radius);
  font-style: italic; color: var(--ink-muted);
}
.prose img { border-radius: var(--radius); margin: 1.5em auto; box-shadow: var(--shadow-sm); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 14px; color: var(--ink-light); text-align: center; margin-top: 8px; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px;
  background: var(--surface-2); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--outline-soft);
}
.prose th, .prose td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--outline-soft); }
.prose th { background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-container) 100%); color: #fff; font-weight: 700; border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: var(--surface-1); }
.prose tbody tr:hover { background: var(--surface-3); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--outline-soft); margin: 2em 0; }

/* FAQ */
.faq-section { margin: 48px 0; }
.faq-section h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 20px; }
.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--primary); box-shadow: var(--glow-primary); }
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 17px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--primary); font-weight: 400; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; color: var(--ink-muted); font-size: 16px; line-height: 1.75; }

/* Related — compact list, not heavy cards */
.related-section { margin: 48px 0; }
.related-section h2 { font-size: clamp(22px, 2.8vw, 28px); margin: 0 0 18px; font-weight: 800; }
.related-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--outline-soft); }
.related-list li { border-bottom: 1px solid var(--outline-soft); }
.related-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 4px;
  color: var(--ink);
  text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.related-item:hover { background: rgba(167,139,250,.06); text-decoration: none; }
.related-item:hover .related-arrow { transform: translateX(-4px); color: var(--primary); }
.related-item:hover .related-title { color: var(--primary); }
.related-thumb {
  width: 72px; height: 72px; border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--outline-soft);
  display: grid; place-items: center;
  font-size: 28px;
}
.related-thumb-fallback {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.related-body { min-width: 0; }
.related-eyebrow {
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px;
}
.related-title {
  font-size: 16px; font-weight: 600; color: var(--ink);
  line-height: 1.4; transition: color .15s var(--ease);
  /* Clamp to 2 lines to keep the row compact on narrow viewports */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-arrow {
  color: var(--ink-light); font-size: 20px; font-weight: 400;
  transition: transform .15s var(--ease), color .15s var(--ease);
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .related-item { grid-template-columns: 60px 1fr auto; gap: 12px; padding: 12px 2px; }
  .related-thumb { width: 60px; height: 60px; border-radius: 10px; }
  .related-title { font-size: 15px; }
}

/* In-article app CTA */
.app-cta {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--secondary-deep) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin: 56px 0;
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.app-cta h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.app-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 17px; }
.app-cta .btn-primary { background: #fff; color: var(--primary-deep); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.app-cta .btn-primary:hover { background: var(--ink); color: var(--primary); }

/* Home: big app CTA at bottom */
.app-cta-big {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(236,72,153,.35), transparent 50%),
    radial-gradient(800px 400px at 0% 100%, rgba(167,139,250,.35), transparent 50%),
    linear-gradient(135deg, var(--primary-deep) 0%, var(--secondary-deep) 100%);
  color: #fff; border-radius: var(--radius-xl);
  padding: 64px 32px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.app-cta-big h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); margin: 0 0 12px; }
.app-cta-big p { color: rgba(255,255,255,.85); font-size: 19px; margin: 0 0 28px; }
.app-cta-big .btn-primary { background: #fff; color: var(--primary-deep); }
.app-cta-big .btn-primary:hover { background: var(--ink); color: var(--primary); }

/* Category hero */
.category-hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(167,139,250,.18), transparent 60%),
    radial-gradient(700px 300px at 10% 100%, rgba(236,72,153,.12), transparent 55%),
    var(--surface);
  border-bottom: 1px solid var(--outline-soft);
}
.category-title { font-size: clamp(32px, 4.8vw, 48px); font-weight: 800; letter-spacing: -.015em; margin: 10px 0; }
.category-intro { font-size: 19px; color: var(--ink-muted); max-width: 720px; margin: 0 0 16px; line-height: 1.6; }
.category-stats { font-size: 14px; color: var(--primary); font-weight: 600; }

/* Footer */
.site-footer { background: var(--surface-1); padding: 56px 0 28px; margin-top: 72px; border-top: 1px solid var(--outline-soft); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-tagline { color: var(--ink-muted); font-size: 15px; margin: 0 0 16px; max-width: 280px; }
.footer-col h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 14px; text-transform: uppercase; letter-spacing: .04em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink-muted); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--outline-soft); color: var(--ink-light); font-size: 13px; }
.footer-bottom p { margin: 4px 0; }
.footer-bottom .muted { color: var(--ink-light); font-size: 12px; }

/* Author box at end of article */
.author-box {
  display: grid; grid-template-columns: 200px 1fr; gap: 32px;
  background: var(--surface-2);
  border: 1px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 48px 0;
  align-items: center;
}
.author-box-photo img {
  width: 200px; height: 200px; object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--outline-soft);
}
.author-box-badge {
  display: inline-block;
  background: rgba(34,211,238,.15); color: var(--accent-cyan);
  border: 1px solid rgba(34,211,238,.3);
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.author-box-name {
  font-size: 30px; font-weight: 800; color: var(--ink);
  margin: 0 0 10px; letter-spacing: -.01em;
}
.author-box-bio { font-size: 16px; color: var(--ink-muted); line-height: 1.65; margin: 0 0 14px; }
.author-box-chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.author-box-chips li {
  background: var(--surface-3);
  border: 1px solid var(--outline-soft);
  color: var(--ink-muted);
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
}
.author-box-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.author-box-ctas .btn-primary {
  background: var(--accent-cyan); color: var(--surface); box-shadow: 0 0 0 1px rgba(34,211,238,.2);
}
.author-box-ctas .btn-primary:hover { background: #67e8f9; color: var(--surface); }
@media (max-width: 640px) {
  .author-box { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .author-box-photo { justify-self: center; }
  .author-box-chips { justify-content: center; }
  .author-box-ctas { justify-content: center; }
}

/* Generic Elementor button fallback (for halas-beten WhatsApp CTA) */
.prose a.elementor-button,
.article-body a.elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff; text-decoration: none;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 17px;
  box-shadow: var(--glow-secondary);
  transition: all .15s var(--ease);
  margin: 16px 0;
}
.prose a.elementor-button:hover,
.article-body a.elementor-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(236,72,153,.45);
  color: #fff; text-decoration: none;
}
.prose a.elementor-button svg,
.article-body a.elementor-button svg { width: 18px; height: 18px; fill: currentColor; }

/* Transformation (before/after) section */
.section-transform {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-1) 100%);
  border-bottom: 1px solid var(--outline-soft);
}
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.transform-image { margin: 0; }
.transform-image img {
  width: 100%; max-width: 480px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--outline-soft);
}
.transform-image figcaption {
  text-align: center; font-size: 13px; color: var(--ink-muted);
  font-weight: 600; margin-top: 10px; letter-spacing: .12em; text-transform: uppercase;
}
.transform-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -.015em; margin: 0 0 18px; color: var(--ink);
}
.transform-text { font-size: 18px; color: var(--ink-muted); line-height: 1.7; margin: 0 0 18px; }
.transform-chips { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.transform-chips li {
  background: rgba(167,139,250,.12); color: var(--primary);
  border: 1px solid rgba(167,139,250,.25);
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
@media (max-width: 900px) {
  .transform-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .transform-image { justify-self: center; }
  .transform-chips { justify-content: center; }
}

/* Floating CTA (mobile) */
.floating-cta {
  position: fixed; bottom: 16px; inset-inline-start: 16px; inset-inline-end: 16px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #fff; text-align: center;
  padding: 14px 20px; border-radius: 999px; font-weight: 700; font-size: 16px;
  box-shadow: var(--glow-secondary);
  display: none; z-index: 90;
  text-decoration: none;
}
.floating-cta:hover { color: #fff; text-decoration: none; }
.floating-cta-icon { margin-inline-end: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .main-nav, .btn-download { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav:not([hidden]) { display: block; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 48px 0; }
  .floating-cta { display: flex; align-items: center; justify-content: center; }
  body { padding-bottom: 80px; }
  .app-cta { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-header { padding: 32px 20px 16px; }
  .hero { padding: 48px 0 40px; }
}

/* ---------- accessibility widget ----------
   Lift the round ♿ button (and its panel) above the mobile floating CTA bar
   so they don't overlap. The CTA is full-width at the bottom on phones, and
   body has 80px bottom padding. The `html` prefix raises specificity above the
   widget's own injected "#a11y-toggle{bottom:18px}" rule. */
@media (max-width: 768px) {
  html #a11y-toggle { bottom: 88px; }
  html #a11y-panel { bottom: 156px; }
}
