/* ==========================================================================
   TRACKAVAILS - HIGH PERFORMANCE CORE STYLESHEET
   100% Native CSS3 | Modern Split Hero | Zero Overhead | PageSpeed 95-100 Ready
   ========================================================================== */

:root {
  --color-primary: #d4180b;
  --color-primary-dark: #b91509;
  --color-primary-glow: rgba(212, 24, 11, 0.28);
  --color-accent: #e50914;
  --color-accent-glow: rgba(229, 9, 20, 0.22);

  --color-dark: #090d16;
  --color-dark-surface: #101726;
  --color-dark-card: #182238;
  --color-dark-card-hover: #1f2c48;
  --color-dark-border: rgba(255, 255, 255, 0.08);

  --color-gray-900: #0f172a;
  --color-gray-800: #1e293b;
  --color-gray-700: #334155;
  --color-gray-600: #475569;
  --color-gray-400: #94a3b8;
  --color-gray-300: #cbd5e1;
  --color-gray-100: #f1f5f9;
  --color-white: #ffffff;

  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 1220px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 35px var(--color-primary-glow);

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-dark);
  color: var(--color-gray-300);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
  background-color: transparent;
}

.main-header.scrolled {
  background-color: rgba(9, 13, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-dark-border);
  box-shadow: var(--shadow-md);
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.brand-logo__img {
  height: 38px;
  width: auto;
  max-width: 174px;
  display: block;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #d4180b 0%, #e50914 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px var(--color-primary-glow);
}

.brand-logo span.accent {
  color: var(--color-accent);
}

.main-menu__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.main-menu__list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray-400);
  position: relative;
  padding: 8px 0;
}

.main-menu__list a:hover,
.main-menu__list a.active {
  color: var(--color-white);
}

.main-menu__list a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-dark-border);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.lang-switcher:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Nav Toggle for Mobile */
.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #b91509 100%);
  color: var(--color-white);
  box-shadow: 0 4px 18px var(--color-primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 24, 11, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  border: 1px solid var(--color-dark-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section (Split 2-Columns)
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../images/backgrounds/faro.png');
  background-image: image-set(
    url('../images/backgrounds/faro.webp') type('image/webp'),
    url('../images/backgrounds/faro.png') type('image/png')
  );
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212, 24, 11, 0.22) 0%, rgba(9, 13, 22, 0.75) 55%, var(--color-dark) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(212, 24, 11, 0.12);
  border: 1px solid rgba(212, 24, 11, 0.35);
  color: #ff4d4f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #ff4d4f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-gray-400);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--color-gray-300);
  font-weight: 500;
}

.hero-checklist .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(212, 24, 11, 0.16);
  color: #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Video Facade (Zero-overhead Youtube Embed) */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  overflow: hidden;
}

.hero-frame__header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 14px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
}

.video-facade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.video-facade:hover {
  transform: scale(1.02);
}

.facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.4) 0%, rgba(9, 13, 22, 0.75) 100%);
}

.play-button {
  position: relative;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 25px var(--color-primary-glow);
  transition: transform 0.25s ease;
}

.video-facade:hover .play-button {
  transform: scale(1.12);
}

.facade-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-dark-border);
  font-size: 0.8rem;
  color: var(--color-white);
  font-weight: 500;
}

/* ==========================================================================
   Section Headers & Common
   ========================================================================== */
section {
  padding: 85px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background-color: rgba(212, 24, 11, 0.12);
  border: 1px solid rgba(212, 24, 11, 0.25);
  border-radius: var(--radius-pill);
  color: #ff4d4f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* ==========================================================================
   Value Pillars Section
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 24, 11, 0.4);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(212, 24, 11, 0.15);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(212, 24, 11, 0.12);
  color: #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* ==========================================================================
   Problem vs Solution
   ========================================================================== */
.compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--color-dark-border);
}

.compare-card.problem {
  background-color: rgba(239, 68, 68, 0.04);
  border-color: rgba(239, 68, 68, 0.2);
}

.compare-card.solution {
  background-color: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.08);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.problem .compare-badge {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.solution .compare-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.compare-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.problem .compare-list li {
  color: var(--color-gray-400);
}

.solution .compare-list li {
  color: var(--color-white);
}

.list-icon {
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Key Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 24, 11, 0.35);
  background: var(--color-dark-card-hover);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 24, 11, 0.2) 0%, rgba(229, 9, 20, 0.12) 100%);
  color: #ff4d4f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

/* ==========================================================================
   Ecosystem & Solutions
   ========================================================================== */
.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.ecosystem-card {
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.ecosystem-card.featured {
  border-color: rgba(212, 24, 11, 0.4);
  box-shadow: 0 10px 40px rgba(212, 24, 11, 0.12);
}

.ecosystem-card__top {
  margin-bottom: 24px;
}

.ecosystem-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.ecosystem-name {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.ecosystem-target {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 16px;
  font-weight: 500;
}

.ecosystem-desc {
  font-size: 0.95rem;
  color: var(--color-gray-300);
  line-height: 1.6;
  margin-bottom: 24px;
}

.ecosystem-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.ecosystem-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-gray-300);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background-color: var(--color-dark-card);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active {
  border-color: rgba(212, 24, 11, 0.4);
  background-color: var(--color-dark-card-hover);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body {
  padding: 0 24px 22px;
  color: var(--color-gray-400);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Demo Request & Form
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--color-dark) 0%, #0d1322 100%);
}

.demo-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gray-300);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background-color: rgba(9, 13, 22, 0.8);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--color-gray-400);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.form-checkbox-label a {
  color: #ff4d4f;
  text-decoration: underline;
}

.recaptcha-wrapper {
  margin-top: 8px;
  min-height: 78px;
}

.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--color-dark-border);
  padding: 60px 0 30px;
  background-color: #060910;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--color-gray-400);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 1rem;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--color-gray-400);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  color: var(--color-gray-600);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--color-gray-400);
}

.footer-bottom a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Cookie Banner & Badge
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 420px;
  background-color: rgba(16, 23, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-white);
}

.cookie-banner__header h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--color-gray-400);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-banner__text a {
  color: #ff4d4f;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn--accept {
  background-color: var(--color-primary);
  color: #fff;
}

.cookie-btn--reject {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-gray-300);
}

.cookie-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(16, 23, 38, 0.9);
  border: 1px solid var(--color-dark-border);
  color: var(--color-gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cookie-badge:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* ==========================================================================
   Legal Page Specific Styles
   ========================================================================== */
.legal-wrapper {
  padding: calc(var(--header-height) + 40px) 0 80px;
  max-width: 860px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-dark-border);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 8px;
}

.legal-header .legal-meta {
  color: var(--color-gray-400);
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white);
  margin-top: 36px;
  margin-bottom: 14px;
}

.legal-content p, .legal-content ul {
  font-size: 0.98rem;
  color: var(--color-gray-300);
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.legal-table th, .legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-dark-border);
  text-align: left;
}

.legal-table th {
  background-color: var(--color-dark-card);
  color: var(--color-white);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.7rem;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle-btn {
    display: block;
  }

  .main-menu__list {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: rgba(9, 13, 22, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-dark-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .main-menu__list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .pillars-grid,
  .features-grid,
  .compare-container,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .demo-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
