/* ==========================================================================
   SuperCycle - Modern Design System & Stylesheet
   Built for Osborn Technologies, Inc.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-main: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.82);
  --bg-glass: rgba(15, 23, 42, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(16, 185, 129, 0.35);
  --border-pro: rgba(6, 182, 212, 0.45);

  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-cyan: #06b6d4;
  --accent-cyan-light: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-brand: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-pro: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 40%, #a7f3d0 100%);
  --gradient-pro-text: linear-gradient(135deg, #22d3ee 30%, #c084fc 100%);
  --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.2);
  --shadow-pro-glow: 0 0 35px rgba(6, 182, 212, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1200px;
  --nav-height: 68px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); font-weight: 600; }

/* Smaller headings use Inter with thinner, elegant weights (500-600) and neutral tracking */
h4, h5, h6 {
  font-family: var(--font-body);
  line-height: 1.35;
  color: #f8fafc;
  letter-spacing: 0;
}

h4 { font-size: 1.2rem; font-weight: 600; }
h5 { font-size: 0.98rem; font-weight: 500; }
h6 { font-size: 0.88rem; font-weight: 500; }

strong, b {
  font-weight: 600;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

p.lead {
  font-size: 1.2rem;
  color: #cbd5e1;
  line-height: 1.6;
}

a {
  color: var(--accent-emerald-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffffff;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--accent-emerald-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.eyebrow-pro {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan-light);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pro-gradient-text {
  background: var(--gradient-pro-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  padding: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.brand-logo img {
  height: 38px;
  width: 38px;
  border-radius: 8px;
  display: block;
}

.brand-logo span {
  display: inline-block;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #042018;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  color: #02120e;
}

.btn-pro {
  background: var(--gradient-pro);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

/* Feature & Edition Badges */
.badge-free {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 0;
  vertical-align: baseline;
}

.badge-pro {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-bottom: 0;
  vertical-align: baseline;
}

/* Popular Topic Hero Pills */
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-pill:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Store Badge Groups */
.store-badge {
  display: inline-block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.store-badge img {
  height: 44px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.store-badge:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.08);
}

/* Hero Section */
.hero {
  padding: 64px 0 80px 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 24px;
}

/* Dual Edition Showcase in Hero */
.editions-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.edition-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
}

.edition-mini-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.edition-mini-card.pro-card {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(6, 182, 212, 0.04);
}

.edition-mini-card.pro-card:hover {
  border-color: var(--accent-cyan);
}

.edition-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.edition-title h4 {
  font-size: 1.05rem;
  margin: 0;
}

.edition-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.45;
}

.edition-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.edition-badges .store-badge img {
  height: 36px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
}

.phone-img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  border-radius: 36px;
  transition: transform 0.4s ease;
}

.phone-showcase:hover .phone-img {
  transform: translateY(-6px) scale(1.02);
}

/* Floating stat chips */
.stat-chip {
  position: absolute;
  padding: 10px 16px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.stat-chip.stat-1 {
  top: 15%;
  left: -8%;
  animation-delay: 0s;
}

.stat-chip.stat-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.stat-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.stat-chip-icon.emerald { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald-light); }
.stat-chip-icon.cyan { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan-light); }

.stat-chip-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.2;
}

.stat-chip-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Cards & Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  background-image: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card h4 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #f8fafc;
  margin-bottom: 12px;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card.pro-card-border:hover {
  border-color: var(--border-pro);
  box-shadow: var(--shadow-pro-glow);
}

.card.pro-teaser-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-color: rgba(6, 182, 212, 0.25);
}

.card.pro-teaser-card:hover {
  border-color: var(--border-pro);
  box-shadow: var(--shadow-pro-glow);
}

.pro-teaser-title {
  margin-bottom: 8px;
  color: #ffffff;
}

.pro-teaser-desc {
  margin-bottom: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--accent-emerald-light);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-emerald-light);
}

.card-link:hover {
  gap: 10px;
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* Pricing & Edition Comparison Cards */
.compare-section {
  background: rgba(0, 0, 0, 0.25);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.pro {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(17, 24, 39, 0.85) 100%);
  box-shadow: var(--shadow-pro-glow);
}

.pricing-popular-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gradient-pro);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0 8px;
}

.pricing-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.pricing-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-features li strong {
  color: #ffffff;
  font-weight: 600;
}

.pricing-features li.pro-highlight {
  color: #cbd5e1;
  font-weight: 400;
}

.pricing-features li.pro-highlight strong {
  color: #ffffff;
  font-weight: 600;
}

