/* ════════════════════════════════════════════
   GymBuddy India — Shared Stylesheet
   Imported by every page via <link rel="stylesheet" href="shared.css">
   Page-specific styles live in each page's own <style> block.
════════════════════════════════════════════ */

/* ────────────────────────────────────────────
   DESIGN TOKENS
──────────────────────────────────────────── */
:root {
  --black:    #080808;
  --dark:     #0f0f0f;
  --card:     #141414;
  --card2:    #1a1a1a;
  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.12);
  --text:     #e8e8e8;
  --muted:    #8a8a8a;
  --muted2:   #999;
  --white:    #ffffff;
  --lime:     #c8f135;
  --lime2:    #a8cc20;
  --lime-glow:rgba(200,241,53,0.12);
  --red:      #ef4444;
  --green:    #22c55e;
  --wa:       #25D366;
  --blue:     #60a5fa;
  --amber:    #f59e0b;
  --orange:   #f97316;
  --yellow:   #facc15;
  --protein:  #c8f135;
  --carbs:    #60a5fa;
  --fat:      #f59e0b;
  --radius:   12px;
  --radius-lg:20px;
}

/* Self-hosted fonts (Latin + rupee subsets in fonts/, built with pyftsubset). */
@font-face{font-family:'Bebas Neue';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/bebas-neue-latin.woff2) format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/instrument-serif-latin.woff2) format('woff2')}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(fonts/instrument-serif-italic-latin.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:300 700;font-display:swap;src:url(fonts/dm-sans-latin.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:italic;font-weight:300 700;font-display:swap;src:url(fonts/dm-sans-italic-latin.woff2) format('woff2')}
/* Metric-matched fallbacks (Arial/Roboto scaled to the real faces) so the swap to the
   self-hosted fonts does not move text. Values from scripts/font_fallback_metrics.py. */
@font-face{font-family:'Bebas Neue Fallback';src:local('Arial'),local('Roboto'),local('Helvetica Neue'),local('Helvetica');size-adjust:57.16%;ascent-override:157.45%;descent-override:52.48%;line-gap-override:0%}
@font-face{font-family:'DM Sans Fallback';src:local('Arial'),local('Roboto'),local('Helvetica Neue'),local('Helvetica');size-adjust:106.46%;ascent-override:93.18%;descent-override:29.12%;line-gap-override:0%}






/* ────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1200;
  padding: 10px 14px; border-radius: 8px;
  color: #000; background: var(--lime); font-weight: 800; text-decoration: none;
  transform: translateY(-150%); transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--lime); border-radius: 4px; }

/* ────────────────────────────────────────────
   NAV
──────────────────────────────────────────── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 0 40px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-logo {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 22px; letter-spacing: 3px;
  color: var(--lime); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(200,241,53,0.34);
}
.nav-logo span { color: var(--white); }
.nav-links {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); list-style: none;
  margin-left: auto;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--muted2); text-decoration: none; transition: color 0.2s;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1.1; white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--lime); }
.nav-cta {
  background: var(--lime) !important;
  color: #000 !important;
  padding: 8px 20px; border-radius: 6px;
  font-weight: 700 !important; font-size: 13px !important;
  display: flex; align-items: center; gap: 6px;
  transition: opacity 0.2s !important;
  letter-spacing: 0.5px;
  text-decoration: none;
  min-height: 40px; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; }
.hamburger {
  width: 44px; height: 44px; border: 0; background: transparent;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 899;
  background: rgba(8,8,8,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  max-height: calc(100svh - 64px); overflow-y: auto;
  padding: 24px 40px; flex-direction: column; gap: 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { min-height: 44px; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; display: flex; align-items: center; }
.mobile-menu a.active { color: var(--lime); }

/* ────────────────────────────────────────────
   UTILITIES
──────────────────────────────────────────── */
.max-w { max-width: 1120px; margin: 0 auto; }

section { padding: 100px 40px; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 2px; background: var(--lime);
}

h2.section-title {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95; letter-spacing: 1px;
  color: var(--white); margin-bottom: 20px;
}
h2.section-title em {
  font-family: 'Instrument Serif', serif;
  font-style: italic; color: var(--lime); letter-spacing: 0;
}
.section-sub { font-size: 17px; color: var(--muted2); max-width: 520px; line-height: 1.7; }

/* ────────────────────────────────────────────
   ANIMATIONS
──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px);  } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-12px);  } to { opacity: 1; transform: none; } }
@keyframes pulse    { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
@keyframes marquee  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes typing   { 0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); } 30% { opacity: 1; transform: scale(1); } }

/* ────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 48px 40px 32px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif;
  font-size: 24px; letter-spacing: 3px;
  color: var(--lime); margin-bottom: 12px;
}
.footer-brand span { color: var(--white); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted2); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  max-width: 1120px; margin: 0 auto;
}
.footer-also { width: 100%; font-size: 12px; color: var(--muted); }
.footer-also a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.footer-also a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-ig {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-ig:hover { color: var(--lime); }

/* ────────────────────────────────────────────
   PROOF BLOCK (homepage + /about): one real check-in,
   one Day 15 report page, two client quotes.
──────────────────────────────────────────── */
.gb-proof-grid { display: grid; gap: 22px; margin-top: 34px; }
.gb-proof-shot { margin: 0; }
.gb-proof-shot img {
  display: block; width: 100%; height: auto; border: 1px solid var(--border2); border-radius: 18px;
  background: var(--card); box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
}
.gb-proof-shot--phone { max-width: 300px; }
.gb-proof-shot--phone img { border-radius: 26px; border-color: #2a3942; }
.gb-proof-shot figcaption { margin-top: 12px; color: var(--muted2); font-size: 13px; line-height: 1.55; }
.gb-proof-quotes { display: grid; gap: 12px; }
.gb-proof-quote {
  margin: 0; padding: 24px 24px 22px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--card); position: relative;
}
.gb-proof-quote::before { content: "\201C"; position: absolute; top: 10px; left: 20px; color: var(--lime); font-family: 'Instrument Serif', serif; font-size: 54px; line-height: .6; }
.gb-proof-quote blockquote { margin: 30px 0 16px; color: var(--white); font-family: 'Instrument Serif', serif; font-size: clamp(20px, 5vw, 25px); line-height: 1.25; }
.gb-proof-quote figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--text); font-size: 13px; font-weight: 800; }
.gb-proof-quote figcaption span { color: var(--muted2); font-weight: 600; }
@media (min-width: 768px) {
  .gb-proof-grid { grid-template-columns: 320px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 32px; row-gap: 28px; align-items: start; }
  .gb-proof-shot--phone { grid-row: 1 / span 2; max-width: none; }
  .gb-proof-shot--page { grid-column: 2; max-width: 640px; }
  .gb-proof-quotes { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ────────────────────────────────────────────
   SCROLL PROGRESS DOTS
──────────────────────────────────────────── */
.scroll-dots {
  position: fixed; top: 50%; right: 20px;
  transform: translateY(-50%);
  z-index: 850; width: 28px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 12px 0; opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease; background: transparent;
}
.scroll-dots.visible { opacity: 1; pointer-events: auto; }
.scroll-dot {
  position: relative; width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.scroll-dot-core {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
  position: relative; flex-shrink: 0;
}
.scroll-dot:hover .scroll-dot-core { background: rgba(255,255,255,0.5); transform: scale(1.25); }
.scroll-dot.active .scroll-dot-core {
  background: var(--lime); transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(200,241,53,0.12), 0 0 16px rgba(200,241,53,0.5);
}
.scroll-dot.visited .scroll-dot-core { background: rgba(200,241,53,0.45); }
.scroll-dot-label {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border2); color: var(--text);
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 7px 12px; border-radius: 6px;
  white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0.25s;
}
.scroll-dot-label::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%); border: 5px solid transparent;
  border-left-color: rgba(15,15,15,0.95);
}
.scroll-dot:hover .scroll-dot-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
  transition: opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s linear 0s;
}
.scroll-dot.active .scroll-dot-label { color: var(--lime); }

