:root {
  --ink: #0B0F1F;
  --blue: #155EEF;
  --blue-dark: #0B3FB0;
  --purple: #7C3AED;
  --gradient-brand: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-dark: linear-gradient(180deg, #101733 0%, #0B0F1F 100%);
  --surface-muted: #F7F8FC;
  --border-subtle: #E7E9F3;
  --text-secondary: #5B6178;
  --success: #22C55E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); margin: 0; overflow-x: hidden; }
h1, h2, h3, .brand-word { font-family: 'Sora', sans-serif; letter-spacing: -0.01em; }
.text-grad {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Navbar ===== */
.navbar-glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}
.brand-word { font-weight: 700; font-size: 19px; color: var(--ink); }
.navbar .nav-link { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.navbar .nav-link:hover { color: var(--blue); }

.btn-brand {
  background: var(--gradient-brand);
  border: none; color: #fff !important; font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(21, 94, 239, 0.55);
}
.btn-brand:hover { filter: brightness(1.06); color: #fff; }
.btn-outline-brand {
  border: 1.5px solid var(--border-subtle); color: var(--ink); font-weight: 600; border-radius: 10px;
  background: #fff;
}
.btn-outline-brand:hover { border-color: var(--blue); color: var(--blue); }

/* ===== Hero ===== */
.hero { padding: 170px 0 100px; background: var(--surface-muted); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -200px; right: -150px; width: 500px; height: 500px;
  background: var(--gradient-brand); opacity: 0.14; border-radius: 50%; filter: blur(40px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue-dark);
  background: #fff; border: 1px solid var(--border-subtle);
  padding: 6px 14px; border-radius: 999px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulseDot 1.8s infinite; }
.pulse-dot.sm { width: 7px; height: 7px; }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero-title { font-size: 44px; font-weight: 800; line-height: 1.15; margin: 20px 0 18px; }
.hero-sub { font-size: 16.5px; color: var(--text-secondary); max-width: 520px; line-height: 1.6; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.hero-points i { color: var(--success); margin-right: 5px; }

.hero-mock { position: relative; z-index: 1; }
.mock-card {
  background: #fff; border-radius: 20px; padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(11,15,31,0.25);
  max-width: 400px; margin: 0 auto;
  border: 1px solid var(--border-subtle);
}
.mock-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-brand); }
.mock-name { font-weight: 700; font-size: 14px; }
.mock-status { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.mock-bubble { max-width: 80%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; margin-bottom: 10px; }
.mock-bubble.in { background: var(--surface-muted); border-bottom-left-radius: 4px; }
.mock-bubble.out { background: var(--gradient-brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.mock-typing { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.mock-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--purple); animation: typingBounce 1.2s infinite; display: inline-block; }
.mock-typing span:nth-child(2) { animation-delay: 0.2s; }
.mock-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-muted { background: var(--surface-muted); }
.section-tag {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--blue-dark);
  background: #EAF1FF; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.section-sub { color: var(--text-secondary); font-size: 15.5px; max-width: 560px; margin: 0 auto; }

.feature-card {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 26px;
  height: 100%; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -12px rgba(11,15,31,0.14); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-brand);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.55; }

.step-card { text-align: center; padding: 10px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-dark); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-secondary); }

/* ===== AI section ===== */
.ai-section { background: var(--gradient-dark); color: #fff; }
.ai-section .section-tag { background: rgba(255,255,255,0.08); color: #B9C6FF; }
.ai-section .section-sub { color: #AEB4CC; }
.ai-list { list-style: none; padding: 0; margin: 20px 0; }
.ai-list li { font-size: 14.5px; margin-bottom: 10px; color: #E4E7F5; }
.ai-list i { color: var(--success); margin-right: 8px; }

.ai-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 24px; backdrop-filter: blur(6px); }
.ai-card-header { font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; color: #fff; }
.ai-field { margin-bottom: 14px; }
.ai-field label { display: block; font-size: 11.5px; color: #9AA3C2; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.ai-value { font-size: 14px; color: #fff; }
.ai-value.muted { color: #C3C9E0; font-style: italic; font-size: 13px; }
.ai-toggle { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 13.5px; color: #E4E7F5; }
.toggle-pill { background: var(--success); color: #06280F; font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; }

/* ===== CTA ===== */
.cta-section { background: var(--gradient-brand); color: #fff; padding: 80px 0; text-align: center; }
.cta-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; }
.cta-section p { font-size: 15.5px; opacity: 0.9; }
.cta-section .btn-light { font-weight: 700; border-radius: 10px; color: var(--blue-dark); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #C3C9E0; padding: 60px 0 24px; font-size: 14px; }
.footer h6 { color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer a { display: block; color: #9AA3C2; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer-desc { color: #9AA3C2; font-size: 13.5px; max-width: 320px; }
.footer hr { border-color: rgba(255,255,255,0.1); margin: 30px 0 20px; }
.footer-copy { font-size: 12.5px; color: #7A8099; margin: 0; }

@media (max-width: 991px) {
  .hero { padding: 130px 0 60px; text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-points { justify-content: center; }
  .hero-mock { margin-top: 40px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 24px; }
}
