/* ═══════════════════════════════
   VOICEGAB COMPONENTS v1.0
═══════════════════════════════ */

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(124,58,237,0.65);
}
.btn--primary:active { transform: scale(0.98); }

.btn--ghost {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: var(--glass-border);
  backdrop-filter: var(--glass-blur);
}
.btn--ghost:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.35);
  transform: translateY(-2px);
}

.btn--large { padding: 18px 40px; font-size: 17px; }
.btn--small { padding: 10px 20px; font-size: 13px; }

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all 0.25s ease;
  min-width: 200px;
  text-decoration: none;
}
.btn-store:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
}
.btn-store__icon { width: 32px; height: 32px; flex-shrink: 0; }
.btn-store__text { display: flex; flex-direction: column; text-align: left; }
.btn-store__sub  { font-size: 10px; color: var(--text-muted); font-weight: 400; letter-spacing: 0.05em; }
.btn-store__name { font-size: 16px; font-weight: 700; }

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s ease;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8,11,20,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-primary);
}
.navbar__logo-img {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.navbar__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__links a.active { color: var(--accent-glow); }

.navbar__cta { display: flex; align-items: center; gap: 12px; }

/* Mobile menu */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,11,20,0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 32px;
}
.navbar__mobile-menu.open { display: flex; }
.navbar__mobile-menu a {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-secondary);
  transition: color 0.2s;
  text-decoration: none;
}
.navbar__mobile-menu a:hover { color: var(--text-primary); }

@media (max-width: 768px) {
  .navbar__links, .navbar__cta .btn--ghost { display: none; }
  .navbar__hamburger { display: flex; }
}

/* ─── Hero Badge ─── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-glow);
  margin-bottom: 24px;
}
.hero-badge__dot {
  width: 7px; height: 7px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* ─── Feature Icon ─── */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--gradient-card);
  border: var(--glass-border);
  flex-shrink: 0;
}
.feature-icon--purple { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.2); }
.feature-icon--pink   { background: rgba(236,72,153,0.15); border-color: rgba(236,72,153,0.2); }
.feature-icon--cyan   { background: rgba(6,182,212,0.15);  border-color: rgba(6,182,212,0.2);  }

/* ─── Stats Bar ─── */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card__label { font-size: 15px; color: var(--text-secondary); }