.pricing-features li.pro-highlight svg {
  color: var(--accent-cyan);
}

/* Feature Comparison Table */
.compare-table-wrapper {
  overflow-x: auto;
  margin: 48px auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.compare-table th:first-child {
  width: 50%;
}

.compare-table th:nth-child(2),
.compare-table th:nth-child(3) {
  text-align: center;
  width: 25%;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3) {
  text-align: center;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.check-green {
  color: var(--accent-emerald-light);
  font-weight: 700;
  font-size: 1.2rem;
}

.check-pro {
  color: var(--accent-cyan-light);
  font-weight: 700;
  font-size: 1.2rem;
}

.cross-dim {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* Features Deep Dive (features.html) */
.feature-hero {
  text-align: center;
  padding: 60px 0 40px;
}

.feature-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 48px;
  max-width: 900px;
}

.feature-nav-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.feature-nav-btn:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.feature-block:last-child {
  border-bottom: none;
}

.feature-block.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-badge-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 0;
  vertical-align: baseline;
}

.feature-badge.pro-tag {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan-light);
}

.feature-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: #cbd5e1;
}

.feature-list li strong {
  font-weight: 600;
  color: #f8fafc;
}

.feature-list li svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-card-spec {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 18px;
}

.feature-card-spec h5 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-bottom: 6px;
}

.feature-card-spec p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Help & Troubleshooting Center (help.html) */
.help-hero {
  padding: 64px 0 40px;
  text-align: center;
}

.search-box-wrapper {
  max-width: 680px;
  margin: 32px auto 0;
  position: relative;
}

.search-input-container {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 12px 6px 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.search-input-container:focus-within {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  background: rgba(17, 24, 39, 0.95);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-right: 12px;
  display: flex;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #ffffff;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-clear-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px 10px;
  font-size: 1.35rem;
  line-height: 1;
  display: none;
  border-radius: 50%;
  transition: color 0.2s, background-color 0.2s;
}

.search-clear-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .search-clear-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.06);
}

.search-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0 10px;
}

/* Category Filter Chips */
.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 44px;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.filter-chip.active {
  background: var(--gradient-brand);
  color: #042018;
  font-weight: 600;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Troubleshooting Accordion List */
.help-results-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.help-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.help-card.open {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.help-card.open.pro-article {
  border-color: rgba(6, 182, 212, 0.5);
}

.help-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.2s ease;
}

.help-card-header:hover {
  background: rgba(255, 255, 255, 0.04);
}

.help-card-title-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
}

.help-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-emerald-light);
}

.help-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.help-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.help-card.open .help-chevron {
  transform: rotate(180deg);
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald-light);
}

.help-card-body {
  display: none;
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 14, 26, 0.6);
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
}

.help-card.open .help-card-body {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.help-card-body ol, 
.help-card-body ul {
  margin: 16px 0 16px 24px;
}

.help-card-body li {
  margin-bottom: 8px;
}

.help-card-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #a7f3d0;
  font-family: monospace;
}

.tip-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--accent-emerald);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 0.9rem;
}

.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent-amber);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 0.9rem;
  color: #fde68a;
}

.pro-box {
  background: rgba(6, 182, 212, 0.08);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
  font-size: 0.9rem;
  color: #e0f2fe;
}

.highlight {
  background: rgba(250, 204, 21, 0.25);
  color: #fef08a;
  padding: 1px 3px;
  border-radius: 2px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--text-dim);
}

.support-cta-box {
  margin-top: 64px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.09) 0%, rgba(6, 182, 212, 0.06) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Privacy Page Specifics */
