:root {
  --blue-50: #eaf6ff;
  --blue-100: #d5edff;
  --blue-200: #a8d8ff;
  --blue-400: #38bdf8;
  --blue-500: #0ea5ff;
  --blue-600: #0284d4;
  --blue-700: #0369a1;
  --ink: #0b1726;
  --ink-soft: #44546b;
  --line: #e5edf5;
  --bg: #ffffff;
  --bg-soft: #f6fbff;
  --shadow-sm: 0 1px 2px rgba(11, 23, 38, 0.05);
  --shadow-md: 0 12px 30px -12px rgba(2, 132, 212, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand-mark {
  display: inline-flex;
  filter: drop-shadow(0 4px 8px rgba(14, 165, 255, 0.35));
}
.brand-name {
  font-size: 18px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 15px;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--blue-600);
  text-decoration: none;
}
.nav-cta {
  background: var(--blue-500);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover {
  background: var(--blue-600);
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* ---------- Layout ---------- */

main {
  display: block;
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 32px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
  margin: 6px 0 8px;
}
.section-sub {
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  font-weight: 800;
}

.accent {
  color: var(--blue-500);
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 24px 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 70%;
  height: 80%;
  background: radial-gradient(
    closest-side,
    rgba(14, 165, 255, 0.18),
    rgba(14, 165, 255, 0) 70%
  );
  pointer-events: none;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(
    closest-side,
    rgba(56, 189, 248, 0.15),
    rgba(56, 189, 248, 0) 70%
  );
  pointer-events: none;
  z-index: -1;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 22px;
}
.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 255, 0.18);
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lede {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 80ms ease, box-shadow 120ms ease, background 120ms ease,
    color 120ms ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--blue-600);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue-200);
  color: var(--blue-700);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
}
.hero-stats li {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.hero-stats strong {
  display: block;
  color: var(--blue-600);
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.hero-stats span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */

.about p {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 70ch;
}

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  transition: transform 140ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--blue-200);
  box-shadow: 0 18px 40px -22px rgba(2, 132, 212, 0.45);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Contact ---------- */

.contact {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}
.contact .section-head,
.contact .form-wrap {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.form-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-wrap iframe {
  width: 100%;
  height: 1750px;
  border: 0;
  display: block;
  background: #fff;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: #cbd6e3;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.footer .brand {
  color: #fff;
}
.footer .brand-name {
  color: #fff;
}
.footer a {
  color: var(--blue-200);
}
.footer-meta,
.footer-copy {
  margin: 0;
  font-size: 14px;
}
.footer-copy {
  opacity: 0.7;
  margin-top: 10px;
}

/* ---------- A11y ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
  border-radius: 6px;
}
