/*
 * TikaCam Theme - Light/Dark Mode
 * Include on every page: <link rel="stylesheet" href="/theme.css">
 * Toggle: Add data-theme="dark" to <html> for dark mode
 * Last updated: 2025
 */

/* ===========================================
   LIGHT MODE (Default)
   =========================================== */
:root {
  /* Core colors */
  --bg: #fafbfd;
  --bg2: #f0f4f8;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  
  /* Accent colors */
  --accent: #6366f1;
  --accent2: #ec4899;
  --ok: #10b981;
  --warm: #f59e0b;
  --coral: #f43f5e;
  
  /* Borders & effects */
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.12);
  --ring: rgba(99, 102, 241, 0.4);
  --glow: rgba(99, 102, 241, 0.25);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  
  /* Topbar */
  --topbar-bg: rgba(255, 255, 255, 0.9);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent2));
  --gradient-warm: linear-gradient(135deg, var(--accent), var(--accent2), var(--warm));
  --gradient-card: linear-gradient(180deg, rgba(99, 102, 241, 0.04), rgba(236, 72, 153, 0.02));
  
  /* Badge backgrounds */
  --badge-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  --badge-border: rgba(99, 102, 241, 0.2);
  --check-bg: rgba(99, 102, 241, 0.05);
  --stat-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.06));
  --stat-border: rgba(99, 102, 241, 0.15);
  --feature-hover-shadow: rgba(99, 102, 241, 0.12);
  --table-highlight: rgba(99, 102, 241, 0.06);
}

/* ===========================================
   DARK MODE
   =========================================== */
[data-theme="dark"] {
  /* Core colors */
  --bg: #0a0d14;
  --bg2: #141a28;
  --card: #12161f;
  --text: #f4f7fc;
  --muted: #a8b8cc;
  
  /* Borders & effects */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.3);
  
  /* Topbar */
  --topbar-bg: rgba(10, 13, 20, 0.9);
  
  /* Badge backgrounds - slightly brighter for dark mode */
  --badge-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.12));
  --badge-border: rgba(99, 102, 241, 0.3);
  --check-bg: rgba(99, 102, 241, 0.1);
  --stat-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(236, 72, 153, 0.08));
  --stat-border: rgba(99, 102, 241, 0.2);
  --feature-hover-shadow: rgba(0, 0, 0, 0.4);
  --table-highlight: rgba(99, 102, 241, 0.08);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100%;
  transition: background-color 0.3s, color 0.3s;
}

/* ===========================================
   LINKS
   =========================================== */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  text-decoration: underline;
  color: var(--accent2);
}

a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  margin: 32px 0 12px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

p {
  margin: 12px 0;
}

ul, ol {
  margin: 12px 0;
  padding-left: 24px;
}

li {
  margin: 8px 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ===========================================
   LAYOUT
   =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px max(20px, env(safe-area-inset-left)) 32px max(20px, env(safe-area-inset-right));
}

.prose {
  max-width: 75ch;
}

.section {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
}

/* ===========================================
   TOPBAR / HEADER
   =========================================== */
.topbar {
  background: var(--topbar-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-inner.simple {
  gap: 20px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ===========================================
   THEME TOGGLE BUTTON
   =========================================== */
.theme-toggle {
  background: var(--check-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--muted);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* ===========================================
   BRAND
   =========================================== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
}

.brand-name {
  line-height: 1;
}

/* ===========================================
   BADGES & PILLS
   =========================================== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s;
}

.trust-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.trust-bar {
  display: flex;
  gap: 16px;
  align-items: center;
}

.free-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--ok), #34d399);
  color: #fff;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin: 10px 0;
}

.kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

/* ===========================================
   LIVE COUNTER
   =========================================== */
.live-counter {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 18px;
  margin-bottom: 4px;
}

.live-counter::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ok);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.live-counter-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ok);
}

/* ===========================================
   CARDS
   =========================================== */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.highlight-card {
  background: var(--stat-bg);
  border-color: var(--stat-border);
}

/* ===========================================
   BUTTONS
   =========================================== */
.button,
.btn-primary {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
  font-size: 17px;
  text-decoration: none;
  text-align: center;
  background: var(--gradient-warm);
  background-size: 200% 200%;
  box-shadow: 0 8px 24px var(--glow);
  animation: buttonGlow 3s ease-in-out infinite, gradientShift 4s ease infinite;
}

