/* ============================================================
   SEO.CSS — Cosmic Design System for Static SEO Pages
   Soulmate App — Standalone, no build step, no external imports
   ============================================================
   Fonts: Add this <link> in each HTML <head>:
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;700;900&display=swap" rel="stylesheet">
   ============================================================ */

/* ----- Custom Properties / Design Tokens ----- */
:root {
  /* Palette */
  --color-bg-deep:       #0a0e27;
  --color-bg-dark:       #0a0e27;
  --color-bg-cosmic:     #1a1a4e;
  --color-bg-card:       rgba(26, 26, 78, 0.55);
  --color-bg-card-hover: rgba(26, 26, 78, 0.80);
  --color-gold:          #ffd700;
  --color-gold-dim:      #b8960f;
  --color-silver:        #c0c0c0;
  --color-white:         #ffffff;
  --color-text:          #e0e0f0;
  --color-text-muted:    #9a9ac0;
  --color-accent-purple: #7b2ff7;
  --color-accent-pink:   #f72f8e;
  --color-accent-blue:   #2f8ef7;
  --color-border:        rgba(255, 215, 0, 0.15);
  --color-border-hover:  rgba(255, 215, 0, 0.45);

  /* Gradients */
  --gradient-cosmic: linear-gradient(135deg, #0a0e27 0%, #1a1a4e 50%, #0d1137 100%);
  --gradient-gold:   linear-gradient(135deg, #ffd700 0%, #f0c040 50%, #ffd700 100%);
  --gradient-card:   linear-gradient(145deg, rgba(26,26,78,0.6) 0%, rgba(10,14,39,0.8) 100%);
  --gradient-btn:    linear-gradient(135deg, #ffd700 0%, #f0a000 100%);
  --gradient-btn-hover: linear-gradient(135deg, #ffe44d 0%, #ffd700 100%);

  /* Glow */
  --glow-gold:   0 0 20px rgba(255, 215, 0, 0.3);
  --glow-purple: 0 0 30px rgba(123, 47, 247, 0.3);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;

  /* Borders */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.35s var(--ease-out);
}

/* ----- Reset ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
:where(h1, h2, h3, h4, h5, h6, [id]) { scroll-margin-top: 96px; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--color-gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-white); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10001;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: #0a0e27;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
}

.skip-link:focus {
  top: 16px;
}

/* ----- Body — Cosmic Background ----- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  color-scheme: dark;
  background: var(--color-bg-deep);
  background-image:
    radial-gradient(ellipse 800px 600px at 20% 10%, rgba(123,47,247,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 600px 500px at 80% 50%, rgba(47,142,247,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 50% 90%, rgba(247,47,142,0.05) 0%, transparent 70%),
    var(--gradient-cosmic);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-3xl); }
h4 { font-size: var(--fs-2xl); }
h5 { font-size: var(--fs-xl); }
h6 { font-size: var(--fs-lg); }

.text-gold  { color: var(--color-gold); }
.text-muted { color: var(--color-text-muted); }

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: var(--space-md);
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}
.section-title p {
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-lg) 0;
}

/* Responsive Grid */
.grid {
  display: grid;
  gap: var(--space-xl);
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }

.text-center { text-align: center; }

/* ----- Hero Section ----- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
}
.hero-content {
  position: relative;
  max-width: 800px;
  z-index: 1;
}
.hero h1 {
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
}
.hero p {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--gradient-btn);
  color: var(--color-bg-deep);
  box-shadow: var(--glow-gold);
}
.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
  color: var(--color-bg-deep);
}
.btn-secondary {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
  color: var(--color-gold);
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

/* ----- Cards ----- */
.card {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}
.card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  color: var(--color-gold);
}
.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.card-text {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  color: var(--color-gold);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.card-link:hover { gap: var(--space-sm); }

/* Zodiac card variant */
.zodiac-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.zodiac-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}
.zodiac-card .zodiac-dates {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}
.zodiac-card .zodiac-card-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-md);
  display: block;
  border: 2px solid rgba(255, 215, 0, 0.2);
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.zodiac-card:hover .zodiac-card-img {
  transform: scale(1.05);
  border-color: rgba(255, 215, 0, 0.5);
}

/* ----- Hero with Background Image ----- */
.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,39,0.7) 0%, rgba(10,14,39,0.85) 60%, rgba(10,14,39,0.95) 100%);
  z-index: 0;
}

