:root {
  --accent-blue: #0382ec;
  --white: #ffffff;
  --bg-blue: #002e78;
  --accent-green: #139e60;
  --accent-green-soft: #2ab563;
  --text-dark: #0b1b3f;
  --text-muted: #4b5d8a;
  --line-soft: rgba(3, 130, 236, 0.2);
  --shadow-soft: 0 12px 34px rgba(0, 46, 120, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(165deg, #f5faff 0%, #eef6ff 54%, #f4fff9 100%);
  color: var(--text-dark);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.menu-btn {
  border: 0;
  background: transparent;
  color: var(--bg-blue);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--bg-blue);
  background: rgba(3, 130, 236, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(3, 130, 236, 0.26);
}

.btn-secondary {
  background: var(--white);
  color: var(--bg-blue);
  border: 1px solid var(--line-soft);
}

.hero {
  padding: 3.4rem 0 2.3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--bg-blue);
  background: rgba(3, 130, 236, 0.09);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
}

.lead {
  font-size: 1.07rem;
  line-height: 1.62;
  color: var(--text-muted);
  margin: 0 0 1.15rem;
}

.keyword-cloud {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.keyword-cloud span {
  font-size: 0.86rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  color: var(--bg-blue);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.scanner-stage {
  position: relative;
  min-height: 500px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, #072b66 0%, #002e78 70%, #093b8e 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: 1.1rem;
}

.scanner-stage::before {
  content: "";
  position: absolute;
  inset: 20% -15% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2ab563, transparent);
  animation: sweep 3s linear infinite;
  opacity: 0.9;
}

@keyframes sweep {
  from {
    transform: translateY(0);
  }
  50% {
    transform: translateY(170px);
  }
  to {
    transform: translateY(0);
  }
}

.phone-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  position: relative;
  z-index: 2;
}

.phone-shot {
  border-radius: 24px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-shot img {
  border-radius: 19px;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
}

.stage-note {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.section {
  padding: 3.3rem 0;
}

.section-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.section-sub {
  margin: 0 0 1.8rem;
  max-width: 700px;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin: 0.5rem 0 0.45rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(3, 130, 236, 0.16), rgba(42, 181, 99, 0.16));
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 1.1rem 1.1rem 1.2rem;
}

.steps {
  display: grid;
  gap: 0.75rem;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.6rem;
  border-radius: 10px;
  background: rgba(3, 130, 236, 0.05);
}

.step b {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--accent-blue);
}

.compat-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.compat-chip {
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--bg-blue);
  background: rgba(42, 181, 99, 0.13);
}

.policy-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
}

.policy-box ul {
  margin: 0.6rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-banner {
  margin-top: 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(130deg, #003f9f 0%, #0382ec 50%, #2ab563 100%);
  color: var(--white);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line-soft);
  padding: 1.2rem 0 2.2rem;
  color: #4d5f8f;
  font-size: 0.93rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: 2.6rem 0 1.7rem;
}

.doc-content {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
  line-height: 1.72;
}

.doc-content h2 {
  margin-top: 1.4rem;
}

.doc-content p,
.doc-content li {
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-item {
  margin-bottom: 0.95rem;
}

.contact-label {
  color: #6071a0;
  font-size: 0.84rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin: 0.8rem 0 0.35rem;
  color: #3a4d7e;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 46, 120, 0.22);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

textarea {
  min-height: 125px;
  resize: vertical;
}

.small-note {
  font-size: 0.84rem;
  color: #6778a7;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .scanner-stage {
    min-height: unset;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    grid-template-columns: 1fr;
  }
}
