/* TableBook Landing Page — Dark Theme */

/* === Font === */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* === Variables === */
:root {
  --bg: #0f172a;
  --bg-surface: #1e293b;
  --bg-hover: #334155;
  --border: #334155;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-glow: rgba(59,130,246,0.25);
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --logo-blue: #60a5fa;
  --success: #22c55e;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--logo-blue); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea { font-family: inherit; }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-blue { color: var(--logo-blue); }
.logo-white { color: #fff; }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

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

/* Language switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-surface);
  border-radius: 6px;
  padding: 2px;
}
.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  font-size: 18px;
  line-height: 1;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
}
.lang-switch a:hover { background: var(--bg-hover); transform: scale(1.15); }
.lang-switch a.active { background: var(--accent); }

/* CTA button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-success { background: var(--success); }
.btn-success:hover { background: #16a34a; }

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle svg { width: 24px; height: 24px; }

/* === Section base === */
.section {
  padding: 80px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-alt {
  background: var(--bg-surface);
}
.section-alt .section { padding: 80px 24px; }
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* === Hero === */
.hero {
  padding: 80px 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 520px; }
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.hero-trust span { display: flex; align-items: center; gap: 4px; }
.hero-trust .dot { color: var(--success); font-size: 18px; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
}
.hero-image img {
  width: 100%;
  border-radius: var(--radius);
}
.hero-image-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  opacity: 0.7;
}
/* Scroll indicator arrow */
.scroll-hint {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  animation: scroll-bounce 2s ease-in-out infinite;
  opacity: 0.6;
  transition: opacity 0.4s;
  pointer-events: none;
}
.scroll-hint.hidden { opacity: 0; }
.scroll-hint svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-image-note a {
  color: var(--accent);
  text-decoration: none;
}
.hero-image-note a:hover { text-decoration: underline; }

/* === Registration Form === */
.reg-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
  margin: 0 auto;
}
.reg-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}
.reg-section .reg-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 60px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-error { color: #ef4444; font-size: 13px; margin-top: 4px; display: none; }
.form-error.visible { display: block; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.form-success.visible { display: block; }
.form-success .check-icon {
  width: 56px;
  height: 56px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: pop 0.4s ease;
}
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.form-success .contact-line { color: var(--text-muted); font-size: 13px; margin-top: 12px; }

@keyframes pop {
  0% { transform: scale(0); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Spinner */
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
}
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* === Trust Bar === */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 40px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.trust-icon {
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--text);
}
.trust-icon svg {
  display: inline-block;
  vertical-align: middle;
}
.trust-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 12px;
  color: var(--text-muted);
}

/* === Benefits === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.benefit-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--text);
}
.benefit-icon svg {
  display: inline-block;
  vertical-align: middle;
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Features === */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-image,
.feature-row.reverse .feature-carousel { order: -1; }
.feature-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.feature-image:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-image { aspect-ratio: 800 / 473; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Feature Carousel === */
.feature-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: box-shadow 0.3s;
}
.feature-carousel:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.carousel-track {
  position: relative;
  width: 100%;
}
/* All slides hidden by default; first child as CSS fallback if JS fails */
.carousel-slide {
  display: none;
  width: 100%;
  aspect-ratio: 800 / 473;
  overflow: hidden;
}
.carousel-slide:first-child { display: block; }
.carousel-slide.active { display: block; }
.carousel-slide:not(.active):not(:first-child) { display: none; }
/* Once JS has initialised, only .active matters */
.carousel-track.js-ready .carousel-slide { display: none; }
.carousel-track.js-ready .carousel-slide.active { display: block; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Arrows always visible (touch + mouse friendly) */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.feature-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(59,130,246,0.8); }
.carousel-arrow--prev { left: 10px; }
.carousel-arrow--next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.feature-carousel:hover .carousel-dots { opacity: 1; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.2);
}
.carousel-dot:hover { background: rgba(255,255,255,0.7); }
.hero-carousel {
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* === Feature themes grid (4 theme screenshots in 2x2) === */
.feature-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 600px) {
  .feature-themes-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-themes-grid .theme-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  aspect-ratio: 800 / 473;
}
.feature-themes-grid .theme-thumb:hover {
  border-color: var(--accent);
  transform: scale(1.03);
}
.feature-themes-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === Feature extra link (secondary screenshot link) === */
.feature-extra-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.feature-extra-link:hover { color: var(--logo-blue); }