/* ────────────────────────────────────────────
   SEO LANDING PAGES
──────────────────────────────────────────── */
.seo-hero { padding: 126px 40px 70px; background: var(--black); position: relative; overflow: hidden; }
.seo-wrap { max-width: 1120px; margin: 0 auto; }
.seo-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: 54px; align-items: center; }
.seo-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime); border: 1px solid rgba(200,241,53,.25);
  background: rgba(200,241,53,.08); border-radius: 999px;
  padding: 7px 14px; font-size: 11px; font-weight: 800;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 24px;
}
.seo-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.seo-hero h1 {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; font-size: clamp(54px, 8.3vw, 112px);
  line-height: .9; letter-spacing: 1px; color: var(--white); margin-bottom: 22px;
}
.seo-hero h1 em { display: block; font-family: 'Instrument Serif', serif; font-style: italic; color: var(--lime); letter-spacing: 0; font-size: .72em; }
.seo-lead { font-size: 18px; color: var(--muted2); line-height: 1.75; max-width: 660px; margin-bottom: 32px; }
.seo-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.seo-primary, .seo-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; padding: 14px 22px; text-decoration: none;
  font-size: 14px; font-weight: 800;
}
.seo-primary { background: var(--lime); color: #000; }
.seo-secondary { border: 1px solid var(--border2); color: var(--text); }
.seo-card { background: var(--card); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.seo-card-head { padding: 22px; border-bottom: 1px solid var(--border); background: linear-gradient(145deg, rgba(37,211,102,.09), rgba(200,241,53,.05)); }
.seo-card-title { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 5px; }
.seo-card-sub { font-size: 12px; color: var(--muted2); }
.seo-chat { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.seo-bubble { max-width: 88%; padding: 11px 13px; border-radius: 13px; font-size: 13px; line-height: 1.55; color: var(--text); background: #1f2c34; }
.seo-bubble.user { margin-left: auto; border-radius: 13px 13px 0 13px; background: rgba(200,241,53,.1); border: 1px solid rgba(200,241,53,.18); }
.seo-bubble.coach { border-radius: 13px 13px 13px 0; }
.seo-section { padding: 82px 40px; background: var(--dark); }
.seo-section.alt { background: var(--black); }
.seo-intro { max-width: 700px; margin-bottom: 42px; }
.seo-title {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; font-size: clamp(40px, 6vw, 70px);
  line-height: .96; color: var(--white); letter-spacing: 1px; margin-bottom: 16px;
}
.seo-title em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--lime); letter-spacing: 0; }
.seo-copy { color: var(--muted2); font-size: 16px; line-height: 1.75; }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.seo-grid.two { grid-template-columns: repeat(2, 1fr); }
.seo-feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.seo-feature strong { display: block; color: var(--white); font-size: 17px; margin-bottom: 9px; }
.seo-feature p { color: var(--muted2); font-size: 14px; line-height: 1.7; }
.seo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.seo-step { background: var(--card); padding: 26px; }
.seo-step-num { font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; color: var(--lime); font-size: 34px; line-height: 1; margin-bottom: 12px; }
.seo-step strong { display: block; color: var(--white); margin-bottom: 8px; }
.seo-step p { font-size: 14px; color: var(--muted2); line-height: 1.7; }
.seo-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.seo-col { background: var(--card); padding: 28px; }
.seo-col h3 { font-size: 20px; color: var(--white); margin-bottom: 16px; }
.seo-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.seo-col li { font-size: 14px; color: var(--muted2); line-height: 1.55; }
.seo-col.good { background: linear-gradient(145deg, rgba(200,241,53,.08), var(--card)); }
.seo-col.good li::before { content: '✓ '; color: var(--lime); font-weight: 800; }
.seo-col.bad li::before { content: '× '; color: var(--red); font-weight: 800; }
.seo-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.seo-related a { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 800; }
.seo-related a span { display: block; color: var(--muted2); font-size: 12px; font-weight: 500; line-height: 1.55; margin-top: 5px; }
.seo-faq { max-width: 760px; }
.seo-faq details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; padding: 18px 20px; }
.seo-faq summary { cursor: pointer; color: var(--white); font-weight: 800; }
.seo-faq p { color: var(--muted2); font-size: 14px; line-height: 1.75; margin-top: 12px; }
.seo-final { padding: 90px 40px; text-align: center; background: var(--dark); }
.seo-final p { max-width: 560px; margin: 0 auto 28px; color: var(--muted2); font-size: 17px; line-height: 1.75; }

/* ────────────────────────────────────────────
   LANDING PAGES: PHOTO HERO + PLAN CARDS
   Shared by the six SEO landing pages. The homepage keeps its own
   home-* styles; these classes exist so the landing pages do not each
   carry a copy.
──────────────────────────────────────────── */
.gb-photo-hero { position: relative; isolation: isolate; overflow: hidden; }
.gb-hero-media, .gb-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gb-hero-media { z-index: -2; }
.gb-hero-media img { object-fit: cover; object-position: center 35%; }
/* The overlay lives on the picture, not on .gb-photo-hero::after: gb-flow.css
   loads later and owns ::after on every hero section. */
.gb-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,.74) 0%, rgba(8,8,8,.82) 48%, #080808 100%),
    linear-gradient(90deg, rgba(8,8,8,.92) 0%, rgba(8,8,8,.5) 82%);
}
.gb-photo-hero .seo-hero-grid { display: block; }
.gb-photo-hero .seo-lead { color: #dedede; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.gb-photo-hero h1 { text-shadow: 0 6px 34px rgba(0,0,0,.55); }
.gb-photo-hero .seo-hero-grid { min-height: 300px; display: flex; flex-direction: column; justify-content: center; }

.gb-plans { padding: 72px 24px; background: var(--black); }
.gb-plans-inner { max-width: 1120px; margin: 0 auto; }
.gb-plans-title {
  font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; font-size: clamp(38px, 9vw, 58px); line-height: .96;
  letter-spacing: 1px; color: var(--white); margin-bottom: 8px;
}
.gb-plans-title em { font-family: 'Instrument Serif', serif; font-style: italic; color: var(--lime); letter-spacing: 0; }
.gb-plans-sub { color: var(--muted2); font-size: 15px; line-height: 1.6; margin-bottom: 26px; max-width: 560px; }
.gb-plans-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  width: calc(100% + 24px); padding-right: 24px;
}
.gb-plans-scroller::-webkit-scrollbar { display: none; }
.gb-plan-card {
  scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--border2); border-radius: 16px; background: var(--card);
}
.gb-plan-card.popular { border-color: rgba(200,241,53,.55); }
.gb-plan-image { position: relative; height: 140px; }
.gb-plan-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gb-plan-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px;
  background: var(--lime); color: #080808; font-size: 11px; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase;
}
.gb-plan-body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.gb-plan-name { color: var(--white); font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; font-size: 30px; letter-spacing: .5px; }
.gb-plan-tagline { color: var(--muted2); font-size: 14px; margin-top: 2px; }
.gb-plan-price { margin: 12px 0 10px; color: var(--white); font-family: 'Bebas Neue', 'Bebas Neue Fallback', sans-serif; font-size: 44px; line-height: 1; }
.gb-plan-price span { color: var(--muted2); font-family: 'DM Sans', 'DM Sans Fallback', sans-serif; font-size: 13px; font-weight: 600; }
.gb-plan-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.gb-plan-features li { display: flex; gap: 9px; color: var(--text); font-size: 14px; line-height: 1.45; }
.gb-plan-features li::before { content: "✓"; color: var(--lime); font-weight: 800; }
.gb-plan-cta {
  margin-top: auto; min-height: 50px; display: flex; align-items: center; justify-content: center;
  border-radius: 9px; background: var(--lime); color: #080808; text-decoration: none; font-size: 14px; font-weight: 800;
}
.gb-plan-card:not(.popular) .gb-plan-cta { background: transparent; border: 1px solid var(--border2); color: var(--text); }
.gb-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gb-dot { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.gb-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #555; transition: width .2s ease, background .2s ease; }
.gb-dot.active::before { width: 24px; border-radius: 999px; background: var(--lime); }
.gb-swipe-hint { margin-top: 4px; color: var(--muted2); text-align: center; font-size: 13px; }

@media (min-width: 768px) {
  .gb-plans { padding: 88px 40px; }
  .gb-plans-scroller {
    width: 100%; padding-right: 0; grid-auto-flow: initial; grid-auto-columns: initial;
    grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible;
  }
  .gb-plan-image { height: 168px; }
  .gb-dots, .gb-swipe-hint { display: none; }
}

/* ────────────────────────────────────────────
   RESPONSIVE (shared breakpoints)
──────────────────────────────────────────── */
@media (max-width: 1024px) { .scroll-dots { display: none; } }

@media (max-width: 900px) {
  nav#navbar   { padding: 0 24px; }
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .mobile-menu { padding: 24px; }
  footer       { padding: 48px 24px 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { gap: 0; }
  .footer-links a { display: flex; align-items: center; min-height: 44px; }
  .footer-copy, .footer-ig, .footer-also { font-size: 13px; }
  section      { padding: 72px 24px; }
  .seo-hero-grid, .seo-grid, .seo-grid.two, .seo-steps, .seo-comparison, .seo-related { grid-template-columns: 1fr; }
  .seo-hero { text-align: center; padding: 110px 24px 58px; }
  .seo-lead { margin-left: auto; margin-right: auto; }
  .seo-actions { justify-content: center; }
  .seo-section { padding: 70px 24px; }
  .seo-final { padding: 76px 24px; }
}

@media (max-width: 480px) {
  .nav-logo { font-size: 18px; gap: 7px; letter-spacing: 2px; }
  .nav-logo img { width: 30px; height: 30px; }
}

/* Nav carries 9 items: collapse to hamburger below 1100px.
   ID-scoped so it overrides page-inline .nav-links{display:flex}. */
@media (max-width: 1100px) {
  nav#navbar .nav-links { display: none; }
  nav#navbar .hamburger { display: flex; }
}

/* Featured "Log App" nav link with NEW badge */
.nav-links a.nav-log { color: var(--lime); font-weight: 600; }
.nav-links a.nav-log:hover { color: var(--lime); opacity: 0.85; }
.nav-log-badge {
  display: inline-block; margin-left: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.6px;
  color: #000; background: var(--lime);
  padding: 2px 5px; border-radius: 4px; vertical-align: middle;
  transform: translateY(-1px);
}
.mobile-menu a .nav-log-badge { font-size: 11px; }

/* ── Tools & Resources dropdown ─────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--muted2); background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; padding: 0; line-height: 1.1;
  transition: color 0.2s;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle { color: var(--white); }
.nav-dropdown-toggle.active { color: var(--lime); }
.nav-caret { width: 13px; height: 13px; transition: transform 0.25s; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: -10px; right: -10px; height: 16px; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px; list-style: none; margin: 0; padding: 8px;
  background: rgba(12,12,12,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border2); border-radius: 12px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 950;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li { margin: 0; }
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--muted2); text-decoration: none;
  transition: background 0.18s, color 0.18s; white-space: nowrap;
}
.nav-links .nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: rgba(200,241,53,0.08); color: var(--white); }
.nav-dropdown-menu a.active { color: var(--lime); }
.mobile-group-label {
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-top: 6px; margin-bottom: -6px;
}
.mobile-menu a.mobile-sub { padding-left: 14px; font-size: 15px; color: var(--muted2); }

/* ── Free Starter Week block (starter_week.py) ──────────────────────────── */
.sw-block{margin:40px 0;padding:24px 26px;border:1px solid rgba(200,241,53,0.24);border-radius:var(--radius-lg);
  background:linear-gradient(135deg,var(--lime-glow),var(--card) 55%);display:flex;align-items:center;
  justify-content:space-between;gap:22px;flex-wrap:wrap}
.sw-block .sw-kicker{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--lime);margin-bottom:8px}
.sw-block .sw-title{font-family:'Bebas Neue','Bebas Neue Fallback',sans-serif;font-size:clamp(26px,3.4vw,34px);line-height:1;letter-spacing:.5px;color:var(--white);margin:0 0 8px}
.sw-block .sw-body{color:var(--muted2);font-size:14px;line-height:1.6;max-width:560px;margin:0}
.sw-block .sw-actions{display:flex;flex-wrap:wrap;gap:10px}
.sw-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border-radius:10px;
  background:var(--wa);color:#06120a;font-weight:800;font-size:14px;text-decoration:none;white-space:nowrap;
  transition:transform .2s ease,background .2s ease}
