:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-dark: #08111f;
  --text: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --brand: #0f766e;
  --brand-2: #2563eb;
  --brand-dark: #0b514c;
  --warning: #f59e0b;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,.85);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
  font-size: 22px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background:
    radial-gradient(circle at 30% 25%, #7dd3fc 0 17%, transparent 18%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 28px rgba(15, 118, 110, .25);
}

.logo-mark span {
  font-weight: 900;
  font-size: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  color: #374151;
}

.nav-links a:hover { color: var(--brand); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .18);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(37, 99, 235, .26);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-dark {
  background: var(--bg-dark);
  color: #fff;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 22px;
}

.hero {
  position: relative;
  padding: 86px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -200px -180px auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.17), rgba(15,118,110,.06), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 750;
  font-size: 13px;
  margin-bottom: 20px;
}

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  font-size: clamp(32px, 4vw, 50px);
}

h3 {
  font-size: 22px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  margin: 22px 0 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #4b5563;
  font-size: 14px;
}

.trust-row span::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
  margin-right: 7px;
}

.dashboard-card {
  background: #fff;
  border: 1px solid rgba(229,231,235,.95);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 20px;
  position: relative;
}

.dashboard-top {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dot { width: 11px; height: 11px; border-radius: 50%; background: #d1d5db; }
.dot:nth-child(1) { background: #ef4444; }
.dot:nth-child(2) { background: #f59e0b; }
.dot:nth-child(3) { background: #22c55e; }

.search-box {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7280;
  font-weight: 650;
}

.search-box span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #eff6ff;
  display: grid;
  place-items: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.metric {
  background: var(--bg-soft);
  border: 1px solid #eef2f7;
  border-radius: 18px;
  padding: 17px;
}

.metric strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text);
}

.metric small {
  color: var(--muted);
  font-weight: 650;
}

.ai-chat {
  margin-top: 14px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 22px;
  padding: 18px;
}

.chat-line {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  padding: 12px 14px;
  border-radius: 15px;
  margin-bottom: 10px;
  font-size: 14px;
}

.chat-line:last-child {
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(15,118,110,.85), rgba(37,99,235,.85));
}

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark .muted,
.section-dark .section-intro p {
  color: #cbd5e1;
}

.section-intro {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-intro.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

.section-soft .card {
  background: rgba(255,255,255,.86);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(15,118,110,.11), rgba(37,99,235,.12));
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.problem-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 15px 16px;
  border-radius: 14px;
  color: #374151;
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.problem-list li::before {
  content: "!";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff7ed;
  color: #c2410c;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
}

.split-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  color: #374151;
}

.check-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 950;
  margin-right: 9px;
}

.steps {
  display: grid;
  gap: 18px;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta-band {
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(125,211,252,.2), transparent 35%),
    linear-gradient(135deg, #08111f, #0f2f3f);
  color: #fff;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}

.cta-band p {
  color: #cbd5e1;
  margin: 12px 0 0;
  font-size: 18px;
}

.page-hero {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 80% 20%, rgba(37,99,235,.13), transparent 33%),
    linear-gradient(180deg, #f8fafc, #fff);
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  max-width: 760px;
}

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  margin-bottom: 20px;
}

.service-detail aside {
  font-weight: 850;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.service-detail p {
  color: var(--muted);
  margin-top: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}

.mini-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: #374151;
  font-weight: 650;
  font-size: 13px;
  text-align: center;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full { grid-column: 1 / -1; }

label {
  font-weight: 750;
  color: #374151;
  font-size: 14px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea { min-height: 130px; resize: vertical; }

.note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}

.site-footer {
  background: #050b14;
  color: #fff;
  padding: 48px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 34px;
  margin-bottom: 30px;
}

.footer-grid p, .footer-grid a {
  color: #cbd5e1;
}

.footer-grid a:hover { color: #fff; }

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .mobile-toggle { display: inline-grid; place-items: center; }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 86px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
  }
  .hero-grid, .grid-2, .grid-3, .service-detail, .cta-band, .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-band { padding: 32px; }
  .mini-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding: 56px 0 44px; }
  .section { padding: 54px 0; }
  .hero-actions, .btn { width: 100%; }
  .metric-grid, .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .service-detail { padding: 22px; }
}
