/*
Theme Name: audytkodu.pl
Theme URI: https://audytkodu.pl
Author: audytkodu.pl Team
Author URI: https://audytkodu.pl
Description: Motyw landing page dla uslugi audytow bezpieczenstwa stron WWW. Zawiera skaner bezpieczenstwa, cennik, certyfikaty i liste bezpiecznych domen.
Version: 1.0.0
License: GPL v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: audytkodu
*/

/* ====== CSS VARIABLES ====== */
:root {
  --bg-dark: #0A0A0A;
  --bg-card: #111111;
  --bg-deeper: #050505;
  --bg-secondary: #0A0A0A;
  --lime: #D4FF00;
  --lime-light: #E0FF33;
  --lime-dark: #B8DB00;
  --cyan: #00E5FF;
  --success: #00FF66;
  --warning: #FFAA00;
  --danger: #FF3333;
  --white: #FFFFFF;
  --gray: #8A8A8A;
  --muted: #4A4A4A;
  --border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(10, 10, 10, 0.85);
  --nav-bg-scrolled: rgba(10, 10, 10, 0.95);
  --nav-border: rgba(255, 255, 255, 0.06);
  --card-hover-bg: rgba(17, 17, 17, 0.8);
  --overlay-start: rgba(10, 10, 10, 1);
  --overlay-mid: rgba(10, 10, 10, 0.9);
  --overlay-end: rgba(10, 10, 10, 0.7);
  --selection-bg: rgba(212, 255, 0, 0.3);
  --terminal-bg: #050505;
  --terminal-border: rgba(0, 229, 255, 0.15);
  --scrollbar-track: #0A0A0A;
  --scrollbar-thumb: #2A2A2A;
  --scrollbar-thumb-hover: #3A3A3A;
  --btn-secondary-bg: rgba(255, 255, 255, 0.06);
  --btn-secondary-border: rgba(255, 255, 255, 0.12);
  --input-bg: #0A0A0A;
  --input-border: rgba(255, 255, 255, 0.12);
}

/* ====== LIGHT MODE ====== */
[data-theme="light"] {
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-deeper: #F0F2F5;
  --bg-secondary: #F5F7FA;
  --lime: #2E7D32;
  --lime-light: #388E3C;
  --lime-dark: #1B5E20;
  --cyan: #0277BD;
  --success: #2E7D32;
  --warning: #E65100;
  --danger: #C62828;
  --white: #1A1A2E;
  --gray: #4A5568;
  --muted: #A0AEC0;
  --border: rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);
  --nav-border: rgba(0, 0, 0, 0.06);
  --card-hover-bg: #F7FAFC;
  --overlay-start: rgba(255, 255, 255, 1);
  --overlay-mid: rgba(255, 255, 255, 0.92);
  --overlay-end: rgba(255, 255, 255, 0.75);
  --selection-bg: rgba(46, 125, 50, 0.15);
  --terminal-bg: #F8FAFC;
  --terminal-border: rgba(2, 119, 189, 0.15);
  --scrollbar-track: #F1F5F9;
  --scrollbar-thumb: #CBD5E0;
  --scrollbar-thumb-hover: #A0AEC0;
  --btn-secondary-bg: #F1F5F9;
  --btn-secondary-border: #E2E8F0;
  --input-bg: #F8FAFC;
  --input-border: #E2E8F0;
}