.sw-btn svg{width:18px;height:18px;flex:none}
.sw-btn:hover{background:#1fbf5a;transform:translateY(-2px)}
.sw-btn:focus-visible{outline:3px solid var(--white);outline-offset:3px}
.sw-compact{margin:0;padding:20px;flex-direction:column;align-items:stretch;gap:14px}
.sw-block.sw-compact .sw-title{font-size:26px}
.sw-block.sw-compact .sw-actions{flex-direction:column}
.sw-email{flex-basis:100%;margin:2px 0 0;font-size:13px;color:var(--muted2)}
.sw-email-toggle{cursor:pointer;list-style:none;display:inline-block;padding:6px 2px;color:var(--lime);font-weight:700}
.sw-email-toggle::-webkit-details-marker{display:none}
.sw-email-toggle::after{content:'';display:inline-block;width:6px;height:6px;margin:0 0 2px 8px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s ease}
.sw-email[open] .sw-email-toggle::after{transform:rotate(-135deg);margin-bottom:-2px}
.sw-email-toggle:hover{text-decoration:underline}
.sw-email-toggle:focus-visible{outline:3px solid var(--white);outline-offset:3px;border-radius:4px}
.sw-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:10px;padding:14px;border:1px solid var(--border2);
  border-radius:var(--radius);background:rgba(0,0,0,0.25)}
