@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink-950: #051d26;
  --ink-900: #07242f;
  --ink-800: #0b3a44;
  --ink-700: #0e4a57;
  --teal-500: #0891b2;
  --teal-600: #0e7490;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --page-bg: #fbfcfd;
  --surface: #ffffff;
  --text: #22303a;
  --text-muted: #5a6b76;
  --heading: #0b2e3b;
  --border: #e3ecef;
  --border-strong: #cfdfe4;
  --on-dark: #f2fbfd;
  --on-dark-muted: rgba(226, 244, 248, 0.72);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.75rem;
  --radius: 18px;
  --radius-sm: 12px;
  --elevation-1: 0 1px 2px rgba(5, 29, 38, 0.06), 0 1px 3px rgba(5, 29, 38, 0.08);
  --elevation-2: 0 4px 12px rgba(5, 29, 38, 0.08), 0 2px 4px rgba(5, 29, 38, 0.05);
  --elevation-3: 0 14px 32px rgba(5, 29, 38, 0.12), 0 5px 12px rgba(5, 29, 38, 0.06);
  --elevation-4: 0 28px 60px rgba(5, 29, 38, 0.2), 0 10px 20px rgba(5, 29, 38, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(8, 145, 178, 0.22);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 var(--space-2);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 var(--space-2);
  color: var(--text-muted);
}

a {
  color: var(--teal-600);
}

ul, ol {
  margin: 0;
  padding: 0;
}

/* ---------- Layout ---------- */

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
}

.section-muted {
  max-width: none;
  background: linear-gradient(180deg, #f2f8fa 0%, var(--page-bg) 100%);
}

.section-muted > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.section-head h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  margin: 0.95rem auto 0;
  background: linear-gradient(90deg, var(--emerald-500) 0%, var(--teal-500) 100%);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-600);
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 1.08rem;
  margin: 0;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(6, 32, 41, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 200ms ease, background-color 200ms ease;
}

.nav.is-scrolled {
  background: rgba(6, 32, 41, 0.94);
  box-shadow: 0 10px 30px rgba(5, 29, 38, 0.35);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  text-decoration: none;
  margin-right: auto;
  letter-spacing: -0.01em;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--teal-500) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
}

.nav-logo svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: none;
  gap: var(--space-3);
}

.nav-links a {
  color: rgba(236, 249, 252, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

.nav-cta {
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
}

@media (max-width: 440px) {
  .nav-inner {
    gap: 0.6rem;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
  .nav-brand {
    font-size: 1rem;
    gap: 0.45rem;
  }
  .nav-logo {
    width: 32px;
    height: 32px;
  }
  .nav-cta {
    min-height: 40px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.btn:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-600) 0%, #0c9a6c 55%, var(--teal-500) 150%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-light {
  background: #ffffff;
  color: var(--ink-800);
  box-shadow: var(--elevation-2);
}

.btn-light:hover,
.btn-light:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--elevation-3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink-800);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--teal-600);
  color: var(--teal-600);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(8, 145, 178, 0.22) 0%, transparent 60%),
    radial-gradient(700px 420px at 5% 100%, rgba(5, 150, 105, 0.16) 0%, transparent 60%),
    linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 45%, var(--ink-800) 100%);
  color: var(--on-dark);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 480px;
  height: 480px;
  background: rgba(8, 145, 178, 0.28);
  top: -180px;
  right: -120px;
}

.hero-glow-2 {
  width: 420px;
  height: 420px;
  background: rgba(16, 185, 129, 0.18);
  bottom: -200px;
  left: -140px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3) var(--space-5);
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 940px) {
  .hero-inner {
    grid-template-columns: 1.12fr 0.88fr;
    padding-top: 6rem;
  }
}

.hero-copy {
  text-align: center;
}

@media (min-width: 940px) {
  .hero-copy {
    text-align: left;
  }
}

.hero h1 {
  color: #ffffff;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #34d399 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: var(--space-3);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.22);
}

.lead {
  font-size: 1.15rem;
  color: var(--on-dark-muted);
  max-width: 560px;
  margin: 0 auto var(--space-2);
}

@media (min-width: 940px) {
  .lead {
    margin-left: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

@media (min-width: 940px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: var(--space-3);
  padding: 0;
}

@media (min-width: 940px) {
  .trust-badges {
    justify-content: flex-start;
  }
}

.trust-badges li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
  font-weight: 500;
}

.trust-badges li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #34d399;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 100% no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 100% no-repeat, linear-gradient(#fff, #fff);
  mask-composite: exclude;
}

