:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3ff;
  --text: #14213d;
  --muted: #5b677d;
  --line: #dfe7f5;
  --primary: #2f5cf0;
  --primary-dark: #2147c5;
  --success-bg: #edf9f0;
  --success-text: #1f6b35;
  --error-bg: #fff1f0;
  --error-text: #b42318;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(13, 31, 67, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font: inherit;
}
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 32px);
  padding-right: clamp(20px, 3vw, 32px);
  box-sizing: border-box;
}
.narrow-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 32px);
  padding-right: clamp(20px, 3vw, 32px);
  box-sizing: border-box;
}
.page-pad { padding: 28px 0 70px; }
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(246,248,252,.9), rgba(246,248,252,.2));
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(223,231,245,.85);
  border-radius: 18px;
  padding: 10px 16px;
  min-height: 74px;
  box-shadow: 0 2px 10px rgba(20, 33, 61, .04);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #3266ff, #2c52d8);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.brand-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: var(--primary);
  text-transform: uppercase;
}
.brand-sub {
  color: #4b5565;
  font-size: .86rem;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: #374151;
  font-weight: 600;
}
.nav-links a.active,
.nav-links a:hover { color: var(--primary); }
.nav-cta { margin-left: auto; }
.nav-cta .btn {
  padding: 10px 16px;
  border-radius: 12px;
  font-size: .92rem;
  box-shadow: none;
}
.btn, .btn-outline {
  border-radius: 16px;
  padding: 14px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.btn {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(47, 92, 240, .22);
}
.btn:hover { background: var(--primary-dark); }
.btn-outline {
  background: rgba(255,255,255,.06);
  color: var(--primary);
  border-color: rgba(47, 92, 240, .22);
}
.btn-outline:hover { background: rgba(47, 92, 240, .06); }
.hero {
  padding: 42px 0 46px;
  background: linear-gradient(135deg, #274fbf 0%, #2f5cf0 55%, #4f78ff 100%);
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  color: rgba(255,255,255,.88);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero h1 {
  margin: 0 0 18px;
  color: white;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: .98;
  max-width: 9ch;
}
.hero p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 1.18rem;
  max-width: 33rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero .btn-outline {
  color: white;
  border-color: rgba(255,255,255,.34);
  background: transparent;
}
.hero .btn-outline:hover {
  background: rgba(255,255,255,.08);
}
.hero-media {
  max-width: 426px;
  margin-left: auto;
}
.hero-card {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 22px rgba(11, 27, 72, .14);
  background: rgba(255,255,255,.06);
  padding: 8px;
}
.hero-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: 18px;
}
.section {
  padding: 72px 0;
}
.section.alt { background: var(--surface-2); }
.section-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
}
.section-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
}
.grid-2, .grid-4 {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #eef3ff;
  margin-bottom: 18px;
}
.card h3, .step h3 { margin: 0 0 12px; font-size: 1.45rem; }
.card p, .step p, .faq-item p, .contact-copy p, .contact-meta p { color: var(--muted); margin: 0; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}
.step-num {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .92rem;
}
.cta-panel {
  background: linear-gradient(135deg, #132550 0%, #2147c5 100%);
  color: white;
  padding: 38px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 18px 40px rgba(20, 33, 61, .14);
}
.cta-panel p { color: rgba(255,255,255,.86); margin: 12px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-actions .btn,
.cta-actions .btn-outline {
  min-width: 220px;
  justify-content: center;
}
.footer-summary {
  max-width: 40ch;
}
.cta-panel .btn-outline { color: white; border-color: rgba(255,255,255,.28); }
.page-hero {
  padding: 42px 0 28px;
}
.page-hero h1 { margin: 0 0 12px; font-size: clamp(2.3rem, 5vw, 3.5rem); }
.page-hero p { color: var(--muted); margin: 0; max-width: 40rem; font-size: 1.08rem; }
.scenario-grid, .faq-grid, .contact-grid {
  display: grid;
  gap: 24px;
}
.scenario-grid, .faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid { grid-template-columns: 1fr; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.2rem; }
.contact-grid { grid-template-columns: .95fr 1.05fr; align-items: start; }
.contact-copy,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.contact-meta strong { display: block; margin-bottom: 4px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d6def0;
  border-radius: 16px;
  background: #fff;
  padding: 15px 16px;
  color: var(--text);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #7d99ff;
  box-shadow: 0 0 0 4px rgba(47, 92, 240, .10);
}
.status {
  display: none;
  border-radius: 16px;
  padding: 15px 16px;
  font-weight: 600;
}
.status.show { display: block; }
.status.error { background: var(--error-bg); color: var(--error-text); }
.status.success { background: var(--success-bg); color: var(--success-text); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}
.hidden-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.modal {
  position: fixed;
  inset: 0;
  background: rgba(16,24,40,.58);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 60;
}
.modal.show { display: flex; }
.modal-card {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(20,33,61,.28);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #eef3ff;
  color: var(--primary);
  cursor: pointer;
}
.qr-placeholder {
  border: 1px dashed #b8c6ea;
  border-radius: 20px;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  background: #f8faff;
}
.footer,
.site-footer {
  background: #0d1f43;
  color: white;
  margin-top: 72px;
}
.footer-inner {
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 24px;
}
.footer h3 { margin-top: 0; }
.footer p, .footer li, .footer a { color: rgba(255,255,255,.82); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  padding: 18px 0 30px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-bottom-inner {
  color: rgba(255,255,255,.66);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.center-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 180px);
}
.thanks-card {
  width: min(760px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 42px;
  box-shadow: var(--shadow);
  text-align: center;
}
.mobile-toggle { display: none; }
@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .grid-2,
  .grid-4,
  .step-grid,
  .scenario-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .hero-media { margin: 0; max-width: 100%; }
  .nav {
    padding: 12px 16px;
    min-height: auto;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
  }
  .nav-cta { display: none; }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn,
  .cta-actions .btn-outline {
    width: 100%;
    min-width: 0;
  }
  .form-grid { grid-template-columns: 1fr; }
}
