/* ---------- Base & tokens ---------- */

:root {
  --navy-950: #0a0f1f;
  --navy-900: #0e1630;
  --navy-800: #141d3d;
  --blue-600: #155eef;
  --blue-500: #2f6dfb;
  --blue-100: #e7edff;
  --ink-900: #0b1220;
  --ink-700: #333c53;
  --ink-500: #5b6478;
  --ink-300: #97a0b5;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #e4e8f1;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(15, 27, 60, 0.16);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Space Grotesk", "Inter", -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(21, 94, 239, 0.55);
}

.btn-primary:hover {
  background: var(--blue-500);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--blue-600);
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 15% -10%, #16255c 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(600px 400px at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 108px 24px 84px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin: 0 0 16px;
}

.hero .eyebrow {
  color: #8fb0ff;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  max-width: 900px;
  margin: 0 auto 22px;
}

.hero h1 .accent {
  color: #7ea3ff;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: #c3cbe6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.fact {
  background: rgba(255, 255, 255, 0.04);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}

.fact-label {
  font-size: 0.85rem;
  color: #a9b4d6;
}

/* ---------- Sections ---------- */

.section {
  padding: 92px 0;
}

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

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-sub {
  color: var(--ink-500);
  font-size: 1.05rem;
}

/* ---------- Grid / cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(15, 27, 60, 0.22);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-500);
  font-size: 0.96rem;
  margin: 0;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.step-number {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  color: var(--ink-500);
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Security ---------- */

.security-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--ink-700);
  font-size: 0.98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue-100);
  box-shadow: inset 0 0 0 1px rgba(21, 94, 239, 0.25);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 16px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}

.security-badge {
  justify-self: center;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow);
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.security-badge svg {
  width: 52px;
  height: 52px;
  color: #7ea3ff;
}

/* ---------- Integrations ---------- */

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-700);
  text-align: center;
}

/* ---------- Pricing ---------- */

.pricing-inner {
  max-width: 640px;
  text-align: center;
}

.pricing .section-sub {
  margin-bottom: 32px;
}

/* ---------- Contact ---------- */

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.contact-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-950));
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8fb0ff;
  margin-bottom: 10px;
}

.contact-email {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  margin-bottom: 24px;
  word-break: break-word;
}

.contact-btn {
  width: 100%;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: #a9b4d6;
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner .brand-name {
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: #a9b4d6;
  font-size: 0.92rem;
}

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

.footer-email {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  padding: 20px 24px 32px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #6d78a0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .security-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .security-badge {
    order: -1;
    width: 190px;
    height: 190px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 64px;
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav a:not(.btn) {
    padding: 10px 0;
    width: 100%;
  }

  .site-nav .btn {
    margin-top: 10px;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 360px;
  }

  .hero-inner {
    padding: 76px 20px 56px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 64px 0;
  }
}