.policy-container {
  max-width: 840px;
  margin: 40px auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.policy-container h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.policy-container h2 {
  font-size: 1.45rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.policy-container h3, 
.policy-container strong.section-subhead {
  color: var(--accent-emerald-light);
  display: block;
  margin: 20px 0 8px;
}

.policy-container ul {
  margin: 14px 0 20px 24px;
  color: var(--text-muted);
}

.policy-container li {
  margin-bottom: 8px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-download-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.cta-free-label {
  color: #ffffff;
}

.cta-pro-label {
  color: var(--accent-cyan-light);
}

/* Site Footer */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
  }

  .editions-box {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
    direction: ltr;
  }

  .col-4, .col-6, .col-8 {
    grid-column: span 12;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 68px;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: auto;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    height: auto;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .stat-chip {
    display: none;
  }

  .policy-container {
    padding: 24px 18px;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   Pagefind UI & Semantic Help Knowledge Base Styles
   ========================================================================== */

/* Pagefind Custom Theme Properties */
:root {
  --pagefind-ui-scale: 0.95;
  --pagefind-ui-primary: var(--accent-emerald);
  --pagefind-ui-text: var(--text-main);
  --pagefind-ui-background: #0f172a;
  --pagefind-ui-border: var(--border-color);
  --pagefind-ui-tag: #1e293b;
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: var(--radius-md);
  --pagefind-ui-image-border-radius: var(--radius-sm);
  --pagefind-ui-font: var(--font-sans);
}

/* Pagefind UI Container Overrides */
.pagefind-ui {
  font-family: var(--font-sans);
  max-width: 720px;
  margin: 0 auto;
}

.pagefind-ui__search-input {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-full) !important;
  padding: 16px 24px 16px 52px !important;
  font-size: 1.05rem !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;
  transition: all var(--transition-fast) !important;
}

.pagefind-ui__search-input::placeholder {
  color: var(--text-dim) !important;
}

.pagefind-ui__search-input:focus {
  border-color: var(--accent-emerald) !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35) !important;
  background: rgba(15, 23, 42, 0.98) !important;
  outline: none !important;
}

.pagefind-ui__search-clear {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
  border-radius: 50% !important;
  transition: all var(--transition-fast) !important;
}

.pagefind-ui__search-clear:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.pagefind-ui__drawer {
  margin-top: 24px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  max-width: 820px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.pagefind-ui__result {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  border-radius: 0 !important;
  padding: 18px 0 20px !important;
  margin-bottom: 8px !important;
  box-shadow: none !important;
  transition: all var(--transition-fast) !important;
}

.pagefind-ui__result:hover {
  border-color: rgba(16, 185, 129, 0.3) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pagefind-ui__result-link {
  color: #38bdf8 !important;
  font-size: 1.22rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
}

.pagefind-ui__result-link:hover {
  color: #60a5fa !important;
  text-decoration: underline !important;
}

.pagefind-ui__result-excerpt {
  color: #94a3b8 !important;
  font-size: 0.92rem !important;
  line-height: 1.6 !important;
}

.pagefind-ui__result-excerpt mark {
  background-color: rgba(16, 185, 129, 0.3) !important;
  color: #34d399 !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  border-radius: 4px !important;
}

.pagefind-ui__sub-results {
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
}

.pagefind-ui__sub-result {
  padding: 8px 12px !important;
  border-radius: var(--radius-sm) !important;
}

.pagefind-ui__sub-result:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

.pagefind-ui__sub-result-link {
  color: var(--accent-emerald-light) !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

.pagefind-ui__message {
  color: var(--text-dim) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  margin: 12px 0 !important;
}

.pagefind-ui__button {
  background: var(--accent-emerald) !important;
  color: #042018 !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all var(--transition-fast) !important;
}

.pagefind-ui__button:hover {
  background: var(--accent-emerald-light) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* Semantic Help Articles Container & Cards */
.help-articles-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.help-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.help-article-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.help-article-card.highlight-target {
  border-color: var(--accent-emerald) !important;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5) !important;
  animation: pulseHighlight 2s ease-out;
}

@keyframes pulseHighlight {
  0% { transform: scale(1.01); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.help-details {
  display: block;
}

.help-details[open] > .help-summary .help-toggle-chevron {
  transform: rotate(180deg);
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald-light);
}

.help-summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.2s ease;
}

.help-summary::-webkit-details-marker {
  display: none;
}

.help-summary:hover {
  background: rgba(255, 255, 255, 0.04);
}

.help-summary-left {
  flex: 1;
  padding-right: 18px;
}

.help-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 0;
  vertical-align: baseline;
}

.badge-pro {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--accent-cyan-light);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 0;
  vertical-align: baseline;
}

.category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.help-article-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 6px;
  line-height: 1.4;
}

.help-article-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.help-toggle-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1rem;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
}

.help-article-content {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 14, 26, 0.6);
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.7;
}

.help-article-content p {
  margin-bottom: 14px;
}

.help-article-content p:last-child {
  margin-bottom: 0;
}

.help-article-content ol,
.help-article-content ul {
  margin: 14px 0 16px 24px;
}

.help-article-content li {
  margin-bottom: 8px;
}

.help-article-content code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #a7f3d0;
  font-family: monospace;
}


