/* =========================================================
   COUNTIQ — SURGICOUNT PREMIUM HOMEPAGE V2
   A restrained visual system with consistent spacing,
   typography, image treatment, and section rhythm.
   ========================================================= */

:root{
  --ink:#07182d;
  --ink-soft:#10243d;
  --blue:#2d5bea;
  --blue-soft:#eaf0ff;
  --cyan:#35cbe0;
  --text:#162337;
  --muted:#66758a;
  --line:#e7edf4;
  --surface:#f6f8fb;
  --surface-2:#eef3f8;
  --white:#ffffff;

  --radius-sm:16px;
  --radius-md:24px;
  --radius-lg:36px;

  --shadow-sm:0 10px 30px rgba(7,24,45,.06);
  --shadow-md:0 24px 70px rgba(7,24,45,.10);

  --max:1280px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
}

body{
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
}

.content-width{
  width:min(90%,var(--max));
  margin:0 auto;
}

.overline{
  margin-bottom:14px;
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.55px;
  text-transform:uppercase;
}

.overline-light{
  color:#8be5ef;
}

.section-head{
  max-width:850px;
  margin-bottom:54px;
}

.section-head.centered{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.section-head h2{
  margin-bottom:18px;
  color:var(--ink);
  font-size:clamp(38px,5vw,68px);
  font-weight:750;
  line-height:1.03;
  letter-spacing:-2.6px;
}

.section-head p{
  max-width:720px;
  color:var(--muted);
  font-size:17px;
  line-height:1.75;
}

.section-head.centered p{
  margin:0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  width:100%;
  transition:.25s ease;
}

.nav-shell{
  width:100%;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:28px;
  padding:0 5%;
  border-bottom:1px solid rgba(231,237,244,.75);
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(18px);
}

.site-header.scrolled .nav-shell{
  min-height:72px;
  box-shadow:0 8px 30px rgba(7,24,45,.06);
}

.brand{
  margin-right:auto;
}

.brand img{
  width:auto;
  height:50px;
  object-fit:contain;
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:30px;
}

.desktop-nav a{
  position:relative;
  color:#3c4a5f;
  text-decoration:none;
  font-size:14px;
  font-weight:650;
}

.desktop-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-9px;
  width:0;
  height:2px;
  background:var(--blue);
  transition:.25s ease;
}

.desktop-nav a:hover::after{
  width:100%;
}

.header-cta{
  padding:11px 18px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  transition:.25s ease;
}

.header-cta:hover{
  background:var(--blue);
  transform:translateY(-1px);
}

.menu-button{
  display:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:12px;
  background:#f1f4f8;
  cursor:pointer;
}

.menu-button span{
  display:block;
  width:21px;
  height:2px;
  margin:5px auto;
  border-radius:10px;
  background:var(--ink);
}

.mobile-nav{
  display:none;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
  transition:.25s ease;
}

.button:hover{
  transform:translateY(-2px);
}

.button-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:0 12px 26px rgba(45,91,234,.18);
}

.button-primary:hover{
  background:#234cd0;
}

.button-quiet{
  border:1px solid #d8e0e8;
  background:#fff;
  color:var(--ink);
}

.button-quiet:hover{
  border-color:#adc0d8;
}