.button:hover,
.btn-primary:not([disabled]):hover {
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  text-decoration: none;
  color: #ffffff;
}

.button:focus,
.btn-primary:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.button:active,
.btn-primary:not([disabled]):active {
  transform: translateY(1px);
}

.btn-primary[disabled] {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1) !important;
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  animation: none;
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 12px 32px rgba(236, 72, 153, 0.35); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cta {
  margin: 24px 0;
}

/* ===========================================
   CHECKS LIST
   =========================================== */
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 0;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--check-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s;
}

.check::before {
  content: "✓";
  color: var(--ok);
  font-size: 16px;
  font-weight: 900;
}

/* ===========================================
   STATS GRID
   =========================================== */
.stats-grid, .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.stat-card, .stat {
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
}

.stat-number {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* ===========================================
   FEATURES GRID
   =========================================== */
.features, .values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.feature, .value {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}

.feature:hover, .value:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--feature-hover-shadow);
}

.feature__icon, .value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: var(--badge-bg);
}

.feature h3, .value h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
}

.feature p, .value p {
  font-size: 15px;
  margin: 0;
  color: var(--muted);
}

/* ===========================================
   TESTIMONIALS
   =========================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
}

.testimonial__quote {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

.testimonial__name {
  font-weight: 600;
  color: var(--text);
  font-size: 13px;
}

.testimonial__rating {
  color: var(--warm);
  font-size: 13px;
  margin-top: 2px;
}

/* ===========================================
   COMPARISON TABLE
   =========================================== */
.comparison {
  margin: 24px 0;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.comparison-table th {
  background: var(--check-bg);
  font-weight: 700;
  font-size: 14px;
}

.comparison-table .highlight {
  background: var(--table-highlight);
}

.comparison-table .yes {
  color: var(--ok);
  font-weight: 600;
}

.comparison-table .no {
  color: var(--coral);
  opacity: 0.85;
}

/* ===========================================
   DETAILS / ACCORDION (FAQ)
   =========================================== */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 4px 0;
  color: var(--text);
}

summary:hover {
  color: var(--accent);
}

details p {
  margin-top: 10px;
  color: var(--muted);
}

details[open] {
  border-color: rgba(99, 102, 241, 0.2);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right));
  align-items: center;
}

.hero-card {
  display: grid;
  gap: 16px;
}

