:root{
  --bg:#071022;
  --bg-deep:#050b17;
  --surface:#ffffff;
  --surface-blue:#f4f8ff;
  --card:#101b32;
  --text:#f5f7ff;
  --ink:#10172a;
  --muted:#667089;
  --muted-dark:#aeb8ce;
  --blue:#1769ff;
  --blue-bright:#4c8dff;
  --line:#dce4f2;
  --line-dark:#263451;
  --red:#d63f4b;
  --gold:#9b6500;
  --green:#168345;
  --light:#f5f7fb;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  color:var(--ink);
  background:var(--light);
  line-height:1.55;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

.nav{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 5%;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid #e8ebf2;
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
}

.brand{
  display:flex;
  align-items:center;
  flex:none;
}

.brand img{
  height:48px;
  width:auto;
}

.nav nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
}

.nav a{
  color:var(--ink);
  text-decoration:none;
  font-weight:750;
  font-size:14px;
}

.mobile-wa{
  display:none;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:#fff!important;
  padding:13px 20px;
  border-radius:12px;
  text-decoration:none;
  font-weight:850;
  border:1px solid var(--blue);
  box-shadow:0 9px 24px rgba(23,105,255,.2);
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}

.btn:hover{
  background:#0d56df;
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(23,105,255,.28);
}

.btn:active{
  transform:translateY(0);
}

.btn.ghost{
  background:transparent;
  color:var(--ink)!important;
  border-color:#ccd4e3;
  box-shadow:none;
}

.btn.ghost:hover{
  background:#eef4ff;
  border-color:var(--blue);
}

.btn.small{
  padding:9px 14px;
  border-radius:10px;
}

.hero{
  min-height:650px;
  padding:70px 6%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,1fr);
  gap:50px;
  align-items:center;
  background:
    radial-gradient(circle at 82% 18%,rgba(23,105,255,.18),transparent 34%),
    radial-gradient(circle at 15% 85%,rgba(76,141,255,.09),transparent 28%),
    var(--bg);
  color:var(--text);
  overflow:hidden;
}

.hero-copy{
  max-width:650px;
}

.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  font-weight:900;
  color:var(--blue-bright);
}

.hero h1{
  font-size:clamp(42px,6vw,72px);
  line-height:1.03;
  letter-spacing:-.045em;
  margin:15px 0;
}

.hero h1 span{
  color:var(--blue-bright);
}

.hero p{
  margin:0;
  font-size:19px;
  color:var(--muted-dark);
  max-width:570px;
}

.actions{
  display:flex;
  gap:12px;
  margin:28px 0;
}

.hero .ghost{
  color:#fff!important;
  border-color:#394765;
}

.hero .ghost:hover{
  background:#142342;
  border-color:#5f78a8;
}

.trust{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  color:#c5d0e6;
  font-size:13px;
  font-weight:650;
}

.hero-carousel{
  width:100%;
  max-width:620px;
  justify-self:end;
}

.hero-slides{
  position:relative;
  min-height:460px;
  border:1px solid rgba(132,166,255,.2);
  border-radius:28px;
  overflow:hidden;
  background:#0d1933;
  box-shadow:0 28px 70px rgba(0,0,0,.42);
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:translateX(18px);
  pointer-events:none;
  transition:opacity .7s ease,transform .7s ease;
}

.hero-slide.active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}

.hero-slide img{
  width:100%;
  height:100%;
  min-height:460px;
  object-fit:contain;
  background:#0d1933;
}

.poster-slide{
  display:grid;
  place-items:center;
  padding:24px;
}

.poster{
  position:relative;
  width:100%;
  height:100%;
  min-height:410px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px;
  border-radius:22px;
  overflow:hidden;
}