/* ─── Footer ─── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer__brand p { color: var(--text-secondary); font-size: 14px; max-width: 280px; margin-top: 16px; }
.footer__col h5 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; text-decoration: none; }
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bottom p { font-size: 13px; color: var(--text-muted); }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 36px; height: 36px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: all 0.2s;
  text-decoration: none;
}
.footer__social a:hover { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.4); color: var(--text-primary); }

.footer__link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.footer__link-btn:hover { color: var(--text-primary); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ─── Waveform Decoration ─── */
.waveform-bar {
  display: inline-block;
  width: 3px;
  border-radius: 2px;
  background: var(--accent-cyan);
  animation: wave-bar 1.2s ease-in-out infinite;
}
@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50%       { transform: scaleY(1);   opacity: 1;   }
}
.waveform-demo {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.waveform-bar:nth-child(1)  { height: 20px; animation-delay: 0s; }
.waveform-bar:nth-child(2)  { height: 28px; animation-delay: 0.1s; }
.waveform-bar:nth-child(3)  { height: 16px; animation-delay: 0.2s; }
.waveform-bar:nth-child(4)  { height: 32px; animation-delay: 0.3s; }
.waveform-bar:nth-child(5)  { height: 24px; animation-delay: 0.4s; }
.waveform-bar:nth-child(6)  { height: 36px; animation-delay: 0.5s; }
.waveform-bar:nth-child(7)  { height: 20px; animation-delay: 0.6s; }
.waveform-bar:nth-child(8)  { height: 30px; animation-delay: 0.7s; }
.waveform-bar:nth-child(9)  { height: 18px; animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { height: 26px; animation-delay: 0.9s; }
.waveform-bar:nth-child(11) { height: 34px; animation-delay: 1.0s; }
.waveform-bar:nth-child(12) { height: 22px; animation-delay: 1.1s; }
.waveform-bar:nth-child(13) { height: 28px; animation-delay: 1.2s; }
.waveform-bar:nth-child(14) { height: 16px; animation-delay: 1.3s; }
.waveform-bar:nth-child(15) { height: 32px; animation-delay: 1.4s; }
.waveform-bar:nth-child(16) { height: 24px; animation-delay: 1.5s; }

/* ─── How It Works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-pink), var(--accent-cyan));
  opacity: 0.3;
}
.step {
  text-align: center;
  position: relative;
}
.step__number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--gradient-card);
  border: var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 12px; }
.step p { font-size: 15px; }

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
}

/* ─── Security Checklist ─── */
.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.security-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #22C55E;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; position: relative; z-index: 1; }
.cta-banner p  { color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.cta-banner .btn-store { position: relative; z-index: 1; }

/* ─── FAQ ─── */
.faq-item {
  border: var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item.open { border-color: rgba(124,58,237,0.3); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}
.faq-item.open .faq-question__icon { transform: rotate(45deg); color: var(--accent-glow); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p { font-size: 15px; color: var(--text-secondary); }

/* ─── Search Bar ─── */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-full);
  backdrop-filter: var(--glass-blur);
  max-width: 560px;
  margin: 0 auto;
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar svg { color: var(--text-muted); flex-shrink: 0; }

/* ─── Contact Card ─── */
.contact-card {
  background: var(--gradient-card);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
}

/* ─── Comparison Table ─── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}
.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
}
.comparison-table th {
  background: rgba(124,58,237,0.1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 500;
}
.comparison-table td:nth-child(2) {
  color: var(--accent-glow);
  font-weight: 600;
  background: rgba(124,58,237,0.05);
}
.comparison-table th:nth-child(2) {
  background: rgba(124,58,237,0.2);
  color: var(--accent-glow);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td { color: var(--text-secondary); }

/* ─── Feature Deep Dive ─── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-row__visual {
  background: var(--gradient-card);
  border: var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.feature-row__content .label { margin-bottom: 12px; display: block; }
.feature-row__content h3 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 16px; }
.feature-row__content p { margin-bottom: 24px; }

@media (max-width: 768px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse { direction: ltr; }
}

/* ─── Download Page Screenshots ─── */
.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.screenshots-scroll::-webkit-scrollbar { display: none; }
.screenshot-item {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: center;
}

/* ─── Page Header (inner pages) ─── */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  pointer-events: none;
}
.page-header__content {
  position: relative;
  z-index: 1;
}

/* ─── Legal Pages ─── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h3 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 22px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.7;
}
.legal-toc {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 48px;
}
.legal-toc h4 {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legal-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-toc a {
  font-size: 14px;
  color: var(--accent-glow);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-toc a:hover { color: var(--text-primary); }

/* ─── 404 Page ─── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 800;
  letter-spacing: -0.05em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.8;
}

/* ─── Cookie Consent Banner ─── */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(17, 24, 39, 0.96);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), 0 0 40px rgba(124, 58, 237, 0.15);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner--visible { opacity: 1; transform: translateY(0); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__icon { font-size: 28px; flex-shrink: 0; }
.cookie-banner__body { flex: 1; min-width: 0; }
.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.cookie-banner__text { font-size: 13px; line-height: 1.6; margin-top: 4px; }
.cookie-banner__text a,
.cookie-modal__intro a { color: var(--accent-glow); text-decoration: underline; }
.cookie-banner__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cookie-banner__actions .btn { min-width: 112px; justify-content: center; }
.cookie-banner__customize {
  background: none;
  border: none;
  padding: 10px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-banner__customize:hover { color: var(--text-primary); }
.cookie-banner button:focus-visible,
.cookie-modal button:focus-visible,
.cookie-switch input:focus-visible + .cookie-switch__track {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}

/* ─── Cookie Preferences Modal ─── */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal--open { opacity: 1; }
.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.2s ease;
}
.cookie-modal--open .cookie-modal__dialog { transform: none; }
.cookie-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-modal__title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cookie-modal__close {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cookie-modal__close:hover { color: var(--text-primary); background: rgba(255,255,255,0.08); }
.cookie-modal__intro { font-size: 14px; line-height: 1.65; margin-top: 12px; }
.cookie-modal__list { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.cookie-category {
  padding: 16px 18px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: var(--radius-md);
}
.cookie-category__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-category__name { font-weight: 600; font-size: 15px; color: var(--text-primary); }
.cookie-category__always { font-size: 12px; font-weight: 600; color: #22C55E; white-space: nowrap; }
.cookie-category__desc { font-size: 13px; line-height: 1.6; margin-top: 6px; }
.cookie-modal__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* ─── Toggle switch ─── */
.cookie-switch { position: relative; display: inline-flex; flex-shrink: 0; width: 44px; height: 24px; }
.cookie-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.cookie-switch__track {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  transition: background 0.2s ease;
}
.cookie-switch__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--accent); }
.cookie-switch input:checked + .cookie-switch__track::after { transform: translateX(20px); }

@media (max-width: 860px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__icon { display: none; }
  .cookie-banner__actions { flex-wrap: wrap; }
  .cookie-banner__actions .btn { flex: 1; }
  .cookie-banner__customize { order: 3; width: 100%; padding: 4px; }
}
@media (max-width: 640px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
  .cookie-modal__dialog { padding: 22px 18px; }
  .cookie-modal__actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner, .cookie-modal, .cookie-modal__dialog,
  .cookie-switch__track, .cookie-switch__track::after { transition: none; }
}

/* ─── FAQ search empty state ─── */
.faq-empty { font-size: 15px; padding: 24px 0; }
.faq-empty a { color: var(--accent-glow); }
