:root {
  --color-navy: #0E1033;
  --color-blue: #6797CF;
  --color-blue-dark: #4f7bb3;
  --color-white: #FFFFFF;
  --color-bg: #F5F7FB;
  --color-text-muted: #6B6F8C;
  --color-border: #E2E5F1;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 20px 50px rgba(14, 16, 51, 0.10);
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --framer-font-family: "Raleway", "Raleway Placeholder", sans-serif;
  --framer-font-family-bold: "Raleway", "Raleway Placeholder", sans-serif;
  --framer-font-family-bold-italic: "Raleway", "Raleway Placeholder", sans-serif;
  --framer-font-family-italic: "Raleway", "Raleway Placeholder", sans-serif;
  --framer-font-open-type-features: "blwf" on, "cv09" on, "cv03" on, "cv04" on, "cv11" on;
  --framer-font-size: 40px;
  --framer-font-style: normal;
  --framer-font-style-bold: normal;
  --framer-font-style-bold-italic: italic;
  --framer-font-style-italic: italic;
  --framer-font-variation-axes: normal;
  --framer-font-weight: 500;
  --framer-font-weight-bold: 700;
  --framer-font-weight-bold-italic: 700;
  --framer-font-weight-italic: 500;
  --framer-letter-spacing: -.02em;
  --framer-line-height: 1.3em;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a, button {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-feature-settings: var(--framer-font-open-type-features);
  background: var(--color-bg);
  color: var(--color-navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

body.is-hero-screen .site-header {
  display: none;
}

.header-inner {
  display: flex;
  align-items: center;
  padding: 0 clamp(28px, 6vw, 96px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
}

/* ============ SCREENS ============ */
.page-shell {
  min-height: 100vh;
}

.screen {
  display: none;
  min-height: calc(100vh - 66px);
  padding: 60px 0 80px;
}

.screen.is-active {
  display: block;
  animation: fadeIn .35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.screen-hero {
  padding: 0;
  background: var(--color-white);
}

.hero-frame {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.hero-shell {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "nav   right"
    "body  right";
}

.hero-shell-nav {
  grid-area: nav;
  background: var(--color-white);
  padding: 28px clamp(28px, 4vw, 64px) 0;
}

.hero-shell-body {
  grid-area: body;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px clamp(28px, 4vw, 64px) 56px;
}

.hero-shell-body-top,
.hero-shell-body-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(103, 151, 207, 0.25);
}

.hero-shell-body h1 {
  font-family: var(--framer-font-family);
  font-feature-settings: var(--framer-font-open-type-features);
  font-size: clamp(28px, 1.8vw + 24px, 46px);
  line-height: var(--framer-line-height);
  font-weight: var(--framer-font-weight);
  letter-spacing: var(--framer-letter-spacing);
  margin: 0 0 18px;
  color: var(--color-navy);
}

.hero-shell-body h1 strong,
.hero-shell-body h1 b {
  font-weight: var(--framer-font-weight-bold);
}

.hero-shell-body h1 .highlight {
  position: relative;
  white-space: nowrap;
}

.hero-shell-body h1 .highlight::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 12px;
  background: rgba(103, 151, 207, 0.35);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 32px;
  max-width: 440px;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy);
}

.benefit-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shell-right {
  grid-area: right;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 48px;
  margin: 18px 18px 18px 0;
  border-radius: 28px;
  background:
    radial-gradient(120% 100% at 100% 0%, #9fb9e6 0%, transparent 45%),
    radial-gradient(90% 80% at 0% 100%, #3a4fa8 0%, transparent 55%),
    radial-gradient(70% 70% at 90% 90%, rgba(103, 151, 207, 0.55) 0%, transparent 60%),
    linear-gradient(200deg, #05061a 0%, var(--color-navy) 55%, #262b6b 100%);
}

.hero-shell-right::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(480px 480px at 15% 10%, rgba(103, 151, 207, 0.35), transparent 65%),
    radial-gradient(320px 320px at 90% 20%, rgba(159, 185, 230, 0.30), transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-shell-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  display: block;
  transform: translate(0, 4%) scale(1.14);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
}

.hero-meta {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.hero-meta.center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0;
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
}

.btn-primary .btn-label {
  padding: 16px 32px;
  display: flex;
  align-items: center;
}

.btn-primary .btn-icon {
  min-width: 54px;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 18px;
}

.btn-primary .btn-icon .arrow {
  display: inline-block;
  transform: rotate(-45deg);
  transition: transform .15s ease;
}

.btn-primary:hover {
  background: var(--color-blue-dark);
  transform: translateY(-1px);
}

.btn-primary:hover .btn-icon .arrow {
  transform: rotate(-45deg) translateX(2px);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.is-loading .btn-label {
  position: relative;
  color: transparent;
}

.btn-primary.is-loading .btn-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.btn-block {
  width: 100%;
}

.btn-block .btn-label {
  flex: 1;
  justify-content: center;
}

/* ============ QUESTION FLOW ============ */
.screen-flow {
  padding-top: 40px;
}

.flow-container {
  max-width: 620px;
}

.flow-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-back {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  border: none;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}

.btn-back svg {
  width: 18px;
  height: 18px;
}

.btn-back:hover {
  background: var(--color-blue-dark);
  transform: translateX(-2px);
}

.btn-back:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.progress-track {
  flex: 1;
  height: 6px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 25%;
  background: var(--color-blue);
  border-radius: 999px;
  transition: width .3s ease;
}

.progress-label {
  font-size: 13px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.flow-step {
  display: none;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.flow-step.is-active {
  display: block;
  animation: fadeIn .3s ease;
}

.flow-step h2 {
  font-family: var(--framer-font-family);
  font-feature-settings: var(--framer-font-open-type-features);
  font-size: 24px;
  font-weight: var(--framer-font-weight-bold);
  letter-spacing: var(--framer-letter-spacing);
  margin: 0 0 10px;
  line-height: var(--framer-line-height);
}

.step-sub {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0 0 26px;
  line-height: 1.5;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}

.option-btn:hover {
  border-color: var(--color-blue);
  background: #F2F6FC;
}

.option-btn:active { transform: scale(0.99); }

.option-btn.is-selected {
  border-color: var(--color-blue);
  background: #EAF1FA;
}

.option-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.option-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F7FB;
  transition: background .15s ease;
}

.option-icon svg {
  width: 22px;
  height: 22px;
}

.option-btn:hover .option-icon,
.option-btn.is-selected .option-icon {
  background: #EAF1FA;
}

.option-arrow {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EAF1FA;
  color: var(--color-blue-dark);
  font-weight: 700;
  transform: rotate(-45deg);
  transition: background .15s ease, color .15s ease;
}

.option-btn:hover .option-arrow {
  background: var(--color-navy);
  color: var(--color-white);
}

.option-btn.is-selected .option-arrow {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: var(--color-white);
}

.why-we-ask {
  margin-top: 24px;
  padding: 14px 16px;
  background: #F5F7FB;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.why-we-ask strong { color: var(--color-navy); }

/* ============ DETAILS FORM ============ */
.details-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
}

.field input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  outline: none;
  transition: border-color .15s ease;
}

.field input::placeholder { color: #A6ABC9; }

.field input:focus {
  border-color: var(--color-blue);
}

.field input.is-invalid {
  border-color: #E2554D;
}

.consent-text {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 6px 0 4px;
}

.consent-text a {
  color: var(--color-blue-dark);
  text-decoration: underline;
}

/* ============ THANK YOU ============ */
.screen-thanks {
  display: none;
  align-items: center;
  justify-content: center;
}

.screen-thanks.is-active {
  display: flex;
}

.thanks-container {
  max-width: 480px;
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow-card);
}

.thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-blue);
  color: var(--color-navy);
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thanks-container h2 {
  font-family: var(--framer-font-family);
  font-feature-settings: var(--framer-font-open-type-features);
  font-size: 24px;
  font-weight: var(--framer-font-weight-bold);
  letter-spacing: var(--framer-letter-spacing);
  line-height: var(--framer-line-height);
  margin: 0 0 14px;
}

.thanks-container p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}

.thanks-done {
  font-weight: 600;
  color: var(--color-navy);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .screen-hero { min-height: auto; }
  .hero-frame { padding: 0; min-height: auto; }
  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "nav"
      "bodytop"
      "right"
      "bodybottom";
  }
  .hero-shell-body {
    display: contents;
  }
  .hero-shell-body-top {
    grid-area: bodytop;
    background: var(--color-white);
    padding: 32px clamp(28px, 4vw, 64px) 0;
  }
  .hero-shell-body-bottom {
    grid-area: bodybottom;
    background: var(--color-white);
    padding: 24px clamp(28px, 4vw, 64px) 56px;
  }
  .hero-shell-right {
    margin: 16px 16px 0;
    border-radius: 24px;
    min-height: 300px;
    padding: 32px;
  }
  .hero-shell-image { transform: translate(0, 0) scale(1); }
  .hero-sub { max-width: none; }
}

@media (max-width: 560px) {
  .flow-step { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-shell-right { min-height: 240px; padding: 20px; margin: 12px 12px 0; border-radius: 20px; }
  .thanks-container { padding: 40px 24px; }
}