/* ====== LIGHT MODE COMPONENT STYLES ====== */
[data-theme="light"] .btn-primary {
  color: #FFFFFF;
}
[data-theme="light"] .btn-primary:hover {
  color: #FFFFFF;
}
[data-theme="light"] .popular-badge {
  color: #FFFFFF;
}
[data-theme="light"] .step-number {
  color: rgba(46, 125, 50, 0.12);
}
[data-theme="light"] .card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}
[data-theme="light"] .card-highlight {
  border: 2px solid var(--lime);
}
[data-theme="light"] .scanner-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.03);
}
[data-theme="light"] .scanner-btn {
  color: #FFFFFF;
}
[data-theme="light"] .check-item {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
[data-theme="light"] .check-item:hover {
  border-color: var(--lime);
  background: #F7FFF7;
}
[data-theme="light"] .domains-table {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-theme="light"] .domains-header {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
[data-theme="light"] .domain-row {
  border-bottom: 1px solid #F1F5F9;
}
[data-theme="light"] .domain-row:hover {
  background: #F7FAFC;
}
[data-theme="light"] .faq-item {
  border-bottom: 1px solid #E2E8F0;
}
[data-theme="light"] .faq-icon {
  background: #F1F5F9;
}
[data-theme="light"] .vuln-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}
[data-theme="light"] .cert-corner.tl,
[data-theme="light"] .cert-corner.tr,
[data-theme="light"] .cert-corner.bl,
[data-theme="light"] .cert-corner.br {
  border-color: rgba(46, 125, 50, 0.4);
}
[data-theme="light"] .cert-gradient-border {
  background: linear-gradient(135deg, rgba(46,125,50,0.4), rgba(2,119,189,0.3), rgba(46,125,50,0.4));
}
[data-theme="light"] .cert-card {
  background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
  border: 1px solid #E2E8F0;
}
[data-theme="light"] .cert-features .icon-wrap {
  background: rgba(46, 125, 50, 0.08);
}
[data-theme="light"] .cert-features .icon-wrap svg {
  color: var(--lime);
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(to right, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.88) 100%);
}
[data-theme="light"] .hero-title {
  text-shadow: none;
}
[data-theme="light"] .hero-bottom-fade {
  background: linear-gradient(to bottom, transparent, #FFFFFF);
}
[data-theme="light"] .site-footer {
  background: #F0F2F5;
}
[data-theme="light"] .footer-bottom {
  border-top: 1px solid #E2E8F0;
}
[data-theme="light"] .progress-bar {
  background: #E2E8F0;
}

/* Fix hardcoded SVG colors in light mode */
[data-theme="light"] .cert-features li svg[stroke="#00FF66"],
[data-theme="light"] svg[stroke="#00FF66"] {
  stroke: var(--success) !important;
}
[data-theme="light"] svg[stroke="#D4FF00"] {
  stroke: var(--lime) !important;
}
[data-theme="light"] svg[stroke="#8A8A8A"] {
  stroke: var(--gray) !important;
}

/* ====== DARK MODE COMPONENT STYLES (default) ====== */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(10,10,10,0.9) 50%, rgba(10,10,10,0.7) 100%);
}
.hero-bottom-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  pointer-events: none;
}

/* Light mode nav/btn colors */
[data-theme="light"] .mobile-toggle {
  color: var(--white);
}

/* ====== RESET & BASE ====== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--selection-bg);
  color: var(--white);
}

/* ====== SCROLLBAR ====== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

/* ====== LAYOUT ====== */
.content-max { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, .font-display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.0;
}
h2 {
  font-size: clamp(36px, 5vw, 48px);
  letter-spacing: -0.5px;
}
.text-lime { color: var(--lime); }
.text-gray { color: var(--gray); }
.text-muted { color: var(--muted); }

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--lime);
  color: var(--bg-dark);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--lime-light);
  transform: scale(1.05);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--btn-secondary-border);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-secondary:hover { background: var(--btn-secondary-bg); opacity: 0.8; }

/* ====== CARDS ====== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
}
.card-highlight {
  border: 2px solid var(--lime);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes shineSweep {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== NAVIGATION ====== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s;
}
.site-nav.scrolled {
  background: var(--nav-bg-scrolled);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--lime);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px; font-weight: 600;
  text-decoration: none;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* ====== MOBILE NAV ====== */
.mobile-toggle { display: none; background: none; border: none; color: white; cursor: pointer; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--nav-bg-scrolled);
    padding: 24px; gap: 16px;
    border-bottom: 1px solid var(--nav-border);
  }
  .mobile-toggle { display: block; }
}

/* ====== HERO ====== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-content {
  position: relative; z-index: 10;
  max-width: 600px;
  padding-top: 96px; padding-bottom: 64px;
}
.hero-title {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -1.5px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8);
}
.hero-subtitle {
  margin-top: 24px;
  font-size: 18px; color: var(--gray);
  max-width: 480px; line-height: 1.6;
}
.hero-cta { margin-top: 40px; }
.hero-meta {
  margin-top: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: var(--muted);
}

/* ====== STATS ====== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px; font-weight: 500;
  color: var(--lime);
}
.stat-label {
  margin-top: 8px;
  font-size: 14px; color: var(--gray);
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-padding { padding: 80px 0; }
}

/* ====== SCANNER ====== */
.scanner-card {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}
.scanner-input-wrap { position: relative; }
.scanner-input-wrap .icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}
.scanner-input {
  width: 100%; height: 56px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding-left: 48px; padding-right: 16px;
  color: var(--white); font-size: 16px;
  outline: none; transition: border-color 0.3s;
}
.scanner-input::placeholder { color: var(--muted); }
.scanner-input:focus { border-color: var(--lime); }
.scanner-btn {
  height: 52px; padding: 0 32px;
  background: var(--lime); color: var(--bg-dark);
  border: none; border-radius: 8px;
  font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all 0.3s;
}
.scanner-btn:hover { background: var(--lime-light); }
.scanner-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Terminal */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 8px;
  padding: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  max-height: 400px;
  overflow-y: auto;
}
.terminal-line { line-height: 1.8; }
.terminal-line.success { color: var(--success); }
.terminal-line.warning { color: var(--warning); }
.terminal-line.error { color: var(--danger); }
.terminal-line.info { color: var(--gray); }

/* Progress bar */
.progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--cyan), var(--lime));
  border-radius: 2px;
  transition: width 0.3s ease-out;
}