/* ----- Card icon centering ----- */
.card.text-center .card-icon,
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card.text-center .card-icon svg,
.card-icon svg {
  width: 100%;
  height: 100%;
}

/* ----- Grid display fix (ensure grid is always grid) ----- */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: var(--space-xl);
}

/* ----- Sign cross-link cards ----- */
a.card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ----- Lunar calendar grid ----- */
.lunar-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  max-width: 500px;
  margin: 0 auto;
}
.lunar-calendar-header {
  text-align: center;
  font-weight: 600;
  color: var(--color-gold);
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
}
.lunar-calendar-day {
  text-align: center;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.lunar-calendar-day.today {
  border: 2px solid var(--color-gold);
  border-radius: 8px;
  background: rgba(255, 215, 0, 0.08);
}
.lunar-calendar-day .day-num {
  font-size: var(--fs-sm);
  margin-bottom: 2px;
  color: var(--color-text);
}

/* ----- Moon phase hero icon ----- */
.moon-hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.moon-hero-icon svg {
  width: 100%;
  height: 100%;
}

/* ----- Phase card grid fix ----- */
.phase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg);
}
.phase-card .card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 0.75rem;
}

/* ----- Guidance grid ----- */
.guidance-card .card-title {
  color: var(--color-gold);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

/* ----- Section headings alignment ----- */
.section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  padding-bottom: var(--space-md);
}
.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

/* ----- Sign page hero improvements ----- */
.sign-hero-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  display: block;
  border: 3px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

/* ----- AEO: Quotable summary ----- */
.horoscope-summary {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
  margin: var(--space-md) 0 var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-left: 3px solid var(--color-gold);
  background: rgba(255, 215, 0, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ----- AEO: Comparison table ----- */
.compat-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-lg);
  font-size: var(--fs-sm);
}
.compat-table th, .compat-table td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  text-align: left;
}
.compat-table th {
  background: rgba(255, 215, 0, 0.08);
  color: var(--color-gold);
  font-weight: 600;
}
.compat-table td {
  color: var(--color-text);
}
@media (max-width: 600px) {
  .compat-table { font-size: 0.8rem; }
  .compat-table th, .compat-table td { padding: 0.4rem 0.6rem; }
}

/* ----- Breadcrumb ----- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  padding: var(--space-md) 0;
}
.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb li + li::before {
  content: '→';
  margin: 0 var(--space-sm);
  opacity: 0.5;
  font-size: var(--fs-xs);
}
.breadcrumb li:last-child {
  color: var(--color-gold);
}

/* ----- FAQ Section ----- */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: rgba(26, 26, 78, 0.3);
  transition: border-color var(--transition-fast);
}
.faq-item:hover {
  border-color: var(--color-border-hover);
}
.faq-question {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-white);
  padding: var(--space-lg) var(--space-xl);
  cursor: default;
  position: relative;
}
.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: var(--fs-sm);
}
.faq-answer p { margin-bottom: var(--space-sm); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ----- Article Body ----- */
.article-body h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: var(--fs-2xl);
}
.article-body h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xl);
  color: var(--color-gold);
}
.article-body p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}
.article-body a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--color-white); }
.article-body ul, .article-body ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

