:root {
  --bg-a: #f5f9ff;
  --bg-b: #dfe7f0;
  --text: #0f223b;
  --muted: #48607c;
  --primary: #007bff;
  --primary-strong: #005fca;
  --border: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.42);
  --shadow: 0 16px 42px rgba(14, 41, 74, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, var(--bg-a), #e8eef7 42%, var(--bg-b) 100%);
  line-height: 1.45;
  position: relative;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: #0f223b;
  border: 1px solid rgba(148, 163, 184, 0.45);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.45;
}

.bg-orb-a {
  top: -120px;
  left: -80px;
  background: rgba(0, 123, 255, 0.45);
}

.bg-orb-b {
  right: -120px;
  bottom: -180px;
  background: rgba(20, 184, 166, 0.35);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 20px;
}

.header {
  position: sticky;
  top: 14px;
  z-index: 30;
  max-width: 1160px;
  margin: 20px auto 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #fff;
  background: var(--primary);
}

.brand-title {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-left: auto;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: #30445f;
}

.nav {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.nav a {
  color: #30445f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}

.nav a:focus-visible,
.btn:focus-visible,
.menu-toggle:focus-visible,
.cta-form input:focus-visible {
  outline: 2px solid rgba(0, 123, 255, 0.42);
  outline-offset: 2px;
}

.nav a:hover {
  background: rgba(0, 123, 255, 0.12);
  color: var(--primary);
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 44px auto 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: stretch;
  padding-top: 18px;
}

.chip {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.14);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.15;
}

h3 {
  font-size: 20px;
}

.hero-subtitle {
  margin: 16px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 12px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(0, 123, 255, 0.4);
  color: var(--primary);
}

.btn-ghost:hover {
  background: rgba(0, 123, 255, 0.1);
}

.hero-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  padding: 12px 14px;
}

.metric strong {
  display: block;
  font-size: 26px;
  line-height: 1;
  color: #1d4ed8;
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.hero-preview {
  padding: 12px;
}

.preview-top {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

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

.preview-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  padding: 10px;
}

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

.preview-card strong {
  margin-top: 6px;
  display: block;
  font-size: 24px;
  color: #0f172a;
}

.preview-map {
  position: relative;
  margin-top: 12px;
  height: 210px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.12), rgba(20, 184, 166, 0.12));
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
}

.route {
  position: absolute;
  border-radius: 999px;
  border: 2px dashed rgba(30, 64, 175, 0.6);
}

.route-a {
  width: 180px;
  height: 100px;
  top: 40px;
  left: 24px;
  transform: rotate(-8deg);
}

.route-b {
  width: 150px;
  height: 86px;
  right: 18px;
  top: 84px;
  transform: rotate(14deg);
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #dc2626;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.24);
}

.pin-a { top: 72px; left: 28px; }
.pin-b { top: 40px; right: 78px; background: #0ea5e9; }
.pin-c { bottom: 34px; right: 28px; background: #14b8a6; }

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin-top: 6px;
}

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

.feature {
  padding: 20px;
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.integration-card {
  padding: 24px;
}

.integration-card h2 {
  margin-top: 6px;
}

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

.integration-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 123, 255, 0.12);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

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

.step {
  padding: 18px;
}

.step span {
  color: #1d4ed8;
  font-weight: 800;
  font-size: 13px;
}

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

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.faq-item {
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 18px;
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

.plan {
  padding: 18px;
  position: relative;
}

.plan-highlight {
  border-color: rgba(0, 123, 255, 0.42);
  transform: translateY(-4px);
}

.label {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(0, 123, 255, 0.16);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
}

.price {
  margin: 12px 0 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
}

.price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan ul {
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

.plan li {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
}

.plan li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  position: absolute;
  left: 0;
  top: 7px;
}

.cta {
  margin-bottom: 30px;
}

.cta-card {
  padding: 28px;
}

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

.cta-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.cta-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(196, 210, 227, 0.9);
  background: rgba(255, 255, 255, 0.78);
  padding: 0 12px;
  font-size: 14px;
  color: #1f3752;
}

.cta-form input:focus {
  outline: 2px solid rgba(0, 123, 255, 0.28);
  border-color: #69acff;
}

.footer {
  text-align: center;
  color: #5a738f;
  font-size: 13px;
  padding: 18px 12px 28px;
}

.footer-links {
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-main {
  width: min(960px, calc(100% - 40px));
  margin: 28px auto 40px;
}

.legal-card {
  padding: 28px;
}

.legal-card h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}

.legal-card h2 {
  font-size: clamp(20px, 3vw, 30px);
  margin-top: 20px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .workflow-list,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .cta-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header {
    margin-top: 12px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(203, 213, 225, 0.55);
    border-radius: 14px;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  }

  .nav.is-open {
    display: flex;
  }

  .header .btn-sm {
    display: none;
  }

  .features-grid,
  .workflow-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 34px;
  }
}