/* Score gauge */
.score-gauge { position: relative; width: 200px; height: 200px; }
.score-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.score-value .number {
  font-family: "Space Grotesk", sans-serif;
  font-size: 56px; font-weight: 500;
}
.score-value .label { font-size: 14px; color: var(--gray); margin-top: 4px; }

/* Vulnerability cards */
.vuln-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 16px;
}
.vuln-icon {
  padding: 8px; border-radius: 8px;
  flex-shrink: 0;
}
.vuln-severity {
  font-size: 10px; font-weight: 700;
  padding: 2px 10px; border-radius: 9999px;
}

/* ====== HOW IT WORKS ====== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-card { position: relative; }
.step-number {
  position: absolute; top: 24px; right: 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 48px; font-weight: 500;
  color: rgba(212,255,0,0.2);
  line-height: 1;
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ====== SECURITY CHECKS ====== */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.check-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}
.check-item:hover {
  border-color: rgba(212,255,0,0.3);
  background: rgba(17,17,17,0.8);
}
@media (max-width: 768px) {
  .checks-grid { grid-template-columns: 1fr; }
}

/* ====== PRICING ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px; margin: 0 auto;
}
.pricing-note {
  text-align: center;
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.price-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 24px;
}
.price-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray);
  background: rgba(255,255,255,0.04);
  padding: 6px 12px;
  border-radius: 9999px;
}
.popular-badge {
  position: absolute; top: -12px; right: 24px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--lime); color: var(--bg-dark);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ====== CERTIFICATE ====== */
.cert-features { list-style: none; }
.cert-features li {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.cert-features .icon-wrap {
  width: 32px; height: 32px;
  background: rgba(212,255,0,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-features .icon-wrap svg { color: var(--lime); }
.cert-card {
  position: relative;
  background: linear-gradient(135deg, #111111, #0A0A0A);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cert-card-inner {
  position: relative; z-index: 10;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 40px;
}
.cert-corner { position: absolute; width: 32px; height: 32px; }
.cert-corner.tl { top: 16px; left: 16px; border-top: 2px solid rgba(212,255,0,0.4); border-left: 2px solid rgba(212,255,0,0.4); border-radius: 8px 0 0 0; }
.cert-corner.tr { top: 16px; right: 16px; border-top: 2px solid rgba(212,255,0,0.4); border-right: 2px solid rgba(212,255,0,0.4); border-radius: 0 8px 0 0; }
.cert-corner.bl { bottom: 16px; left: 16px; border-bottom: 2px solid rgba(212,255,0,0.4); border-left: 2px solid rgba(212,255,0,0.4); border-radius: 0 0 0 8px; }
.cert-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid rgba(212,255,0,0.4); border-right: 2px solid rgba(212,255,0,0.4); border-radius: 0 0 8px 0; }
.cert-gradient-border {
  position: absolute; inset: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(212,255,0,0.5), rgba(0,229,255,0.3), rgba(0,255,102,0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cert-bottom-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, var(--lime), var(--cyan), var(--success));
}
.cert-date-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 16px;
}

/* ====== SAFE DOMAINS ====== */
.domains-table {
  max-width: 800px; margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.domains-header {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.domain-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}
.domain-row:hover { background: rgba(255,255,255,0.02); }
.domain-row svg { flex-shrink: 0; }

/* ====== FAQ ====== */
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  background: none; border: none;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 18px; font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-question:hover { color: var(--lime); }
.faq-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}
.faq-answer.open { max-height: 400px; padding-bottom: 24px; }
.faq-answer p { color: var(--gray); font-size: 16px; line-height: 1.6; }

/* ====== FOOTER ====== */
.site-footer {
  background: var(--bg-deeper);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-title {
  font-size: 14px; font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray); text-decoration: none;
  font-size: 14px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ====== RESPONSIVE UTILITIES ====== */
@media (max-width: 640px) {
  .content-max { padding: 0 16px; }
  .scanner-card { padding: 24px; }
  .card { padding: 24px; }
  .steps-grid { gap: 16px; }
  .hero-title { letter-spacing: -1px; }
}

/* ====== THEME TOGGLE ====== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.3s;
  margin-left: 12px;
}
.theme-toggle:hover {
  color: var(--white);
  border-color: var(--lime);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 18px;
  height: 18px;
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Light mode mobile toggle color */
[data-theme="light"] .mobile-toggle { color: var(--white); }

/* Cookie bar override for light mode */
.cookie-bar, #cookie-bar, [class*="cookie"] {
  border-top: 1px solid var(--border);
}

/* Nav CTA link in header */
.nav-cta {
  padding: 10px 24px;
  background: var(--lime); color: #0A0A0A;
  font-size: 14px; font-weight: 600;
  border-radius: 9999px; text-decoration: none;
  transition: all 0.3s;
}
.nav-cta:hover { background: var(--lime-light); }
[data-theme="light"] .nav-cta { color: #FFFFFF; }
[data-theme="light"] .nav-cta:hover { color: #FFFFFF; }