/* ==========================================================================
   Light Mode Theme Styles
   ========================================================================== */

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);

  --border-subtle: #e2e8f0;
  --border-highlight: rgba(16, 185, 129, 0.4);
  --border-pro: rgba(6, 182, 212, 0.4);

  --accent-emerald: #059669;
  --accent-emerald-light: #065f46;
  --accent-cyan: #0891b2;
  --accent-cyan-light: #06b6d4;
  --accent-blue: #2563eb;
  --accent-purple: #7c3aed;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;

  --gradient-brand: linear-gradient(135deg, #059669 0%, #0891b2 100%);
  --gradient-pro: linear-gradient(135deg, #0891b2 0%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #0f172a 40%, #059669 100%);
  --gradient-pro-text: linear-gradient(135deg, #0891b2 30%, #7c3aed 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 4px 20px rgba(16, 185, 129, 0.15);
  --shadow-pro-glow: 0 4px 20px rgba(6, 182, 212, 0.2);

  --pagefind-ui-background: #ffffff;
  --pagefind-ui-text: #0f172a;
  --pagefind-ui-tag: #f1f5f9;
  --pagefind-ui-border: #e2e8f0;
}

[data-theme="light"] body {
  background-color: #f8fafc;
  color: #0f172a;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #0f172a;
}

[data-theme="light"] p {
  color: #475569;
}

[data-theme="light"] p.lead {
  color: #334155;
}

[data-theme="light"] .brand-logo {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] a:hover {
  color: #047857;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0f172a;
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mobile-toggle {
  color: #0f172a;
}

[data-theme="light"] .card {
  background: #ffffff !important;
  background-image: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .card:hover {
  background: #ffffff !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .card h4 {
  color: #0f172a;
}

[data-theme="light"] .card-title {
  color: #0f172a;
}

[data-theme="light"] .card-text {
  color: #475569;
}

[data-theme="light"] .card-icon {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #059669;
}

[data-theme="light"] .card.pro-teaser-card {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%) !important;
  background-image: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%) !important;
  border-color: rgba(6, 182, 212, 0.35) !important;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.08) !important;
}

[data-theme="light"] .card.pro-teaser-card:hover {
  border-color: rgba(6, 182, 212, 0.5) !important;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.15) !important;
}

[data-theme="light"] .pro-teaser-title {
  color: #0f172a !important;
}

[data-theme="light"] .pro-teaser-desc {
  color: #334155 !important;
}

[data-theme="light"] .feature-card-spec {
  background: #f8fafc;
  border-color: #e2e8f0;
}

[data-theme="light"] .feature-card-spec h5 {
  color: #0f172a;
}

[data-theme="light"] .feature-card-spec p {
  color: #475569;
}

[data-theme="light"] .feature-list li {
  color: #334155;
}

[data-theme="light"] .feature-list li strong {
  color: #0f172a;
}

[data-theme="light"] .feature-nav-btn {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .feature-nav-btn:hover {
  background: #f1f5f9;
  color: #059669;
  border-color: #10b981;
}

[data-theme="light"] .compare-table-wrapper {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .compare-table th {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-color: #cbd5e1;
}

[data-theme="light"] .compare-table td {
  color: #334155;
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .compare-table tr:hover td {
  background: #f8fafc;
}


/* Light Mode Mini Cards & Pricing Cards */
[data-theme="light"] .edition-mini-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .edition-mini-card:hover {
  border-color: #475569;
  background: #f8fafc;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .edition-mini-card.pro-card {
  background: #ffffff;
  border-color: rgba(6, 182, 212, 0.45);
}

[data-theme="light"] .edition-mini-card.pro-card:hover {
  border-color: #0891b2;
  background: #f8fafc;
}

[data-theme="light"] .edition-desc {
  color: #475569;
}

[data-theme="light"] .compare-section {
  background: rgba(241, 245, 249, 0.65);
}

[data-theme="light"] .pricing-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

[data-theme="light"] .pricing-card:hover {
  border-color: #475569;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .pricing-card.pro {
  background: #ffffff;
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.1);
}

[data-theme="light"] .pricing-card.pro:hover {
  border-color: #0891b2;
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
}

[data-theme="light"] .pricing-card h3 {
  color: #0f172a;
}

[data-theme="light"] .pricing-price {
  color: #0f172a;
}

[data-theme="light"] .pricing-sub {
  color: #334155;
}

[data-theme="light"] .pricing-sub em {
  color: #0f172a;
}

[data-theme="light"] .pricing-features li {
  color: #334155;
}

[data-theme="light"] .pricing-features li strong {
  color: #0f172a;
}

[data-theme="light"] .pricing-features li.pro-highlight {
  color: #334155;
  font-weight: 400;
}

[data-theme="light"] .pricing-features li.pro-highlight strong {
  color: #0f172a;
  font-weight: 600;
}

[data-theme="light"] .pricing-features li svg {
  color: #059669;
}

[data-theme="light"] .pricing-features li.pro-highlight svg {
  color: #0891b2;
}

/* Green Pills Darker Text in Light Mode */
[data-theme="light"] .eyebrow {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.32);
  color: #065f46;
}

[data-theme="light"] .badge-free {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.32);
  color: #065f46;
}

