:root {
  --bg: #f6f7fb;
  --ink: #0e1621;
  --muted: #5a6b7c;
  --card: #ffffff;
  --stroke: #e2e8f0;
  --accent: #1a6cf2;
  --accent-2: #22c7a6;
  --shadow: 0 20px 50px rgba(15, 23, 32, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #eef3ff, transparent 60%),
              radial-gradient(circle at 80% 20%, #e6f7f3, transparent 55%),
              var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  margin: 0 0 12px;
}

p { margin: 0 0 16px; color: var(--muted); }

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(34, 199, 166, 0.15);
}

.logo.small { font-size: 16px; }

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: #1d2a37;
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a2b3a;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: sticky;
  top: 70px;
  z-index: 15;
  background: rgba(246, 247, 251, 0.98);
  border-bottom: 1px solid var(--stroke);
  padding: 16px 0 22px;
}

.mobile-nav a {
  display: block;
  padding: 10px 24px;
  font-weight: 600;
  color: #1a2b3a;
}

.mobile-cta {
  display: grid;
  gap: 10px;
  padding: 12px 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #4c8bff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(26, 108, 242, 0.25);
}

.btn.ghost {
  border-color: var(--stroke);
  background: #fff;
  color: #1a2b3a;
}

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

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.hero .tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #eaf1ff;
  color: #1a3f7a;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.flow-banner {
  padding: 0 0 40px;
}

.flow-stage {
  position: relative;
  width: 100%;
  height: 260px;
  background: linear-gradient(120deg, #e8f1ff, #f4fbff 55%, #e6fff6);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.flow-bubble {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 26px rgba(15, 23, 32, 0.12);
  font-weight: 600;
  font-size: 13px;
  color: #0f1b2a;
  animation: floatStream 9s ease-in-out infinite;
  opacity: 0.95;
}

.flow-bubble.user {
  background: rgba(232, 243, 255, 0.95);
  border-color: rgba(153, 191, 255, 0.7);
}

.flow-bubble.bot {
  background: rgba(232, 255, 247, 0.95);
  border-color: rgba(140, 224, 201, 0.7);
}


.bubble-a { left: 8%; bottom: -10px; animation-delay: 0s; }
.bubble-b { right: 6%; bottom: -20px; animation-delay: 1.2s; }
.bubble-c { left: 22%; bottom: -30px; animation-delay: 2.4s; }
.bubble-d { right: 22%; bottom: -40px; animation-delay: 3.6s; }
.bubble-e { left: 40%; bottom: -20px; animation-delay: 4.8s; }
.bubble-f { right: 40%; bottom: -35px; animation-delay: 6s; }
.bubble-g { left: 62%; bottom: -25px; animation-delay: 7.2s; }

@keyframes floatStream {
  0% { transform: translateY(0px); opacity: 0; }
  20% { opacity: 0.95; }
  60% { transform: translateY(-140px); opacity: 1; }
  100% { transform: translateY(-260px); opacity: 0; }
}


.section {
  padding: 60px 0;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 8px; }

.badge {
  display: inline-block;
  background: #0f1720;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 10px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #f9fbff;
}

.checklist {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f6f2;
  color: #0b6f5b;
  font-weight: 700;
  font-size: 14px;
}

.plugin-cta {
  display: grid;
  gap: 12px;
}

.plugin-download {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.code-block {
  background: #0b1220;
  color: #e5efff;
  padding: 18px;
  border-radius: 14px;
  font-size: 13px;
  overflow-x: auto;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--stroke);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eef3ff;
  color: #1b3d7a;
  font-weight: 600;
}

.legal {
  max-width: 760px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin-bottom: 8px;
}

.site-footer {
  padding: 50px 0 30px;
  background: #0f1720;
  color: #d7e2ee;
}

.site-footer a { color: #d7e2ee; }

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.footer-grid h4 { margin-bottom: 10px; color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 12px;
  color: #9fb2c5;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; }
}
