:root {
  --bg: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --border: #e2e8f0; /* slate-200 */
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-600: #0284c7;
  --emerald-600: #059669;
  --emerald-700: #047857;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}
.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-name { font-weight: 700; letter-spacing: -0.01em; }
.brand-sub { font-size: 12px; color: var(--muted); }

.nav {
  display: none;
  gap: 6px;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  padding: 10px 12px;
  border-radius: 10px;
}
.nav a:hover { background: var(--sky-50); color: #0f172a; }

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

.btn {
  border-radius: 14px;
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--emerald-600);
  color: #fff;
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.18);
}
.btn-primary:hover { background: var(--emerald-700); transform: translateY(-1px); }

.btn-outline {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { background: rgba(5, 150, 105, 0.08); border-color: rgba(5, 150, 105, 0.25); transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.10), transparent 55%),
    linear-gradient(to bottom, rgba(255,255,255,0.0), rgba(255,255,255,1));
}
.hero-grid {
  padding: 44px 0 70px;
  display: grid;
  gap: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(2, 132, 199, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  color: #334155;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.pill-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--emerald-600); }

.h1 {
  margin: 14px 0 0;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.subhead {
  margin: 14px 0 0;
  max-width: 680px;
  font-size: 16px;
  color: var(--muted);
}

.hero-ctas { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }

.trust-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.trust-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(15,23,42,0.04);
}
.trust-title { font-size: 13px; font-weight: 700; }
.trust-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }

.hero-media {
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10);
}
.hero-media img { width: 100%; height: 300px; object-fit: cover; display: block; }

.hero-form {
  border-top: 1px solid var(--border);
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}
.form-title { font-weight: 800; font-size: 14px; }
.form-sub { color: #64748b; font-size: 13px; margin-top: 4px; }
.form-grid { margin-top: 12px; display: grid; gap: 10px; }

/* Honeypot: visually hidden but still present in DOM for bots */
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.honeypot input {
  height: 32px;
  width: 220px;
}

.input {
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 14px;
  font-size: 14px;
  outline: none;
}
.input:focus { border-color: rgba(5,150,105,0.35); box-shadow: 0 0 0 4px rgba(5,150,105,0.12); }

.select {
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
}

.notice {
  margin-top: 12px;
  border-radius: 18px;
  border: 1px solid rgba(5,150,105,0.25);
  background: rgba(5,150,105,0.08);
  padding: 14px;
}
.notice-title { font-size: 12px; font-weight: 800; color: #065f46; }
.notice-row { margin-top: 10px; display: grid; gap: 10px; }

/* Sections */
.section { padding: 64px 0; }
.section.sky { background: rgba(240, 249, 255, 0.70); }

.h2 { margin: 0; font-size: 26px; letter-spacing: -0.01em; }
.p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.grid-2 { display: grid; gap: 14px; margin-top: 18px; }
.card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(15,23,42,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(15,23,42,0.10); }
.card-title { font-weight: 800; }
.card-desc { margin-top: 8px; color: var(--muted); font-size: 14px; }

.brand-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.brand-tile {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  text-align: center;
}
.brand-hot { border-color: rgba(5,150,105,0.25); }
.brand-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(5,150,105,0.25);
  background: rgba(5,150,105,0.10);
  color: #065f46;
  font-size: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 8px;
}
.brand-mono {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(2,132,199,0.07);
  color: #075985;
  display: grid;
  place-items: center;
  margin: 0 auto;
  font-weight: 900;
  font-size: 12px;
}
.brand-name2 { margin-top: 10px; font-weight: 800; font-size: 14px; }
.brand-sub2 { margin-top: 2px; font-size: 11px; color: #64748b; }

.steps {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.step {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
}
.step-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.step-chip {
  border-radius: 999px;
  border: 1px solid rgba(5,150,105,0.25);
  background: rgba(5,150,105,0.10);
  color: #065f46;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.step-num { width: 22px; height: 22px; border-radius: 999px; background: rgba(255,255,255,0.8); display: grid; place-items: center; border: 1px solid rgba(5,150,105,0.20); }
.step-title { margin-top: 12px; font-weight: 900; }
.step-desc { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* Chatbot widget (fully responsive, stays inside viewport) */
.cb {
  --cb-safe-bottom: 0px;
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--cb-safe-bottom) + env(safe-area-inset-bottom, 0px));
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cb-fab {
  border: 1px solid rgba(5,150,105,0.25);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: var(--text);
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.10);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cb-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(15,23,42,0.14);
}

.cb-panel {
  display: none;
  width: min(380px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 140px));
  margin-bottom: 10px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 90px rgba(15,23,42,0.14);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.cb-panel[aria-hidden="false"] {
  display: flex;
}

.cb-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(224,242,254,0.70), rgba(255,255,255,0));
}
.cb-title { font-weight: 1000; letter-spacing: -0.01em; }
.cb-sub { font-size: 12px; color: #64748b; margin-top: 2px; }
.cb-close {
  border: 1px solid var(--border);
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.cb-body {
  padding: 14px;
  display: grid;
  gap: 10px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.cb-msg {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 13px;
  color: #334155;
}

.cb-field label {
  display:block;
  font-size: 12px;
  color:#475569;
  font-weight: 700;
  margin-bottom: 6px;
}
.cb-field input, .cb-field select {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}
.cb-field input:focus, .cb-field select:focus {
  border-color: rgba(5,150,105,0.35);
  box-shadow: 0 0 0 4px rgba(5,150,105,0.12);
}

.cb-actions {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}
.cb-actions .btn { width: 100%; }
.cb-row { display: grid; gap: 10px; }

.cb-foot {
  padding: 10px 14px 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: #64748b;
}

@media (max-width: 420px) {
  .cb-fab { padding: 11px 12px; }
  .cb-panel { max-height: calc(100vh - 120px); }
}

@media (min-width: 900px) {
  .cb-actions .cb-row { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 58px 0 30px;
}
.footer-grid {
  display: grid;
  gap: 24px;
}
.footer h3 { margin: 0; font-size: 16px; }
.footer p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.footer a.link { color: #0f172a; text-decoration: underline; text-underline-offset: 3px; }

.mini { font-size: 12px; color: #64748b; }

/* Responsive */
@media (min-width: 900px) {
  .nav { display: flex; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .hero-ctas { flex-direction: row; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(5, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