/* ----- Site Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  height: 64px;
  overflow: visible;
  isolation: isolate;
  background: #0a0e27;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}
.site-header.scrolled {
  background: #080b20;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.46);
}

.site-header .header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
  flex-shrink: 0;
}
.site-header .logo img {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}
.site-header .logo:hover { color: var(--color-white); }
.site-header .logo-text span { color: var(--color-gold); }

.site-header nav {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Nav menu — horizontal bar */
.site-header .nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 0;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
}
.site-header .nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
}
.site-header .nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 var(--space-md);
  transition: color var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-header .dd-arrow {
  transition: transform var(--transition-fast);
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}
.site-header .nav-dropdown:hover > .nav-link .dd-arrow,
.site-header .nav-dropdown.open > .nav-link .dd-arrow {
  transform: rotate(180deg);
}
.site-header .nav-cta {
  color: var(--color-bg-deep) !important;
  background: var(--gradient-btn);
  border-radius: var(--radius-full);
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  height: auto;
  border-bottom: none !important;
  margin-left: var(--space-sm);
}
.site-header .nav-cta:hover {
  background: var(--gradient-btn-hover);
  color: var(--color-bg-deep) !important;
}

/* Dropdown submenu */
.site-header .nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: #0a0e27 !important;
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-top: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 18px 48px rgba(0,0,0,0.62), 0 0 20px rgba(123,47,247,0.1);
  list-style: none !important;
  margin: 0 !important;
}
.site-header .nav-dropdown:hover > .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-header .nav-sub li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}
.site-header .nav-sub a {
  display: block;
  padding: 0.55rem 1.3rem;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}
.site-header .nav-sub a:hover {
  color: var(--color-gold);
  background: rgba(255, 215, 0, 0.08);
  padding-left: 1.5rem;
  border-left-color: var(--color-gold);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Body offset for fixed header */
body { padding-top: 76px; }
body.nav-open { overflow: hidden; width: 100%; }

/* ----- Footer ----- */
.footer {
  background: rgba(10, 14, 39, 0.95);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
  text-align: center;
}
.footer p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
}
.footer a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}
.footer a:hover { color: var(--color-gold); }
.footer .footer-cta {
  margin-bottom: var(--space-2xl);
}
.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.footer .footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ----- Structured Data / Accessibility ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ----- Badge ----- */
.badge {
  display: inline-block;
  padding: 0.25em 0.75em;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: rgba(255, 215, 0, 0.12);
  color: var(--color-gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

/* ----- Divider ----- */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-2xl) 0;
  color: var(--color-gold);
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

/* ----- Responsive — Mobile First ----- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex !important; }
  .site-header nav { display: none; }
  .site-header .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    padding: var(--space-lg);
    gap: 0;
  }
  .site-header .nav-menu > li {
    display: block;
    height: auto;
    border-bottom: 1px solid var(--color-border);
  }
  .site-header .nav-link {
    height: auto;
    padding: var(--space-md) 0;
    font-size: var(--fs-base);
    border-bottom: none;
  }
  .site-header .nav-sub {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 var(--space-md);
    min-width: auto;
    max-height: 0;
    overflow: hidden;
  }
  .site-header .nav-sub a {
    padding: 0.4rem 0;
    border-left: none;
  }
  .site-header .nav-sub a:hover {
    padding-left: 0.5rem;
    background: none;
  }
  .site-header .nav-cta {
    text-align: center;
    margin-top: var(--space-md);
    margin-left: 0;
    display: inline-block;
  }
  .site-header nav.open {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0e27;
    overflow-y: auto;
    z-index: 9995;
  }
  .site-header .nav-dropdown.open > .nav-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 480px;
    padding: 0 0 var(--space-sm) var(--space-md);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: var(--fs-4xl); }
  h2 { font-size: var(--fs-3xl); }
  h3 { font-size: var(--fs-2xl); }
  .container { padding: 0 var(--space-md); }
  .section { padding: var(--space-lg) 0; }
  .hero { padding: var(--space-xl) var(--space-md); }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 360px; }
}

@media (max-width: 640px) {
  .breadcrumb { font-size: var(--fs-xs); }
  .faq-question { font-size: var(--fs-base); padding: var(--space-md); }
  .faq-answer { padding: 0 var(--space-md) var(--space-md); }
  .footer .footer-links { flex-direction: column; gap: var(--space-sm); }
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