[data-theme="light"] .feature-badge:not(.pro-tag) {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.32);
  color: #065f46;
}

[data-theme="light"] .hero-pill {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .hero-pill:hover {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.4);
  color: #065f46 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}


[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .cta-banner h2 {
  color: #0f172a;
}

[data-theme="light"] .cta-banner p {
  color: #475569;
}

[data-theme="light"] .cta-banner p strong {
  color: #0f172a;
}

[data-theme="light"] .cta-free-label {
  color: #0f172a;
}

[data-theme="light"] .cta-pro-label {
  color: #0891b2;
}

[data-theme="light"] .site-footer {
  background: #ffffff;
  border-top-color: #e2e8f0;
}

[data-theme="light"] .footer-title {
  color: #0f172a;
}

[data-theme="light"] .footer-links a {
  color: #64748b;
}

[data-theme="light"] .footer-links a:hover {
  color: #059669;
}

[data-theme="light"] .footer-bottom {
  border-top-color: #f1f5f9;
  color: #64748b;
}

[data-theme="light"] .help-card,
[data-theme="light"] .help-article-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .help-card-title,
[data-theme="light"] .help-article-title {
  color: #0f172a;
}

[data-theme="light"] .help-card-excerpt,
[data-theme="light"] .help-article-excerpt {
  color: #475569;
}

[data-theme="light"] .help-card-body {
  color: #334155;
}

[data-theme="light"] .help-card-body code {
  background: #f1f5f9;
  color: #059669;
  border-color: #e2e8f0;
}

[data-theme="light"] .search-input-container {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .search-input {
  color: #0f172a;
}

[data-theme="light"] .search-input::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .stat-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

[data-theme="light"] .pagefind-ui__search-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .pagefind-ui__drawer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

[data-theme="light"] .pagefind-ui__result {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
}

[data-theme="light"] .pagefind-ui__result:hover {
  background: transparent !important;
  border-bottom-color: #cbd5e1 !important;
  box-shadow: none !important;
}

[data-theme="light"] .pagefind-ui__result-title {
  color: #0f172a !important;
}

[data-theme="light"] .pagefind-ui__result-excerpt {
  color: #4d5156 !important;
}

/* Theme Toggle Button Styles */
.nav-actions {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #f8fafc;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent-emerald-light);
  transform: scale(1.05);
}

[data-theme="light"] .theme-toggle {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

[data-theme="light"] .theme-toggle:hover {
  background: #e2e8f0;
  color: #059669;
}

.sun-icon {
  display: block;
}

.moon-icon {
  display: none;
}

[data-theme="light"] .sun-icon {
  display: none;
}

[data-theme="light"] .moon-icon {
  display: block;
}

/* ==========================================================================
   Help Topics Hub Grid (help.html)
   ========================================================================== */
.help-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
  margin-top: 16px;
}

@media (max-width: 640px) {
  .help-topics-grid {
    grid-template-columns: 1fr;
  }
}

.help-topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.help-topic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.help-topic-card.pro-topic::before {
  background: var(--gradient-pro);
}

.help-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .help-topic-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.help-topic-card.pro-topic:hover {
  border-color: rgba(6, 182, 212, 0.5);
}

.help-topic-card:hover::before {
  opacity: 1;
}

.help-topic-card-header {
  margin-bottom: 12px;
}

.help-topic-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0 0 10px;
  transition: color 0.2s ease;
}

.help-topic-card:hover .help-topic-card-title {
  color: var(--accent-emerald-light);
}

.help-topic-card.pro-topic:hover .help-topic-card-title {
  color: var(--accent-cyan);
}

.help-topic-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}

.help-topic-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-emerald-light);
  transition: all 0.2s ease;
}

.help-topic-card.pro-topic .help-topic-card-footer {
  color: var(--accent-cyan);
}

.help-topic-card-footer svg {
  transition: transform 0.2s ease;
}

.help-topic-card:hover .help-topic-card-footer svg {
  transform: translateX(4px);
}


