/* ─── Reset & Variables ─────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:      #ffffff;
  --accent:       #3B82F6;
  --accent-text:  #60A5FA;
  --accent-light: #93C5FD;
  --accent-glow:  rgba(59, 130, 246, 0.45);
  --bg:           #020617;
  --bg-card:      #0f172a;
  --subtle:       #0d1526;
  --text:         #e2e8f0;
  --muted:        #94a3b8;
  --border:       rgba(255, 255, 255, 0.08);
  --border-blue:  rgba(59, 130, 246, 0.5);
  --radius:       14px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

.no-scroll { overflow: hidden; }

/* ─── Navbar ────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent-text); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--primary);
}

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  letter-spacing: 0.04em;
}
.lang-btn:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.95);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li a {
  display: block;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.mobile-menu ul li a:hover { color: var(--primary); }

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--primary);
  padding: 148px 24px 160px;
  text-align: center;
}

/* Grid mesh der fader mod bunden */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%2360A5FA' fill-opacity='0.25'/%3E%3C/svg%3E");
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Animated blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 560px;
  height: 560px;
  background: rgba(59, 130, 246, 0.22);
  top: -220px;
  right: -80px;
  animation: blob1 11s ease-in-out infinite;
}
.hero-blob-2 {
  width: 420px;
  height: 420px;
  background: rgba(99, 102, 241, 0.18);
  bottom: -160px;
  left: -60px;
  animation: blob2 13s ease-in-out infinite;
}
.hero-blob-3 {
  width: 320px;
  height: 320px;
  background: rgba(14, 165, 233, 0.15);
  top: 35%;
  right: 20%;
  animation: blob3 15s ease-in-out infinite;
}

@keyframes blob1 {
  0%, 100% { transform: translate(0, 0)       scale(1);    }
  40%       { transform: translate(-50px, 40px) scale(1.08); }
  70%       { transform: translate(25px, -25px) scale(0.94); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0)        scale(1);    }
  35%       { transform: translate(55px, -45px) scale(1.07); }
  65%       { transform: translate(-30px, 30px) scale(0.95); }
}
@keyframes blob3 {
  0%, 100% { transform: translate(0, 0)        scale(1);    }
  45%       { transform: translate(-40px, 50px) scale(1.12); }
  75%       { transform: translate(30px, -35px) scale(0.90); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  padding: 7px 20px;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s ease both;
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-text);
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.10;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 20%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.7s 0.14s ease both;
}

.hero p {
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.7s 0.26s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.38s ease both;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.97rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 0 20px var(--accent-glow),
    0 4px 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #2563EB;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 0 40px var(--accent-glow),
    0 8px 36px var(--accent-glow);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
  color: var(--primary);
}

/* ─── Shared Section Styles ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

section h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 56px;
}

/* ─── Services ──────────────────────────────────────────────────────────── */
.services {
  position: relative;
  background: var(--bg);
}

/* Subtil glow bag sektionen */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 30px 40px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-blue);
  box-shadow:
    0 0 30px rgba(59,130,246,0.12),
    0 0 0 1px rgba(59,130,246,0.2),
    0 20px 48px rgba(0,0,0,0.4);
}

.service-card.featured {
  border-color: rgba(59,130,246,0.35);
  background: linear-gradient(155deg, #0f172a 0%, #0c1a3a 100%);
}

.service-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 0 16px var(--accent-glow);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}
.service-features li::before {
  content: '✓';
  color: var(--accent-text);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Why Us ────────────────────────────────────────────────────────────── */
.why-us {
  position: relative;
  background: #030d1f;
}

.why-us::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.why-us h2  { color: var(--primary); }
.why-us .section-sub { color: var(--muted); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
  position: relative;
}

.why-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.why-item:hover {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.06);
  box-shadow: 0 4px 30px rgba(59,130,246,0.1);
}

.why-icon {
  font-size: 1.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.why-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── Contact ───────────────────────────────────────────────────────────── */
.contact {
  position: relative;
  background: var(--bg);
}

.contact::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 660px;
  position: relative;
}
.contact-inner h2 { margin-bottom: 12px; }

.contact-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 44px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #475569; }
.contact-form select { color: var(--text); }
.contact-form select option { background: var(--bg-card); }
.contact-form textarea { resize: vertical; }

