/* ============================================================
   AutoAI Labs — Landing Page Stylesheet
   Design: Premium dark, Vercel-inspired minimalism
   Fonts: Space Grotesk (headlines), Inter (body)
   ============================================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  --bg:            #0A0A0F;
  --bg-card:       rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --fire:          #FF8C00;
  --fire-light:    #FFA940;
  --blue:          #3B82F6;
  --blue-light:    #60A5FA;
  --cyan:          #00E5FF;
  --ember:         #FF6B35;
  --text:          #F0F0F5;
  --text-dim:      #8888A0;
  --text-muted:    #555570;
  --border:        rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.15);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-xs:     6px;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --transition:    0.3s var(--ease);
  --font-head:     'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --max-w:         1200px;
  --gutter:        24px;
  --section-gap:   160px;
  --grad-fire:     linear-gradient(135deg, var(--fire) 0%, var(--blue) 100%);
  --grad-glow:     linear-gradient(135deg, var(--fire) 0%, var(--ember) 40%, var(--blue) 100%);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: inline; } }

/* ---------- DOT GRID ---------- */
.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ---------- GLASS CARD ---------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* ---------- TYPOGRAPHY ---------- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 24px;
}
.gradient-text {
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-fire);
  color: #fff;
  padding: 12px 28px;
  box-shadow: 0 0 24px rgba(255,140,0,0.15);
}
.btn--primary:hover {
  box-shadow: 0 0 40px rgba(255,140,0,0.3);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 28px;
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.04);
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.btn__arrow { font-size: 1.2em; transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 10;
}
.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav__logo-accent {
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav__links {
  display: none;
  gap: 32px;
}
.nav__link {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
  font-weight: 500;
}
.nav__link:hover { color: var(--text); }
.nav__actions { display: none; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__actions { display: block; }
  .nav__toggle { display: none; }
}

/* Mobile nav toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav open */
.nav__links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.98);
  padding: 100px 32px 32px;
  gap: 24px;
  z-index: 5;
}
.nav__links.open .nav__link {
  font-size: 1.5rem;
  color: var(--text);
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: blobFloat 20s ease-in-out infinite alternate;
}
.hero__blob--1 {
  width: 600px; height: 600px;
  background: var(--fire);
  top: -10%; left: -10%;
}
.hero__blob--2 {
  width: 500px; height: 500px;
  background: var(--blue);
  bottom: -10%; right: -10%;
  animation-delay: -10s;
}
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.1); }
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  margin-bottom: 40px;
  font-weight: 500;
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Title */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

/* Subline */
.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* CTAs */
.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Terminal */
.hero__terminal-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 64px auto 0;
  width: 100%;
}

.terminal {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.terminal__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal__dot--red { background: #FF5F57; }
.terminal__dot--yellow { background: #FFBD2E; }
.terminal__dot--green { background: #28CA42; }
.terminal__title {
  margin-left: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}
.terminal__body {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.85rem;
  line-height: 2;
}
.terminal__line {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: var(--text-dim);
}
.terminal__line.typed {
  opacity: 1;
  transform: translateY(0);
}
.terminal__line--cmd {
  color: var(--text);
  font-weight: 600;
}
.terminal__arrow {
  color: var(--blue-light);
}
.terminal__check {
  color: #22C55E;
}
.terminal__line--success {
  color: #22C55E;
  font-weight: 600;
}
.terminal__line--result {
  color: var(--text-dim);
  font-style: italic;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--fire), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.6); }
}


/* ==========================================================================
   PROOF SECTION
   ========================================================================== */

.proof {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}
.proof__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 48px 40px;
}
@media (min-width: 768px) {
  .proof__card {
    grid-template-columns: 1fr 1fr;
    padding: 64px 56px;
  }
}
.proof__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fire);
  margin-bottom: 20px;
}
.proof__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
}
.proof__desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Browser mockup */
.proof__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.proof__browser {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}
.proof__browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.proof__browser-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.proof__browser-url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.proof__browser-body {
  padding: 24px;
}
.proof__mock-header {
  height: 12px;
  width: 45%;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  margin-bottom: 20px;
}
.proof__mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.proof__mock-card {
  height: 56px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.proof__mock-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof__mock-row {
  height: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
}
.proof__mock-row:nth-child(1) { width: 100%; }
.proof__mock-row:nth-child(2) { width: 85%; }
.proof__mock-row:nth-child(3) { width: 92%; }
.proof__mock-row:nth-child(4) { width: 78%; }


/* ==========================================================================
   WHAT WE DELIVER
   ========================================================================== */

.deliver {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}
.deliver__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}
@media (min-width: 768px) {
  .deliver__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.deliver__card {
  padding: 40px 32px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition), transform 0.4s var(--ease);
}
.deliver__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.deliver__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(255, 140, 0, 0.1);
  color: var(--fire);
  border: 1px solid rgba(255, 140, 0, 0.15);
}
.deliver__icon--security {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.15);
}
.deliver__icon--package {
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.12);
}
.deliver__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.deliver__desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}


