:root{
  --blue:#1361D8;
  --blue-dark:#0B3F99;
  --blue-light:#6AC5FE;
  --ink:#0F1B33;
  --ink-soft:#5A6478;
  --tint:#F2F7FE;
  --line:#DCE7F7;
  --white:#FFFFFF;
  --green:#2FBE6B;
  --dark-bg:#050B18;
  --dark-bg2:#0C2C66;
  --radius:20px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{font-family:'Outfit',sans-serif;font-weight:700;line-height:1.15;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:1080px;margin:0 auto;padding:0 24px;}
section{padding:88px 0;}

/* ---------- Nav ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
header .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px;}
.logo{display:flex;align-items:center;gap:10px;}
.logo img{width:36px;height:36px;display:block;}
.logo .wordmark{font-family:'Poppins',sans-serif;font-weight:800;font-size:21px;letter-spacing:-.01em;white-space:nowrap;}
.logo .wordmark span{color:var(--blue);}
.nav-ctas{display:flex;align-items:center;gap:10px;}
.nav-cta{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--blue);color:#fff;
  padding:10px 20px;border-radius:999px;
  font-weight:600;font-size:14px;
  box-shadow:0 8px 20px -8px rgba(19,97,216,.6);
  white-space:nowrap;
}
.nav-cta-secondary{
  display:inline-flex;align-items:center;gap:8px;
  background:#fff;color:var(--ink);
  padding:10px 20px;border-radius:999px;
  font-weight:600;font-size:14px;
  border:1.5px solid var(--line);
  white-space:nowrap;
}
.nav-cta-secondary:hover{border-color:var(--blue);}

/* ---------- Hero ---------- */
.hero{
  padding:0;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(ellipse 900px 600px at 78% 45%, rgba(19,97,216,.45) 0%, rgba(19,97,216,0) 65%),
    linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg2) 55%, var(--dark-bg) 100%);
}
.hero-flex{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  min-height:640px;
}
.hero-text{
  position:relative;z-index:1;
  display:flex;flex-direction:column;justify-content:center;
  padding:80px 40px 80px max(40px, calc((100vw - 1080px) / 2 + 40px));
}
.hero-showcase{
  position:relative;z-index:1;
  overflow:hidden;
}
.slideshow{
  position:absolute;inset:0;
  width:100%;height:100%;
  overflow:hidden;
  mask-image:linear-gradient(to right, transparent 0, black 130px);
  -webkit-mask-image:linear-gradient(to right, transparent 0, black 130px);
}
.slide{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  object-position:69% 48%;
  opacity:0;
  transform-origin:center center;
  animation:kgSlideFade 10.5s infinite ease-in-out;
  animation-fill-mode:both;
  will-change:opacity, transform;
}
.slide:nth-child(1){animation-delay:0s;}
.slide:nth-child(2){animation-delay:3.5s;}
.slide:nth-child(3){animation-delay:7s;}
@keyframes kgSlideFade{
  0%{opacity:0; transform:scale(1);}
  11.43%{opacity:1; transform:scale(1.005);}
  33.33%{opacity:1; transform:scale(1.02);}
  44.76%{opacity:0; transform:scale(1.025);}
  100%{opacity:0; transform:scale(1);}
}
@media (prefers-reduced-motion: reduce){
  .slide{animation:none;opacity:1;transform:scale(1);}
  .slide:nth-child(2),.slide:nth-child(3){display:none;}
}
.hero-photo-placeholder{
  position:relative;z-index:1;
  width:100%;max-width:420px;aspect-ratio:4/5;border-radius:18px;
  background:rgba(255,255,255,.06);border:1.5px dashed rgba(255,255,255,.3);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:14px;font-weight:600;text-align:center;padding:20px;
}
.hero .eyebrow{
  display:inline-block;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
  color:#8FCBFF;
  font-weight:600;font-size:13px;
  padding:7px 16px;border-radius:999px;
  margin-bottom:24px;
}
.eyebrow{
  display:inline-block;
  background:var(--white);
  border:1px solid var(--line);
  color:var(--blue-dark);
  font-weight:600;font-size:13px;
  padding:7px 16px;border-radius:999px;
  margin-bottom:24px;
}
.hero h1{
  font-size:clamp(32px,5vw,52px);
  max-width:820px;
  margin-bottom:20px;
  color:#fff;
}
.hero h1 .grad{
  background:linear-gradient(90deg,#8FCBFF,#4C8DF5);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero p.lead{
  font-size:18px;color:#B4AFC8;
  max-width:620px;margin-bottom:36px;
}
.cta-row{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:40px;}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:16px 28px;border-radius:999px;
  font-weight:600;font-size:16px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{
  background:var(--blue);color:#fff;
  box-shadow:0 14px 30px -10px rgba(19,97,216,.55);
}
.btn-secondary{
  background:#fff;color:var(--ink);
  border:1.5px solid var(--line);
}
.btn-secondary:hover{border-color:var(--blue);}
.hero .btn-secondary{
  background:rgba(255,255,255,.06);color:#fff;
  border:1.5px solid rgba(255,255,255,.28);
}
.hero .btn-secondary:hover{border-color:#fff;}
.product-cta{
  display:flex;flex-wrap:wrap;justify-content:center;gap:14px;
  margin-top:56px;
}
.product-cta .btn-secondary{
  background:rgba(255,255,255,.06);color:#fff;
  border:1.5px solid rgba(255,255,255,.28);
}
.product-cta .btn-secondary:hover{border-color:#fff;}
.stat-row{display:flex;flex-wrap:wrap;gap:32px;}
.stat-row div{font-size:14px;color:var(--ink-soft);}
.stat-row strong{display:block;font-family:'Outfit',sans-serif;font-size:22px;color:var(--ink);}
.hero .stat-row div{color:#9891AD;}
.hero .stat-row strong{color:#fff;}

/* ---------- Section heading helper ---------- */
.section-head{max-width:640px;margin:0 auto 48px;text-align:center;}
.section-head .eyebrow{margin-bottom:16px;}
.section-head h2{font-size:clamp(26px,4vw,38px);margin-bottom:14px;}
.section-head p{color:var(--ink-soft);font-size:16px;}

/* ---------- Trust / Certifications ---------- */
.trust{background:var(--white);}
.cert-row{
  display:flex;flex-wrap:wrap;
  align-items:center;justify-content:center;
  gap:24px;
  margin-top:48px;
}
.cert-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 14px 28px -16px rgba(15,27,51,.18);
  transition:transform .25s ease, box-shadow .25s ease;
  cursor:pointer;
  position:relative;
}
.cert-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 34px -16px rgba(15,27,51,.24);
  border-color:var(--blue);
}
.cert-card img{
  height:76px;width:auto;
  border-radius:8px;
  display:block;
}
.cert-card .cert-hint{
  position:absolute;bottom:-26px;left:50%;transform:translateX(-50%);
  font-size:11.5px;font-weight:600;color:var(--blue);
  white-space:nowrap;opacity:0;transition:opacity .2s ease;
}
.cert-card:hover .cert-hint{opacity:1;}
.cert-tap-icon{
  position:absolute;top:-8px;right:-8px;
  width:24px;height:24px;border-radius:50%;
  background:var(--blue);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;font-family:'Outfit',sans-serif;
  border:2px solid #fff;
  box-shadow:0 4px 10px -2px rgba(19,97,216,.55);
  animation:kgTapPulse 2.4s ease-in-out infinite;
}
@keyframes kgTapPulse{
  0%,100%{box-shadow:0 4px 10px -2px rgba(19,97,216,.55), 0 0 0 0 rgba(19,97,216,.4);}
  50%{box-shadow:0 4px 10px -2px rgba(19,97,216,.55), 0 0 0 6px rgba(19,97,216,0);}
}

/* ---------- Product section ---------- */
.product{
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(19,97,216,.25) 0%, rgba(19,97,216,0) 65%),
    linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg2) 60%, var(--dark-bg) 100%);
}
.product .section-head h2{color:#fff;}
.product .section-head p{color:#A7A1BE;}
.product .eyebrow{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
  color:#8FCBFF;
}
.module-list{margin-top:64px;}
.module-row{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:48px;
  align-items:center;
  padding:44px 0;
  border-top:1px solid rgba(255,255,255,.1);
}
.module-row:first-child{border-top:none;}
.module-label{
  display:block;
  font-family:'Outfit',sans-serif;
  font-weight:700;font-size:13px;letter-spacing:.08em;
  color:var(--blue-light);text-transform:uppercase;
  margin-bottom:14px;
}
.module-main h3{
  font-size:clamp(24px,3vw,32px);color:#fff;margin-bottom:16px;
}
.module-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px;}
.module-tags span{
  display:inline-block;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  color:#C7C3D9;
  font-size:13px;font-weight:500;
  padding:7px 14px;border-radius:999px;
}
.module-main p{color:#A7A1BE;font-size:15px;max-width:480px;}
.module-video{
  position:relative;
  width:100%;aspect-ratio:16/9;
  border-radius:20px;
  background:rgba(255,255,255,.03);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.module-video::before{
  content:'';
  position:absolute;inset:-10%;
  background:radial-gradient(circle, rgba(19,97,216,.28) 0%, rgba(19,97,216,0) 62%);
  filter:blur(8px);
  z-index:0;
}
.module-video video{
  position:relative;z-index:1;
  width:100%;height:100%;
  object-fit:cover;
  mask-image:radial-gradient(ellipse 92% 92% at 50% 50%, black 65%, transparent 100%);
  -webkit-mask-image:radial-gradient(ellipse 92% 92% at 50% 50%, black 65%, transparent 100%);
}


/* ---------- VSL ---------- */
.vsl{background:var(--tint);}
.video-shell{
  max-width:760px;margin:0 auto 32px;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(27,23,48,.35);
  border:1px solid var(--line);
  background:#000;
}
.video-shell .ratio{position:relative;width:100%;padding-top:56.25%;}
.video-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0;z-index:1;}
.video-tap-overlay{
  position:absolute;inset:0;
  z-index:2;
  background:transparent;
  cursor:pointer;
}
.vsl-cover{
  position:absolute;inset:0;
  z-index:3;
  background:linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg2) 60%, var(--dark-bg) 100%);
  opacity:1;
  pointer-events:none;
  transition:opacity .6s ease;
}
.vsl-cover.hidden{opacity:0;}
.vsl-control{
  position:absolute;
  bottom:16px;
  z-index:5;
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(15,12,25,.85);
  color:#fff;
  border:1.5px solid rgba(255,255,255,.5);
  border-radius:999px;
  font-family:'Inter',sans-serif;font-weight:600;font-size:14px;
  cursor:pointer;
  backdrop-filter:blur(6px);
  box-shadow:0 8px 24px -6px rgba(0,0,0,.6);
}
.vsl-control:hover{border-color:#fff;}
.play-toggle{
  left:16px;
  width:44px;height:44px;padding:0;
  justify-content:center;font-size:16px;
}
.mute-toggle{
  right:16px;
  padding:10px 18px;
  animation:kgMutePulse 2.2s ease-in-out infinite;
}
.mute-toggle.unmuted{animation:none;background:rgba(19,97,216,.9);border-color:rgba(255,255,255,.7);}
@keyframes kgMutePulse{
  0%,100%{box-shadow:0 8px 24px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(255,255,255,.35);}
  50%{box-shadow:0 8px 24px -6px rgba(0,0,0,.6), 0 0 0 8px rgba(255,255,255,0);}
}
.vsl-cta{text-align:center;}

/* ---------- Footer ---------- */
footer{background:var(--ink);color:#D9D6E8;padding:56px 0 32px;}
footer .foot-top{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;
  padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:24px;
}
footer .logo{color:#fff;}
footer .logo .wordmark span{color:var(--blue);}
footer .foot-contact a{
  display:flex;align-items:center;gap:10px;font-weight:600;color:#fff;margin-bottom:12px;font-size:15px;
}
footer .disclaimer{font-size:12.5px;line-height:1.7;color:#8C87A3;max-width:820px;}
footer .copyright{font-size:12.5px;color:#6F698C;margin-top:20px;}

/* ---------- Certification detail pages ---------- */
.cert-hero{
  background:
    radial-gradient(ellipse 900px 500px at 85% 0%, rgba(19,97,216,.35) 0%, rgba(19,97,216,0) 65%),
    linear-gradient(160deg, var(--dark-bg) 0%, var(--dark-bg2) 55%, var(--dark-bg) 100%);
  padding:64px 0 72px;
}
.cert-back{
  display:inline-flex;align-items:center;gap:8px;
  color:#B4AFC8;font-size:14px;font-weight:600;
  margin-bottom:32px;
}
.cert-back:hover{color:#fff;}
.cert-hero-grid{
  display:grid;grid-template-columns:auto 1fr;
  gap:36px;align-items:center;
}
.cert-badge-frame{
  width:150px;height:150px;
  background:#fff;
  border-radius:24px;
  display:flex;align-items:center;justify-content:center;
  padding:18px;
  box-shadow:0 20px 40px -14px rgba(0,0,0,.5);
}
.cert-badge-frame img{width:100%;height:100%;object-fit:contain;}
.cert-hero h1{color:#fff;font-size:clamp(26px,4vw,38px);margin-bottom:10px;}
.cert-hero .cert-kicker{color:var(--blue-light);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;display:block;}
.cert-hero p.cert-sub{color:#B4AFC8;font-size:16px;max-width:560px;}

.cert-body{padding:72px 0;}
.cert-body .wrap{max-width:760px;}
.cert-body h2{font-size:clamp(22px,3vw,28px);margin:40px 0 14px;color:var(--ink);}
.cert-body h2:first-child{margin-top:0;}
.cert-body p{color:var(--ink-soft);font-size:16px;margin-bottom:16px;}
.cert-callout{
  background:var(--tint);
  border:1px solid var(--line);
  border-left:4px solid var(--blue);
  border-radius:12px;
  padding:20px 24px;
  margin:28px 0;
  font-size:15px;color:var(--ink);
}
.cert-callout strong{color:var(--blue-dark);}
.cert-cta-box{
  margin-top:48px;
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  border-radius:20px;
  padding:32px;
  text-align:center;
  color:#fff;
}
.cert-cta-box h3{color:#fff;font-size:20px;margin-bottom:8px;}
.cert-cta-box p{color:rgba(255,255,255,.85);font-size:14px;margin-bottom:20px;}
.cert-cta-box .cta-row{justify-content:center;margin-bottom:0;}

@media (max-width:1100px) and (min-width:861px){
  .slideshow{
    mask-image:linear-gradient(to right, transparent 0, black 90px);
    -webkit-mask-image:linear-gradient(to right, transparent 0, black 90px);
  }
}
@media (max-width:860px){
  section{padding:64px 0;}
  .hero-flex{grid-template-columns:1fr;min-height:0;}
  .hero-showcase{order:-1;min-height:320px;}
  .hero-text{padding:48px 24px 56px;}
  .slideshow{
    mask-image:linear-gradient(to top, transparent 0, black 80px);
    -webkit-mask-image:linear-gradient(to top, transparent 0, black 80px);
  }
  .module-row{grid-template-columns:1fr;gap:24px;padding:36px 0;}
  .module-video{order:-1;}
  .cert-row{gap:18px;}
  .cert-card{padding:14px;}
  .cert-card img{height:60px;}
  .cert-hero-grid{grid-template-columns:1fr;text-align:center;justify-items:center;}
}
@media (max-width:560px){
  .cta-row{flex-direction:column;align-items:stretch;}
  .product-cta{flex-direction:column;align-items:stretch;}
  .btn{justify-content:center;}
  .cert-row{gap:14px;}
  .cert-card{padding:12px;}
  .cert-card img{height:48px;}
  .nav-ctas{gap:6px;}
  .nav-cta,.nav-cta-secondary{padding:9px 12px;font-size:12.5px;}
  .logo img{width:30px;height:30px;}
  .logo .wordmark{font-size:17px;}
}
@media (max-width:420px){
  .nav-cta-secondary .nav-label{display:none;}
  .nav-cta-secondary{padding:9px;}
  .logo .wordmark{font-size:15px;}
  header .wrap{padding-left:16px;padding-right:16px;}
}
