/* =========================================
   ENKELSERVICE — Landing page
   ========================================= */

:root {
  --bg: #09090b;
  --bg-elevated: #131316;
  --bg-card: #18181b;
  --border: #27272a;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --green: #22c55e;
  --yellow: #eab308;
  --blue: #3b82f6;
  --radius: 16px;
  --radius-sm: 10px;
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav__mobile.open { display: flex; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: white;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.btn--lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius); }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
}

.btn--white {
  background: white;
  color: var(--bg);
}

.btn--white:hover {
  background: #e4e4e7;
}

.btn--white-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
}

.btn--white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 160px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__accent {
  background: linear-gradient(135deg, var(--accent-light), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 0;
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section__sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

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

/* ---- CARD ---- */
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.card:hover {
  border-color: #3f3f46;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card--live:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

/* SVG icon container */
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-light);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card--soon .card__icon {
  background: rgba(234, 179, 8, 0.08);
  color: var(--yellow);
}

.card--planned .card__icon {
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue);
}

.card--more .card__icon {
  background: rgba(161, 161, 170, 0.08);
  color: var(--text-muted);
}

.card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card__badge--live {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.card__badge--soon {
  background: rgba(234, 179, 8, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.card__badge--planned {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
}

.card__link svg {
  transition: transform 0.2s;
}

.card:hover .card__link svg {
  transform: translateX(3px);
}

.card--more {
  border-style: dashed;
  background: transparent;
}

.card--more:hover {
  background: var(--bg-elevated);
}

/* ---- FEATURES ---- */
.features {
  padding: 80px 0 100px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature {
  text-align: center;
  padding: 24px 16px;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent-light);
  margin: 0 auto 20px;
}

.feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
}

.cta .btn { position: relative; }

.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  position: relative;
}

/* ---- INTEREST FORM ---- */
.interest {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.interest__inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: start;
}

.interest__text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 16px;
}

.interest__text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.interest__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interest__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.interest__services {
  border: none;
  padding: 0;
  margin: 0;
}

.interest__services legend {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.interest__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.interest__checks label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
}

.interest__checks label:hover { color: var(--text); }

.interest__checks input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---- FOOTER ---- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__links a:hover { color: var(--text); }

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.card, .feature {
  opacity: 0;
  animation: fadeUp 0.5s ease forwards;
}

.services__grid .card:nth-child(1) { animation-delay: 0.05s; }
.services__grid .card:nth-child(2) { animation-delay: 0.1s; }
.services__grid .card:nth-child(3) { animation-delay: 0.15s; }
.services__grid .card:nth-child(4) { animation-delay: 0.2s; }
.services__grid .card:nth-child(5) { animation-delay: 0.25s; }
.services__grid .card:nth-child(6) { animation-delay: 0.3s; }
.services__grid .card:nth-child(7) { animation-delay: 0.35s; }
.services__grid .card:nth-child(8) { animation-delay: 0.4s; }

.features__grid .feature:nth-child(1) { animation-delay: 0.1s; }
.features__grid .feature:nth-child(2) { animation-delay: 0.15s; }
.features__grid .feature:nth-child(3) { animation-delay: 0.2s; }
.features__grid .feature:nth-child(4) { animation-delay: 0.25s; }

/* ---- RESPONSIVE: Tablet (768–1024px) ---- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- RESPONSIVE: Mobile (< 768px) ---- */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .section__inner { padding: 0 20px; }

  .hero {
    padding: 130px 20px 70px;
  }

  .hero__stats {
    gap: 32px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .services {
    padding: 70px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    padding: 24px 22px;
  }

  .card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    margin-bottom: 16px;
  }

  .card__icon svg {
    width: 22px;
    height: 22px;
  }

  .features {
    padding: 60px 0 70px;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature {
    padding: 20px 16px;
  }

  .cta {
    padding: 70px 20px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- RESPONSIVE: Small mobile (< 380px) ---- */
@media (max-width: 380px) {
  .hero {
    padding: 110px 16px 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero__stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero__stat strong {
    font-size: 1.3rem;
  }

  .card {
    padding: 20px 18px;
  }

  .btn--lg {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

/* Touch device hover fix */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: none;
  }
  .btn:hover {
    transform: none;
  }
}

/* =========================================
   OPEN BETA BANNER
   ========================================= */
.beta-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.15), rgba(99, 102, 241, 0.15));
  border-bottom: 1px solid rgba(34, 197, 94, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.beta-banner.hidden { display: none; }

.beta-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text);
}

.beta-banner__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: betaPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes betaPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.25); }
}