.button-white{
  background:#fff;
  color:var(--ink);
  box-shadow:0 16px 40px rgba(0,0,0,.16);
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:122px 0 68px;
  background:
    radial-gradient(circle at 78% 44%,rgba(53,203,224,.11),transparent 29%),
    radial-gradient(circle at 60% 30%,rgba(45,91,234,.07),transparent 30%),
    linear-gradient(180deg,#fff 0%,#f7faff 100%);
}

.hero-inner{
  width:min(90%,var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:.86fr 1.14fr;
  gap:58px;
  align-items:center;
}

.hero-copy{
  max-width:620px;
}

.hero h1{
  margin-bottom:8px;
  color:var(--ink);
  font-size:clamp(62px,8vw,116px);
  font-weight:800;
  line-height:.90;
  letter-spacing:-5.5px;
}

.hero h1 span{
  margin-left:4px;
  color:var(--blue);
  font-size:.28em;
  vertical-align:top;
  letter-spacing:0;
}

.hero h2{
  margin:18px 0 22px;
  color:var(--ink);
  font-size:clamp(34px,4vw,58px);
  font-weight:730;
  line-height:1.02;
  letter-spacing:-2.4px;
}

.hero-lead{
  max-width:600px;
  color:var(--muted);
  font-size:17px;
  line-height:1.8;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.status-line{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:22px;
  color:#788699;
  font-size:12px;
  font-weight:600;
}

.status-line span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#20b982;
  box-shadow:0 0 0 5px rgba(32,185,130,.10);
}

.hero-visual{
  position:relative;
}

.hero-stage{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid #e3eaf2;
  border-radius:var(--radius-lg);
  background:
    radial-gradient(circle at 50% 45%,rgba(45,91,234,.06),transparent 43%),
    linear-gradient(180deg,#fbfcfe,#f1f5f9);
  box-shadow:var(--shadow-md);
}

.hero-stage::after{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  bottom:9%;
  height:38px;
  border-radius:50%;
  background:rgba(7,24,45,.09);
  filter:blur(22px);
}

.stage-label{
  position:absolute;
  top:22px;
  left:24px;
  z-index:3;
  color:#8390a2;
  font-size:10px;
  font-weight:750;
  letter-spacing:1.2px;
}

.hero-stage img{
  position:relative;
  z-index:2;
  width:92%;
  max-height:570px;
  object-fit:contain;
  mix-blend-mode:multiply;
}


/* =========================================================
   VISION
   ========================================================= */

.vision-section{
  padding:112px 0;
  background:var(--ink);
  color:#fff;
}

.vision-grid{
  display:grid;
  grid-template-columns:1.04fr .96fr;
  gap:80px;
  align-items:start;
}

.vision-grid h2{
  color:#fff;
  font-size:clamp(42px,5vw,70px);
  font-weight:520;
  line-height:1.03;
  letter-spacing:-2.7px;
}

.vision-grid h2 strong{
  display:block;
  color:#9cb8ff;
  font-weight:780;
}

.vision-copy{
  padding-top:4px;
}

.vision-copy>p{
  max-width:600px;
  margin-bottom:18px;
  color:#c7d1df;
  font-size:16px;
  line-height:1.85;
}

.source-row{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  margin-top:32px;
}

.source-row a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  border-bottom:1px solid rgba(255,255,255,.25);
}


/* =========================================================
   PLATFORM
   ========================================================= */

.platform-section{
  padding:118px 0 104px;
  background:#fff;
}

.platform-layout{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  gap:54px;
  align-items:stretch;
}

.product-frame{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:var(--surface);
  box-shadow:var(--shadow-sm);
}

.product-frame-top{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
  color:#748297;
  font-size:11px;
  font-weight:700;
}

.product-frame-image{
  min-height:590px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

.product-frame-image img{
  width:94%;
  max-height:550px;
  object-fit:contain;
  mix-blend-mode:multiply;
}

.capability-list{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.capability-list article{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:16px;
  padding:24px 0;
  border-bottom:1px solid var(--line);
}

.capability-number{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:var(--blue-soft);
  color:var(--blue);
  font-size:11px;
  font-weight:800;
}

.capability-list h3{
  margin-bottom:6px;
  color:var(--ink);
  font-size:18px;
  font-weight:750;
}

.capability-list p{
  color:var(--muted);
  font-size:14px;
  line-height:1.75;
}

.platform-statement{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:64px;
  padding-top:34px;
  border-top:1px solid var(--line);
}

.platform-statement p{
  color:var(--ink);
  font-size:clamp(30px,4vw,54px);
  font-weight:700;
  letter-spacing:-2px;
}

.platform-statement .accent{
  color:var(--blue);
}


/* =========================================================
   PROGRESS
   ========================================================= */

.progress-section{
  padding:118px 0;
  background:var(--surface);
}

.timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  margin:6px 0 72px;
}

.timeline::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:12px;
  height:2px;
  background:#dce5ee;
}

.timeline-item{
  position:relative;
  padding-top:42px;
}

.dot{
  position:absolute;
  top:4px;
  left:0;
  z-index:2;
  width:18px;
  height:18px;
  border:5px solid var(--surface);
  border-radius:50%;
  background:#bdc8d5;
  box-shadow:0 0 0 2px #bdc8d5;
}

.timeline-item.done .dot{
  background:#1db980;
  box-shadow:0 0 0 2px #1db980;
}

.timeline-item.active .dot{
  background:var(--blue);
  box-shadow:0 0 0 4px #dfe7ff;
}

.timeline-label{
  margin-bottom:6px;
  color:#7b899c;
  font-size:11px;
  font-weight:800;
  letter-spacing:1px;
  text-transform:uppercase;
}

.timeline h3{
  max-width:170px;
  color:var(--ink);
  font-size:15px;
  font-weight:720;
  line-height:1.4;
}

.timeline-item.active h3{
  color:var(--blue);
}

.progress-feature{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.progress-image-card{
  min-height:560px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:
    radial-gradient(circle at 50% 40%,rgba(45,91,234,.06),transparent 44%),
    #f8fafc;
}

.progress-image-card img{
  width:92%;
  max-height:520px;
  object-fit:contain;
  mix-blend-mode:multiply;
}

.progress-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:58px;
}

.progress-copy h3{
  margin-bottom:18px;
  color:var(--ink);
  font-size:clamp(30px,3vw,46px);
  line-height:1.04;
  letter-spacing:-1.8px;
}

.progress-copy>p{
  color:var(--muted);
  font-size:15px;
  line-height:1.8;
}

.progress-note{
  margin-top:30px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.progress-note strong{
  display:block;
  margin-bottom:6px;
  color:var(--ink);
  font-size:13px;
}

.progress-note span{
  color:#758399;
  font-size:12px;
  line-height:1.65;
}


/* =========================================================
   PRODUCT DETAIL CARDS
   ========================================================= */

.detail-section{
  padding:118px 0;
  background:#fff;
}

.detail-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.detail-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.detail-image{
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:#f8fafc;
}

.detail-image img{
  width:94%;
  height:360px;
  object-fit:contain;
  mix-blend-mode:multiply;
}

.detail-card figcaption{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:14px;
  padding:24px;
  border-top:1px solid var(--line);
}

.detail-card figcaption>span{
  color:var(--blue);
  font-size:11px;
  font-weight:800;
}

.detail-card h3{
  margin-bottom:5px;
  color:var(--ink);
  font-size:16px;
}

.detail-card p{
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}


/* =========================================================
   COMPANY
   ========================================================= */

.company-section{
  padding:118px 0;
  background:
    radial-gradient(circle at 85% 18%,rgba(53,203,224,.08),transparent 28%),
    linear-gradient(135deg,#07182d,#0c2948);
  color:#fff;
}

.company-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:70px;
  align-items:center;
}

.company-copy h2{
  margin-bottom:24px;
  color:#fff;
  font-size:clamp(40px,5vw,68px);
  font-weight:520;
  line-height:1.03;
  letter-spacing:-2.7px;
}

.company-copy h2 strong{
  display:block;
  color:#9cb8ff;
  font-weight:780;
}

.company-copy>p{
  max-width:600px;
  color:#c7d1df;
  font-size:16px;
  line-height:1.85;
}

.founder-card{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:34px;
  align-items:center;
  padding:28px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-md);
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(14px);
}

.founder-card img{
  width:240px;
  height:260px;
  object-fit:cover;
  object-position:center top;
  border-radius:18px;
}

.founder-role{
  margin-bottom:8px;
  color:#8be5ef;
  font-size:11px;
  font-weight:800;
  letter-spacing:1.2px;
  text-transform:uppercase;
}

.founder-copy h3{
  margin-bottom:12px;
  color:#fff;
  font-size:30px;
  letter-spacing:-1px;
}

.founder-copy p{
  color:#c7d1df;
  font-size:14px;
  line-height:1.75;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section{
  padding:104px 0;
  background:#061526;
  color:#fff;
}

.contact-inner{
  width:min(90%,var(--max));
  margin:0 auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:64px;
  align-items:center;
}

.contact-copy h2{
  margin-bottom:22px;
  max-width:650px;
  color:#fff;
  font-size:clamp(42px,5vw,72px);
  line-height:1;
  letter-spacing:-3px;
}

.contact-copy>p{
  max-width:620px;
  color:#bdc8d5;
  font-size:15px;
  line-height:1.82;
}

.contact-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  margin-top:30px;
}

.email-link{
  color:#c8d3df;
  text-decoration:none;
  font-size:13px;
}

.contact-product-card{
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.96);
}

.contact-product-card img{
  width:92%;
  max-height:470px;
  object-fit:contain;
  mix-blend-mode:multiply;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  padding:44px 5% 28px;
  background:#030c16;
  color:#7f8da0;
}

.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.footer-brand img{
  height:42px;
  width:auto;
  margin-bottom:12px;
  filter:brightness(0) invert(1);
  opacity:.92;
}

.footer-brand p{
  color:#8f9caf;
  font-size:12px;
}

.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}