/* Hero mockup */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.mockup-card {
  width: min(370px, 100%);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: var(--elevation-4);
  overflow: hidden;
  transform: rotate(1.2deg);
  animation: mockup-float 8s ease-in-out infinite;
}

@keyframes mockup-float {
  0%, 100% { transform: rotate(1.2deg) translateY(0); }
  50% { transform: rotate(1.2deg) translateY(-12px); }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--emerald-600) 130%);
  color: #ffffff;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.mockup-header-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.mockup-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.mockup-status {
  font-size: 0.72rem;
  opacity: 0.85;
}

.mockup-body {
  min-height: 240px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: linear-gradient(180deg, #fafdfe 0%, #f2f8fa 100%);
}

.mockup-bubble {
  padding: 0.65rem 0.95rem;
  border-radius: 15px;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 86%;
  color: var(--text);
  animation: bubble-in 260ms var(--ease-out);
}

.mockup-bubble-user {
  align-self: flex-end;
  background: var(--teal-600);
  color: #ffffff;
  border-bottom-right-radius: 5px;
  box-shadow: var(--elevation-1);
}

.mockup-bubble-bot {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
  box-shadow: var(--elevation-1);
}

.mockup-typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 5px;
  padding: 0.75rem 0.95rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 15px;
  border-bottom-left-radius: 5px;
}

.mockup-typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9fb4bd;
  animation: typing-bounce 1.1s infinite ease-in-out;
}

.mockup-typing span:nth-child(2) { animation-delay: 0.15s; }
.mockup-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.mockup-chip {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--emerald-600);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
  animation: bubble-in 260ms var(--ease-out);
}

.mockup-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--on-dark-muted);
}

.mockup-note svg {
  width: 16px;
  height: 16px;
  color: #34d399;
}

/* Hero stats */

.hero-stats {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-3) var(--space-5);
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 720px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-stat {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3) var(--space-3);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 200ms ease;
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-stat:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-stat:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

@media (min-width: 720px) {
  .hero-stat:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
  }
  .hero-stat:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
  }
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.2rem;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}

.hero-stat-bron {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--on-dark-muted);
  opacity: 0.7;
}

/* ---------- Sectors strip ---------- */

.sectors {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-3);
  text-align: center;
}

.sectors-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.sector-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  padding: 0;
}

.sector-chips li {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--elevation-1);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: transform 180ms var(--ease-out), border-color 180ms ease, box-shadow 180ms ease;
}

.sector-chips li:hover {
  transform: translateY(-2px);
  border-color: var(--teal-500);
  box-shadow: var(--elevation-2);
}

/* ---------- Feature rows ---------- */

.feature-row {
  display: grid;
  gap: var(--space-4);
  align-items: center;
  grid-template-columns: 1fr;
  padding: var(--space-5) 0;
}

.feature-row + .feature-row {
  border-top: 1px solid var(--border);
}

.feature-text h3 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

@media (min-width: 860px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
  .feature-row-flip .feature-text {
    order: 2;
  }
  .feature-row-flip .feature-visual {
    order: 1;
  }
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
  color: var(--teal-600);
  margin-bottom: var(--space-2);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-2);
}

.feature-points li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}

.feature-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--emerald-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#fff, #fff);
  mask-composite: exclude;
}

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

/* Mini mockups in feature rows */

.mini-chat,
.mini-list {
  width: min(340px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--elevation-3);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.feature-visual:hover .mini-chat,
.feature-visual:hover .mini-list {
  transform: translateY(-5px) rotate(-0.5deg);
  box-shadow: var(--elevation-4);
}

.mini-chat-bubble {
  padding: 0.6rem 0.9rem;
  border-radius: 13px;
  font-size: 0.88rem;
  line-height: 1.45;
  max-width: 88%;
}

.mini-user {
  align-self: flex-end;
  background: var(--teal-600);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.mini-bot {
  align-self: flex-start;
  background: #f2f8fa;
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}

.mini-chip {
  align-self: flex-start;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--emerald-600);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: 0 5px 12px rgba(5, 150, 105, 0.3);
}

.mini-chat-wa {
  padding-top: 0;
  overflow: hidden;
}

.mini-wa-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 -1.1rem 0.4rem;
  padding: 0.85rem 1.1rem;
  background: #075e54;
  color: #ffffff;
}

