:root {
  --bg: #050506;
  --bg-2: #09090d;
  --surface: rgba(18, 18, 24, 0.84);
  --surface-2: rgba(30, 30, 40, 0.78);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f5f5f7;
  --muted: #a6a6b3;
  --muted-2: #747482;
  --red: #ef1624;
  --red-2: #ff3344;
  --red-dark: #8e0d17;
  --green: #36d17c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at top left, rgba(239, 22, 36, 0.20), transparent 32%),
    radial-gradient(circle at 70% 20%, rgba(255, 51, 68, 0.10), transparent 30%),
    linear-gradient(135deg, #050506 0%, #0b0b11 55%, #050506 100%);
}

.grid-glow {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 68%);
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(45px);
  opacity: .25;
  animation: floatOrb 11s ease-in-out infinite alternate;
}

.orb-red {
  right: -130px;
  top: 120px;
  background: var(--red);
}

.orb-dark {
  left: -160px;
  bottom: 120px;
  background: #303047;
  animation-delay: 2s;
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, -35px, 0) scale(1.08); }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 50px rgba(0,0,0,.25);
  transition: .25s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 12, 0.92);
  border-color: rgba(239,22,36,.26);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.brand span span,
.brand > span:last-child span {
  color: var(--red-2);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-size: .84rem;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 0 30px rgba(239, 22, 36, .32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 650;
  border-radius: 999px;
  transition: .22s ease;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.nav-links .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #b80e1b);
  box-shadow: 0 0 24px rgba(239,22,36,.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #fff;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding-top: 52px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red-2);
  font-weight: 850;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: .9;
  letter-spacing: -0.08em;
}

h1 span,
h2 span {
  color: var(--red-2);
  text-shadow: 0 0 38px rgba(239,22,36,.22);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.065em;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 640px;
  font-size: 1.08rem;
}

.hero-actions,
.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: .24s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  box-shadow: 0 14px 40px rgba(239,22,36,.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(239,22,36,.38);
}

.btn-secondary {
  border-color: rgba(255,255,255,.14);
  color: #fff;
  background: rgba(255,255,255,.05);
}

.btn-secondary:hover {
  border-color: rgba(239,22,36,.50);
  background: rgba(239,22,36,.09);
  transform: translateY(-3px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 34px;
}

.hero-trust div,
.stat-card,
.info-card,
.service-card,
.steps-card,
.mini-card,
.tech-panel,
.app-card,
.contact-form,
.faq-list {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-trust div {
  padding: 18px;
  border-radius: 22px;
}

.hero-trust strong {
  display: block;
  font-size: 1.35rem;
}

.hero-trust span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .86rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: min(390px, 92vw);
  min-height: 710px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 48px;
  background: linear-gradient(160deg, #17171f 0%, #07070a 50%, #130608 100%);
  box-shadow: 0 30px 100px rgba(0,0,0,.55), 0 0 70px rgba(239,22,36,.18);
  overflow: hidden;
}

.phone-top {
  width: 98px;
  height: 24px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #020203;
}

.phone-map {
  position: relative;
  height: 280px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(30deg, transparent 40%, rgba(239,22,36,.12) 41%, transparent 43%),
    linear-gradient(120deg, transparent 38%, rgba(255,255,255,.10) 39%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    #0c0c12;
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px;
}

.route-line {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red-2), transparent);
  box-shadow: 0 0 20px rgba(239,22,36,.9);
  animation: routeMove 3.8s linear infinite;
}

.r1 { width: 270px; left: 32px; top: 116px; transform: rotate(-28deg); }
.r2 { width: 250px; left: 72px; top: 184px; transform: rotate(18deg); animation-delay: 1s; }

@keyframes routeMove {
  0% { opacity: .2; filter: brightness(.8); }
  50% { opacity: 1; filter: brightness(1.5); }
  100% { opacity: .2; filter: brightness(.8); }
}

.pin {
  position: absolute;
  color: var(--red-2);
  filter: drop-shadow(0 0 12px rgba(239,22,36,.9));
}
.p1 { left: 70px; top: 88px; }
.p2 { right: 82px; bottom: 76px; color: #fff; }

.driver-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red-2);
  box-shadow: 0 0 0 9px rgba(239,22,36,.10), 0 0 22px rgba(239,22,36,.88);
}
.d1 { top: 54px; right: 92px; }
.d2 { top: 190px; left: 80px; animation-delay: .5s; }
.d3 { top: 136px; right: 48px; animation-delay: 1s; }

.phone-card,
.ride-card,
.phone-banner {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,10,15,.86);
  box-shadow: 0 20px 55px rgba(0,0,0,.35);
}

.main-card {
  margin-top: 14px;
  padding: 20px;
  border-radius: 26px;
}

.main-card small {
  display: block;
  color: var(--muted);
}

.main-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.32rem;
}