.footer-nav a{
  color:#b8c2cf;
  text-decoration:none;
  font-size:12px;
}

.footer-rule{
  max-width:var(--max);
  height:1px;
  margin:32px auto 24px;
  background:rgba(255,255,255,.09);
}

.footer-meta{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:flex-start;
}

.footer-meta p{
  max-width:850px;
  font-size:11px;
  line-height:1.7;
}

.footer-meta span{
  white-space:nowrap;
  font-size:11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1080px){

  .desktop-nav{
    display:none;
  }

  .menu-button{
    display:block;
  }

  .mobile-nav{
    position:absolute;
    top:76px;
    right:5%;
    width:min(320px,90vw);
    padding:12px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--shadow-md);
  }

  .mobile-nav.open{
    display:flex;
    flex-direction:column;
  }

  .mobile-nav a{
    padding:12px 13px;
    border-radius:10px;
    color:#344258;
    text-decoration:none;
    font-size:14px;
    font-weight:650;
  }

  .hero-inner,
  .vision-grid,
  .platform-layout,
  .progress-feature,
  .company-layout,
  .contact-inner{
    grid-template-columns:1fr;
  }

  .hero-copy{
    max-width:780px;
    margin:0 auto;
    text-align:center;
  }

  .hero-lead{
    margin:0 auto;
  }

  .hero-actions,
  .status-line{
    justify-content:center;
  }

  .hero-stage{
    min-height:540px;
  }

  .vision-copy{
    max-width:760px;
  }

  .platform-statement{
    grid-template-columns:1fr;
    gap:6px;
  }

  .timeline{
    grid-template-columns:1fr;
    gap:0;
    padding-left:28px;
  }

  .timeline::before{
    left:8px;
    right:auto;
    top:0;
    bottom:0;
    width:2px;
    height:auto;
  }

  .timeline-item{
    padding:0 0 32px 36px;
  }

  .dot{
    left:-28px;
    top:3px;
  }

  .detail-grid{
    grid-template-columns:1fr;
  }

  .company-copy{
    max-width:780px;
  }
}