.hero-head {
  font-size: clamp(28px, 5.2vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
  max-width: 20ch;
}

.hero-head .line2 {
  display: block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.preview {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
  transition: background 0.3s, border-color 0.3s;
}

.preview img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* Hero image for inner pages */
.hero-image-container {
  margin: 28px 0 32px;
  text-align: center;
}

.hero-image-container picture {
  display: block;
}

.hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.hero-image-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ===========================================
   TOS CHECKBOX
   =========================================== */
.tos {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin: 8px 0 0;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
}

.tos input[type="checkbox"] {
  inline-size: 20px;
  block-size: 20px;
  min-width: 20px;
  min-height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
  margin-top: 2px;
}

.tos .hit {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.tos .hit a {
  color: var(--accent);
  text-decoration: underline;
}

.tos .hit a:hover {
  color: var(--accent2);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ===========================================
   LANGUAGE SWITCHER
   =========================================== */
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--check-bg);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.lang-switch a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.lang-switch a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ===========================================
   BREADCRUMB
   =========================================== */
nav.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--muted);
}

nav.breadcrumb a {
  color: var(--accent);
}

nav.breadcrumb span {
  margin: 0 8px;
}

/* ===========================================
   TIMELINE
   =========================================== */
.timeline {
  margin: 24px 0;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  margin: 20px 0;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-date {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* ===========================================
   COMMUNITY LINKS
   =========================================== */
.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.15s;
}

.community-link:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ===========================================
   GRID UTILITIES
   =========================================== */
.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ===========================================
   FOOTER
   =========================================== */
.footer, footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  color: var(--muted);
  background: var(--bg2);
  margin-top: 56px;
  transition: background-color 0.3s, border-color 0.3s;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.footer__grid {
  display: grid;
  grid-template-columns: 280px repeat(4, minmax(160px, 1fr));
  column-gap: 32px;
  row-gap: 24px;
  align-items: start;
}

.footer__tagline {
  margin: 10px 0 0;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.footer__col {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
}

.footer__heading {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.95;
  line-height: 1.1;
}

.footer__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  padding: 8px 0;
  font-size: 15px;
  line-height: 1.35;
}

.footer a:hover {
  text-decoration: underline;
}

.footer a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

.footer__featured {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__featured-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__featured-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__featured-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  transition: all 0.15s;
}

.footer__featured-links a:hover {
  background: var(--check-bg);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.footer__featured-links svg {
  opacity: 0.7;
}

.footer__bottom {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  opacity: 0.78;
}

/* Simple footer for inner pages */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}

/* ===========================================
   SKIP LINK (Accessibility)
   =========================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* ===========================================
   HELPER CLASSES
   =========================================== */
.muted {
  color: var(--muted);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================================
   RESPONSIVE - TABLET
   =========================================== */
@media (min-width: 601px) and (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 700px;
  }
  
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid, .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features, .values {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .checks {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===========================================
   RESPONSIVE - MOBILE
   =========================================== */
@media (max-width: 600px) {
  .section {
    margin: 28px auto;
  }
  
  .card {
    padding: 16px;
    border-radius: 14px;
  }
  
  .hero-card {
    padding: 0;
    border-radius: 14px;
  }
  
  .hero-card :where(h1, .sub, p, .check) {
    max-width: 34ch;
  }
  
  .section :where(h2, p) {
    max-width: 36ch;
  }
  
  .hero-head {
    font-size: clamp(23px, 8vw, 30px);
    line-height: 1.1;
  }
  
  .sub {
    font-size: 14.5px;
    line-height: 1.5;
  }
  
  .button,
  .btn-primary {
    padding: 13px 24px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
  
  .checks {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .grid.cols-3,
  .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 28px;
  }
  
  .preview {
    margin-top: 12px;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
  }
  
  .preview img {
    border-radius: 8px;
  }
  
  .trust-bar {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .trust-badge {
    font-size: 11px;
    padding: 5px 9px;
  }
  
  .trust-badge svg {
    width: 12px;
    height: 12px;
  }
  
  /* Hide second badge on very small screens to make room for toggle */
  .trust-badge:nth-child(2) {
    display: none;
  }
  
  .tos {
    font-size: 15px;
    gap: 10px;
    margin-top: 10px;
    padding: 11px;
  }
  
  .tos input[type="checkbox"] {
    inline-size: 20px;
    block-size: 20px;
    min-width: 20px;
    min-height: 20px;
  }
  
  .tos .hit {
    line-height: 1.55;
    font-size: 13px;
  }
  
  .stats-grid, .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-number {
    font-size: 26px;
  }
  
  .comparison-table {
    font-size: 13px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
  }
  
  .live-counter-text {
    font-size: 11.5px;
  }
  
  .kicker {
    font-size: 12.5px;
  }
  
  .check {
    font-size: 12px;
    padding: 7px 9px;
    gap: 6px;
  }
  
  .check::before {
    font-size: 14px;
  }
  
  .features, .values {
    grid-template-columns: 1fr;
  }
  
  .feature, .value {
    padding: 16px;
  }
  
  .feature__icon, .value-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .feature h3, .value h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }
  
  .feature p, .value p {
    font-size: 14px;
  }
  
  .feature.mobile-hide {
    display: none;
  }
  
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    padding: 16px;
  }
  
  .testimonial__quote {
    font-size: 13px;
  }
  
  .testimonial.mobile-hide {
    display: none;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  
  .footer__brand {
    text-align: center;
  }
  
  .footer__tagline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer__col {
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  
  .footer__col:first-of-type {
    border-top: none;
    padding-top: 0;
  }
  
  .footer a {
    padding: 10px 0;
  }
  
  .footer__featured {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer__featured-links {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .topbar-right {
    gap: 8px;
    flex-shrink: 0;
  }
  
  .theme-toggle {
    padding: 6px;
    flex-shrink: 0;
  }
  
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* Extra small screens - hide all trust badges */
@media (max-width: 380px) {
  .trust-badge {
    display: none;
  }
  
  .topbar-inner {
    padding: 0 12px;
  }
}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 20px;
  }
  
  .footer__brand {
    grid-column: 1 / -1;
  }
}