.sw-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sw-field{display:flex;flex-direction:column;gap:5px;flex:1 1 200px;min-width:0}
.sw-field span,.sw-choice legend{font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.sw-field input{width:100%;min-height:44px;padding:0 12px;border:1px solid var(--border2);border-radius:10px;background:var(--dark);
  color:var(--text);font:inherit;font-size:15px}
.sw-field input:focus{outline:none;border-color:var(--lime);box-shadow:0 0 0 3px var(--lime-glow)}
.sw-choice{display:flex;flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;border:0;min-width:0}
.sw-choice legend{padding:0;margin-bottom:5px}
.sw-choice label{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--text);font-size:14px;font-weight:700;cursor:pointer}
.sw-choice input{accent-color:var(--lime);width:16px;height:16px;margin:0}
.sw-submit{min-height:44px;padding:0 16px;border:0;border-radius:10px;background:var(--lime);color:var(--black);font:inherit;
  font-size:14px;font-weight:800;cursor:pointer;transition:background .2s ease,transform .2s ease}
.sw-submit:hover{background:var(--lime2);transform:translateY(-1px)}
.sw-submit:disabled{opacity:.6;cursor:wait;transform:none}
.sw-submit:focus-visible{outline:3px solid var(--white);outline-offset:3px}
.sw-form-note{flex-basis:100%;margin:0;font-size:13px;color:var(--red)}
.sw-form-note:empty{display:none}
.sw-sent{flex-basis:100%;margin-top:4px;padding:14px;border:1px solid rgba(200,241,53,0.35);border-radius:var(--radius);background:var(--lime-glow)}
.sw-sent:focus{outline:none}
.sw-sent-title{margin:0 0 4px;color:var(--white);font-weight:800;font-size:15px}
.sw-sent-body{margin:0 0 8px;color:var(--muted2);font-size:13px}
.sw-sent-links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px}
.sw-sent-links a{color:var(--lime);font-weight:700;font-size:14px;text-decoration:none;padding:6px 0;display:inline-block}
.sw-sent-links a:hover{text-decoration:underline}
.sw-inline-wrap{margin-top:14px}
.sw-inline-wrap .sw-inline{margin-top:0}
.sw-email-inline{margin-top:0}
.sw-email-inline .sw-form,.sw-email-inline .sw-sent{max-width:520px}
.sw-wrap{max-width:1120px;margin:0 auto;padding:0 40px}
.sw-inline{margin:14px 0 0;font-size:13px;color:var(--muted2)}
.sw-inline a{color:var(--lime);font-weight:700;text-decoration:none;padding:6px 2px}
.sw-inline a:hover{text-decoration:underline}
@media (max-width:900px){.sw-wrap{padding:0 24px}}
@media (max-width:640px){.sw-block{flex-direction:column;align-items:stretch;padding:20px}.sw-block .sw-actions{flex-direction:column}}