@media(max-width:720px){

  .nav-shell{
    min-height:72px;
    padding:0 4%;
  }

  .brand img{
    height:44px;
  }

  .header-cta{
    display:none;
  }

  .hero{
    min-height:auto;
    padding:110px 0 74px;
  }

  .hero h1{
    font-size:clamp(58px,19vw,86px);
    letter-spacing:-4px;
  }

  .hero h2{
    font-size:clamp(32px,10vw,48px);
    letter-spacing:-1.8px;
  }

  .hero-stage{
    min-height:380px;
    border-radius:24px;
  }

  .vision-section,
  .platform-section,
  .progress-section,
  .detail-section,
  .company-section,
  .contact-section{
    padding:82px 0;
  }

  .vision-grid{
    gap:38px;
  }

  .product-frame-image{
    min-height:380px;
  }

  .platform-statement p{
    font-size:34px;
  }

  .progress-image-card{
    min-height:390px;
  }

  .progress-copy{
    padding:34px 26px;
  }

  .detail-image{
    min-height:330px;
  }

  .detail-image img{
    height:300px;
  }

  .founder-card{
    grid-template-columns:1fr;
  }

  .founder-card img{
    width:100%;
    height:auto;
    max-height:420px;
  }

  .contact-product-card{
    min-height:370px;
  }

  .footer-inner,
  .footer-meta{
    flex-direction:column;
  }

  .footer-meta span{
    white-space:normal;
  }
}

@media(max-width:500px){

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .button{
    width:100%;
  }

  .source-row{
    flex-direction:column;
    gap:10px;
  }

  .capability-list article{
    grid-template-columns:40px 1fr;
  }

  .contact-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-nav{
    flex-direction:column;
    gap:10px;
  }
}