.beta-banner__text { flex: 1; }
.beta-banner__text strong { color: var(--green); }
.beta-banner__text a {
  color: var(--accent-light);
  font-weight: 600;
  margin-left: 4px;
}
.beta-banner__text a:hover { text-decoration: underline; }

.beta-banner__close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}
.beta-banner__close:hover { color: var(--text); }

body:has(.beta-banner:not(.hidden)) .nav { top: 40px; }

@media (max-width: 640px) {
  .beta-banner__inner { padding: 8px 16px; font-size: 0.78rem; }
}

/* =========================================
   ARTICLE / LANDING PAGES
   ========================================= */
.hero--compact { padding: 140px 24px 60px; }

.article { padding: 60px 0 100px; }

.article__inner {
  max-width: 760px;
}

.article__inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: var(--text);
}

.article__inner h2:first-child { margin-top: 0; }

.article__inner h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

.article__inner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article__inner p a,
.article__inner li a {
  color: var(--accent-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(129, 140, 248, 0.4);
}

.article__inner p a:hover,
.article__inner li a:hover {
  text-decoration-color: var(--accent-light);
}

.article__list {
  margin: 16px 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.article__list li { margin-bottom: 8px; }
.article__list strong { color: var(--text); }

.article__cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.article__cta h2 { margin-top: 0; }
.article__cta p { margin-bottom: 24px; }

/* =========================================
   BETA FEATURES LIST
   ========================================= */
.beta__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0 40px;
}

.beta__feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.beta__feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 2px;
}

.beta__feature h3 {
  margin: 0 0 4px !important;
  font-size: 1rem !important;
}

.beta__feature p {
  margin: 0 !important;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =========================================
   FAQ (details/summary)
   ========================================= */
.faq { margin: 16px 0 32px; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--bg-card);
}

.faq__item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-muted);
}

.faq__item[open] summary::after { content: '−'; }

.faq__item p {
  padding: 0 22px 20px;
  margin: 0 !important;
}

/* =========================================
   COMPARISON TABLE
   ========================================= */
.comparison { margin: 24px 0 40px; overflow-x: auto; }

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.comparison__table th,
.comparison__table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.comparison__table th {
  background: var(--bg-elevated);
  font-weight: 700;
  color: var(--text);
}

.comparison__table td { color: var(--text-muted); }
.comparison__table td strong { color: var(--green); }
.comparison__table tr:last-child td { border-bottom: none; }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  margin-top: 24px;
}

.contact__form-wrap h2 { margin-top: 0; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form select,
.contact__form textarea {
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  transition: border-color 0.2s;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__form button[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
}

.contact__status {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.contact__status.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.contact__status.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.contact__aside h3 { margin-top: 0; }
.contact__aside h3 + h3 { margin-top: 32px; }

.contact__channels {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact__channels li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact__channels li:last-child { border-bottom: none; }

.contact__channels strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact__channels span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================
   CHATBOT WIDGET
   ========================================= */
.chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.chat-launcher:hover { transform: scale(1.08); }
.chat-launcher svg { width: 28px; height: 28px; }

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 95;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.open { display: flex; }

.chat__header {
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat__header-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.chat__header-title .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.chat__close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px 8px;
}

.chat__close:hover { color: var(--text); }

.chat__tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.chat__tab {
  flex: 1;
  padding: 12px 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

.chat__tab:hover { color: var(--text); }

.chat__tab.active {
  color: var(--accent-light);
  border-bottom-color: var(--accent);
}

.chat__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  min-height: 240px;
  max-height: 380px;
}

.chat__intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.chat__quick-btn {
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.chat__quick-btn:hover {
  border-color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
}

.chat__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat__msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 85%;
}

.chat__msg--bot {
  background: var(--bg-elevated);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat__msg--user {
  background: var(--accent);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat__footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat__input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  resize: none;
  min-height: 40px;
  max-height: 100px;
}

.chat__input:focus {
  outline: none;
  border-color: var(--accent);
}

.chat__send {
  padding: 10px 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.chat__send:hover { background: var(--accent-light); }
.chat__send:disabled { opacity: 0.5; cursor: not-allowed; }

.chat__email-field {
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  margin: 0 14px 10px;
  border-radius: 10px;
}

.chat__email-field:focus { outline: none; border-color: var(--accent); }

/* Mobile responsive for article pages + chatbot */
@media (max-width: 768px) {
  .beta__features { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 32px; }
  .interest__inner { grid-template-columns: 1fr; gap: 32px; }
  .interest__row { grid-template-columns: 1fr; }
  .article { padding: 40px 0 80px; }
  .article__cta { padding: 28px 20px; }

  .chat-window {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 90px;
    max-height: 75vh;
  }
  .chat-launcher {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }
}


