:root {
  --primary: #1f67d6;
  --primary-dark: #15489a;
  --primary-soft: #eaf1ff;
  --accent: #5fa1ff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe4f3;
  --panel: #f7faff;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow: 0 14px 34px rgba(9, 40, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 230px);
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(22, 84, 168, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16, 72, 150, 0.16);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  color: #1c2e4a;
  font-weight: 600;
}

.main-nav a.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0.45rem 0.7rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: none;
  padding: 0.74rem 1.2rem;
  font-weight: 700;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, #3a88ff 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 103, 214, 0.35);
}

.btn.secondary {
  background: #fff;
  border: 1px solid rgba(28, 81, 164, 0.25);
  color: var(--primary-dark);
}

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

.section {
  padding: 84px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 52px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -120px;
  background: radial-gradient(circle at 20% 20%, rgba(95, 161, 255, 0.34), rgba(31, 103, 214, 0.04));
}

.hero::after {
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -70px;
  background: radial-gradient(circle at 40% 40%, rgba(31, 103, 214, 0.24), rgba(31, 103, 214, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.6rem;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(31, 103, 214, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.3vw, 3.6rem);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 103, 214, 0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-strip {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem;
}

.stat strong {
  display: block;
  color: var(--primary-dark);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section-title {
  max-width: 700px;
  margin-bottom: 2.1rem;
}

.section-title h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  letter-spacing: -0.015em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.feature-item h3 {
  font-size: 1.17rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.steps {
  padding: 1.5rem;
}

.step {
  display: flex;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #c8d6ef;
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.simple-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  background: #fff;
}

.simple-card h3,
.simple-card h4 {
  margin-bottom: 0.55rem;
}

.banner {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0f4094 0%, #1f67d6 58%, #69acff 100%);
  color: #fff;
}

.banner p {
  color: rgba(255, 255, 255, 0.9);
}

.banner .btn.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.legal {
  max-width: 860px;
  margin: 0 auto;
}

.legal .intro {
  padding: 1.2rem;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.legal section {
  margin: 1.2rem 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.legal ol,
.legal ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.highlight {
  background: #eff5ff;
  border-left: 4px solid var(--primary);
  padding: 0.8rem 0.9rem;
  border-radius: 8px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.form-card,
.info-card {
  padding: 1.4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  margin-bottom: 0.85rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #c9d9f5;
  border-radius: 10px;
  padding: 0.72rem 0.75rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 103, 214, 0.14);
}

.field small {
  color: #b11b35;
  min-height: 1em;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.35rem 0 1rem;
}

.status-note {
  margin-top: 0.9rem;
  font-weight: 600;
  color: #1558c2;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.store-list {
  display: grid;
  gap: 0.65rem;
}

.store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem;
}

.store-btn:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
}

.site-footer {
  margin-top: 76px;
  background: #0d1f40;
  color: #dbeafe;
}

.footer-wrap {
  padding: 36px 0 26px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.footer-links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: #dbeafe;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #b4caef;
}

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

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

.h5-about {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 14px 36px;
}

.h5-about .brandbox {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.h5-about .brandbox img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.h5-about .h5-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-wrap,
  .contact-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    position: absolute;
    right: 4vw;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: min(260px, 92vw);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .feature-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 66px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .cards-3,
  .stat-strip {
    grid-template-columns: 1fr;
  }
}