.mini-wa-header strong {
  display: block;
  font-size: 0.92rem;
}

.mini-wa-header span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.mini-wa-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.mini-list-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #f7fafb;
  border: 1px solid var(--border);
}

.mini-list-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--heading);
}

.mini-list-row span:not(.mini-list-dot) {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mini-list-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.mini-dot-green { background: var(--emerald-500); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
.mini-dot-blue { background: var(--teal-500); box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.15); }

/* ---------- Steps ---------- */

.step-grid {
  list-style: none;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 820px) {
  .step-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--elevation-1);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--emerald-500) 0%, var(--teal-500) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elevation-3);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--emerald-600) 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
  box-shadow: 0 6px 14px rgba(8, 145, 178, 0.3);
}

.step-card p {
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Calculator ---------- */

.calc-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--elevation-3);
}

.calc-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: var(--space-2);
  font-size: 1.05rem;
}

.calc-label output {
  color: var(--emerald-600);
  font-variant-numeric: tabular-nums;
}

#calc-slider {
  width: 100%;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald-600) 0%, var(--emerald-600) var(--calc-progress, 21%), #e3ecef var(--calc-progress, 21%), #e3ecef 100%);
  outline: none;
  cursor: pointer;
  margin-bottom: var(--space-3);
}

#calc-slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid var(--emerald-600);
  box-shadow: var(--elevation-2);
  cursor: grab;
  transition: transform 120ms ease;
}

#calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

#calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid var(--emerald-600);
  box-shadow: var(--elevation-2);
  cursor: grab;
}

#calc-slider:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 4px;
}

.calc-results {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: 1fr;
  align-items: center;
  margin-bottom: var(--space-2);
}

@media (min-width: 560px) {
  .calc-results {
    grid-template-columns: 1fr auto 1fr;
  }
}

.calc-vs {
  justify-self: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #eef4f6;
  border: 1px solid var(--border);
}

.calc-result {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  text-align: center;
  background: #f7fafb;
}

.calc-result-accent {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(8, 145, 178, 0.08) 100%);
  border-color: rgba(5, 150, 105, 0.25);
}

.calc-result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--heading);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.calc-result-accent .calc-result-number {
  color: var(--emerald-700);
}

.calc-note {
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

/* ---------- Comparison table ---------- */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--elevation-2);
  border: 1px solid var(--border);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  background: #f2f8fa;
  font-size: 0.95rem;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--heading);
  background: #fbfdfe;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr {
  transition: background-color 150ms ease;
}

.compare-table tbody tr:hover td:not(.compare-highlight),
.compare-table tbody tr:hover th {
  background: #f5fafb;
}

.compare-table td {
  color: var(--text-muted);
}

.compare-highlight {
  background: linear-gradient(180deg, rgba(5, 150, 105, 0.07) 0%, rgba(8, 145, 178, 0.05) 100%);
  color: var(--heading);
  font-weight: 600;
}

.mark {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.mark-yes { background: rgba(5, 150, 105, 0.12); color: var(--emerald-700); }
.mark-no { background: rgba(220, 38, 38, 0.1); color: #b91c1c; }
.mark-maybe { background: rgba(180, 130, 10, 0.12); color: #92610a; }

/* ---------- Pricing ---------- */

.price-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}

@media (min-width: 760px) {
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow: var(--elevation-1);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--elevation-3);
}

.price-card-featured {
  border: 2px solid var(--emerald-600);
  box-shadow: var(--elevation-3);
  background:
    linear-gradient(180deg, rgba(5, 150, 105, 0.05) 0%, #ffffff 40%);
}

@media (min-width: 760px) {
  .price-card-featured {
    transform: scale(1.035);
  }
  .price-card-featured:hover {
    transform: scale(1.035) translateY(-5px);
  }
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald-600) 0%, var(--teal-600) 130%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(5, 150, 105, 0.35);
  margin: 0;
  white-space: nowrap;
}

.price-name {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  margin-bottom: 0.4rem;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price-unit {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.price-desc {
  font-size: 0.95rem;
  margin-bottom: var(--space-3);
}

.price-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
}

.price-list li::before {
  content: '';
  flex: 0 0 auto;
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--emerald-600);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat, linear-gradient(#fff, #fff);
  mask-composite: exclude;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--elevation-1);
  overflow: hidden;
  transition: box-shadow 200ms ease, border-color 200ms ease;
}

.faq-item[open] {
  box-shadow: var(--elevation-2);
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--heading);
  list-style: none;
  user-select: none;
}

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

