:root {
    --bg: #080808;
    --card: #111111;
    --card2: #181818;
    --border: #232323;
    --red: #E50914;
    --red-bright: #FF1E2D;
    --text: #FFFFFF;
    --text-secondary: #A1A1AA;
    --font-head: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --container: 1180px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img, svg { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
  .wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
  .section { padding: 108px 0; }
  @media (max-width: 720px) { .section { padding: 72px 0; } }

  .eyebrow-none {} /* intentionally no all-caps eyebrow labels per design guidance */

  .section-head { max-width: 620px; margin-bottom: 56px; }
  .section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
  .section-head p { color: var(--text-secondary); font-size: 17px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 28px; border-radius: 100px; font-weight: 600; font-size: 15px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
  }
  .btn-primary {
    background: linear-gradient(180deg, var(--red-bright), var(--red));
    color: #fff; box-shadow: 0 0 0 rgba(229,9,20,0);
  }
  .btn-primary:hover { box-shadow: 0 8px 30px -6px rgba(229,9,20,.65); transform: translateY(-1px); }
  .btn-ghost {
    background: transparent; color: var(--text); border: 1px solid var(--border);
  }
  .btn-ghost:hover { border-color: #3a3a3a; background: rgba(255,255,255,.03); }
  .btn-sm { padding: 11px 20px; font-size: 14px; }
  .btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--red-bright); outline-offset: 2px;
  }

  /* ---------- Header ---------- */
  header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    transition: background .3s ease, padding .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
  }
  header.scrolled {
    padding: 13px 0;
    background: rgba(8,8,8,.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border);
  }
  header .wrap { display: flex; align-items: center; justify-content: space-between; }
  .logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 19px; }
  .logo-mark {
    width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
    background: linear-gradient(155deg, var(--red-bright), #8a0007);
    flex-shrink: 0;
  }
  .logo-mark svg { width: 17px; height: 17px; }
  nav.main-nav { display: flex; align-items: center; gap: 36px; }
  nav.main-nav a {
    font-size: 14.5px; color: var(--text-secondary); font-weight: 500;
    transition: color .15s ease; position: relative;
  }
  nav.main-nav a:hover { color: var(--text); }
  header .right { display: flex; align-items: center; gap: 22px; }
  .burger {
    display: none; width: 40px; height: 40px; border-radius: 10px;
    align-items: center; justify-content: center; background: var(--card);
    border: 1px solid var(--border);
  }
  .burger span { display: block; width: 18px; height: 1.5px; background: #fff; position: relative; }
  .burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; transition: transform .2s ease;
  }
  .burger span::before { top: -6px; }
  .burger span::after { top: 6px; }

  .mobile-menu {
    position: fixed; inset: 0; z-index: 99; background: #060606;
    display: flex; flex-direction: column; padding: 100px 28px 40px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { font-size: 22px; font-family: var(--font-head); padding: 16px 0; border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 28px; width: 100%; }

  @media (max-width: 860px) {
    nav.main-nav { display: none; }
    header .right .btn-primary.desktop-only { display: none; }
    .burger { display: flex; }
  }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 168px 0 100px;
    overflow: hidden;
  }
  .hero-glow {
    position: absolute; width: 640px; height: 640px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229,9,20,.28), transparent 70%);
    top: -220px; right: -160px; filter: blur(10px); pointer-events: none;
  }
  .hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
  @media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 132px; } }

  .hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 20px; }
  .hero h1 .accent { color: var(--red-bright); }
  .hero p.lead { font-size: 18px; color: var(--text-secondary); max-width: 480px; margin-bottom: 34px; }
  .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
  .trust-row { display: flex; flex-wrap: wrap; gap: 20px 28px; }
  .trust-row span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-secondary); }
  .trust-row svg { width: 15px; height: 15px; color: var(--red-bright); flex-shrink: 0; }

  .phone-visual { position: relative; display: flex; justify-content: center; align-items: center; }
  .phone-visual svg { width: min(320px, 78vw); filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }

  /* ---------- Quick repair cards ---------- */
  .quick-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  }
  @media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
  .quick-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px 20px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    cursor: pointer;
  }
  .quick-card:hover {
    border-color: rgba(229,9,20,.5); box-shadow: 0 0 0 1px rgba(229,9,20,.12), 0 18px 40px -20px rgba(229,9,20,.5);
    transform: translateY(-3px);
  }
  .quick-card .icon { width: 40px; height: 40px; border-radius: 11px; background: var(--card2); display: grid; place-items: center; margin-bottom: 16px; }
  .quick-card .icon svg { width: 20px; height: 20px; color: var(--red-bright); }
  .quick-card h4 { font-size: 15.5px; font-weight: 600; }

  /* ---------- Device selector ---------- */
  .device-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
  .device-tab {
    padding: 10px 20px; border-radius: 100px; border: 1px solid var(--border); background: var(--card);
    font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: all .18s ease;
  }
  .device-tab.active { background: var(--red); border-color: var(--red); color: #fff; }
  .device-tab:not(.active):hover { border-color: #3a3a3a; color: var(--text); }
  .device-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  @media (max-width: 760px) { .device-list { grid-template-columns: repeat(2, 1fr); } }
  .device-item {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 15px 16px; font-size: 14px; transition: border-color .15s ease, background .15s ease;
  }
  .device-item:hover { border-color: #3a3a3a; background: var(--card2); }

  /* ---------- Configurator ---------- */
  .configurator {
    background: var(--card); border: 1px solid var(--border); border-radius: 24px;
    padding: 40px; position: relative; overflow: hidden;
  }
  @media (max-width: 640px) { .configurator { padding: 26px 20px; } }
  .config-steps { display: flex; gap: 8px; margin-bottom: 34px; }
  .config-steps .dot { flex: 1; height: 3px; border-radius: 3px; background: var(--border); transition: background .3s ease; }
  .config-steps .dot.done { background: var(--red-bright); }
  .config-title { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
  .config-question { font-size: 22px; font-family: var(--font-head); margin-bottom: 24px; }
  .config-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  @media (max-width: 640px) { .config-options { grid-template-columns: repeat(2, 1fr); } }
  .config-option {
    background: var(--card2); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 16px 14px; font-size: 14px; font-weight: 500; text-align: center;
    transition: all .15s ease;
  }
  .config-option:hover { border-color: #3a3a3a; }
  .config-option.selected { border-color: var(--red-bright); background: rgba(229,9,20,.1); color: #fff; }
  .config-model-select {
    width: 100%; padding: 16px; border-radius: var(--radius-sm); background: var(--card2);
    border: 1px solid var(--border); color: var(--text); font-size: 15px; appearance: none;
  }
  .config-back { margin-top: 26px; font-size: 14px; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 6px; }
  .config-back:hover { color: var(--text); }
  .config-result { text-align: center; padding: 12px 0 4px; }
  .config-result .label { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
  .config-result .price { font-family: var(--font-head); font-size: 52px; color: var(--red-bright); margin-bottom: 8px; }
  .config-result .note { font-size: 13px; color: var(--text-secondary); margin-bottom: 30px; }
  .config-summary { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
  .config-summary span { background: var(--card2); border: 1px solid var(--border); padding: 7px 14px; border-radius: 100px; font-size: 13px; color: var(--text-secondary); }

  /* ---------- Benefits ---------- */
  .benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  @media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .benefits-grid { grid-template-columns: 1fr; } }
  .benefit-card { padding: 8px 4px; }
  .benefit-card .icon { width: 46px; height: 46px; border-radius: 13px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; margin-bottom: 18px; }
  .benefit-card .icon svg { width: 22px; height: 22px; color: var(--red-bright); }
  .benefit-card h4 { font-size: 17px; margin-bottom: 8px; }
  .benefit-card p { color: var(--text-secondary); font-size: 14.5px; }

  /* ---------- Process ---------- */
  .process-wrap { position: relative; }
  .process-line {
    position: absolute; top: 21px; left: 0; right: 0; height: 2px;
    background: var(--border); z-index: 0;
  }
  .process-line-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: linear-gradient(90deg, var(--red), var(--red-bright)); transition: width 1.2s ease; }
  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
  @media (max-width: 760px) { .process-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; } .process-line { display: none; } }
  .process-step .num {
    width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 1px solid var(--border);
    display: grid; place-items: center; font-family: var(--font-head); font-size: 15px; margin-bottom: 18px;
  }
  .process-step.active .num { border-color: var(--red-bright); color: var(--red-bright); }
  .process-step h4 { font-size: 15.5px; margin-bottom: 6px; }
  .process-step p { font-size: 13.5px; color: var(--text-secondary); }

  /* ---------- Pricing ---------- */
  .pricing-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
  .pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--border); }
  .pricing-row:last-child { border-bottom: none; }
  .pricing-row:nth-child(odd) { background: var(--card); }
  .pricing-row .name { font-size: 15.5px; font-weight: 500; }
  .pricing-row .price { font-family: var(--font-head); color: var(--red-bright); font-size: 17px; }
  .pricing-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; flex-wrap: wrap; gap: 16px; }
  .pricing-note { font-size: 13px; color: var(--text-secondary); }

  /* ---------- Trust numbers ---------- */
  .trust-band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
  @media (max-width: 700px) { .trust-grid { grid-template-columns: 1fr; gap: 40px; } }
  .trust-num { font-family: var(--font-head); font-size: clamp(38px, 6vw, 58px); color: var(--red-bright); margin-bottom: 8px; }
  .trust-label { color: var(--text-secondary); font-size: 14.5px; }

  /* ---------- Reviews ---------- */
  .reviews-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .reviews-track::-webkit-scrollbar { height: 6px; }
  .reviews-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
  .review-card {
    min-width: 320px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 28px; flex-shrink: 0;
  }
  @media (max-width: 480px) { .review-card { min-width: 84vw; } }
  .review-stars { color: var(--red-bright); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
  .review-card p.quote { font-size: 15px; margin-bottom: 20px; }
  .review-name { font-size: 13.5px; color: var(--text-secondary); font-weight: 500; }
  .demo-tag { font-size: 11.5px; color: #6b6b6b; margin-top: 4px; }

  /* ---------- FAQ ---------- */
  .faq-item { border-bottom: 1px solid var(--border); }
  .faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 22px 4px; text-align: left; font-size: 16px; font-weight: 500;
  }
  .faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; color: var(--text-secondary); }
  .faq-item.open .faq-q svg { transform: rotate(45deg); color: var(--red-bright); }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .faq-a p { padding: 0 4px 22px; color: var(--text-secondary); font-size: 14.5px; max-width: 640px; }

  /* ---------- Contact CTA ---------- */
  .contact-cta {
    background: linear-gradient(155deg, #150404, #0a0a0a 55%);
    border: 1px solid var(--border); border-radius: 28px; padding: 72px 48px; text-align: center;
    position: relative; overflow: hidden;
  }
  @media (max-width: 640px) { .contact-cta { padding: 52px 24px; } }
  .contact-cta::before {
    content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(229,9,20,.22), transparent 70%);
    top: -260px; left: 50%; transform: translateX(-50%); pointer-events: none;
  }
  .contact-cta h2 { font-size: clamp(28px, 4.5vw, 42px); margin-bottom: 14px; position: relative; }
  .contact-cta p { color: var(--text-secondary); max-width: 480px; margin: 0 auto 34px; position: relative; }
  .contact-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 44px; }
  .contact-methods { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; position: relative; }
  .contact-methods a, .contact-methods span { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-secondary); transition: color .15s ease; }
  .contact-methods a:hover { color: var(--text); }

  .map-embed {
    position: relative; margin-top: 44px; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--border); filter: grayscale(0.15) contrast(1.05);
  }
  .map-embed iframe { display: block; }
  .contact-methods svg { width: 17px; height: 17px; color: var(--red-bright); }

  /* ---------- Footer ---------- */
  footer { padding: 80px 0 32px; border-top: 1px solid var(--border); }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
  @media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
  .footer-brand p { color: var(--text-secondary); font-size: 14px; margin-top: 14px; max-width: 260px; }
  .footer-col h5 { font-size: 13.5px; margin-bottom: 16px; color: var(--text); }
  .footer-col a { display: block; color: var(--text-secondary); font-size: 14px; padding: 6px 0; transition: color .15s ease; }
  .footer-col a:hover { color: var(--text); }
  .footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
  .footer-bottom p { color: #6b6b6b; font-size: 13px; }
  .social-row { display: flex; gap: 14px; }
  .social-row a { width: 36px; height: 36px; border-radius: 10px; background: var(--card); border: 1px solid var(--border); display: grid; place-items: center; }
  .social-row svg { width: 16px; height: 16px; }

  /* ---------- Reveal on scroll ---------- */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }
