@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Manrope:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

  :root{
    --bg:#0a0c16;
    --bg-alt:#0d0f1e;
    --surface:#141830;
    --surface-2:#1b2040;
    --border:#282e52;
    --border-soft:#1f2440;
    --cyan:#2fd9ff;
    --cyan-dim:#1aa8cc;
    --purple:#c750ff;
    --purple-dim:#9b3fe0;
    --brand-gradient:linear-gradient(135deg, var(--cyan), var(--purple));
    --green:#3dffa8;
    --red:#ff4d7a;
    --text:#eef0fa;
    --text-dim:#9aa0c4;
    --text-mute:#666b91;
    --radius:14px;
    --maxw:1180px;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{-webkit-text-size-adjust:100%; scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--text);
    font-family:'Manrope', system-ui, sans-serif;
    line-height:1.5;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    padding-bottom:env(safe-area-inset-bottom);
  }
  img,svg{display:block; max-width:100%;}
  a{color:inherit; text-decoration:none;}
  button{font-family:inherit; cursor:pointer;}
  ul{list-style:none;}

  h1,h2,h3{
    font-family:'Unbounded', sans-serif;
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.01em;
  }

  .mono{
    font-family:'JetBrains Mono', monospace;
  }

  .wrap{
    max-width:var(--maxw);
    margin:0 auto;
    padding:0 24px;
  }

  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--cyan);
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:7px; height:7px;
    background:var(--cyan);
    border-radius:2px;
    flex:none;
  }

  /* ---------- Appointment banner ---------- */
  .appointment-banner{
    background:var(--surface);
    border-bottom:1px solid var(--border-soft);
    padding:11px 24px;
  }
  .appointment-banner-inner{
    max-width:var(--maxw);
    margin:0 auto;
    display:flex; align-items:center; justify-content:center;
    gap:9px;
    text-align:center;
    flex-wrap:wrap;
  }
  .appointment-banner svg{ flex:none; color:var(--purple); }
  .appointment-banner p{
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    color:var(--text-dim);
    letter-spacing:0.01em;
  }
  .appointment-banner strong{ color:var(--text); font-weight:700; }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(10,12,22,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border-soft);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px;
    max-width:var(--maxw);
    margin:0 auto;
  }
  .logo{
    font-family:'Unbounded', sans-serif;
    font-weight:800;
    font-size:19px;
    letter-spacing:-0.01em;
    display:flex; align-items:center; gap:9px;
  }
  .logo-img{
    width:34px; height:34px;
    flex:none;
  }
  .logo span{color:var(--text-dim); font-weight:600; font-size:15px;}
  .nav-links{
    display:flex; gap:32px;
    font-size:14.5px; font-weight:600; color:var(--text-dim);
  }
  .nav-links a:hover{color:var(--text);}
  .nav-cta{
    background:var(--brand-gradient);
    color:#0a0c16;
    padding:10px 20px;
    border-radius:9px;
    font-weight:700;
    font-size:14px;
    border:none;
    transition:transform .15s ease, filter .15s ease;
    white-space:nowrap;
  }
  .nav-cta:hover{filter:brightness(1.12);}
  .nav-cta:active{transform:scale(0.97);}

  .burger{
    display:none;
    width:40px; height:40px;
    border-radius:9px;
    background:transparent;
    border:1px solid var(--border);
    align-items:center; justify-content:center;
    flex:none;
  }
  .burger span{
    position:relative;
    width:18px; height:1.5px;
    background:var(--text);
    display:block;
  }
  .burger span::before,
  .burger span::after{
    content:"";
    position:absolute;
    left:0;
    width:18px; height:1.5px;
    background:var(--text);
    transition:transform .2s ease, top .2s ease;
  }
  .burger span::before{ top:-6px; }
  .burger span::after{ top:6px; }
  .burger.open span{ background:transparent; }
  .burger.open span::before{ top:0; transform:rotate(45deg); }
  .burger.open span::after{ top:0; transform:rotate(-45deg); }

  .mobile-menu{
    display:none;
    flex-direction:column;
    max-width:var(--maxw);
    margin:0 auto;
    padding:0 24px 18px;
  }
  .mobile-menu.open{ display:flex; }
  .mobile-menu a{
    padding:13px 0;
    font-size:15px;
    font-weight:600;
    color:var(--text-dim);
    border-bottom:1px solid var(--border-soft);
  }
  .mobile-menu a:hover{ color:var(--text); }
  .mobile-menu .mobile-cta{
    background:var(--brand-gradient);
    color:#0a0c16;
    text-align:center;
    border-radius:10px;
    font-weight:700;
    padding:14px 0;
    margin-top:6px;
    border-bottom:none;
  }

  @media(max-width:820px){
    .nav-links{display:none;}
    .nav-cta{display:none;}
    .burger{display:flex;}
  }

  /* ---------- Hero ---------- */
  .hero{
    padding:64px 0 56px;
    position:relative;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:56px;
    align-items:center;
  }
  @media(max-width:900px){
    .hero-grid{ grid-template-columns:1fr; gap:40px; }
  }
  .hero h1{
    font-size:clamp(32px, 5.4vw, 54px);
    margin:18px 0 20px;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--purple);
    text-shadow:0 0 26px rgba(199,80,255,0.35);
  }
  .hero p.lead{
    font-size:clamp(15.5px, 2vw, 18px);
    color:var(--text-dim);
    max-width:52ch;
    margin-bottom:30px;
  }
  .hero-actions{
    display:flex; gap:14px; flex-wrap:wrap;
    margin-bottom:34px;
  }
  .btn-primary{
    background:var(--brand-gradient);
    color:#0a0c16;
    padding:15px 26px;
    border-radius:10px;
    font-weight:700;
    font-size:15.5px;
    border:none;
    box-shadow:0 8px 28px -8px rgba(199,80,255,0.5);
    transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
    min-height:48px;
  }
  .btn-primary:hover{ box-shadow:0 10px 32px -6px rgba(47,217,255,0.55); filter:brightness(1.08); }
  .btn-primary:active{ transform:scale(0.97); }
  .btn-secondary{
    background:transparent;
    color:var(--text);
    padding:15px 24px;
    border-radius:10px;
    font-weight:700;
    font-size:15.5px;
    border:1px solid var(--border);
    min-height:48px;
    transition:border-color .15s ease, background .15s ease;
  }
  .btn-secondary:hover{ border-color:var(--cyan); background:rgba(47,217,255,0.06); }

  .hero-stats{
    display:flex; gap:28px; flex-wrap:wrap;
  }
  .hero-stat b{
    font-family:'Unbounded', sans-serif;
    font-size:20px;
    display:block;
    color:var(--text);
  }
  .hero-stat span{
    font-size:12.5px;
    color:var(--text-mute);
  }

  /* ---------- Terminal (signature element) ---------- */
  .terminal{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 30px 60px -25px rgba(0,0,0,0.6), 0 0 60px -20px rgba(199,80,255,0.18), 0 0 60px -30px rgba(47,217,255,0.15);
  }
  .terminal-bar{
    display:flex; align-items:center; gap:8px;
    padding:12px 16px;
    background:var(--surface-2);
    border-bottom:1px solid var(--border);
  }
  .terminal-dot{ width:9px; height:9px; border-radius:50%; background:var(--border); }
  .terminal-bar .mono{
    margin-left:8px;
    font-size:11.5px;
    color:var(--text-mute);
    letter-spacing:0.04em;
  }
  .terminal-body{
    padding:22px 20px 24px;
    font-family:'JetBrains Mono', monospace;
    font-size:13.2px;
    line-height:1.95;
  }
  .term-line{
    display:flex; justify-content:space-between; gap:16px;
    color:var(--text-dim);
    opacity:0;
    animation:termIn .45s ease forwards;
    border-bottom:1px dashed rgba(255,255,255,0.05);
    padding:2px 0;
  }
  .term-line:last-of-type{ border-bottom:none; }
  .term-line b{ color:var(--text); font-weight:500; }
  .term-line .ok{ color:var(--green); font-weight:600; }
  .term-line .err{ color:var(--red); font-weight:600; }
  .term-line:nth-child(1){animation-delay:.15s;}
  .term-line:nth-child(2){animation-delay:.5s;}
  .term-line:nth-child(3){animation-delay:.85s;}
  .term-line:nth-child(4){animation-delay:1.2s;}
  .term-line:nth-child(5){animation-delay:1.55s;}
  .term-line:nth-child(6){animation-delay:1.9s;}
  @keyframes termIn{
    from{ opacity:0; transform:translateY(4px); }
    to{ opacity:1; transform:translateY(0); }
  }
  .term-summary{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--border);
    opacity:0;
    animation:termIn .5s ease forwards;
    animation-delay:2.3s;
  }
  .term-summary .err-count{ color:var(--red); font-weight:700; }
  .term-summary .fix{ color:var(--purple); font-weight:700; }
  .cursor{
    display:inline-block; width:7px; height:14px;
    background:var(--purple);
    margin-left:2px;
    animation:blink 1s step-end infinite;
    vertical-align:middle;
  }
  @keyframes blink{ 50%{ opacity:0; } }

  @media(prefers-reduced-motion: reduce){
    .term-line, .term-summary{ animation:none; opacity:1; }
    .cursor{ animation:none; }
  }

  /* ---------- Trust bar ---------- */
  .trustbar{
    border-top:1px solid var(--border-soft);
    border-bottom:1px solid var(--border-soft);
    background:var(--bg-alt);
    padding:22px 0;
  }
  .trustbar-inner{
    display:flex; flex-wrap:wrap;
    gap:16px 34px;
    justify-content:space-between;
  }
  .trust-item{
    display:flex; align-items:center; gap:10px;
    font-size:13.5px; color:var(--text-dim); font-weight:600;
    flex:1 1 200px;
  }
  .trust-item .dot{
    width:8px; height:8px; border-radius:50%;
    background:var(--green); flex:none;
  }

  /* ---------- Section shared ---------- */
  section{ padding:88px 0; }
  .section-head{ max-width:640px; margin-bottom:48px; }
  .section-head h2{ font-size:clamp(26px,3.6vw,38px); margin-top:14px; }
  .section-head p{ color:var(--text-dim); margin-top:14px; font-size:15.5px; }

  /* ---------- Services ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
  }
  @media(max-width:900px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
  @media(max-width:600px){ .services-grid{ grid-template-columns:1fr; } }
  .service-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:26px 22px;
    transition:border-color .18s ease, transform .18s ease;
  }
  .service-card:hover{ border-color:var(--cyan-dim); transform:translateY(-3px); }
  .service-icon{
    width:42px; height:42px;
    border-radius:10px;
    background:var(--surface-2);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:16px;
    color:var(--cyan);
  }
  .service-card h3{
    font-family:'Manrope', sans-serif;
    font-weight:800;
    font-size:16.5px;
    margin-bottom:8px;
  }
  .service-card p{ color:var(--text-dim); font-size:14px; }

  /* ---------- Process ---------- */
  .process-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:0;
    counter-reset:step;
    position:relative;
  }
  @media(max-width:900px){ .process-list{ grid-template-columns:1fr; gap:22px; } }
  .process-step{
    position:relative;
    padding:0 20px 0 0;
  }
  .process-step:not(:last-child)::after{
    content:"";
    position:absolute;
    top:24px; right:-2px;
    width:calc(100% - 44px);
    border-top:1px dashed var(--border);
  }
  @media(max-width:900px){ .process-step:not(:last-child)::after{ display:none; } }
  .step-num{
    font-family:'JetBrains Mono', monospace;
    font-size:13px;
    color:var(--purple);
    background:var(--surface);
    border:1px solid var(--border);
    width:46px; height:46px;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-weight:700;
    margin-bottom:16px;
  }
  .process-step h3{
    font-family:'Manrope', sans-serif;
    font-weight:800;
    font-size:16px;
    margin-bottom:8px;
  }
  .process-step p{ color:var(--text-dim); font-size:14px; padding-right:8px; }

  /* ---------- Why us ---------- */
  .why-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:56px;
    align-items:center;
  }
  @media(max-width:900px){ .why-wrap{ grid-template-columns:1fr; gap:32px; } }
  .why-list li{
    display:flex; gap:14px;
    padding:18px 0;
    border-bottom:1px solid var(--border-soft);
  }
  .why-list li:first-child{ padding-top:0; }
  .why-num{
    font-family:'JetBrains Mono', monospace;
    color:var(--text-mute);
    font-size:13px;
    padding-top:2px;
  }
  .why-list h3{ font-family:'Manrope'; font-weight:800; font-size:15.5px; margin-bottom:4px; }
  .why-list p{ color:var(--text-dim); font-size:14px; }

  .panel{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:32px;
  }
  .panel .mono{ font-size:12px; color:var(--text-mute); letter-spacing:0.08em; text-transform:uppercase; }
  .panel-row{
    display:flex; justify-content:space-between; align-items:baseline;
    padding:14px 0;
    border-bottom:1px solid var(--border-soft);
  }
  .panel-row:last-child{ border-bottom:none; }
  .panel-row b{ font-family:'Unbounded'; font-size:22px; color:var(--cyan); }
  .panel-row span{ font-size:13px; color:var(--text-dim); text-align:right; max-width:60%; }

  /* ---------- Trust widgets ---------- */
  .widgets-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:18px;
  }
  @media(max-width:820px){ .widgets-grid{ grid-template-columns:1fr; max-width:360px; margin:0 auto; } }
  .widget-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    height:216px;
    transition:border-color .18s ease, transform .18s ease;
  }
  .widget-card:hover{ border-color:var(--cyan-dim); transform:translateY(-3px); }
  .widget-embed{
    width:100%;
    height:150px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .widget-embed iframe{ border:0; max-width:100%; }
  .widget-label{
    font-family:'JetBrains Mono', monospace;
    font-size:11.5px;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:var(--text-mute);
  }
  .rating-badge{
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    gap:8px; height:100%;
    text-align:center;
  }
  .rating-stars{ color:#ffb84d; font-size:17px; letter-spacing:3px; }
  .rating-name{ font-family:'Manrope'; font-weight:800; font-size:14px; color:var(--text); }
  .rating-score{ font-family:'JetBrains Mono', monospace; font-size:12px; color:var(--text-dim); }
  .rating-cta{ font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--cyan); }

  /* ---------- Lead form ---------- */
  .form-section{
    background:var(--bg-alt);
    border-top:1px solid var(--border-soft);
    border-bottom:1px solid var(--border-soft);
  }
  .form-wrap{
    display:grid;
    grid-template-columns:0.9fr 1.1fr;
    gap:56px;
    align-items:start;
  }
  @media(max-width:900px){ .form-wrap{ grid-template-columns:1fr; gap:36px; } }
  .form-side h2{ font-size:clamp(26px,3.4vw,34px); margin-top:14px; }
  .form-side p{ color:var(--text-dim); margin-top:14px; font-size:15px; max-width:44ch; }
  .contact-line{
    display:flex; align-items:center; gap:12px;
    margin-top:26px;
    font-family:'JetBrains Mono', monospace;
    font-size:14.5px;
  }
  .contact-line .lbl{ color:var(--text-mute); font-size:12px; }
  .social-row{ display:flex; gap:12px; margin-top:24px; }
  .social-icon{
    width:44px; height:44px;
    border-radius:12px;
    background:var(--surface);
    border:1px solid var(--border);
    display:flex; align-items:center; justify-content:center;
    color:var(--text-dim);
    transition:border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .social-icon:hover{
    border-color:var(--cyan);
    color:var(--text);
    background:var(--surface-2);
    transform:translateY(-3px);
    box-shadow:0 10px 24px -10px rgba(199,80,255,0.45);
  }
  .social-icon img{
    width:30px;
    height:30px;
    display:block;
    object-fit:contain;
  }
  .social-icon.small img{
    width:24px;
    height:24px;
  }

  form{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:30px;
  }
  .field{ margin-bottom:18px; }
  .field label{
    display:block;
    font-size:13px;
    font-weight:700;
    color:var(--text-dim);
    margin-bottom:8px;
  }
  .field input,
  .field select,
  .field textarea{
    width:100%;
    background:var(--bg-alt);
    border:1px solid var(--border);
    border-radius:9px;
    padding:13px 14px;
    color:var(--text);
    font-family:'Manrope', sans-serif;
    font-size:15px;
    outline:none;
    transition:border-color .15s ease;
    -webkit-appearance:none;
    appearance:none;
  }
  .field select{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3af' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    padding-right:36px;
  }
  .field textarea{ resize:vertical; min-height:88px; font-family:'Manrope', sans-serif; }
  .field input:focus,
  .field select:focus,
  .field textarea:focus{ border-color:var(--cyan); }
  .field input::placeholder,
  .field textarea::placeholder{ color:var(--text-mute); }

  .row2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  @media(max-width:520px){ .row2{ grid-template-columns:1fr; } }

  .consent{
    display:flex; align-items:flex-start; gap:11px;
    margin:22px 0 22px;
    cursor:pointer;
  }
  .consent input[type="checkbox"]{
    appearance:none; -webkit-appearance:none;
    width:20px; height:20px;
    min-width:20px;
    border:1.5px solid var(--border);
    border-radius:5px;
    background:var(--bg-alt);
    position:relative;
    cursor:pointer;
    margin-top:1px;
    transition:border-color .15s ease, background .15s ease;
  }
  .consent input[type="checkbox"]:checked{
    background:var(--brand-gradient);
    border-color:var(--purple);
  }
  .consent input[type="checkbox"]:checked::after{
    content:"";
    position:absolute;
    left:6px; top:2px;
    width:5px; height:10px;
    border:solid #0a0c16;
    border-width:0 2px 2px 0;
    transform:rotate(45deg);
  }
  .consent input[type="checkbox"]:focus-visible{
    outline:2px solid var(--cyan);
    outline-offset:2px;
  }
  .consent span{
    font-size:13px;
    color:var(--text-dim);
    line-height:1.5;
  }
  .consent a{ color:var(--cyan); text-decoration:underline; text-underline-offset:2px; }

  .submit-btn{
    width:100%;
    background:var(--brand-gradient);
    color:#0a0c16;
    padding:16px;
    border:none;
    border-radius:10px;
    font-weight:800;
    font-size:15.5px;
    min-height:52px;
    transition:filter .15s ease, transform .15s ease, opacity .15s ease;
  }
  .submit-btn:hover{ filter:brightness(1.1); }
  .submit-btn:active{ transform:scale(0.98); }
  .submit-btn:disabled{ opacity:0.6; cursor:not-allowed; }

  .form-msg{
    margin-top:14px;
    font-size:13.5px;
    font-weight:600;
    padding:12px 14px;
    border-radius:9px;
    display:none;
  }
  .form-msg.show{ display:block; }
  .form-msg.ok{ background:rgba(76,217,123,0.1); color:var(--green); border:1px solid rgba(76,217,123,0.3); }
  .form-msg.err{ background:rgba(255,107,92,0.1); color:var(--red); border:1px solid rgba(255,107,92,0.3); }

  .field-error{
    font-size:12px;
    color:var(--red);
    margin-top:6px;
    display:none;
  }
  .field-error.show{ display:block; }
  .field.invalid input,
  .field.invalid select{ border-color:var(--red); }

  /* ---------- FAQ ---------- */
  .faq-item{
    border-bottom:1px solid var(--border-soft);
    padding:20px 0;
  }
  .faq-q{
    display:flex; justify-content:space-between; align-items:center;
    gap:16px;
    cursor:pointer;
    font-weight:700;
    font-size:15.5px;
  }
  .faq-q .plus{
    font-family:'JetBrains Mono', monospace;
    color:var(--cyan);
    font-size:18px;
    transition:transform .2s ease;
    flex:none;
  }
  .faq-item.open .faq-q .plus{ transform:rotate(45deg); }
  .faq-a{
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    color:var(--text-dim);
    font-size:14.5px;
  }
  .faq-item.open .faq-a{ max-height:200px; }
  .faq-a-inner{ padding-top:12px; }

  /* ---------- Footer ---------- */
  footer{
    padding:44px 0 calc(32px + env(safe-area-inset-bottom));
    border-top:1px solid var(--border-soft);
  }
  .footer-inner{
    display:flex; justify-content:space-between; align-items:center;
    flex-wrap:wrap; gap:16px;
  }
  footer .mono{ font-size:12.5px; color:var(--text-mute); }
  .social-icon.small{ width:38px; height:38px; border-radius:10px; }

  /* reveal on scroll */
  .reveal{ opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }
  @media(prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------- Products ---------- */
.products-section{
  background:var(--bg-alt);
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
}
.products-toolbar{
  display:flex;
  gap:12px;
  align-items:center;
  margin:-20px 0 26px;
  flex-wrap:wrap;
}
.products-search,
.products-filter{
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:10px;
  padding:11px 13px;
  font-family:'Manrope', sans-serif;
  font-size:14px;
  outline:none;
  min-height:42px;
}
.products-search{
  flex:1 1 320px;
  min-width:220px;
}
.products-filter{
  flex:0 1 220px;
  min-width:180px;
}
.products-search:focus,
.products-filter:focus{ border-color:var(--cyan); }

.products-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}
@media(max-width:920px){ .products-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:620px){ .products-grid{ grid-template-columns:1fr; } }

.product-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:border-color .18s ease, transform .18s ease;
}
.product-card:hover{
  border-color:var(--cyan-dim);
  transform:translateY(-3px);
}
.product-media{
  aspect-ratio:16/10;
  background:linear-gradient(135deg, rgba(47,217,255,.08), rgba(199,80,255,.08));
  border-bottom:1px solid var(--border-soft);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
}
.product-gallery-track{
  position:absolute;
  inset:0;
}
.product-gallery-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease;
}
.product-gallery-image.is-active{
  opacity:1;
  visibility:visible;
}
.product-gallery-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:4;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(10,12,22,.72);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  opacity:0;
  transition:opacity .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.product-media:hover .product-gallery-btn,