/* ==========================================================================
   THE DIFFERENCE
   ========================================================================== */

.difference {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}
.difference__table {
  max-width: 800px;
  margin: 64px auto 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}
.difference__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.difference__row:last-child {
  border-bottom: none;
}
.difference__row--header {
  background: rgba(255,255,255,0.02);
}
.difference__cell {
  padding: 18px 24px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}
.difference__cell--label {
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.difference__cell--old {
  color: var(--text-muted);
}
.difference__cell--new {
  color: var(--text);
  font-weight: 600;
}
.difference__row--header .difference__cell {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 24px;
}
.difference__row--header .difference__cell--old {
  color: var(--text-muted);
}
.difference__row--header .difference__cell--new {
  background: linear-gradient(135deg, var(--fire), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 600px) {
  .difference__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .difference__cell {
    padding: 12px 20px;
  }
  .difference__cell--label {
    padding-bottom: 4px;
    border-bottom: none;
  }
  .difference__row--header { display: none; }
  .difference__row {
    padding: 12px 0;
  }
  .difference__cell--old::before {
    content: 'Traditional: ';
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.8rem;
  }
  .difference__cell--new::before {
    content: 'AutoAI: ';
    font-weight: 400;
    font-size: 0.8rem;
  }
}


/* ==========================================================================
   PRICING
   ========================================================================== */

.pricing {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}
@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pricing__card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}
.pricing__card--popular {
  border-color: rgba(255, 140, 0, 0.3);
  background: rgba(255, 140, 0, 0.04);
}
.pricing__card--popular:hover {
  border-color: rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.06);
}
.pricing__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fire);
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.2);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.pricing__tier {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.pricing__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 20px;
}
.pricing__currency {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dim);
}
.pricing__amount {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing__amount--custom {
  font-size: 2.5rem;
}
.pricing__suffix {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text-dim);
}
.pricing__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.pricing__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.pricing__features li {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
}
.pricing__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--fire);
  opacity: 0.6;
}


/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
}
.faq__list {
  max-width: 720px;
  margin: 64px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  overflow: hidden;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq__question:hover { color: var(--fire-light); }
.faq__icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq__item.open .faq__icon {
  transform: rotate(45deg);
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 0 28px;
}
.faq__item.open .faq__answer {
  max-height: 300px;
  padding: 0 28px 24px;
}
.faq__answer p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ==========================================================================
   CTA
   ========================================================================== */

.cta {
  padding: var(--section-gap) 0;
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta__glow {
  position: absolute;
  width: 600px; height: 400px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(255,140,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
}
.cta__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.cta__sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-dim);
  margin-bottom: 48px;
}
.cta__actions {
  margin-bottom: 24px;
}
.cta__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.footer__tagline {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer__heading {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer__list a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-dim);
  flex: 1;
}
.cookie-banner__link {
  color: var(--fire);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}


/* ==========================================================================
   CHAT WIDGET
   ========================================================================== */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
}
.chat-widget__trigger {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.chat-widget__trigger:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(255,140,0,0.15);
}
.chat-widget__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--fire);
  opacity: 0;
  animation: chatPulse 3s ease-in-out infinite;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

.chat-widget__panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.chat-widget__panel.open {
  display: flex;
}
.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.chat-widget__header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-widget__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
}
.chat-widget__role {
  font-size: 0.72rem;
  color: var(--text-dim);
}
.chat-widget__close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
}
.chat-widget__close:hover { color: var(--text); }
.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}
.chat-msg {
  max-width: 85%;
}
.chat-msg--bot {
  align-self: flex-start;
}
.chat-msg--user {
  align-self: flex-end;
}
.chat-msg p {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
}
.chat-msg--bot p {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-msg--user p {
  background: var(--grad-fire);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-widget__input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.chat-widget__input input {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}
.chat-widget__input input:focus {
  border-color: var(--fire);
}
.chat-widget__input input::placeholder {
  color: var(--text-muted);
}
.chat-widget__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-fire);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.chat-widget__send:hover {
  box-shadow: 0 0 20px rgba(255,140,0,0.3);
}

@media (max-width: 480px) {
  .chat-widget__panel {
    width: calc(100vw - 48px);
    right: -12px;
  }
}