/* ==========================================================================
   Help Topics Search Results - Google Search Format (help.html)
   ========================================================================== */
.search-results-list {
  max-width: 820px;
  margin: 0 auto;
}

.search-results-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.search-results-meta strong {
  color: var(--text-main);
}

.search-result-item {
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
  transition: opacity 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-url {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-family: var(--font-body);
}

.search-result-domain {
  color: var(--text-muted);
}

.search-result-sep {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.search-result-category {
  color: var(--accent-emerald-light);
  font-weight: 500;
}

.search-result-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px;
}

.search-result-title a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

.search-result-title a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.search-result-snippet {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Empty State Prompt */
.help-empty-state {
  text-align: center;
  padding: 56px 20px 72px;
  max-width: 520px;
  margin: 0 auto;
}

.help-empty-state .empty-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  opacity: 0.5;
}

.help-empty-state .empty-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.help-empty-state .empty-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Individual Help Article Pages (help/*.html)
   ========================================================================== */
.help-page-hero {
  padding: 44px 0 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
}

.help-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.help-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.help-breadcrumb a:hover {
  color: var(--accent-emerald-light);
}

.help-breadcrumb-sep {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.help-article-page-title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin: 16px 0 12px;
}

@media (max-width: 768px) {
  .help-article-page-title {
    font-size: 1.7rem;
  }
}

.help-article-page-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 860px;
  margin: 0;
}

.help-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 44px;
  align-items: start;
  padding: 40px 0 80px;
}

@media (max-width: 960px) {
  .help-page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.help-page-main {
  min-width: 0;
}

.help-article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 38px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-main);
}

@media (max-width: 640px) {
  .help-article-body {
    padding: 24px 20px;
  }
}

[data-theme="light"] .help-article-body {
  background: #ffffff;
}

.help-article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-main);
}

.help-article-body h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-main);
}

.help-article-body p {
  margin-bottom: 18px;
}

.help-article-body ol, 
.help-article-body ul {
  margin: 16px 0 24px 28px;
}

.help-article-body li {
  margin-bottom: 10px;
}

.help-article-body strong {
  color: var(--text-main);
}

.help-article-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: #a7f3d0;
  font-family: monospace;
}

[data-theme="light"] .help-article-body code {
  background: #f1f5f9;
  color: #065f46;
}

.help-article-footer-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* Sidebar Styles */
.help-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.help-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.help-sidebar-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.help-sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-sidebar-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: block;
  transition: all 0.2s ease;
}

.help-sidebar-link:hover {
  color: var(--accent-emerald-light);
  background: rgba(16, 185, 129, 0.08);
}

.help-sidebar-link.active {
  color: var(--accent-emerald-light);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.12);
}


/* Light Mode Google Search Format */
[data-theme="light"] .search-results-meta {
  color: #64748b;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .search-results-meta strong {
  color: #0f172a;
}

[data-theme="light"] .search-result-item {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .search-result-domain {
  color: #475569;
}

[data-theme="light"] .search-result-category {
  color: #065f46;
}

[data-theme="light"] .search-result-title a {
  color: #1a0dab; /* Classic Google search blue */
}

[data-theme="light"] .search-result-title a:hover {
  color: #1a0dab;
  text-decoration: underline;
}

[data-theme="light"] .search-result-snippet {
  color: #4d5156; /* Google search snippet grey */
}

[data-theme="light"] .help-empty-state .empty-title {
  color: #0f172a;
}

[data-theme="light"] .help-empty-state .empty-text {
  color: #64748b;
}

/* Search result keyword highlights (Google style) */
.search-result-snippet mark,
.search-result-title mark {
  background-color: rgba(234, 179, 8, 0.25);
  color: #fef08a;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

[data-theme="light"] .search-result-snippet mark,
[data-theme="light"] .search-result-title mark {
  background-color: #fef08a;
  color: #0f172a;
}

/* Styled Tables in Help & Documentation */
.table-responsive {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.015);
}

.table-styled {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.6;
}

.table-styled th,
.table-styled td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.table-styled th {
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-subtle);
}

.table-styled tbody tr:last-child td {
  border-bottom: none;
}

.table-styled tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .table-responsive {
  border-color: #e2e8f0;
  background: #f8fafc;
}

[data-theme="light"] .table-styled th {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom: 2px solid #cbd5e1;
}

[data-theme="light"] .table-styled th,
[data-theme="light"] .table-styled td {
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .table-styled tbody tr:hover td {
  background: #f1f5f9;
}