.product-gallery-btn:focus-visible{ opacity:1; }
.product-gallery-btn:hover{
  background:rgba(10,12,22,.92);
  border-color:var(--cyan);
}
.product-gallery-btn:active{ transform:translateY(-50%) scale(.94); }
.product-gallery-prev{ left:10px; }
.product-gallery-next{ right:10px; }
.product-gallery-btn svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.product-gallery-counter{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:4;
  background:rgba(10,12,22,.78);
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  border-radius:999px;
  padding:4px 8px;
  font-family:'JetBrains Mono', monospace;
  font-size:10px;
  line-height:1;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.product-gallery-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  z-index:4;
  display:flex;
  align-items:center;
  gap:6px;
  max-width:55%;
}
.product-gallery-dot{
  width:7px;
  height:7px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.5);
  box-shadow:0 0 0 1px rgba(10,12,22,.24);
  transition:width .15s ease, border-radius .15s ease, background .15s ease;
}
.product-gallery-dot.is-active{
  width:18px;
  border-radius:999px;
  background:var(--cyan);
}
@media (hover:none){
  .product-gallery-btn{ opacity:1; }
}
.product-placeholder{
  font-family:'JetBrains Mono', monospace;
  color:var(--text-mute);
  font-size:12px;
  letter-spacing:.1em;
}
.product-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:rgba(10,12,22,.88);
  border:1px solid var(--border);
  color:var(--cyan);
  border-radius:999px;
  padding:5px 9px;
  font-family:'JetBrains Mono', monospace;
  font-size:10.5px;
  letter-spacing:.04em;
}
.product-body{
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
}
.product-title{
  font-family:'Manrope', sans-serif;
  font-size:17px;
  line-height:1.25;
  font-weight:800;
}
.product-description{
  color:var(--text-dim);
  font-size:13.5px;
}
.product-specs{
  display:grid;
  gap:7px;
  margin-top:2px;
}
.product-spec{
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding-bottom:7px;
  border-bottom:1px dashed var(--border-soft);
  font-size:12.5px;
}
.product-spec span:first-child{ color:var(--text-mute); }
.product-spec span:last-child{ color:var(--text); text-align:right; }
.product-footer{
  margin-top:auto;
  padding-top:6px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.product-actions{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.product-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  min-height:38px;
  border-radius:9px;
  border:1px solid var(--border);
  font-size:12.5px;
  font-weight:700;
  transition:border-color .15s ease, background .15s ease, transform .15s ease;
}
.product-link:hover{
  transform:translateY(-1px);
  border-color:var(--cyan);
  background:rgba(47,217,255,.06);
}
.product-link:only-child{
  grid-column:1 / -1;
}
.product-link.primary{
  background:var(--brand-gradient);
  color:#0a0c16;
  border-color:transparent;
}
.products-empty{
  background:var(--surface);
  border:1px dashed var(--border);
  border-radius:var(--radius);
  padding:34px;
  text-align:center;
}
.products-empty h3{
  font-family:'Manrope', sans-serif;
  font-size:18px;
  margin-bottom:8px;
}
.products-empty p{
  color:var(--text-dim);
  margin-bottom:18px;
}
.products-empty .btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


/* Product image zoom */
.product-zoom-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(10,12,22,.76);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  opacity:0;
  transition:opacity .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.product-media:hover .product-zoom-btn,
.product-zoom-btn:focus-visible{
  opacity:1;
}
.product-zoom-btn:hover{
  background:rgba(10,12,22,.94);
  border-color:var(--cyan);
}
.product-zoom-btn:active{
  transform:scale(.94);
}
.product-zoom-btn svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.image-lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  background:rgba(3,5,12,.92);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, visibility .18s ease;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.image-lightbox.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.image-lightbox-content{
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:min(92vw, 1500px);
  max-height:90vh;
}
.image-lightbox-image{
  display:block;
  max-width:100%;
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 28px 80px rgba(0,0,0,.55);
}
.image-lightbox-close{
  position:fixed;
  top:20px;
  right:20px;
  z-index:2001;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(10,12,22,.86);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
}
.image-lightbox-close:hover{
  background:rgba(10,12,22,.98);
  border-color:var(--cyan);
}
.image-lightbox-close:active{
  transform:scale(.94);
}
.image-lightbox-close svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}
.image-lightbox-nav{
  position:fixed;
  top:50%;
  z-index:2001;
  width:52px;
  height:52px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(10,12,22,.82);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transform:translateY(-50%);
  transition:background .16s ease, border-color .16s ease, transform .16s ease;
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
.image-lightbox-nav[hidden],
.image-lightbox-counter[hidden]{
  display:none;
}
.image-lightbox-prev{ left:20px; }
.image-lightbox-next{ right:20px; }
.image-lightbox-nav:hover{
  background:rgba(10,12,22,.98);
  border-color:var(--cyan);
}
.image-lightbox-nav:active{
  transform:translateY(-50%) scale(.94);
}
.image-lightbox-nav svg{
  width:26px;
  height:26px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.image-lightbox-counter{
  position:fixed;
  left:50%;
  bottom:20px;
  z-index:2001;
  transform:translateX(-50%);
  min-width:64px;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(10,12,22,.78);
  color:#fff;
  text-align:center;
  font-size:13px;
  line-height:1;
  font-family:var(--mono);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}
body.lightbox-open{
  overflow:hidden;
}

@media (hover:none){
  .product-zoom-btn{ opacity:1; }
}
@media(max-width:620px){
  .image-lightbox{ padding:16px 52px; }
  .image-lightbox-close{ top:12px; right:12px; }
  .image-lightbox-image{ max-height:84vh; border-radius:10px; }
  .image-lightbox-nav{ width:42px; height:42px; border-radius:11px; }
  .image-lightbox-prev{ left:8px; }
  .image-lightbox-next{ right:8px; }
  .image-lightbox-nav svg{ width:22px; height:22px; }
  .image-lightbox-counter{ bottom:12px; }
}
