:root {
  --navy: #00142a;
  --navy-soft: #062246;
  --navy-glow: #0a3568;
  --blue: #096dff;
  --blue-bright: #27b4ff;
  --teal: #20d6c8;
  --green: #0fbf8a;
  --violet: #7b55ff;
  --orange: #ff9828;
  --green-soft: #c4fff1;
  --yellow: #ffd166;
  --brand-dark: #00102a;
  --white: #ffffff;
  --ink: #07182d;
  --muted: #64758d;
  --line: rgba(0, 20, 42, 0.12);
  --surface: #f4faff;
  --shadow: 0 22px 70px rgba(0, 20, 42, 0.18);
  --radius: 8px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #eaf3fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding: 0 16px;
  color: var(--white);
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.site-header-inner {
  width: min(100%, 1180px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  background: var(--brand-dark);
  box-shadow: 0 12px 42px rgba(0, 20, 42, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 178px;
  height: 72px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.76);
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-login {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.section {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto 16px;
  padding: 72px clamp(20px, 4vw, 56px);
  border-radius: 18px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  gap: 40px;
  margin-top: calc(var(--header-height) + 16px);
  padding-top: 72px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #00142a 0%, #073f7c 54%, #062246 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 11, 24, 0.36));
  pointer-events: none;
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.05rem, 4.6vw, 3.65rem);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  line-height: 1.14;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #00142a;
  background: linear-gradient(135deg, var(--teal), var(--blue-bright));
  box-shadow: 0 14px 36px rgba(32, 214, 200, 0.28);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
}

.btn-trial {
  color: var(--white);
  border-color: rgba(32, 214, 200, 0.54);
  background: rgba(32, 214, 200, 0.14);
}

.btn-trial:hover {
  border-color: rgba(32, 214, 200, 0.9);
  background: rgba(32, 214, 200, 0.22);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 14px 34px rgba(0, 20, 42, 0.2);
}

.btn-outline-dark {
  color: var(--navy);
  border-color: rgba(0, 20, 42, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline-dark:hover {
  border-color: rgba(0, 20, 42, 0.42);
  background: var(--white);
}

.trust-row {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.trust-row strong {
  display: block;
  color: var(--white);
}

.admin-preview {
  width: min(100%, 480px);
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.preview-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

.preview-header,
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-header small,
.preview-grid small,
.preview-list span,
.progress-item span,
.panel-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-header {
  padding: 22px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.preview-header strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.preview-header b {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue-bright));
  color: var(--navy);
  font-weight: 900;
}

.preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}

.preview-grid article,
.preview-list,
.progress-panel,
.feature-card,
.download-card,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.preview-grid article {
  padding: 18px;
  color: var(--ink);
}

.preview-grid strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 2rem;
}

.preview-grid i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
}

.preview-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
  color: var(--ink);
}

.preview-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.preview-list div:last-child {
  border-bottom: 0;
}

.preview-list strong {
  white-space: nowrap;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading p,
.split-copy p,
.feature-card p,
.step p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.68;
}

.admin-section,
.download-section {
  background: var(--surface);
}

.benefit-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.download-card,
.step {
  padding: 24px;
  box-shadow: 0 18px 44px rgba(6, 26, 47, 0.06);
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(9, 109, 255, 0.12), rgba(32, 214, 200, 0.18));
}

.icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section {
  display: grid;
  gap: 32px;
  align-items: center;
  background: var(--white);
}

.split-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.progress-panel {
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-header {
  margin-bottom: 24px;
}

.panel-header strong {
  color: var(--blue);
}

.progress-item {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.progress-item strong {
  font-size: 1.7rem;
}

.progress-item div {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe9f2;
}

.progress-item i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.steps {
  background: var(--white);
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--teal), var(--blue-bright));
  border-radius: 8px;
  font-weight: 900;
}

.final-cta {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto 16px;
  padding: 72px clamp(20px, 4vw, 56px);
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, #00142a, #073f7c 52%, #000b18);
}

.cta-content {
  max-width: 820px;
}

.cta-content h2 {
  margin-bottom: 28px;
}

.section-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-grid {
  display: grid;
  gap: 18px;
}

.download-card {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.download-card h3 {
  margin-bottom: 0;
}

.download-card p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.qr-code {
  width: 180px;
  height: 180px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 184px;
  min-height: 58px;
  justify-content: flex-start;
  padding: 8px 18px 8px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transition: transform 180ms ease, background 180ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: var(--navy-soft);
}

.store-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  fill: currentColor;
}

.store-button span {
  display: grid;
  gap: 2px;
}

.store-button small {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.store-button strong {
  font-size: 1.16rem;
  line-height: 1.1;
}

.site-footer {
  width: min(calc(100% - 32px), 1180px);
  margin: 0 auto 16px;
  display: grid;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--brand-dark);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer .brand img {
  width: 107px;
  height: 107px;
  object-position: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 767px) {
  .section,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 20px), 1180px);
    border-radius: 14px;
  }

  .section {
    padding: 56px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(6, 26, 47, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

  .nav-login {
    justify-content: center;
  }

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

@media (min-width: 560px) {
  .hero-actions,
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
  }

  .trust-row {
    display: grid;
  }
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }

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

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

  .split-section {
    grid-template-columns: 1fr 0.82fr;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