.ride-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.ride-card {
  padding: 16px;
  border-radius: 24px;
}

.ride-card.active {
  border-color: rgba(239,22,36,.55);
  box-shadow: 0 0 40px rgba(239,22,36,.15);
}

.ride-card span,
.ride-card b,
.ride-card small {
  display: block;
}
.ride-card span { font-size: 1.7rem; margin-bottom: 10px; }
.ride-card small { margin-top: 6px; color: var(--red-2); font-weight: 800; }

.phone-banner {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 30px;
  padding: 14px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: .88rem;
  text-align: center;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 10px;
}

.stat-card {
  padding: 22px;
  border-radius: 26px;
  text-align: center;
}

.stat-card span {
  display: block;
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
}

.stat-card span::after {
  content: "+";
  color: var(--red-2);
}

.stat-card:nth-child(3) span::after,
.stat-card:nth-child(4) span::after {
  content: "";
}

.stat-card small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:last-child {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.mission-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.security-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.service-card,
.steps-card,
.contact-form,
.faq-list {
  padding: 28px;
  border-radius: var(--radius);
}

.info-card,
.service-card,
.mini-card,
.stat-card {
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.info-card:hover,
.service-card:hover,
.mini-card:hover,
.stat-card:hover {
  transform: translateY(-7px);
  border-color: rgba(239,22,36,.36);
  box-shadow: 0 28px 90px rgba(0,0,0,.48), 0 0 32px rgba(239,22,36,.10);
}

.icon,
.service-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(239,22,36,.12);
  border: 1px solid rgba(239,22,36,.26);
  font-size: 1.45rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card.featured {
  background:
    radial-gradient(circle at top right, rgba(239,22,36,.20), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border-color: rgba(239,22,36,.36);
}

.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(239,22,36,.18);
  border: 1px solid rgba(239,22,36,.32);
  font-size: .78rem;
  font-weight: 850;
  margin-bottom: 20px;
}

.badge.dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}

.service-card a {
  margin-top: auto;
  color: var(--red-2);
  font-weight: 850;
}

.two-col {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.two-col.reverse {
  grid-template-columns: 1.05fr .95fr;
}

.section-copy {
  max-width: 620px;
}

.check-list {
  padding: 0;
  margin: 26px 0 30px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(239,22,36,.16);
  color: var(--red-2);
  font-weight: 900;
}

.steps-card h3 {
  margin-bottom: 20px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.step span {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}

.step p {
  margin: 0;
}

.step b,
.step small {
  display: block;
}

.step small {
  color: var(--muted);
  margin-top: 4px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  font-weight: 750;
}

.tech-panel,
.app-card {
  padding: 38px;
  border-radius: calc(var(--radius) + 8px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(239,22,36,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span,
.city-grid span {
  display: inline-flex;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-weight: 750;
}

.city-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.app-card {
  grid-template-columns: 1.1fr .9fr;
}

.store-buttons button {
  min-width: 190px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: #fff;
  text-align: left;
  background: rgba(255,255,255,.06);
  cursor: not-allowed;
}

.store-buttons small {
  color: var(--muted);
}

.partnerships .section-heading {
  padding: 64px 28px;
  border: 1px solid rgba(239,22,36,.22);
  border-radius: calc(var(--radius) + 10px);
  background: radial-gradient(circle at center, rgba(239,22,36,.16), rgba(255,255,255,.035) 54%, rgba(255,255,255,.02));
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  width: 100%;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item span {
  font-weight: 850;
  font-size: 1.04rem;
}

.faq-item b {
  float: right;
  color: var(--red-2);
  font-size: 1.25rem;
}

.faq-item p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  transition: max-height .25s ease, margin .25s ease;
}

.faq-item.open p {
  max-height: 180px;
  margin-top: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 15px 16px;
  color: #fff;
  background: rgba(0,0,0,.24);
  outline: none;
}

select option {
  color: #111;
}

textarea {
  resize: vertical;
  margin-bottom: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(239,22,36,.62);
  box-shadow: 0 0 0 4px rgba(239,22,36,.10);
}

.form-note {
  margin: 14px 0 0;
  font-size: .88rem;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255,255,255,.035);
}

.footer {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 650;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  color: #fff;
  font-weight: 850;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  box-shadow: 0 14px 48px rgba(239,22,36,.34);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(8,8,12,.96);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }

  .hero,
  .two-col,
  .two-col.reverse,
  .tech-panel,
  .app-card,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 70px; }
  .hero-visual { order: -1; }
  .mission-grid,
  .security-grid,
  .requirements-grid,
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .navbar,
  .section,
  .footer {
    width: min(100% - 26px, var(--max));
  }
  .section { padding: 66px 0; }
  h1 { font-size: clamp(2.8rem, 18vw, 4.2rem); }
  h2 { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-trust,
  .service-grid,
  .mission-grid,
  .security-grid,
  .requirements-grid,
  .stats-section,
  .form-row {
    grid-template-columns: 1fr;
  }
  .phone-mockup {
    min-height: 650px;
    border-radius: 38px;
  }
  .phone-map { height: 230px; }
  .floating-whatsapp span { display: none; }
  .footer-links { justify-content: flex-start; }
}

/* DriverX Assistant Chatbot */
.floating-whatsapp {
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 18px 58px rgba(239,22,36,.46);
}

.chatbot {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 70;
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(239,22,36,.28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(239,22,36,.20), transparent 34%),
    linear-gradient(180deg, rgba(18,21,27,.98), rgba(6,6,8,.98));
  box-shadow: 0 24px 90px rgba(0,0,0,.58), 0 0 0 1px rgba(255,255,255,.03) inset;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease;
}

.chatbot.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.chatbot-mark,
.message-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239,22,36,.35);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(239,22,36,.38), rgba(0,0,0,.36));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 30px rgba(239,22,36,.18);
}

.chatbot-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.chatbot-brand small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.chatbot-body {
  max-height: 430px;
  min-height: 300px;
  overflow-y: auto;
  padding: 18px;
  scrollbar-width: thin;
}

.bot-message,
.user-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.bot-message p,
.user-message p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.45;
  font-size: .94rem;
}

.bot-message p {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.055);
  color: var(--muted);
}

.user-message {
  justify-content: flex-end;
}

.user-message p {
  max-width: 82%;
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  color: #fff;
  font-weight: 720;
  box-shadow: 0 10px 28px rgba(239,22,36,.20);
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px 52px;
}

.quick-questions button {
  border: 1px solid rgba(239,22,36,.24);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(239,22,36,.08);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.quick-questions button:hover {
  background: rgba(239,22,36,.18);
  transform: translateY(-1px);
}

.chatbot-input {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.chatbot-input input {
  min-width: 0;
  border-radius: 999px;
  padding: 13px 15px;
}

.chatbot-input button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  font-weight: 850;
  background: linear-gradient(135deg, var(--red-2), var(--red-dark));
  cursor: pointer;
}

.chatbot-disclaimer {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted-2);
  font-size: .76rem;
  text-align: center;
}

.typing p {
  color: var(--muted-2);
  font-style: italic;
}

@media (max-width: 640px) {
  .chatbot {
    right: 13px;
    bottom: 78px;
    border-radius: 24px;
  }
  .chatbot-body {
    max-height: 58vh;
  }
  .quick-questions {
    margin-left: 0;
  }
}