.submit-btn {
  align-self: flex-start;
  padding: 15px 36px;
  font-size: 1rem;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: #010410;
  color: var(--primary);
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer .logo { color: var(--primary); }
.footer .logo span { color: var(--accent-text); }
.footer p { color: var(--muted); font-size: 0.88rem; }

/* ─── Success state ─────────────────────────────────────────────────────── */
.btn-success {
  background: #22c55e !important;
  box-shadow: 0 0 24px rgba(34,197,94,0.4) !important;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .why-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .burger     { display: flex; }

  .hero       { padding: 90px 20px 100px; }
  section     { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; max-width: 100%; }
  .why-grid      { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }

  .contact-inner { max-width: 100%; }

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

  /* Chatbot fylder næsten hele bredden på mobil */
  .chat-widget {
    left: 12px;
    right: 12px;
    bottom: 16px;
  }
  .chat-window {
    width: calc(100vw - 24px);
    left: 0;
    bottom: 72px;
  }
}

@media (max-width: 480px) {
  .hero { padding: 80px 16px 88px; }
  .hero h1 { font-size: 2rem; letter-spacing: -0.02em; }
  .hero p  { font-size: 1rem; }

  .container { padding: 0 16px; }

  .service-card { padding: 28px 20px 32px; }

  .why-item { flex-direction: column; gap: 10px; }

  .chat-window { height: min(460px, calc(100vh - 120px)); }
}

/* ─── Scroll-to-top ─────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px var(--accent-glow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover   { background: #2563EB; transform: translateY(-2px); }

/* ─── Images ────────────────────────────────────────────────────────────── */
img { loading: lazy; }

/* ─── Chatbot Widget ─────────────────────────────────────────────────────── */
.chat-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
}

.chat-toggle {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 24px var(--accent-glow), 0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.2s;
}
.chat-toggle:hover { transform: scale(1.1); }

.online-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 13px;
  height: 13px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

.chat-window {
  display: none;
  flex-direction: column;
  position: absolute;
  bottom: 68px;
  left: 0;
  width: 340px;
  height: 460px;
  background: #0d1b2e;
  border-radius: 16px;
  border: 1px solid rgba(59,130,246,0.2);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,130,246,0.1);
  overflow: hidden;
}
.chat-window.open { display: flex; }

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.chat-name-tag {
  font-weight: 400;
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  opacity: 0.85;
  margin-top: 2px;
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2.2s ease-in-out infinite;
}

.chat-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
}
.chat-close:hover { background: rgba(255,255,255,0.22); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #071020;
  scrollbar-width: thin;
  scrollbar-color: rgba(59,130,246,0.3) transparent;
}
.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(59,130,246,0.3);
  border-radius: 4px;
}
.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(59,130,246,0.55);
}

.chat-message {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.chat-message.bot {
  background: #0f2035;
  color: #e2e8f0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

.chat-message.user {
  background: var(--accent);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 0 12px var(--accent-glow);
}

.chat-lead-form {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0d1b2e;
}
.chat-lead-form input {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #071020;
  color: #e2e8f0;
  transition: border-color 0.15s;
}
.chat-lead-form input:focus { border-color: var(--accent); }
.chat-lead-form input::placeholder { color: #475569; }
.chat-lead-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.15s, box-shadow 0.15s;
}
.chat-lead-form button:hover {
  background: #2563EB;
  box-shadow: 0 0 16px var(--accent-glow);
}

.chat-input-row {
  display: flex;
  padding: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 8px;
  background: #0d1b2e;
}
.chat-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  background: #071020;
  color: #e2e8f0;
  transition: border-color 0.2s;
}
.chat-input-row input::placeholder { color: #475569; }
.chat-input-row input:focus { border-color: var(--accent); }
.chat-input-row button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s, box-shadow 0.2s;
}
.chat-input-row button:hover {
  background: #2563EB;
  box-shadow: 0 0 16px var(--accent-glow);
}

/* ─── Typing animation ───────────────────────────────────────────────────── */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  background: #0f2035;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
  width: fit-content;
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  background: var(--accent-text);
  border-radius: 50%;
  animation: wave 1.2s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(-6px); }
}

/* ─── Entrance & Scroll animations ─────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1;   transform: scale(1);    }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