/* === Features & Plans checklist === */
.features-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  max-width: 900px;
  margin: 0 auto;
}
.features-plans h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}
.features-plans ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.features-plans li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.features-plans li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.features-plans .plans-col li::before {
  content: "\2192";
}
@media (max-width: 600px) {
  .features-plans {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px var(--accent-glow);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pricing-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 18px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 14px;
}
.pricing-hint {
  font-size: 11px;
  color: var(--accent);
  margin-top: 10px;
  font-weight: 500;
}
.pricing-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pricing-note p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === Mid CTA === */
.mid-cta-wrap {
  background: linear-gradient(135deg, var(--card) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 1px var(--accent);
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.mid-cta {
  text-align: center;
  padding: 60px 24px;
}
.mid-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mid-cta .mid-cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.mid-cta .btn-lg {
  font-size: 16px;
  padding: 14px 40px;
}
@media (max-width: 600px) {
  .mid-cta-wrap { padding: 36px 24px; margin: 0 16px; }
}

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-q::before {
  content: '?';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 32px;
}

/* === Feedback section === */
.feedback-section {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.feedback-inner {
  max-width: 680px;
  margin: 0 auto;
}
.feedback-inner h2 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
}
.feedback-inner p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.feedback-inner a {
  color: var(--accent);
}
.feedback-inner a:hover {
  text-decoration: underline;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer .logo { margin-bottom: 16px; display: inline-block; }
.footer-contacts {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contacts a { color: var(--text-secondary); }
.footer-contacts a:hover { color: var(--accent); }
.footer-contacts .sep { color: var(--text-muted); user-select: none; }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}
.lightbox.open { opacity: 1; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-arrow:hover { background: rgba(59,130,246,0.8); transform: translateY(-50%) scale(1.1); }
.lightbox-arrow--prev { left: 16px; }
.lightbox-arrow--next { right: 16px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  z-index: 3;
  background: rgba(0,0,0,0.5);
  padding: 4px 14px;
  border-radius: 20px;
}

/* === Scroll animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
    gap: 32px;
  }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-image { order: -1; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.reverse .feature-image { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 40px; }
  .reg-section { padding: 24px; margin: 0 16px; }
  .section { padding: 48px 16px; }
  .section-title { font-size: 24px; }
  .footer-contacts { flex-direction: column; gap: 8px; align-items: center; }
  .footer-contacts .sep { display: none; }
  .carousel-arrow { opacity: 0.7; width: 32px; height: 32px; font-size: 16px; }
  .carousel-dots { opacity: 1; }
  .lightbox-arrow { width: 40px; height: 40px; font-size: 20px; }
  .lightbox-arrow--prev { left: 8px; }
  .lightbox-arrow--next { right: 8px; }
  .lightbox img { max-width: 96vw; max-height: 85vh; }
}

/* === Cookie Consent Banner === */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.consent-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.consent-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.consent-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.consent-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.consent-btn {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.consent-accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.consent-accept:hover { background: var(--accent-hover); }
.consent-decline {
  background: transparent;
  color: var(--text-muted);
}
.consent-decline:hover { color: var(--text); background: var(--bg-hover); }

@media (max-width: 600px) {
  .consent-inner { flex-direction: column; text-align: center; gap: 12px; padding: 16px; }
  .consent-buttons { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .header-right .btn-sm { display: none; }
  .lang-switch a { padding: 3px 5px; font-size: 16px; }
}
