:root {
  --ink: #101116;
  --muted: #667085;
  --line: rgba(16, 17, 22, .10);
  --line-strong: rgba(16, 17, 22, .17);
  --surface: rgba(255,255,255,.72);
  --surface-solid: #ffffff;
  --blue: #2678ed;
  --blue-deep: #3152ae;
  --cyan: #6cccf4;
  --shadow: 0 26px 80px rgba(32, 51, 84, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(250,251,253,.93), rgba(247,248,250,.97)),
    url('/assets/idlogic-gradient.jpg') center / cover fixed;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
.ambient { position: fixed; pointer-events: none; filter: blur(80px); opacity: .24; border-radius: 999px; z-index: -1; }
.ambient-a { width: 420px; height: 420px; background: #91d6fa; top: -160px; right: -120px; }
.ambient-b { width: 360px; height: 360px; background: #ffd0b7; left: -180px; top: 280px; opacity: .17; }
.page-shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.topbar { height: 112px; display:flex; align-items:center; justify-content:space-between; }
.brand { border:0; background:transparent; cursor:pointer; padding:0; }
.brand img { width: 102px; height: 76px; object-fit: contain; object-position:left center; display:block; }
.top-actions { display:flex; align-items:center; gap:20px; }
.language-switch { display:flex; align-items:center; gap:9px; font-size:14px; letter-spacing:.08em; }
.language-switch button { border:0; background:transparent; padding:7px 2px; cursor:pointer; opacity:.45; border-bottom:2px solid transparent; }
.language-switch button.active { opacity:1; border-color:var(--ink); }
.resume-pill { border:1px solid var(--line); background:rgba(255,255,255,.58); border-radius:999px; padding:9px 13px; font-size:12px; cursor:pointer; }
.hidden { display:none !important; }
.hero { padding: 58px 0 42px; display:grid; grid-template-columns: minmax(0, 780px) 1fr; gap:30px; align-items:end; }
.eyebrow { margin:0 0 16px; color:#6b7280; text-transform:uppercase; letter-spacing:.16em; font-size:12px; font-weight:650; }
h1 { margin:0; font-size:clamp(48px, 6vw, 78px); line-height:.99; letter-spacing:-.052em; font-weight:450; }
h1 strong { font-weight:750; }
.hero-lead { max-width:650px; margin:26px 0 0; font-size:clamp(18px,2vw,24px); line-height:1.45; color:#596274; letter-spacing:-.015em; }
.hero-meta { display:flex; flex-direction:column; align-items:flex-end; gap:8px; font-size:13px; color:#697386; padding-bottom:7px; }
.hero-meta .meta-row { display:flex; align-items:center; gap:8px; }
.hero-meta .meta-dot { width:7px; height:7px; border-radius:50%; background:#2f80ed; box-shadow:0 0 0 5px rgba(47,128,237,.08); }
.configurator-card {
  border:1px solid rgba(255,255,255,.82);
  background:rgba(255,255,255,.74);
  backdrop-filter: blur(28px) saturate(115%);
  -webkit-backdrop-filter: blur(28px) saturate(115%);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow);
  padding:40px;
  overflow:hidden;
  position:relative;
}
.configurator-card::after { content:""; position:absolute; inset:auto -100px -160px auto; width:360px; height:300px; background:radial-gradient(circle,rgba(89,176,255,.14),transparent 68%); pointer-events:none; }
.card-topline { display:grid; grid-template-columns:minmax(0, 340px) auto; justify-content:space-between; align-items:start; gap:20px; }
.step-label { display:block; font-size:13px; color:#596274; margin-bottom:10px; }
.progress-track { height:7px; border-radius:99px; background:#e6e9ee; overflow:hidden; }
.progress-value { height:100%; width:12.5%; border-radius:99px; background:linear-gradient(90deg,#5fc9f4,#2678ed); transition:width .35s ease; }
.privacy-pill { display:flex; align-items:center; gap:8px; border:1px solid var(--line); border-radius:999px; padding:10px 14px; font-size:12px; color:#596274; background:rgba(255,255,255,.45); }
.privacy-pill svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7; }
.step-content { min-height:480px; padding:54px 0 28px; animation:fadeIn .28s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.step-heading { max-width:780px; margin-bottom:30px; }
.step-heading h2 { margin:0; font-size:clamp(32px,4vw,50px); line-height:1.05; letter-spacing:-.035em; }
.step-heading p { margin:13px 0 0; color:#667085; line-height:1.5; font-size:17px; max-width:720px; }
.section-title { font-size:13px; text-transform:uppercase; letter-spacing:.12em; color:#8b93a2; font-weight:650; margin:28px 0 13px; }
.option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.option-grid.cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.option-card { border:1px solid var(--line); background:rgba(255,255,255,.56); min-height:92px; border-radius:20px; padding:18px 20px; display:flex; align-items:center; gap:14px; cursor:pointer; transition:.18s ease; text-align:left; position:relative; }
.option-card:hover { border-color:rgba(38,120,237,.28); background:rgba(255,255,255,.78); transform:translateY(-1px); }
.option-card.selected { border-color:#54a8f8; background:linear-gradient(135deg,rgba(236,247,255,.96),rgba(255,255,255,.75)); box-shadow:0 8px 28px rgba(58,130,246,.08); }
.option-icon { width:42px; height:42px; border-radius:14px; background:#f1f4f8; display:grid; place-items:center; flex:0 0 auto; }
.option-card.selected .option-icon { background:#e4f2ff; }
.option-icon svg { width:22px; height:22px; fill:none; stroke:#182136; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.option-copy { flex:1; min-width:0; }
.option-copy strong { display:block; font-size:16px; letter-spacing:-.015em; }
.option-copy small { display:block; margin-top:5px; line-height:1.35; color:#7b8494; }
.radio-dot { width:22px; height:22px; border:1.5px solid #b4bcc8; border-radius:50%; flex:0 0 auto; position:relative; }
.option-card.selected .radio-dot { border-color:#3b93ef; }
.option-card.selected .radio-dot::after { content:""; position:absolute; inset:4px; border-radius:50%; background:#3b93ef; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.field { display:flex; flex-direction:column; gap:8px; }
.field.span-2 { grid-column:1/-1; }
.field label { font-size:13px; color:#687182; }
.field input, .field textarea, .field select { width:100%; border:1px solid var(--line); background:rgba(255,255,255,.68); border-radius:16px; padding:15px 16px; outline:none; color:var(--ink); transition:.18s ease; }
.field input:focus, .field textarea:focus, .field select:focus { border-color:#69aef2; box-shadow:0 0 0 4px rgba(67,145,235,.08); }
.field textarea { resize:vertical; min-height:120px; }
.quantity-row { display:grid; grid-template-columns:minmax(0,1fr) 150px; align-items:center; gap:18px; border:1px solid var(--line); background:rgba(255,255,255,.52); border-radius:20px; padding:17px 18px; margin-bottom:12px; }
.quantity-label strong { display:block; font-size:15px; }
.quantity-label span { display:block; font-size:13px; color:#7c8493; margin-top:4px; line-height:1.4; }
.stepper { display:grid; grid-template-columns:42px 1fr 42px; align-items:center; gap:6px; }
.stepper button { width:42px; height:42px; border-radius:13px; border:1px solid var(--line); background:#fff; cursor:pointer; font-size:22px; line-height:1; }
.quantity-input {
  width:100%; height:42px; border:1px solid var(--line); border-radius:13px;
  background:rgba(255,255,255,.88); text-align:center; font-size:18px; font-weight:600;
  font-variant-numeric:tabular-nums; color:var(--ink); outline:none; padding:0 6px;
}
.quantity-input:focus { border-color:#69aef2; box-shadow:0 0 0 4px rgba(67,145,235,.08); }
.quantity-input::-webkit-inner-spin-button, .quantity-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.quantity-input[type=number] { -moz-appearance:textfield; appearance:textfield; }
.referral-grid { margin-top:8px; }
.referral-grid .option-card { min-height:118px; padding:24px; }
.referral-grid .option-copy strong { font-size:18px; }
.referral-detail { margin-top:18px; max-width:720px; }
.contact-grid { max-width:820px; }
.toggle-row { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; border-bottom:1px solid var(--line); padding:18px 2px; }
.toggle-row:last-child { border-bottom:0; }
.toggle-copy strong { font-size:15px; }
.toggle-copy p { margin:5px 0 0; color:#7a8393; font-size:13px; line-height:1.45; max-width:760px; }
.segment { display:flex; background:#eef1f4; padding:3px; border-radius:12px; }
.segment button { border:0; background:transparent; border-radius:10px; padding:9px 13px; cursor:pointer; color:#6a7382; min-width:54px; }
.segment button.active { background:white; color:#12151b; box-shadow:0 2px 8px rgba(12,20,36,.07); }
.inline-note { border-left:3px solid #91bce9; padding:12px 15px; margin:14px 0 2px; color:#687182; font-size:13px; line-height:1.5; background:rgba(238,246,254,.55); border-radius:0 12px 12px 0; }
.summary-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.summary-card { border:1px solid var(--line); border-radius:20px; background:rgba(255,255,255,.55); padding:18px; }
.summary-card h3 { margin:0 0 12px; font-size:15px; }
.summary-card ul { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:7px; color:#687182; font-size:13px; }
.summary-card li { display:flex; justify-content:space-between; gap:12px; }
.summary-card li span:last-child { color:#1c2432; text-align:right; }
.confirm-box { margin-top:18px; display:flex; gap:12px; align-items:flex-start; padding:17px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.55); cursor:pointer; }
.confirm-box input { margin-top:3px; width:18px; height:18px; accent-color:#2678ed; }
.validation-message { margin:0 0 14px; border-radius:14px; padding:11px 14px; background:#fff3f1; color:#a34138; font-size:13px; }
.card-navigation { border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; gap:12px; }
.btn { min-height:54px; border-radius:17px; padding:0 26px; border:1px solid var(--line); cursor:pointer; transition:.18s ease; font-weight:650; }
.btn:disabled { opacity:.45; cursor:not-allowed; }
.btn-secondary { background:rgba(255,255,255,.45); }
.btn-secondary:hover:not(:disabled) { background:white; }
.btn-primary { color:white; border:0; min-width:210px; background:linear-gradient(115deg,#2399f2,#3a6bdc 65%,#6573d4); box-shadow:0 12px 30px rgba(45,111,220,.20); }
.btn-primary:hover:not(:disabled) { transform:translateY(-1px); box-shadow:0 16px 36px rgba(45,111,220,.25); }
.journey { margin:40px 0 70px; border-top:1px solid var(--line); padding-top:28px; display:grid; grid-template-columns:180px 1fr; gap:20px; }
.journey-copy h3 { margin:0; font-size:14px; }
.journey-copy p { margin:7px 0 0; color:#7b8492; line-height:1.4; font-size:13px; }
.journey-items { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
.journey-item { border-left:1px solid var(--line); padding:8px 14px; color:#8a92a0; font-size:12px; transition:.18s ease; }
.journey-item.active { color:#1d2634; }
.journey-item span { display:block; margin-top:8px; }
.journey-item svg { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.6; }
.footer { height:80px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; color:#9299a5; font-size:12px; }
.toast { position:fixed; right:20px; bottom:20px; z-index:10; max-width:min(420px,calc(100% - 40px)); background:#11151d; color:white; border-radius:16px; padding:14px 17px; box-shadow:0 18px 50px rgba(0,0,0,.18); font-size:13px; }
.success-screen { text-align:center; max-width:700px; margin:30px auto; padding:30px 0; }
.success-icon { width:72px; height:72px; border-radius:50%; margin:0 auto 24px; display:grid; place-items:center; background:#eaf6f1; color:#24785d; font-size:32px; }
.success-screen h2 { font-size:42px; margin:0; letter-spacing:-.04em; }
.success-screen p { color:#687182; line-height:1.6; font-size:17px; }
.demo-badge { display:inline-flex; margin-top:14px; padding:8px 12px; border:1px solid #efd5a6; background:#fff9ea; color:#8b6326; border-radius:999px; font-size:12px; }
@media (max-width: 860px) {
  .page-shell { width:min(100% - 26px, 720px); }
  .topbar { height:88px; }
  .brand img { width:84px; height:62px; }
  .hero { padding:36px 0 30px; grid-template-columns:1fr; }
  .hero-meta { align-items:flex-start; flex-direction:row; flex-wrap:wrap; }
  .configurator-card { padding:24px; border-radius:28px; }
  .card-topline { grid-template-columns:1fr; }
  .privacy-pill { justify-self:start; }
  .step-content { min-height:0; padding-top:36px; }
  .option-grid, .option-grid.cols-3, .form-grid, .summary-grid { grid-template-columns:1fr; }
  .field.span-2 { grid-column:auto; }
  .quantity-row { grid-template-columns:1fr; }
  .stepper { width:150px; }
  .journey { grid-template-columns:1fr; }
  .journey-items { grid-template-columns:repeat(3,1fr); gap:10px 0; }
  .journey-item:nth-child(4) { border-left:0; }
}
@media (max-width: 540px) {
  .page-shell { width:min(100% - 18px, 500px); }
  .top-actions { gap:10px; }
  .resume-pill { display:none !important; }
  h1 { font-size:43px; }
  .hero-lead { font-size:17px; }
  .configurator-card { padding:19px; border-radius:24px; }
  .option-card { min-height:80px; padding:15px; }
  .card-navigation { position:sticky; bottom:0; background:rgba(255,255,255,.84); backdrop-filter:blur(18px); margin:0 -19px -19px; padding:16px 19px 19px; z-index:3; }
  .btn { flex:1; min-width:0; padding:0 16px; }
  .journey-items { grid-template-columns:repeat(2,1fr); }
  .journey-item:nth-child(odd) { border-left:0; }
  .footer { align-items:flex-start; flex-direction:column; justify-content:center; gap:6px; }
}

/* Final contact step: phone is explicitly optional, never required. */
.phone-optional-field { margin-top:6px; padding:18px 20px; border:1px solid #dce7f5; border-radius:19px; background:rgba(246,250,255,.80); }
.phone-optional-label { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:9px; }
.phone-optional-label label { margin:0; }
.phone-optional-badge { display:inline-flex; align-items:center; padding:4px 9px; border-radius:100px; font-size:11px; font-weight:650; color:#3f6795; background:#e9f1fb; }
.phone-help { margin:10px 0 0; font-size:13px; line-height:1.55; color:#66758b; max-width:670px; }
@media (max-width: 540px) { .phone-optional-field { padding:15px; } }