.poster-blue{
  background:
    radial-gradient(circle at 83% 22%,#77b6ff 0 2%,transparent 2.5%),
    radial-gradient(circle at 77% 30%,rgba(125,184,255,.4),transparent 20%),
    linear-gradient(135deg,#114be0,#07195c);
}

.poster-dark{
  background:
    radial-gradient(circle at 77% 25%,rgba(74,141,255,.6),transparent 25%),
    linear-gradient(135deg,#0c1732,#101b58);
}

.poster-kicker{
  position:relative;
  z-index:1;
  color:#cddcff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.16em;
}

.poster strong{
  position:relative;
  z-index:1;
  font-size:clamp(35px,4vw,57px);
  line-height:1;
  letter-spacing:-.045em;
  margin:18px 0;
  max-width:470px;
}

.poster p{
  position:relative;
  z-index:1;
  margin:0;
  max-width:350px;
  color:#d5e2ff;
}

.poster-mark{
  position:absolute;
  right:28px;
  bottom:10px;
  font-size:clamp(120px,18vw,220px);
  font-weight:900;
  line-height:1;
  color:rgba(255,255,255,.1);
}

.carousel-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:15px;
}

.carousel-dots button{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:#60749c;
  cursor:pointer;
  transition:width .25s ease,background .25s ease;
}

.carousel-dots button.active{
  width:28px;
  background:#72a8ff;
}

.section{
  padding:90px 6%;
}

.section-head{
  max-width:760px;
  margin-bottom:36px;
}

.section-head.centered{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.section h2{
  font-size:clamp(30px,4vw,48px);
  letter-spacing:-.035em;
  line-height:1.1;
  margin:8px 0 12px;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}

.offer-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.offer{
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border:1px solid #b9d0ff;
  border-radius:22px;
  padding:20px;
  box-shadow:0 14px 34px rgba(12,23,48,.08);
  position:relative;
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.offer:hover{
  transform:translateY(-5px);
  border-color:var(--blue);
  box-shadow:0 20px 46px rgba(23,105,255,.16);
}

.offer.featured{
  border:2px solid var(--blue);
  background:linear-gradient(180deg,#f8fbff,#ffffff);
  box-shadow:0 18px 44px rgba(23,105,255,.16);
}

.offer.combo{
  background:linear-gradient(180deg,#fffaf0,#ffffff);
}

.offer.upcoming{
  opacity:.8;
  background:#fafbfe;
}

.status{
  align-self:flex-start;
  display:inline-block;
  padding:5px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

.live{
  background:#e7f8ed;
  color:var(--green);
}

.soon{
  background:#edf0f6;
  color:#667089;
}

.offer-tag{
  background:#fff0cf;
  color:var(--gold);
}

.offer-visual,
.offer img{
  width:100%;
  height:168px;
  margin:16px 0 8px;
  border-radius:15px;
}

.offer img{
  object-fit:cover;
  border:1px solid #edf0f6;
  background:#eef3ff;
}

.offer-visual{
  display:grid;
  place-items:center;
  padding:18px;
  color:#1c56c9;
  background:
    radial-gradient(circle at 78% 20%,rgba(81,151,255,.36),transparent 20%),
    linear-gradient(135deg,#dceaff,#f2f7ff);
  border:1px solid #d5e4ff;
  text-align:center;
  font-weight:900;
  font-size:18px;
}

.offer-visual span{
  max-width:150px;
}

.offer h3{
  margin:8px 0 5px;
  font-size:21px;
  line-height:1.2;
}

.offer p{
  margin:0;
  color:var(--muted);
  min-height:72px;
  font-size:14px;
}

.price-box{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:12px;
  margin:18px 0 14px;
  padding:12px 14px;
  border-radius:14px;
  background:#f1f6ff;
  border:1px solid #d5e4ff;
}

.price-label{
  display:block;
  color:#617292;
  font-size:10px;
  letter-spacing:.08em;
  font-weight:900;
}

.price-value{
  display:block;
  color:#114fca;
  font-size:24px;
  line-height:1.1;
  font-weight:900;
}

.old-price{
  color:var(--red);
  font-size:14px;
  font-weight:800;
  text-decoration:line-through;
}

.offer-btn{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  margin-top:auto;
  padding:12px 15px;
  color:#fff!important;
  background:var(--blue);
  border:1px solid var(--blue);
  border-radius:12px;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  box-shadow:0 8px 18px rgba(23,105,255,.18);
  transition:transform .2s ease,background .2s ease;
}

.offer-btn:hover{
  background:#0d56df;
  transform:translateY(-2px);
}

.dark{
  background:var(--bg);
  color:#fff;
}

.dark p{
  color:var(--muted-dark);
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.price-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:25px 0;
}

.price-grid div{
  border:1px solid var(--line-dark);
  border-radius:14px;
  padding:15px;
  background:rgba(255,255,255,.03);
}

.price-grid small{
  display:block;
  color:#aeb8ce;
}

.price-grid b{
  display:block;
  margin-top:6px;
  font-size:16px;
}

.feature-img{
  width:100%;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.48);
}

.workflow-section{
  background:
    radial-gradient(circle at 50% 0,rgba(23,105,255,.08),transparent 35%),
    #f8faff;
}

.workflow-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  position:relative;
}

.workflow-card{
  position:relative;
  min-height:240px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 28px rgba(12,23,48,.06);
}

.workflow-number{
  color:#a7b8d8;
  font-size:12px;
  letter-spacing:.1em;
  font-weight:900;
}

.workflow-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  margin:18px 0;
  border-radius:14px;
  color:#fff;
  background:linear-gradient(135deg,#1769ff,#4c8dff);
  font-size:22px;
  font-weight:900;
  box-shadow:0 9px 18px rgba(23,105,255,.2);
}

.workflow-card h3{
  margin:0 0 7px;
  font-size:18px;
}

.workflow-card p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.gallery button{
  display:block;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:15px;
  background:#dce5f4;
  cursor:pointer;
}

.gallery img{
  display:block;
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:transform .3s ease,filter .3s ease;
}

.gallery button:hover img{
  transform:scale(1.06);
  filter:brightness(.88);
}

.feedback{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.feedback img{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(12,23,48,.08);
}

.terms{
  background:#edf2ff;
}

.terms-box{
  max-width:900px;
  background:#fff;
  border:1px solid #dfe5f0;
  border-radius:20px;
  padding:30px;
  box-shadow:0 12px 30px rgba(12,23,48,.05);
}

.terms-box h3{
  margin-top:0;
}

.terms-box li{
  margin:14px 0;
  color:#2f3a52;
}

.terms-box li b{
  color:#10172a;
}

.cta{
  padding:58px 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  background:
    radial-gradient(circle at 76% 25%,rgba(58,125,255,.24),transparent 26%),
    #0b1730;
  color:#fff;
}

.cta h2{
  max-width:800px;
  margin:8px 0 0;
  font-size:clamp(28px,4vw,44px);
  line-height:1.12;
}

.cta-contact{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:16px;
}

.cta-contact a{
  color:#bfd4ff;
  font-size:14px;
  text-decoration:none;
}

footer{
  padding:30px 6%;
  display:flex;
  align-items:center;
  gap:25px;
  background:var(--bg-deep);
  color:#aeb8ce;
}

footer img{
  height:38px;
  width:auto;
}

.footer-copy{
  flex:1;
}

footer p{
  margin:0;
}

.footer-social{
  display:flex;
  gap:14px;
  margin-top:7px;
}

.footer-social a,
.footer-links a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(2,7,18,.88);
}

.lightbox[hidden]{
  display:none !important;
}

.lightbox img{
  max-width:min(1100px,100%);
  max-height:88vh;
  object-fit:contain;
  border-radius:14px;
  box-shadow:0 22px 80px rgba(0,0,0,.6);
}

.lightbox button{
  position:absolute;
  top:18px;
  right:22px;
  z-index:2;
  width:44px;
  height:44px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  color:#fff;
  background:rgba(255,255,255,.16);
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

.lightbox button:hover{
  background:rgba(255,255,255,.28);
}

.announcement-popup{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  padding:22px;
  animation:announcement-fade .22s ease both;
}

.announcement-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,7,18,.78);
  backdrop-filter:blur(5px);
}

.announcement-card{
  position:relative;
  z-index:1;
  width:min(100%,520px);
  max-height:min(780px,calc(100vh - 44px));
  overflow:auto;
  border:1px solid rgba(143,181,255,.28);
  border-radius:24px;
  color:#f5f7ff;
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(64,137,255,.26),
      transparent 31%
    ),
    linear-gradient(145deg,#122243,#08142b);
  box-shadow:0 30px 90px rgba(0,0,0,.58);
  animation:announcement-pop .28s ease both;
}

.announcement-close{
  position:absolute;
  top:13px;
  right:13px;
  z-index:3;
  display:grid;
  width:38px;
  height:38px;
  padding:0;
  place-items:center;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
  color:#fff;
  background:rgba(5,14,33,.72);
  font-size:25px;
  line-height:1;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

.announcement-close:hover{
  background:rgba(255,255,255,.2);
  transform:rotate(90deg);
}

.announcement-image{
  display:block;
  width:100%;
  max-height:290px;
  object-fit:cover;
  border-bottom:1px solid rgba(147,182,255,.18);
  background:#0a1730;
}

.announcement-content{
  padding:30px;
}

.announcement-badge{
  display:inline-flex;
  margin-bottom:13px;
  padding:6px 10px;
  border:1px solid rgba(255,218,139,.35);
  border-radius:999px;
  color:#ffce6a;
  background:rgba(255,191,48,.12);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.announcement-content h2{
  margin:0;
  color:#fff;
  font-size:clamp(27px,5vw,39px);
  line-height:1.06;
  letter-spacing:-.04em;
}

.announcement-content p{
  margin:13px 0 0;
  color:#c7d3eb;
  font-size:15px;
  line-height:1.65;
}

.announcement-offer{
  display:block;
  width:fit-content;
  margin:20px 0;
  padding:10px 14px;
  border:1px solid rgba(109,163,255,.42);
  border-radius:12px;
  color:#dceaff;
  background:rgba(53,121,255,.18);
  font-size:19px;
  font-weight:900;
}

.announcement-btn{
  width:100%;
  min-height:50px;
  margin-top:4px;
}

@keyframes announcement-fade{
  from{
    opacity:0;
  }

  to{
    opacity:1;
  }
}

@keyframes announcement-pop{
  from{
    opacity:0;
    transform:translateY(14px) scale(.97);
  }

  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media(max-width:600px){
  .announcement-popup{
    align-items:end;
    padding:12px;
  }

  .announcement-card{
    width:100%;
    max-height:calc(100vh - 24px);
    border-radius:21px;
  }

  .announcement-image{
    max-height:220px;
  }

  .announcement-content{
    padding:24px 20px 22px;
  }

  .announcement-content h2{
    font-size:31px;
  }

  .announcement-close{
    top:10px;
    right:10px;
  }
}

@media(max-width:1050px){
  .workflow-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:900px){
  .nav{
    flex-wrap:wrap;
    gap:10px;
    padding:9px 5%;
  }

  .desktop-wa{
    display:none;
  }

  .mobile-wa{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:10px;
    color:#fff!important;
    background:var(--blue);
    font-size:13px;
    font-weight:850;
  }

  .nav nav{
    order:3;
    width:100%;
    justify-content:flex-start;
    gap:20px;
    padding:4px 0 5px;
    overflow-x:auto;
    white-space:nowrap;
    scrollbar-width:none;
  }

  .nav nav::-webkit-scrollbar{
    display:none;
  }

  .nav nav a{
    flex:none;
    font-size:13px;
  }

  .hero,
  .split{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:50px;
  }

  .hero-carousel{
    justify-self:stretch;
    max-width:none;
  }

  .offer-grid,
  .gallery{
    grid-template-columns:repeat(2,1fr);
  }

  .feedback{
    grid-template-columns:1fr;
  }

  .cta{
    flex-direction:column;
    align-items:flex-start;
  }

  footer{
    flex-wrap:wrap;
  }
}

@media(max-width:600px){
  .section{
    padding:62px 5%;
  }

  .hero{
    min-height:auto;
    padding:46px 5% 58px;
    gap:36px;
  }

  .hero h1{
    font-size:43px;
  }

  .hero p{
    font-size:17px;
  }

  .actions{
    flex-direction:column;
  }

  .actions .btn{
    width:100%;
  }

  .trust{
    flex-direction:column;
    gap:6px;
  }

  .hero-slides,
  .hero-slide img{
    min-height:330px;
  }

  .poster{
    min-height:300px;
    padding:30px;
  }

  .poster strong{
    font-size:37px;
  }

  .offer-grid,
  .gallery,
  .price-grid,
  .workflow-grid{
    grid-template-columns:1fr;
  }

  .offer p{
    min-height:auto;
  }

  .workflow-card{
    min-height:auto;
  }

  .terms-box{
    padding:22px;
  }

  .cta{
    padding:48px 5%;
  }

  footer{
    padding:28px 5%;
    align-items:flex-start;
  }

  .footer-links{
    width:100%;
  }
}

.productModal[hidden]{
  display:none!important;
}

.productModal{
  position:fixed;
  inset:0;
  z-index:300;
  display:grid;
  place-items:center;
  padding:22px;
  animation:productModalFade .22s ease both;
}

.productModalBackdrop{
  position:absolute;
  inset:0;
  background:rgba(2,7,18,.82);
  backdrop-filter:blur(5px);
}

.productModalCard{
  position:relative;
  z-index:1;
  width:min(100%,760px);
  max-height:calc(100vh - 44px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(143,181,255,.26);
  border-radius:24px;
  color:#f5f7ff;
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(64,137,255,.22),
      transparent 30%
    ),
    linear-gradient(145deg,#122243,#08142b);
  box-shadow:0 30px 90px rgba(0,0,0,.62);
  animation:productModalPop .28s ease both;
}

#productModalContent{
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.productModalClose{
  position:absolute;
  top:14px;
  right:14px;
  z-index:5;
  display:grid;
  width:40px;
  height:40px;
  padding:0;
  place-items:center;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
  color:#fff;
  background:rgba(5,14,33,.76);
  font-size:27px;
  line-height:1;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

.productModalClose:hover{
  background:rgba(255,255,255,.2);
  transform:rotate(90deg);
}

.productModalLayout{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
}

.productModalImage{
  display:block;
  width:100%;
  height:100%;
  min-height:390px;
  object-fit:cover;
  background:#0a1730;
}

.productModalVisual{
  min-height:390px;
  display:grid;
  place-items:center;
  padding:30px;
  color:#bcd5ff;
  background:
    radial-gradient(
      circle at 75% 22%,
      rgba(72,145,255,.35),
      transparent 24%
    ),
    linear-gradient(145deg,#123477,#0a1730);
  text-align:center;
}

.productModalVisual span{
  max-width:260px;
  font-size:30px;
  font-weight:900;
  line-height:1.08;
  letter-spacing:-.035em;
}

.productModalContent{
  padding:38px 34px;
}

.productModalBadge{
  display:inline-flex;
  margin-bottom:14px;
  padding:6px 10px;
  border-radius:999px;
  color:#ffce6a;
  background:rgba(255,191,48,.13);
  border:1px solid rgba(255,218,139,.34);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.productModalContent h2{
  margin:0;
  color:#fff;
  font-size:clamp(30px,4vw,43px);
  line-height:1.05;
  letter-spacing:-.045em;
}

.productModalDescription{
  margin:14px 0 0;
  color:#c8d4eb;
  font-size:15px;
  line-height:1.65;
}

.productModalPrice{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px 0;
}

.productModalPrice strong{
  color:#fff;
  font-size:29px;
  line-height:1;
}

.productModalPrice s{
  color:#ff909a;
  font-size:15px;
  font-weight:800;
}

.productModalSection{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid rgba(174,198,242,.18);
}

.productModalSection h3{
  margin:0 0 12px;
  color:#aecdff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
}

.productModalIncludes{
  display:grid;
  gap:9px;
  margin:0;
  padding:0;
  list-style:none;
}

.productModalIncludes li{
  position:relative;
  padding-left:23px;
  color:#d9e4f7;
  font-size:14px;
}

.productModalIncludes li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:#71a9ff;
  font-weight:900;
}

.productModalBtn{
  width:100%;
  min-height:52px;
  margin-top:27px;
}

.offerActions{
  display:grid;
  gap:10px;
  margin-top:auto;
}

.offerActions .offer-btn{
  margin-top:0;
}

.offerDetailsBtn{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  padding:11px 15px;
  border:1px solid #ccd8ee;
  border-radius:12px;
  color:#24416f;
  background:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,
    background .2s ease;
}

.offerDetailsBtn:hover{
  border-color:var(--blue);
  background:#f2f7ff;
  transform:translateY(-1px);
}

@keyframes productModalFade{
  from{
    opacity:0;
  }

  to{
    opacity:1;
  }
}

@keyframes productModalPop{
  from{
    opacity:0;
    transform:translateY(16px) scale(.975);
  }

  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media(max-width:700px){
  .productModal{
    align-items:end;
    padding:12px;
  }

  .productModalCard{
    width:100%;
    max-height:calc(100vh - 24px);
    border-radius:21px;
  }

  .productModalLayout{
    grid-template-columns:1fr;
  }

  .productModalImage{
    min-height:0;
    max-height:240px;
  }

  .productModalVisual{
    min-height:190px;
  }

  .productModalVisual span{
    font-size:27px;
  }

  .productModalContent{
    padding:25px 20px 22px;
  }

  .productModalClose{
    top:10px;
    right:10px;
  }
}

.productModalActions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  margin-top:27px;
}

.productModalActions .productModalBtn{
  width:auto;
  min-height:52px;
  margin-top:0;
}

.productModalBottomClose{
  min-height:52px;
  padding:12px 16px;
  border:1px solid rgba(183,207,250,.42);
  border-radius:12px;
  color:#dbe8ff;
  background:rgba(255,255,255,.07);
  font:inherit;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease,
    transform .2s ease;
}

.productModalBottomClose:hover{
  border-color:#83b2ff;
  background:rgba(89,148,255,.18);
  transform:translateY(-1px);
}

.productModalComingSoon{
  margin:0;
  color:#c8d4eb;
  font-size:14px;
  line-height:1.55;
}

@media(max-width:500px){
  .productModalActions{
    grid-template-columns:1fr;
  }

  .productModalActions .productModalBtn{
    width:100%;
  }

  .productModalBottomClose{
    width:100%;
  }
}

/* Product modal preview gallery */
.productModalGallery {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  isolation: isolate;
}

.productModalGallery .productModalImage {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.productModalGalleryArrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.productModalGalleryArrow:hover {
  background: rgba(10, 10, 10, 0.92);
}

.productModalGalleryArrow:active {
  transform: translateY(-50%) scale(0.94);
}

.productModalGalleryArrow.previous {
  left: 14px;
}

.productModalGalleryArrow.next {
  right: 14px;
}

.productModalGalleryDots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.productModalGalleryDot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.productModalGalleryDot.active {
  width: 24px;
  border-radius: 99px;
  background: #fff;
}

.productModalGalleryDot:focus-visible,
.productModalGalleryArrow:focus-visible {
  outline: 3px solid #f7cf64;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .productModalGalleryArrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .productModalGalleryArrow.previous {
    left: 10px;
  }

  .productModalGalleryArrow.next {
    right: 10px;
  }

  .productModalGalleryDots {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }
}

/* Product modal FAQ accordion */
.productModalFaqs{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid rgba(174,198,242,.18);
}

.productModalFaqs h3{
  margin:0 0 13px;
  color:#aecdff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
}

.productModalFaqList{
  display:grid;
  gap:10px;
}

.productModalFaq{
  overflow:hidden;
  border:1px solid rgba(174,198,242,.2);
  border-radius:13px;
  background:rgba(255,255,255,.045);
  transition:border-color .2s ease,
    background .2s ease;
}

.productModalFaq[open]{
  border-color:rgba(124,174,255,.55);
  background:rgba(82,144,255,.1);
}

.productModalFaq summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:15px 16px;
  color:#edf4ff;
  cursor:pointer;
  font-size:14px;
  font-weight:800;
  line-height:1.4;
  list-style:none;
}

.productModalFaq summary::-webkit-details-marker{
  display:none;
}

.productModalFaq summary::marker{
  content:"";
}

.productModalFaqIcon{
  flex:0 0 auto;
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  border-radius:50%;
  color:#bcd7ff;
  background:rgba(119,174,255,.15);
  font-size:21px;
  font-weight:400;
  line-height:1;
  transition:transform .2s ease,
    color .2s ease,
    background .2s ease;
}

.productModalFaq[open] .productModalFaqIcon{
  color:#fff;
  background:rgba(102,163,255,.42);
  transform:rotate(45deg);
}

.productModalFaqAnswer{
  padding:0 16px 16px;
  color:#c8d4eb;
  font-size:14px;
  line-height:1.65;
}

.productModalFaq summary:focus-visible{
  outline:3px solid #f7cf64;
  outline-offset:-3px;
}

@media(max-width:700px){
  .productModalFaqs{
    margin-top:21px;
    padding-top:20px;
  }

  .productModalFaq summary{
    padding:14px;
    font-size:13.5px;
  }

  .productModalFaqAnswer{
    padding:0 14px 14px;
    font-size:13.5px;
  }
}

/* Creator testimonial cards */
.feedback{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:start;
}

.testimonialCard{
  position:relative;
  display:flex;
  min-width:0;
  min-height:100%;
  flex-direction:column;
  overflow:hidden;
  padding:22px;
  border:1px solid rgba(132,181,255,.22);
  border-radius:18px;
  color:#edf4ff;
  background:
    radial-gradient(
      circle at 92% 4%,
      rgba(66,140,255,.17),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(17,39,79,.98),
      rgba(7,18,42,.98)
    );
  box-shadow:0 16px 38px rgba(0,0,0,.2);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.testimonialCard::before{
  content:"“";
  position:absolute;
  top:4px;
  right:16px;
  color:rgba(125,178,255,.13);
  font-family:Georgia,serif;
  font-size:92px;
  font-weight:900;
  line-height:1;
  pointer-events:none;
}

.testimonialCard:hover{
  border-color:rgba(124,181,255,.58);
  box-shadow:0 22px 45px rgba(0,0,0,.3);
  transform:translateY(-4px);
}

.testimonialRating{
  position:relative;
  z-index:1;
  margin-bottom:14px;
  color:#ffd36c;
  font-size:18px;
  font-weight:900;
  letter-spacing:2px;
  line-height:1;
}

.testimonialReview{
  position:relative;
  z-index:1;
  flex:1;
  margin:0;
  color:#d8e4f8;
  font-size:15px;
  line-height:1.7;
}

.testimonialClient{
  display:flex;
  align-items:center;
  gap:11px;
  margin-top:22px;
}

.testimonialAvatar{
  flex:0 0 auto;
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(151,198,255,.42);
  border-radius:50%;
  color:#fff;
  background:
    linear-gradient(
      145deg,
      #347ded,
      #173d86
    );
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
}

.testimonialName,
.testimonialRole{
  display:block;
}

.testimonialName{
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1.3;
}

.testimonialRole{
  margin-top:2px;
  color:#abc7f4;
  font-size:12px;
  font-weight:650;
  line-height:1.35;
}

.testimonialProofWrap{
  margin-top:19px;
}

.testimonialProofLabel{
  display:block;
  margin:0 0 8px;
  color:#aecdff;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.testimonialProof{
  position:relative;
  display:block;
  width:100%;
  min-height:126px;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(159,202,255,.28);
  border-radius:13px;
  background:#07142c;
  cursor:pointer;
  isolation:isolate;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.testimonialProof img{
  display:block;
  width:100%;
  height:150px;
  object-fit:cover;
  opacity:.86;
  transition:
    transform .28s ease,
    opacity .28s ease;
}

.testimonialProof::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(
      to top,
      rgba(2,8,21,.92) 0%,
      rgba(2,8,21,.08) 72%
    );
  pointer-events:none;
}

.testimonialProofOverlay{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:8px 10px;
  color:#fff;
  font-size:12px;
  font-weight:850;
  line-height:1.25;
  text-align:center;
  pointer-events:none;
}

.testimonialProofIcon{
  display:grid;
  width:21px;
  height:21px;
  place-items:center;
  border:1px solid rgba(255,255,255,.46);
  border-radius:6px;
  color:#ddecff;
  font-size:15px;
  line-height:1;
}

.testimonialProof:hover{
  border-color:#83b4ff;
  box-shadow:0 0 0 3px rgba(88,152,255,.15);
  transform:translateY(-1px);
}

.testimonialProof:hover img{
  opacity:1;
  transform:scale(1.045);
}

.testimonialProof:focus-visible{
  outline:3px solid #f7cf64;
  outline-offset:3px;
}

@media(max-width:900px){
  .feedback{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

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

  .testimonialCard{
    padding:19px;
    border-radius:16px;
  }

  .testimonialCard:hover{
    transform:none;
  }

  .testimonialReview{
    font-size:14px;
    line-height:1.65;
  }

  .testimonialProof img{
    height:135px;
  }

  .testimonialProofOverlay{
    min-height:40px;
    font-size:11.5px;
  }
}

/* Product audio preview player */
.productAudioPreviews{
  margin-top:24px;
  padding-top:22px;
  border-top:1px solid rgba(174,198,242,.18);
}

.productAudioHeading{
  margin:0 0 16px;
  color:#aecdff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
}

.productAudioSection + .productAudioSection{
  margin-top:18px;
}

.productAudioSection h3{
  margin:0 0 10px;
  color:#dce9ff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em;
}

.productAudioList{
  display:grid;
  gap:10px;
}

.productAudioPlayer{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid rgba(146,190,255,.25);
  border-radius:14px;
  background:
    linear-gradient(
      135deg,
      rgba(72,141,255,.16),
      rgba(7,19,43,.5)
    );
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.productAudioPlayer.isPlaying{
  border-color:rgba(127,182,255,.72);
  background:
    linear-gradient(
      135deg,
      rgba(72,141,255,.3),
      rgba(7,19,43,.62)
    );
  box-shadow:0 0 0 3px rgba(82,151,255,.1);
}

.productAudioPlayer audio,
.productSoundEffect audio{
  display:none;
}

.productAudioPlay{
  display:grid;
  width:44px;
  height:44px;
  padding:0;
  place-items:center;
  border:1px solid rgba(171,207,255,.52);
  border-radius:50%;
  color:#fff;
  background:
    linear-gradient(
      145deg,
      #478dff,
      #205abe
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 7px 16px rgba(0,0,0,.22);
  cursor:pointer;
  transition:
    transform .2s ease,
    filter .2s ease,
    box-shadow .2s ease;
}

.productAudioPlay:hover{
  filter:brightness(1.12);
  transform:scale(1.06);
}

.productAudioPlay:active{
  transform:scale(.95);
}

.productAudioPlayIcon{
  display:block;
  margin-left:2px;
  font-size:15px;
  line-height:1;
}

.productAudioPlayer.isPlaying .productAudioPlayIcon{
  margin-left:0;
  font-size:13px;
  letter-spacing:1px;
}

.productAudioMain{
  min-width:0;
}

.productAudioTitle{
  display:block;
  overflow:hidden;
  color:#f4f8ff;
  font-size:14px;
  font-weight:850;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.productAudioTimeline{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  margin-top:8px;
}

.productAudioTime,
.productSoundEffectProgress span{
  color:#aac5ee;
  font-size:10px;
  font-variant-numeric:tabular-nums;
  font-weight:750;
  line-height:1;
}

.productAudioSeek,
.productSoundEffectProgress input{
  width:100%;
  min-width:0;
  height:4px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  border-radius:999px;
  background:rgba(191,216,255,.27);
  cursor:pointer;
}

.productAudioSeek::-webkit-slider-thumb,
.productSoundEffectProgress input::-webkit-slider-thumb{
  width:13px;
  height:13px;
  appearance:none;
  -webkit-appearance:none;
  border:2px solid #dceaff;
  border-radius:50%;
  background:#4f96ff;
  box-shadow:0 1px 6px rgba(0,0,0,.35);
}

.productAudioSeek::-moz-range-thumb,
.productSoundEffectProgress input::-moz-range-thumb{
  width:10px;
  height:10px;
  border:2px solid #dceaff;
  border-radius:50%;
  background:#4f96ff;
  box-shadow:0 1px 6px rgba(0,0,0,.35);
}

.productAudioSeek:focus-visible,
.productSoundEffectProgress input:focus-visible{
  outline:3px solid #f7cf64;
  outline-offset:4px;
}

/* Compact sound-effect preview cards */
.productSoundEffectGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.productSoundEffect{
  min-width:0;
  padding:11px;
  border:1px solid rgba(146,190,255,.2);
  border-radius:13px;
  background:rgba(255,255,255,.045);
  transition:
    border-color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.productSoundEffect.isPlaying{
  border-color:rgba(127,182,255,.68);
  background:rgba(71,142,255,.16);
}

.productSoundEffect:hover{
  border-color:rgba(151,196,255,.5);
  transform:translateY(-1px);
}

.productSoundEffectPlay{
  display:flex;
  width:100%;
  min-width:0;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  color:#ecf4ff;
  background:transparent;
  cursor:pointer;
  font:inherit;
  font-size:12px;
  font-weight:850;
  text-align:left;
}

.productSoundEffectPlay > span:last-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.productSoundEffectIcon{
  flex:0 0 auto;
  display:grid;
  width:25px;
  height:25px;
  padding-left:2px;
  place-items:center;
  border:1px solid rgba(170,207,255,.43);
  border-radius:50%;
  color:#ddecff;
  background:rgba(75,147,255,.18);
  font-size:10px;
  line-height:1;
  transition:
    color .2s ease,
    background .2s ease;
}

.productSoundEffect.isPlaying .productSoundEffectIcon{
  padding-left:0;
  color:#fff;
  background:#3f87ee;
  font-size:9px;
  letter-spacing:1px;
}

.productSoundEffectPlay:focus-visible{
  outline:3px solid #f7cf64;
  outline-offset:3px;
  border-radius:8px;
}

.productSoundEffectProgress{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:6px;
  align-items:center;
  margin-top:10px;
}

.productSoundEffectProgress span{
  font-size:9px;
}

/* Mobile player layout */
@media(max-width:700px){
  .productAudioPreviews{
    margin-top:21px;
    padding-top:20px;
  }

  .productAudioPlayer{
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
    padding:11px;
  }

  .productAudioPlay{
    width:40px;
    height:40px;
  }

  .productAudioTitle{
    font-size:13px;
  }

  .productSoundEffectGrid{
    grid-template-columns:1fr;
    gap:8px;
  }

  .productSoundEffect{
    padding:10px;
  }
}

/* =========================================
   STORYFRAME MOTION POLISH
   Safe additive visual enhancements
   ========================================= */

/* Keyboard navigation visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:3px solid #1769ff;
  outline-offset:4px;
}

/* Smooth navigation-link feedback */
.nav nav a{
  position:relative;
  transition:color .2s ease;
}

.nav nav a::after{
  position:absolute;
  right:0;
  bottom:-7px;
  left:0;
  height:2px;
  content:"";
  border-radius:999px;
  background:var(--blue);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .22s ease;
}

.nav nav a:hover{
  color:var(--blue);
}

.nav nav a:hover::after,
.nav nav a:focus-visible::after{
  transform:scaleX(1);
}

/* General card polish */
.offer,
.workflow-card,
.testimonialCard,
.terms-box{
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

/* Workflow process connector on desktop */
.workflow-grid::before{
  position:absolute;
  top:72px;
  right:8%;
  left:8%;
  z-index:0;
  height:2px;
  content:"";
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(23,105,255,.24) 8%,
      rgba(23,105,255,.42) 50%,
      rgba(23,105,255,.24) 92%,
      transparent
    );
}

.workflow-card{
  z-index:1;
  overflow:hidden;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease;
}

.workflow-card::after{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  content:"";
  background:linear-gradient(
    90deg,
    var(--blue),
    var(--blue-bright)
  );
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .28s ease;
}

.workflow-card:hover{
  border-color:#a9c7ff;
  background:#fbfdff;
  box-shadow:0 18px 38px rgba(23,105,255,.12);
  transform:translateY(-6px);
}

.workflow-card:hover::after{
  transform:scaleX(1);
}

.workflow-card:hover .workflow-icon{
  box-shadow:0 13px 24px rgba(23,105,255,.3);
  transform:scale(1.06) rotate(-3deg);
}

.workflow-icon{
  transition:
    transform .24s ease,
    box-shadow .24s ease;
}

/* Portfolio card lift */
.gallery button{
  box-shadow:0 8px 20px rgba(12,23,48,.08);
  transition:
    transform .24s ease,
    box-shadow .24s ease;
}

.gallery button:hover{
  box-shadow:0 17px 34px rgba(12,23,48,.18);
  transform:translateY(-4px);
}

.gallery button:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:4px;
}

/* CTA gets subtle interactive feedback */
.cta .btn{
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.cta .btn:hover{
  box-shadow:0 14px 32px rgba(76,141,255,.34);
  transform:translateY(-3px);
}

/* Scroll reveal base state
   JavaScript adds .is-visible when section enters viewport */
.reveal-on-scroll{
  opacity:0;
  transform:translateY(22px);
  transition:
    opacity .58s ease,
    transform .58s cubic-bezier(.2,.7,.2,1);
}

.reveal-on-scroll.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* Workflow cards reveal with a small stagger */
.workflow-card.reveal-on-scroll:nth-child(2){
  transition-delay:.06s;
}

.workflow-card.reveal-on-scroll:nth-child(3){
  transition-delay:.12s;
}

.workflow-card.reveal-on-scroll:nth-child(4){
  transition-delay:.18s;
}

.workflow-card.reveal-on-scroll:nth-child(5){
  transition-delay:.24s;
}

/* Tablet: process connector should not cross the 3-column layout */
@media(max-width:1050px){
  .workflow-grid::before{
    display:none;
  }
}

/* Mobile: keep process cards clean and non-distracting */
@media(max-width:600px){
  .nav nav a::after{
    bottom:-4px;
  }

  .workflow-card:hover{
    transform:translateY(-3px);
  }

  .workflow-card::after{
    height:3px;
  }
}

/* Respect visitor/device accessibility preference */
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
  }

  .reveal-on-scroll{
    opacity:1;
    transform:none;
  }
}

/* =========================================
   THUMBNAIL EDITING VISUAL DEMO
   Option A: existing image + CSS animation
   ========================================= */

.thumbnail-edit-demo{
  width:100%;
  max-width:620px;
  margin-left:auto;
}

.thumbnail-edit-frame{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  width:100%;
  border:1px solid rgba(126,173,255,.38);
  border-radius:22px;
  background:#0a1730;
  box-shadow:
    0 25px 60px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,255,255,.04) inset;
}

.thumbnail-edit-image{
  display:block;
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  filter:saturate(.88) contrast(.96);
  transform:scale(1.015);
  animation:thumbnail-image-polish 6s ease-in-out infinite;
}

.thumbnail-edit-frame::after{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  content:"";
  background:
    linear-gradient(
      135deg,
      rgba(76,141,255,.12),
      transparent 42%,
      rgba(8,20,48,.2)
    );
  mix-blend-mode:screen;
}

.thumbnail-edit-scan{
  position:absolute;
  top:0;
  bottom:0;
  left:-8%;
  z-index:2;
  width:3px;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(144,197,255,.95) 25%,
      #fff 50%,
      rgba(144,197,255,.95) 75%,
      transparent
    );
  box-shadow:
    0 0 12px rgba(108,178,255,.95),
    0 0 30px rgba(23,105,255,.72);
  opacity:0;
  animation:thumbnail-scan 6s ease-in-out infinite;
}

.thumbnail-edit-selection{
  position:absolute;
  top:18%;
  left:14%;
  z-index:3;
  width:36%;
  height:48%;
  pointer-events:none;
  border:1px solid rgba(151,207,255,.94);
  border-radius:10px;
  box-shadow:
    0 0 0 999px rgba(5,15,37,.08),
    0 0 18px rgba(77,161,255,.5);
  opacity:0;
  animation:thumbnail-selection 6s ease-in-out infinite;
}

.thumbnail-edit-corner{
  position:absolute;
  z-index:4;
  width:13px;
  height:13px;
  pointer-events:none;
  border-color:#ddecff;
  opacity:0;
  animation:thumbnail-corners 6s ease-in-out infinite;
}

.corner-top-left{
  top:calc(18% - 4px);
  left:calc(14% - 4px);
  border-top:2px solid;
  border-left:2px solid;
}

.corner-top-right{
  top:calc(18% - 4px);
  left:calc(50% - 9px);
  border-top:2px solid;
  border-right:2px solid;
}

.corner-bottom-left{
  top:calc(66% - 9px);
  left:calc(14% - 4px);
  border-bottom:2px solid;
  border-left:2px solid;
}

.corner-bottom-right{
  top:calc(66% - 9px);
  left:calc(50% - 9px);
  border-right:2px solid;
  border-bottom:2px solid;
}

.thumbnail-edit-label{
  position:absolute;
  right:16px;
  bottom:16px;
  z-index:5;
  padding:7px 10px;
  border:1px solid rgba(174,213,255,.3);
  border-radius:999px;
  color:#edf6ff;
  background:rgba(5,15,37,.76);
  box-shadow:0 8px 20px rgba(0,0,0,.24);
  font-size:10px;
  font-weight:900;
  letter-spacing:.11em;
  opacity:0;
  transform:translateY(6px);
  animation:thumbnail-label 6s ease-in-out infinite;
}

.thumbnail-edit-cursor{
  position:absolute;
  z-index:5;
  color:#fff;
  text-shadow:
    0 0 8px #65a9ff,
    0 0 18px #1769ff;
  font-size:25px;
  line-height:1;
  opacity:0;
  animation:thumbnail-cursor 6s ease-in-out infinite;
}

.thumbnail-edit-status{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  color:#aebfe0;
  font-size:12px;
  font-weight:750;
}

.thumbnail-edit-status-dot{
  width:8px;
  height:8px;
  flex:none;
  border-radius:50%;
  background:#51a3ff;
  box-shadow:0 0 0 4px rgba(81,163,255,.12);
  animation:thumbnail-status-pulse 1.8s ease-in-out infinite;
}

@keyframes thumbnail-image-polish{
  0%,
  100%{
    filter:saturate(.88) contrast(.96);
    transform:scale(1.015);
  }

  45%,
  70%{
    filter:saturate(1.06) contrast(1.04);
    transform:scale(1.035);
  }
}

@keyframes thumbnail-scan{
  0%,
  15%{
    left:-8%;
    opacity:0;
  }

  23%{
    opacity:1;
  }

  55%{
    left:108%;
    opacity:1;
  }

  66%,
  100%{
    left:108%;
    opacity:0;
  }
}

@keyframes thumbnail-selection{
  0%,
  28%{
    opacity:0;
    transform:scale(.96);
  }

  38%,
  70%{
    opacity:1;
    transform:scale(1);
  }

  82%,
  100%{
    opacity:0;
    transform:scale(1.02);
  }
}

@keyframes thumbnail-corners{
  0%,
  30%{
    opacity:0;
  }

  38%,
  70%{
    opacity:1;
  }

  82%,
  100%{
    opacity:0;
  }
}

@keyframes thumbnail-label{
  0%,
  35%{
    opacity:0;
    transform:translateY(6px);
  }

  45%,
  72%{
    opacity:1;
    transform:translateY(0);
  }

  84%,
  100%{
    opacity:0;
    transform:translateY(-4px);
  }
}

@keyframes thumbnail-cursor{
  0%,
  32%{
    top:70%;
    left:9%;
    opacity:0;
    transform:scale(.8);
  }

  42%{
    opacity:1;
  }

  58%{
    top:29%;
    left:40%;
    opacity:1;
    transform:scale(1);
  }

  73%{
    top:63%;
    left:59%;
    opacity:1;
    transform:scale(.94);
  }

  84%,
  100%{
    top:63%;
    left:59%;
    opacity:0;
    transform:scale(.8);
  }
}

@keyframes thumbnail-status-pulse{
  0%,
  100%{
    opacity:.6;
    transform:scale(.9);
  }

  50%{
    opacity:1;
    transform:scale(1.1);
  }
}

/* Mobile sizing */
@media(max-width:900px){
  .thumbnail-edit-demo{
    max-width:none;
  }
}

@media(max-width:600px){
  .thumbnail-edit-frame{
    border-radius:17px;
  }

  .thumbnail-edit-label{
    right:11px;
    bottom:11px;
    padding:6px 8px;
    font-size:8px;
  }

  .thumbnail-edit-status{
    font-size:11px;
  }
}

/* Accessibility: respect reduced-motion preference */
@media(prefers-reduced-motion:reduce){
  .thumbnail-edit-image{
    animation:none;
    filter:saturate(1) contrast(1);
    transform:none;
  }

  .thumbnail-edit-scan,
  .thumbnail-edit-selection,
  .thumbnail-edit-corner,
  .thumbnail-edit-label,
  .thumbnail-edit-cursor,
  .thumbnail-edit-status-dot{
    animation:none;
  }

  .thumbnail-edit-selection,
  .thumbnail-edit-corner,
  .thumbnail-edit-label{
    opacity:1;
    transform:none;
  }

  .thumbnail-edit-scan,
  .thumbnail-edit-cursor{
    display:none;
  }

  .thumbnail-edit-status-text{
    color:#c5d0e6;
  }
}

/* =========================================
   PRIVATE ADMIN PREVIEW BANNER
   ========================================= */

.admin-preview-banner{
  position:relative;
  z-index:500;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 5%;
  color:#fff;
  background:
    linear-gradient(
      90deg,
      #7b3ff2,
      #1769ff
    );
  box-shadow:0 8px 24px rgba(17,36,86,.22);
}

.admin-preview-banner[hidden]{
  display:none!important;
}

.admin-preview-banner strong{
  display:block;
  font-size:11px;
  letter-spacing:.12em;
  font-weight:950;
}

.admin-preview-banner span{
  display:block;
  margin-top:2px;
  color:#e7efff;
  font-size:12px;
}

.admin-preview-banner button{
  flex:none;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:9px;
  color:#fff;
  background:rgba(255,255,255,.12);
  cursor:pointer;
  font:inherit;
  font-size:12px;
  font-weight:850;
  transition:
    background .2s ease,
    transform .2s ease;
}

.admin-preview-banner button:hover{
  background:rgba(255,255,255,.24);
  transform:translateY(-1px);
}

.admin-preview-banner button:focus-visible{
  outline:3px solid #ffe38a;
  outline-offset:3px;
}

@media(max-width:600px){
  .admin-preview-banner{
    align-items:flex-start;
    padding:10px 5%;
  }

  .admin-preview-banner span{
    max-width:220px;
    line-height:1.35;
  }

  .admin-preview-banner button{
    margin-top:1px;
  }
}

@media(prefers-reduced-motion:reduce){
  .admin-preview-banner button{
    transition:none;
  }
}

/* Direct section-link scroll
offset */

#services,
#thumbnails,
#workflow,
#portfolio,
#terms{
scroll-margin-top: 145px;
}

@media(max-width: 600px) {
#services,
#thumbnails,
#workflow,
#portfolio,
#terms{
scroll-margin-top:165px;
}
}
