/* ============ Base ============ */
:root {
  --bg: #eaf4fe;
  --bg-alt: #dcecfc;
  --card: #eff7ff;
  --border: #c3dcf5;
  --text: #0f2b4a;
  --muted: #4d6b8c;
  --accent: #2f7ce0;
  --accent-2: #0aa2a0;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(47, 108, 190, 0.14);
}

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

html { scroll-behavior: smooth; background: #d9ebfc; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: linear-gradient(180deg, #b9dcfb 0%, #dfeffe 22%, #cde6fc 48%, #e2f1ff 72%, #cfe7fd 100%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { font-family: "Sora", sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; }
p { color: var(--muted); }
p + p { margin-top: 0.8rem; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  to { background-position: 200% center; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 100;
  box-shadow: 0 0 10px rgba(56, 224, 200, 0.6);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 0.5rem;
}

.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(79, 140, 255, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ============ Navbar ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(217, 236, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.35rem; }
.accent { color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.92rem; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--accent-2); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ============ Hero ============ */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 10%, rgba(79, 140, 255, 0.18), transparent),
    radial-gradient(500px 300px at 90% 80%, rgba(56, 224, 200, 0.12), transparent);
}
.hero-inner { position: relative; z-index: 1; }

/* Floating gradient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}
.orb-1 {
  width: 260px; height: 260px;
  background: var(--accent);
  top: -60px; left: -60px;
  animation: float1 11s ease-in-out infinite;
}
.orb-2 {
  width: 200px; height: 200px;
  background: var(--accent-2);
  bottom: -40px; right: 8%;
  animation: float2 13s ease-in-out infinite;
}
.orb-3 {
  width: 140px; height: 140px;
  background: #8b5cf6;
  top: 30%; right: 35%;
  animation: float3 9s ease-in-out infinite;
}
@keyframes float1 { 50% { transform: translate(50px, 40px) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-40px, -50px) scale(0.9); } }
@keyframes float3 { 50% { transform: translate(30px, -35px) scale(1.2); } }

/* Typewriter line */
.hero-typed {
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: 1rem;
  min-height: 1.6em;
}
.hero-typed .caret {
  animation: blink 0.8s step-end infinite;
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #15803d;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(31, 86, 153, 0.1);
}
.hero-sub { margin: 1.2rem 0 1.8rem; font-size: 1.08rem; max-width: 34rem; }
.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.5rem; margin-top: 2.4rem; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: 1.6rem; color: var(--accent-2); }
.hero-stats span { font-size: 0.82rem; color: var(--muted); }

.hero-card {
  background: linear-gradient(165deg, #f6fbff 0%, #ddeefd 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.avatar {
  width: 96px; height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.avatar-photo {
  width: 130px; height: 130px;
  overflow: hidden;
  padding: 4px;
  box-shadow: 0 8px 28px rgba(79, 140, 255, 0.4);
  animation: avatarGlow 3s ease-in-out infinite;
}
.avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  background: var(--bg-alt);
  display: block;
}
@keyframes avatarGlow {
  50% { box-shadow: 0 8px 36px rgba(56, 224, 200, 0.55); }
}
.hero-points {
  list-style: none;
  text-align: left;
  margin: 1.2rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-points li { padding: 0.3rem 0; }

/* ============ Trust strip ============ */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.4rem 0; }
.trust-inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.trust-inner > span { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Marquee mode (applied by JS) */
.chips.marquee {
  flex-wrap: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.chips-track {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  animation: marquee 22s linear infinite;
  padding-right: 0.5rem;
}
.chips.marquee:hover .chips-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============ Cards / grids ============ */
.grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(47, 124, 224, 0.14), rgba(10, 162, 160, 0.14));
  border: 1px solid var(--border);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { animation: iconPop 0.45s ease; }
@keyframes iconPop {
  40% { transform: scale(1.25) rotate(-8deg); }
  70% { transform: scale(0.95) rotate(4deg); }
  100% { transform: none; }
}
.card p { font-size: 0.92rem; }

/* ============ Projects ============ */
.project {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.25s, border-color 0.25s;
}
.project:hover { transform: translateY(-5px); border-color: var(--accent-2); }
.project.featured {
  border-color: rgba(56, 224, 200, 0.5);
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(56, 224, 200, 0.08), transparent),
    var(--card);
}
.demo-link { margin-top: 1rem; }
.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 0.7rem;
}
.project p { font-size: 0.94rem; margin: 0.5rem 0 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tags span {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(79, 140, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(79, 140, 255, 0.3);
}
.section .center { margin-top: 2.5rem; }

/* ============ Process ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.5rem; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 1rem;
}
.step p { font-size: 0.9rem; }

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-facts { display: grid; gap: 1rem; }
.fact {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.fact strong { font-size: 0.95rem; }
.fact span { font-size: 0.83rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 1rem;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  color: var(--accent-2);
  font-size: 1.2rem;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; font-size: 0.93rem; }

/* ============ Contact ============ */
.contact {
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(79, 140, 255, 0.15), transparent),
    var(--bg-alt);
}
.contact-form { margin-top: 2rem; display: grid; gap: 0.9rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-alt {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.contact-alt a:hover { color: var(--accent-2); }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); padding: 1.6rem 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a:hover { color: var(--accent-2); }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 5.8rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Work section category filters */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.wf-chip {
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.83rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.wf-chip:hover { border-color: var(--accent); color: var(--text); }
.wf-chip.active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #ffffff;
}
.project.wf-hidden { display: none; }

/* Featured project shine sweep */
.project.featured { position: relative; overflow: hidden; }
.project.featured::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(56, 224, 200, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.project.featured:hover::before { left: 140%; }

/* ============ AI assistant widget ============ */
.ai-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.45);
  transition: transform 0.2s;
}
.ai-fab:hover { transform: scale(1.1); }
.ai-panel {
  position: fixed;
  right: 1.4rem;
  bottom: 5.6rem;
  z-index: 61;
  width: min(360px, calc(100vw - 2rem));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(31, 86, 153, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.ai-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ai-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(120deg, var(--accent), #8b5cf6);
  color: #fff;
}
.ai-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.ai-head strong { display: block; font-size: 0.95rem; }
.ai-status { font-size: 0.72rem; opacity: 0.9; }
.ai-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
}
.ai-messages {
  height: 300px;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--bg-alt);
}
.ai-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: aiSlide 0.25s ease;
}
@keyframes aiSlide { from { opacity: 0; transform: translateY(8px); } }
.ai-msg.bot { background: var(--card); border: 1px solid var(--border); align-self: flex-start; border-bottom-left-radius: 5px; }
.ai-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.ai-msg a { color: var(--accent-2); font-weight: 600; }
.ai-typing {
  display: none;
  gap: 4px;
  padding: 0.5rem 0.9rem;
  background: var(--bg-alt);
}
.ai-typing.show { display: flex; }
.ai-typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: aiBounce 1.2s infinite;
}
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes aiBounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.ai-quick {
  display: flex;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem 0.2rem;
  overflow-x: auto;
  background: var(--bg-alt);
}
.ai-quick button {
  white-space: nowrap;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font-family: inherit;
}
.ai-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-alt);
}
.ai-input input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.86rem;
}
.ai-input input:focus { outline: none; border-color: var(--accent); }
.ai-input button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
}
.ai-note {
  font-size: 0.64rem;
  text-align: center;
  color: var(--muted);
  padding: 0 0.9rem 0.6rem;
  background: var(--bg-alt);
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner, .about-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-card { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .section { padding: 3.8rem 0; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.6rem; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem;
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* Work section: subheading between production apps and industry demos */
.work-subhead { margin-top: 3.5rem; }

/* Friendly pulse ring on the bot button (mirrors the WhatsApp pulse) */
.ai-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: waPulse 2.4s ease-out infinite;
  z-index: -1;
}

/* Bot message row: mini avatar beside each bot bubble */
.ai-row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  align-self: flex-start;
  max-width: 92%;
}
.ai-row .ai-msg { max-width: 100%; }
.ai-mini {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.35);
}
.ai-mini svg { width: 18px; height: 18px; }