.faq-item summary:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: -3px;
  border-radius: var(--radius-sm);
}

.faq-item .chevron {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--teal-600);
  transition: transform 250ms var(--ease-out);
}

.faq-item[open] .chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.15rem;
}

/* ---------- Demo section ---------- */

.demo-section {
  text-align: center;
}

.demo-picker label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
}

.demo-picker select {
  min-height: 50px;
  padding: 0.6rem 2.8rem 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 500;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7490' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1.1rem center / 16px no-repeat;
  color: var(--text);
  box-shadow: var(--elevation-1);
  appearance: none;
  cursor: pointer;
  transition: box-shadow 150ms ease, border-color 150ms ease;
}

.demo-picker select:hover {
  box-shadow: var(--elevation-2);
  border-color: var(--teal-600);
}

.demo-picker select:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 360px at 50% 0%, rgba(8, 145, 178, 0.25) 0%, transparent 65%),
    linear-gradient(160deg, var(--ink-950) 0%, var(--ink-900) 55%, var(--ink-800) 100%);
  color: var(--on-dark);
}

.final-cta-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  filter: blur(100px);
  bottom: -260px;
  right: -140px;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) var(--space-3);
  text-align: center;
}

.final-cta h2 {
  color: #ffffff;
}

.final-cta p {
  color: var(--on-dark-muted);
  font-size: 1.08rem;
  margin-bottom: var(--space-3);
}

.final-cta .trust-badges {
  justify-content: center;
  margin-top: var(--space-3);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink-950);
  color: var(--on-dark-muted);
  padding: var(--space-5) var(--space-3) var(--space-3);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto var(--space-3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.footer-tagline {
  font-size: 0.85rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 150ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
}

.footer-copy {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Chat widget ---------- */

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  font-family: var(--font-body);
}

.chat-toggle {
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--emerald-600) 0%, #0c9a6c 55%, var(--teal-500) 150%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.4);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.chat-toggle:hover,
.chat-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.45);
}

.chat-toggle:active {
  transform: scale(0.97);
}

.chat-toggle:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

.chat-toggle {
  position: relative;
}

.chat-toggle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 2px solid rgba(16, 185, 129, 0.55);
  pointer-events: none;
  animation: toggle-ping 3.2s ease-out infinite;
}

.chat-widget:has(.chat-panel:not(.hidden)) .chat-toggle::after {
  display: none;
}

@keyframes toggle-ping {
  0% { transform: scale(0.96); opacity: 0.8; }
  45%, 100% { transform: scale(1.22); opacity: 0; }
}

.chat-panel {
  width: 340px;
  max-width: calc(100vw - 48px);
  height: 460px;
  max-height: 62vh;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--elevation-4);
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transform-origin: bottom right;
  animation: panel-in 260ms var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-panel.hidden {
  display: none;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: linear-gradient(180deg, #fafdfe 0%, #ffffff 100%);
}

.chat-bubble {
  padding: 9px 13px;
  border-radius: 14px;
  margin-bottom: 8px;
  max-width: 82%;
  font-size: 0.9rem;
  line-height: 1.45;
  animation: bubble-in 220ms var(--ease-out);
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-bubble-user {
  background: var(--teal-600);
  color: #ffffff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble-bot {
  background: #ffffff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: var(--elevation-1);
}

.chat-form {
  display: flex;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.chat-form input {
  flex: 1;
  border: none;
  padding: 13px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  min-height: 48px;
}

.chat-form input:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: -2px;
}

.chat-form button {
  border: none;
  background: var(--emerald-600);
  color: #ffffff;
  padding: 0 18px;
  cursor: pointer;
  min-height: 48px;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: background-color 150ms ease;
}

.chat-form button:hover {
  background: var(--emerald-700);
}

@media (max-width: 480px) {
  .chat-widget {
    right: 12px;
    bottom: 12px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .chat-toggle,
  .step-card,
  .price-card,
  .mini-chat,
  .mini-list,
  .reveal {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .mockup-card,
  .chat-panel,
  .chat-bubble,
  .mockup-bubble,
  .mockup-chip,
  .mockup-typing span,
  .chat-toggle::after {
    animation: none;
  }
  .chat-toggle::after {
    display: none;
  }
  .sector-chips li,
  .compare-table tbody tr {
    transition: none;
  }
}
