:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --text: #172033;
  --muted: #5f6c84;
  --brand: #1f6feb;
  --brand-strong: #184fa8;
  --accent: #18b5a4;
  --ring: rgba(31, 111, 235, 0.35);
  --shadow: 0 10px 30px rgba(18, 29, 56, 0.1);
  --radius: 16px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 42%, #ffffff 100%);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dde6f3;
}

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

.brand {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0e1830;
}

.brand span {
  color: var(--brand);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  color: #24324b;
  padding: 0.3rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  border-color: var(--brand);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: #e8f0ff;
  color: var(--brand-strong);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin: 0.9rem 0 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
}

h3 {
  font-size: 1.2rem;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 111, 235, 0.3);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  background: var(--surface);
  border-color: #d6e0f0;
  color: var(--text);
}

.hero-card {
  background: radial-gradient(circle at top left, #2f7cf0 5%, #174ca2 95%);
  color: #fff;
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.hero-card h3,
.hero-card p {
  color: #fff;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hero-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.section {
  padding: 4rem 0;
}

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

.section-header {
  max-width: 700px;
  margin-bottom: 1.8rem;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid #dfE7f2;
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 2px 10px rgba(13, 24, 44, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(13, 24, 44, 0.11);
  border-color: #c8d9f3;
}

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

.pill {
  display: inline-block;
  border: 1px solid #c9daf3;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-strong);
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.55rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trust span {
  background: var(--surface);
  border: 1px solid #d9e5f6;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 600;
  color: #33435e;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.time-badge {
  background: #eaf1ff;
  color: var(--brand-strong);
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  padding: 0.5rem 0.2rem;
}

.faq-item {
  border: 1px solid #d8e4f4;
  border-radius: 12px;
  background: #fff;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 1rem;
}

.cta {
  background: linear-gradient(140deg, #1e5dca 0%, #1f7aee 55%, #1eb4c6 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
}

.cta p {
  color: #eaf2ff;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #2c3b56;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #ccd9ed;
  background: #fff;
  padding: 0.75rem;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.message {
  margin-top: 0.5rem;
  font-weight: 600;
  min-height: 1.2rem;
}

.message.error {
  color: #b32318;
}

.message.success {
  color: #147a4a;
}

.site-footer {
  margin-top: 3rem;
  background: #111b2f;
  color: #d9e5fb;
}

.footer-top {
  padding: 2.2rem 0 1.3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

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

.footer-note {
  color: #bfd2f2;
  font-size: 0.96rem;
}

.footer-bottom {
  border-top: 1px solid #2a3a5d;
  padding: 1rem 0 1.2rem;
  font-size: 0.93rem;
  color: #afc6ec;
}

.legal-box {
  background: #edf4ff;
  border: 1px solid #d0e0f5;
  color: #2f4467;
  border-radius: 12px;
  padding: 1rem;
}

.page-hero {
  padding: 3.9rem 0 2.2rem;
}

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

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

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 180;
  border: 0;
  background: var(--brand);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--brand-strong);
}

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid #dfe8f5;
    transform: translateY(-140%);
    transition: transform 0.25s ease;
    box-shadow: 0 12px 24px rgba(16, 28, 48, 0.12);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.9rem 1rem 1rem;
  }

  .nav-link {
    display: block;
    border-bottom: 0;
    padding: 0.55rem 0.4rem;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }
}