/* Chatbot teaser bubble — appears beside the bot button to invite visitors */
.ai-teaser {
  position: fixed;
  right: calc(1.4rem + 70px);
  bottom: 1.6rem;
  z-index: 60;
  max-width: 250px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px 14px 4px 14px;
  padding: 0.8rem 1rem;
  box-shadow: 0 14px 36px rgba(31, 86, 153, 0.25);
  cursor: pointer;
  animation: teaserIn 0.35s ease;
}
.ai-teaser p { color: var(--text); font-size: 0.84rem; line-height: 1.5; }
.ai-teaser strong { color: var(--accent-2); }
.ai-teaser::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 12px;
  width: 12px; height: 12px;
  background: var(--card);
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.ai-teaser-close {
  position: absolute;
  top: -9px; right: -9px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.68rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ai-teaser-close:hover { color: var(--text); }
@keyframes teaserIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
}

/* Unread badge on the bot button */
.ai-badge {
  position: absolute;
  top: -3px; right: -3px;
  min-width: 19px; height: 19px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg);
  z-index: 1;
}
.ai-teaser[hidden], .ai-badge[hidden] { display: none; }
@media (max-width: 380px) {
  .ai-teaser { max-width: calc(100vw - 118px); }
}

/* Inline WhatsApp brand icon in buttons and links */
.wa-ic {
  width: 1.05em; height: 1.05em;
  vertical-align: -0.16em;
  fill: currentColor;
  margin-right: 0.3em;
}
.wa-ic-green { fill: #25d366; }

/* Service pricing anchors */
.price-line {
  margin-top: 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

/* Comparison table in the Why section */
.compare-wrap { margin-top: 3rem; overflow-x: auto; }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
  min-width: 560px;
}
.compare th, .compare td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--muted); font-weight: 600; }
.compare .compare-me {
  color: var(--text);
  font-weight: 600;
  background: rgba(47, 124, 224, 0.08);
}
.compare thead .compare-me { color: var(--accent); }

/* Live availability dot (hero badge + demo tags) */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.5em;
  vertical-align: 1px;
  animation: liveDot 2s ease-out infinite;
}
@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70%, 100% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Hero checklist ticks (replaces emoji) */
.hero-points li {
  position: relative;
  padding-left: 1.6em;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0.15em; top: 0.62em;
  width: 0.8em; height: 0.42em;
  border-left: 2.5px solid #22c55e;
  border-bottom: 2.5px solid #22c55e;
  transform: rotate(-45deg);
}

/* Production-app tag accent */
.tag-prod { color: var(--accent); }

/* Hero card: location line and reply note */
.hero-loc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.hero-points strong { color: var(--text); }
.hero-reply {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.7rem;
}
