:root {
  --bg: #081120;
  --bg-soft: #0f1a2e;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: #ffffff;
  --text: #e8eefc;
  --text-dark: #0d172a;
  --muted: #a9b7d3;
  --border: rgba(255, 255, 255, 0.1);
  --line: rgba(10, 18, 36, 0.08);
  --primary: #6ea8fe;
  --primary-strong: #4f8fff;
  --accent: #2dd4bf;
  --danger: #ff6b6b;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 30px rgba(10, 20, 40, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #f4f7fb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  font-size: 1rem;
}

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

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(79, 143, 255, 0.22), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(45, 212, 191, 0.18), transparent 26%),
    linear-gradient(180deg, #081120 0%, #0c1630 100%);
  color: var(--text);
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent);
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-lead {
  margin: 18px 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: #fff;
  font-weight: 700;
}

.hero-text {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #071224;
  box-shadow: 0 10px 24px rgba(79, 143, 255, 0.3);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.btn-light {
  background: #fff;
  color: #081120;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: #dce7ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.scan-card {
  width: min(100%, 410px);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.scan-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce7ff;
  font-size: 0.94rem;
  margin-bottom: 16px;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.12);
}

.qr-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.92));
  padding: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
}

.scan-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 20%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(79, 143, 255, 0.95), transparent);
  box-shadow: 0 0 22px rgba(79, 143, 255, 0.55);
  animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
  0% { top: 18%; }
  50% { top: 78%; }
  100% { top: 18%; }
}

.scan-card-body {
  margin-top: 14px;
  padding: 4px 2px 2px;
  color: #dce7ff;
}

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

.trust-bar {
  background: #0b1326;
  color: #dbe6fb;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.trust-bar p {
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}

.trust-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-bar li {
  color: #b7c7e6;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, #edf3fa 0%, #e9f0f8 100%);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.center {
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #091429;
}

.section-intro {
  margin: 14px auto 0;
  color: #52627b;
  max-width: 62ch;
}

.section-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.section-content p {
  margin: 0 0 16px;
  color: #31445f;
  font-size: 1.02rem;
}

.cards {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: #fff;
  border: 1px solid rgba(13, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: #0c1830;
}

.card p {
  margin-bottom: 0;
  color: #50617a;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 23, 42, 0.06);
}

.panel-dark {
  background: linear-gradient(180deg, #0f1a30, #0a1325);
  color: #e8eefc;
  border-color: rgba(255, 255, 255, 0.08);
}

.panel h3 {
  margin-top: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: inherit;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--accent);
}

.tip-card {
  border-top: 4px solid #d8e7ff;
}

.callout {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #0f1a30;
  color: #e8eefc;
  box-shadow: var(--shadow-md);
}

.history-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

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

.history-stat {
  background: linear-gradient(180deg, #fff, #f7faff);
  border: 1px solid rgba(13, 23, 42, 0.06);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.history-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0a1630;
}

.history-label {
  display: block;
  margin-top: 8px;
  color: #596a83;
}

.faq-wrap {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 0 18px;
  border: 1px solid rgba(13, 23, 42, 0.07);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 800;
  color: #0b1730;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 18px;
  color: #52627b;
}

.cta-band {
  background: linear-gradient(135deg, #0a1224 0%, #0f1f44 100%);
  color: #fff;
  padding: 44px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
}

.cta-band p {
  margin: 0;
  color: #c6d3ee;
}

.site-footer {
  background: #081120;
  color: #c6d3ee;
  padding: 24px 0 34px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
}

.footer-meta {
  color: #9ab0d8;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .history-layout,
  .split-panel,
  .cards-4,
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(8, 17, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .hero-grid,
  .section-grid,
  .split-panel,
  .cards-4,
  .cards-3,
  .history-layout,
  .history-card,
  .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    display: grid;
    justify-items: start;
  }

  .trust-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, var(--max-width));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
  }

  .card,
  .panel,
  .history-stat {
    padding: 20px;
  }
}