/*-----------------------------------------------------------------------------------
  STARCODEPR.COM — Clean Build (site-star-26-v1)
  No Bootstrap, No jQuery, No external libraries
  Colors: Primary #7146f3, Accent #52a4de
  Fonts: Poppins, Muli, Poiret One (via Google Fonts)
-----------------------------------------------------------------------------------*/

/* ===== Reset & Basics ===== */
html{scroll-behavior:smooth}
*{margin:0;padding:0;box-sizing:border-box;outline:none;list-style:none;word-wrap:break-word}
body{color:#23003b;line-height:1.3;font-weight:400;font-size:14px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";overflow-x:hidden!important}
h4,h5{letter-spacing:1px}
p{font-size:15px;font-weight:400;color:#666;line-height:1.8;margin:0}
img{width:100%;height:auto}
span,a{display:inline-block;text-decoration:none;color:inherit}

/* ===== Typography (helper) ===== */
h1{font-size:55px}h2{font-size:40px}h3{font-size:35px}h4{font-size:30px}h5{font-size:25px}h6{font-size:18px}
h1,h2,h3,h4,h5,h6{margin:0;font-weight:600;line-height:1.4}

.featured-img-col {width: 100%;}

/* ===== Layout ===== */
.container{width:100%;max-width:1140px;margin:0 auto;padding:0 15px}
.row{display:flex;flex-wrap:wrap;margin:0 -15px}
.row>[class*="col-"]{box-sizing:border-box;padding-left:15px;padding-right:15px}
.col-sm-12{width:100%}.col-md-6{width:100%}.col-lg-3{width:100%}.col-lg-4{width:100%}
.col-lg-5{width:100%}.col-lg-6{width:100%}.col-lg-7{width:100%}.col-lg-8{width:100%}.col-lg-10{width:100%}.col-lg-12{width:100%}
.offset-lg-1{margin-left:0}.offset-lg-2{margin-left:0}
@media(min-width:768px){
  .col-md-6{width:50%}
}
@media(min-width:992px){
  .col-lg-3{width:25%}.col-lg-4{width:33.333%}.col-lg-5{width:41.666%}.col-lg-6{width:50%}
  .col-lg-7{width:58.333%}.col-lg-8{width:66.666%}.col-lg-10{width:83.333%}.col-lg-12{width:100%}
  .offset-lg-1{margin-left:8.333%}.offset-lg-2{margin-left:16.666%}
}

/* ===== Utilities ===== */
.section-padding{padding:120px 0}
.text-center{text-align:center}
.full-width{width:100%!important}
.valign{display:flex;align-items:center}
.align-items-center{align-items:center}
.justify-content-center{justify-content:center}
.bg-img{background-size:cover;background-repeat:no-repeat}
.bg-fixed{background-attachment:scroll}
.bg-gray{background:#fafafa; background-image: linear-gradient(-15deg,#fff 0%,#f6f6f6 50%,#e6e6e6 50%,#fff 100%);}
.custom-text{font-size:17px;font-weight:500;word-spacing:2px;line-height:1.7;color:#111}
.mt-30{margin-top:30px!important}
.mb-10{margin-bottom:10px!important}
.mb-30{margin-bottom:30px!important}
.mb-40{margin-bottom:40px!important}
.mb-50{margin-bottom:50px!important}
.mb-70{margin-bottom:70px!important}
.mb-80{margin-bottom:80px!important}
.pt-50{padding-top:50px!important}
.pb-50{padding-bottom:50px!important}
.mb-md50{margin-bottom:0}
.mb-md30{margin-bottom:0}
.mb-sm50{margin-bottom:0}
.cmb-120{margin-bottom:0}

/* ===== Overlay Effect ===== */
[data-overlay-dark],[data-overlay-light]{position:relative}
[data-overlay-dark] .container,[data-overlay-light] .container{position:relative;z-index:2}
[data-overlay-dark]:before,[data-overlay-light]:before{content:'';position:absolute;width:100%;height:100%;top:0;left:0;z-index:1}
[data-overlay-dark]:before{background:#010108}
[data-overlay-light]:before{background:#fff}
[data-overlay-dark] h1,[data-overlay-dark] h2,[data-overlay-dark] h3,[data-overlay-dark] h4,[data-overlay-dark] h5,[data-overlay-dark] h6,[data-overlay-dark] span{color:#fff}
[data-overlay-dark] p{color:#bbb}
[data-overlay-dark="0"]:before,[data-overlay-light="0"]:before{opacity:0}
[data-overlay-dark="1"]:before,[data-overlay-light="1"]:before{opacity:.1}
[data-overlay-dark="2"]:before,[data-overlay-light="2"]:before{opacity:.2}
[data-overlay-dark="3"]:before,[data-overlay-light="3"]:before{opacity:.3}
[data-overlay-dark="4"]:before,[data-overlay-light="4"]:before{opacity:.4}
[data-overlay-dark="5"]:before,[data-overlay-light="5"]:before{opacity:.5}
[data-overlay-dark="6"]:before,[data-overlay-light="6"]:before{opacity:.8}
[data-overlay-dark="7"]:before,[data-overlay-light="7"]:before{opacity:.7}
[data-overlay-dark="8"]:before,[data-overlay-light="8"]:before{opacity:.8}
[data-overlay-dark="9"]:before,[data-overlay-light="9"]:before{opacity:.9}
[data-overlay-dark="10"]:before,[data-overlay-light="10"]:before{opacity:1}

/* ===== Section Head ===== */
.section-head{margin-bottom:80px;padding-bottom:20px;position:relative}
.section-head:after{content:'';width:120px;height:1px;position:absolute;bottom:0;left:calc(50% - 60px);background:linear-gradient(to right,transparent,#7146f3,transparent)}
.section-head h4{font-size:30px}

/* ===== Preloader ===== */
.loading{position:fixed;top:0;left:0;height:100%;width:100%;background-color:#000;z-index:9999999999999}
.loading .middle{position:absolute;top:50%;width:100%}
.lds-ellipsis{display:inline-block;position:relative;width:64px;height:64px}
.lds-ellipsis div{position:absolute;top:27px;width:11px;height:11px;border-radius:50%;background:#fff;animation-timing-function:cubic-bezier(0,1,1,0)}
.lds-ellipsis div:nth-child(1){left:6px;animation:lds-ellipsis1 .6s infinite}
.lds-ellipsis div:nth-child(2){left:6px;animation:lds-ellipsis2 .6s infinite}
.lds-ellipsis div:nth-child(3){left:26px;animation:lds-ellipsis2 .6s infinite}
.lds-ellipsis div:nth-child(4){left:45px;animation:lds-ellipsis3 .6s infinite}
@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}
@keyframes lds-ellipsis2{0%{transform:translate(0,0)}100%{transform:translate(19px,0)}}

/* ===== Buttons ===== */
.butn{padding:12px 20px;background:#fff;border:1px solid transparent;position:relative;z-index:3;margin-left:10px;margin-right:10px;box-shadow:0 10px 30px rgba(0,0,0,.1);border-radius:40px;transition:background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1);cursor:pointer;outline:none!important;overflow:hidden}
.butn span{position:relative;z-index:2;transition-delay:0s}
.butn:before,.butn:after{content:'';width:0;height:100%;background:#fff;position:absolute;left:0;top:0;transition:width 0.4s cubic-bezier(0.25, 1, 0.5, 1);z-index:1;opacity:.4}
.butn:after{transition-delay:0s;background:#fff;opacity:1}
.butn:hover:before,.butn:hover:after{width:100%}
.butn:hover:after{transition-delay:.2s}
.butn:hover span{transition-delay:.2s}
.butn-bg{background:#7146f3;background:linear-gradient(to right,#52a4de,#7146f3);border-color:transparent;color:#fff;box-shadow:0 10px 30px rgba(113,70,243,.4)}
.butn-bg:hover span{color:#7146f3}
.butn-light{background:#fff}
.butn-light:before,.butn-light:after{background:#7146f3}
.butn-light:hover span{color:#fff}
.butn-light span{color:#7146f3}

/* ===== Navbar ===== */
.navbar{position:absolute;left:0;top:0;width:100%;background:transparent;z-index:9;min-height:80px;display:flex;align-items:center}
.navbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}
.navbar .icon-bar{color:#fff}
.navbar .navbar-nav{display:flex;list-style:none;margin:0;padding:0;flex-wrap:wrap;align-items:center}
.navbar .navbar-nav .nav-link{font-size:13px;font-weight:500;color:#eee;letter-spacing:.5px;margin:15px 5px;position:relative;transition:color 0.4s cubic-bezier(0.25, 1, 0.5, 1);padding:5px 8px}
.navbar .navbar-nav .nav-link:after{content:'';width:15px;height:2px;background:#7146f3;position:absolute;bottom:0;left:10px;opacity:0}
.navbar .navbar-nav .active{color:#7146f3!important}
.navbar .navbar-nav .active:after{opacity:1}
.navbar-toggler{display:none;background:none;border:none;font-size:24px;color:#fff;cursor:pointer;padding:10px}
.mobile-header-actions{display:none;align-items:center}
.logo{width:120px}
.chevron { width: 14px; height: 14px; margin-left: 4px; vertical-align: middle; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }

.nav-scroll{background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.05);padding:0;position:fixed;top:0;left:0;width:100%;z-index:9;transition:transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.5s ease, box-shadow 0.5s ease;transform:translateY(0)}
.nav-scroll .icon-bar{color:#222}
.nav-scroll .navbar-nav .nav-link{color:#222}
.nav-scroll .logo{padding:15px 0;color:#111}

/* ===== Header ===== */
.header{min-height:100vh;overflow:hidden;display:flex;align-items:center}
.header .caption h4{font-weight:200;letter-spacing:4px}
.header .caption h1{margin:10px 0;font-size:60px;font-weight:500;font-family:inherit;word-spacing:2px;letter-spacing:2px}
.header .caption p{font-size:15px;font-weight:300;color:#eee;letter-spacing:1px;word-spacing:2px}
.header .caption .butn{margin-top:30px}

/* ===== Hero ===== */
.hero .intro h5{color:#7146f3;margin-bottom:10px}
.hero .intro p{margin-top:15px;position:relative;padding-bottom:30px}
.hero .intro p:after{content:'';width:120px;height:1px;position:absolute;bottom:0;left:calc(50% - 60px);background:linear-gradient(to right,transparent,#7146f3,transparent)}
.hero .item{padding:60px 10px;background:#fff;box-shadow:0 10px 44px -5px rgba(0,0,0,.1);border-radius:5px;position:relative}
.hero .item:hover .img-overlay{transform:translateY(0);opacity:1}
.hero .item:hover .icon{background:rgba(255,255,255,.05)}
.hero .item:hover h6{color:#fff}
.hero .item:hover p{color:#aaa}
.hero .item .img-overlay{position:absolute;top:-5px;left:-5px;right:-5px;bottom:-5px;transform:translateY(10px);border-radius:5px;overflow:hidden;opacity:0;transition:all .5s}
.hero .item .icon{color:#7146f3;width:80px;height:80px;border-radius:50%;background:rgba(113,70,243,.02);margin:0 auto 30px;position:relative;z-index:2;display:flex;align-items:center;justify-content:center}
.hero .item h6{margin-bottom:15px;font-size:1.4em;position:relative;z-index:2}
.hero .item p{font-size:14px;position:relative;z-index:2}
.hero .item .hero-price{font-size:15px;margin:0;line-height:1.5; color: #6C42E8;}


@media (min-width:992px){
  .hero .hero-offer-grid > .col-lg-3{display:flex;padding-left:11px;padding-right:11px}
  .hero .hero-offer-grid .item{width:100%;height:100%;min-height:382px;padding:52px 20px 34px;display:flex;flex-direction:column}
  .hero .hero-offer-grid .item p{flex:1;margin-bottom:24px}
  .blog .home-info-grid > .col-lg-4{display:flex;padding-left:12px;padding-right:12px}
  .blog .home-info-grid .item{width:100%;height:100%;display:flex;flex-direction:column}
  .blog .home-info-grid .item .cont{flex:1;display:flex;flex-direction:column}
  .blog .home-info-grid .item .cont p{flex:1}
  .contact .home-contact-grid > .col-lg-4{display:flex;padding-left:12px;padding-right:12px}
  .contact .home-contact-grid .item{width:100%;height:100%}
}

/* ===== Video / About ===== */
.video .content h5{color:#7146f3;font-size:18px;margin-bottom:10px}
.video .content h3{font-size:28px;margin-bottom:15px}
.video .content .butn{margin:30px 0 0}
.video .image{position:relative}
.video .image:after{content:'';width:0;height:0;border-top:200px solid #7146f3;border-left:200px solid transparent;position:absolute;right:-15px;top:-15px;z-index:-1}
.video .image img{box-shadow:0 10px 60px rgba(0,0,0,.1);border-radius:5px}

/* ===== Services ===== */
.services .tabs-icon{display:flex;flex-wrap:nowrap;justify-content:center;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-top:15px;margin-top:-15px;padding-bottom:15px;margin-bottom:-15px}
.services .tabs-icon::-webkit-scrollbar{display:none}
.services .tabs-icon .item{padding:35px 15px;background:#fff;border-right:1px solid #f7f7f7;cursor:pointer;text-align:center;flex:1;min-width:0;position:relative;z-index:1;transition:transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;flex-shrink:0}
.services .tabs-icon .item .icon{margin-bottom:15px;color:#7146f3;display:flex;align-items:center;justify-content:center}
.services .tabs-icon .item h6{font-size:14px;font-weight:300;white-space:nowrap}
.services .tabs-icon .item.active{color:#fff;background:#7146f3;transform:translateY(-10px);box-shadow:0 12px 30px rgba(113,70,243,.25);z-index:2}
.services .tabs-icon .item.active .icon{color:#fff}
.services .services-content .cont{display:none}
.services .services-content .cont .services-info{text-align:right}
.services .services-content .cont h5{font-size:18px;color:#7146f3;margin-bottom:10px}
.services .services-content .cont h3{line-height:1.4}
.serv-cont {margin-left: 20px;}
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.services .services-content .active{display:block;animation:fadeInTab 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards}

/* ===== Features ===== */
.featrues .bord{position:relative}
.featrues .bord:before{content:'';height:100%;width:1px;position:absolute;left:0;top:0;background:linear-gradient(to top,transparent,#fff,transparent);opacity:.3}
.featrues .bord:after{content:'';height:100%;width:1px;position:absolute;right:0;top:0;background:linear-gradient(to top,transparent,#fff,transparent);opacity:.3}
.featrues hr{border:0;height:1px;width:100%;background:linear-gradient(to right,transparent,#fff,transparent,transparent,#fff,transparent,transparent,#fff,transparent);opacity:.3}
.featrues .item{text-align:center;padding:20px 10px}
.featrues .item .icon{margin-bottom:30px;color:#7146f3;display:flex;align-items:center;justify-content:center}
.featrues .item h6{margin-bottom:15px;font-size:1.4em;font-weight:500}

/* ===== Price ===== */
.price{padding-bottom:180px}
.price .item{position:relative;height:100%;z-index:3;padding-right:15px;padding-left:15px;text-align:center}
.price .item .cont{position:relative;background:#fff;padding:0 40px 20px;border-radius:5px;box-shadow:0 10px 40px rgba(255,255,255,.4);top:-15px;margin-top:15px}
.price .item .cont{padding:0 0 20px!important}
.price .item h6{background:#111;padding:10px;color:#FFF!important}
.price .item .type h6{color:#fff;font-size:15px;letter-spacing:2px;text-transform:uppercase;margin-bottom:0}
.price .item .price-val{padding-bottom:30px;border-bottom:1px solid #eee}
.price .item .price-val h4{font-size:50px;margin-bottom:15px;font-family:inherit;font-weight:100}
.price .item .price-val span{font-size:14px}
.price .item .price-val p{text-transform:uppercase;letter-spacing:4px;font-size:12px}
.price .item .feat{padding:30px 20px 0}
.price .item .feat ul{margin-bottom:0}
.price .item .feat li{margin-bottom:10px;color:#777}
.price .item .feat li:last-child{margin:0}
.price .item .order{background:#401fa4!important;border-radius:15px!important;transform:translateZ(0);position:absolute;top:0;left:0;bottom:-60px;right:0;z-index:-1}
.price .center .order{background:#7146f3!important}
.price .item .order .butn{position:absolute;bottom:15px;left:calc(50% - 80px)}

@media (min-width:992px){
  .price .home-price-grid > .col-lg-4{display:flex;padding-left:12px;padding-right:12px}
  .price .home-price-grid .item{width:100%;display:flex;flex-direction:column}
  .price .home-price-grid .item .cont{flex:1}
}

/* ===== Team / Extra Services ===== */
.team{padding-bottom:90px}
.team .item:hover .info{top:0;opacity:1}
.team .item .team-img{background:#FFF;width:100%;max-width:200px;aspect-ratio:1;border-radius:50%;overflow:hidden;margin:0 auto 30px;box-shadow:0 10px 20px rgba(0,0,0,.1);position:relative;display:flex;align-items:center;justify-content:center}
.team .item .info{position:absolute;top:100%;left:0;height:100%;width:100%;border-radius:50%;background:rgba(113,70,243,.8);color:#fff;opacity:0;transition:all .3s;display:flex;align-items:center;justify-content:center}
.team .item h6{margin-bottom:5px;font-size:16px}
.team .item span{font-size:13px;color:#777;}

/* ===== Testimonials / Portfolio ===== */
.testimonials .item p{font-size:17px;font-weight:300;font-style:italic}
.testimonials .item h6{font-size:15px;font-weight:500;margin:20px auto 5px;color:#7146f3}

/* ===== Carousel ===== */
.carousel-wrapper{position:relative;overflow:hidden}
.carousel-track{display:flex;transition:transform .5s ease}
.carousel-track .item{flex:0 0 100%;min-width:0;padding:0 15px;box-sizing:border-box}
.carousel-nav{display:flex;justify-content:center;gap:8px;margin-top:20px}
.carousel-nav button{width:10px;height:10px;border-radius:50%;border:none;background:#ddd;cursor:pointer;padding:0;transition:background .3s}
.carousel-nav button.active{background:#7146f3}
.carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,.3);color:#fff;border:none;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:18px;z-index:3;display:flex;align-items:center;justify-content:center;transition:background .3s}
.carousel-arrow:hover{background:#7146f3}
.carousel-arrow.prev{left:5px}
.carousel-arrow.next{right:5px}

/* Clients carousel */
.clients .carousel-track .item{flex:0 0 14.28%;display:flex;align-items:center;justify-content:center;padding:10px 20px}
.clients .carousel-track .item img{max-width:120px;opacity:.6;transition:opacity .3s}
.clients .carousel-track .item img:hover{opacity:1}

/* Portfolio carousel */
.testimonials.carousel-single .carousel-track .item{flex:0 0 50%}
.testimonials.carousel-single .carousel-track .item img{border-radius:5px}

/* Team carousel */
.team .carousel-track .item{flex:0 0 20%;text-align:center;padding:0 8px}

/* ===== Blog / Info ===== */
.blog .item{text-align:center;margin-bottom:10px;box-shadow:0 10px 40px rgba(0,0,0,.1)}
.blog .item .cont{background:#fff;padding:30px 30px 50px;border-radius:0 0 5px 5px;position:relative}
.blog .item .info{margin-bottom:10px}
.blog .item .info a{font-size:12px;color:#777;margin-right:10px}
.blog .item h6{margin-bottom:15px}
.blog .item .more{width:120px;height:35px;line-height:35px;border-radius:30px;background:#7146f3;color:#fff;font-size:12px;position:absolute;bottom:-10px;left:calc(50% - 60px);text-align:center;box-shadow:0 10px 40px rgba(0,0,0,.1);overflow:hidden;transition:all .3s}
.blog .item .more:hover{background:#000010}

/* ===== Contact ===== */
.contact .info .item{padding:40px 30px;background:#fff;box-shadow:0 20px 44px -8px rgba(0,0,0,.1);border-radius:5px;position:relative}
.contact .info .item .img-overlay{position:absolute;top:0;left:0;right:0;bottom:0;border-radius:5px;overflow:hidden}
.contact .info .item .icon{float:left;text-align:center;color:#7146f3;width:70px;height:70px;border-radius:50%;background:rgba(255,255,255,.05);margin-bottom:30px;position:relative;z-index:2;display:flex;align-items:center;justify-content:center}
.contact .info .item .cont{margin-left:85px}
.contact .info .item h6{color:#fff;margin-bottom:15px;font-size:16px;position:relative;z-index:2}
.contact .info .item p{color:#aaa;font-size:14px;position:relative;z-index:2}
.contact p{text-transform:none!important}
.cont a:hover{text-decoration:underline}

/* ===== Footer ===== */
/* Common Mega components used in both Header Dropdown and Footer */
.mega-col {
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07); /* --border */
  display: flex;
  flex-direction: column;
}
.mega-col:last-child { border-right: none; padding-right: 0; }
.mega-col:not(:first-child) { padding-left: 32px; }

.mega-col-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
  color: #53a0df; /* --accent */
  margin-bottom: 16px;
}
.mega-col-label svg { width: 14px; height: 14px; flex-shrink: 0; }

.mega-col > a,
.mega-special-links > a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; margin-bottom: 2px;
  font-size: 13.5px; color: #FFF; /* --muted */
  text-decoration: none;
  transition: background .15s, color .15s; cursor: pointer;
}
.mega-col > a:hover,
.mega-special-links > a:hover { background: #131c2e; /* --surface2 */ color: #e8f0ff; /* --text */ }

.mega-col > a::before,
.mega-special-links > a::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.13); /* --border2 */
  flex-shrink: 0;
  transition: background .15s;
}
.mega-col > a:hover::before,
.mega-special-links > a:hover::before { background: #53a0df; /* --accent */ }

/* ─── NEW TOP MEGA MENU ──────────────────────── */
.mega-overlay {
  position: fixed; inset: 0; z-index: 990;
  background: rgba(0,0,0,.5); opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.mega-overlay.show { opacity: 1; pointer-events: all; }

.mega-menu {
  position: fixed; top: 70px; left: 0; right: 0; z-index: 995;
  background: #0d1422; /* --surface */
  border-bottom: 1px solid rgba(255,255,255,0.13); /* --border2 */
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .35s cubic-bezier(.32,.72,0,1), opacity .25s;
  max-height: calc(100vh - 70px - 20px); overflow-y: auto;
}
@media screen and (min-width: 992px) {
  .mega-menu { top: 78px; } /* Adjust for taller desktop header */
}
.mega-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; 
}

.mega-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 36px 24px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}


.mega-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; border-top: 1px solid rgba(255,255,255,0.07); /* --border */
  max-width: 1280px; margin: 0 auto;
}
.mega-footer p { font-size: 13px; color: #999; }
.mega-footer a {
  font-size: 13px; font-weight: 600; color: #53a0df;
  text-decoration: none; display: flex; align-items: center; gap: 6px;
}
.mega-footer a:hover { opacity: .8; }

/* Mega Menu Helper Classes (previously inline styles) */
.mega-col-label-mt { margin-top: 20px; }
.mega-special-links { order: -1; margin-top: 0; margin-bottom: 20px; }
.mega-special-links > a { font-weight: 600; text-transform: uppercase; color: #fff; }
.mega-promo-box { 
    margin-top: 24px;
    padding: 16px;
    background: #53a0df17;
    border: 1px solid #53a0df5c;
    border-radius: 10px;
}
.mega-promo-badge { font-size: 12px; color: #53a0df; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.mega-promo-text { font-size: 13px; color: #999; line-height: 1.6; margin-bottom: 0; }
.mega-promo-link { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; color: #53a0df; text-decoration: none; }

/* Adjustments for the menu in the footer context */
.footer-menu-container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding-top: 40px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 40px;
  text-align: left;
}
.footer-menu-container .mega-col {
  padding: 0; border: none;
}
.footer-menu-container .mega-item {
  padding: 0; border-radius: 0; margin-bottom: 8px;
  background: transparent !important; color: #888;
  font-size: 13px; line-height: 1.4; display: block;
}
.footer-menu-container .mega-item:hover { color: #7146f3; }
.footer-menu-container .mega-item-dot { display: none; }
.footer-menu-container .mega-col-label { 
  color: #fff; font-size: 14px; margin-bottom: 12px; padding: 5px 0;
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-menu-container .mega-col-label svg {
  color: #888; width: 14px; height: 14px; /* match old icon style slightly */
}
.footer-menu-container .mega-special-links { margin-top: 0; }
.footer-menu-container .mega-item-highlight {
  font-size: 14px; color: #fff; text-transform: uppercase; font-weight: 600;
  margin-bottom: 8px;
}

footer .footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:left;margin:40px 0}
footer .footer-grid h6{color:#fff;font-size:15px;margin-bottom:16px;text-transform:uppercase;letter-spacing:1px}
footer .footer-grid p,footer .footer-grid a{color:#999;font-size:14px;line-height:2;text-decoration:none;display:block}
footer .footer-grid a:hover{color:#7146f3}
footer .footer-actions{display:flex;gap:12px;margin-top:16px;flex-wrap:wrap}
footer .footer-actions .butn{font-size:13px;padding:5px 20px;border-radius:25px; color:#fff}
footer .social{margin:20px 0}
footer .social a{color:#fff;font-size:13px;border-radius:50%;background:rgba(100,100,100,.15);margin:0 5px;padding:10px;transition:background .2s}
footer .social a:hover{background:#7146f3}
footer .footer-bottom{border-top:1px solid rgba(255,255,255,.06);padding:25px 0;margin-top:25px}
footer .footer-bottom p{color:#666;font-weight:400;font-size:11px;text-transform:uppercase;letter-spacing:2px}

/* ===== Flex Container (for info blocks) ===== */
.flex-container{display:flex;flex-wrap:wrap;gap:20px;margin-top:50px}
.flex-block{flex:1 1 48%;background:#f5f5f5;padding:0 20px;border-radius:5px;transform:translateZ(0);overflow:hidden;
  background-image:linear-gradient(-15deg,#fff 0%,#fff 20%,#f0f0f0 20%,#f9f9f9 40%,#ececec 40%,#eee 60%,#e8e8e8 60%,#fff 80%,#e1e1e1 80%,#e6e6e6 100%);background-size:cover;background-repeat:no-repeat}
.flex-block :is(h2,h3){color:#FFF;background:linear-gradient(to right,var(--clr-primary-start),var(--clr-primary-end));margin:0 -20px;padding:20px;font-size:1.4rem}
.flex-block ul li{list-style:square;padding:5px 0;margin-left:20px;color:#666}
.flex-block ul{margin:10px 0}
.flex-block p{padding:10px 0}
.flex-block a{margin:20px 0}
.flex-block ul li::marker{color:#7146f3}

/* ===== SVG Icon Sizes ===== */
.svg-icon{display:inline-block;vertical-align:middle;color:inherit;fill:currentColor;}
.svg-icon-big{display:inline-block;vertical-align:middle;color:#7146f3;fill:currentColor}
.svg-icon-sm{display:inline-block;vertical-align:middle;color:inherit;fill:currentColor}
.svg-icon-social{display:inline-block;vertical-align:middle;color:inherit;fill:currentColor;margin-right: 5px;}
.footer-grid .svg-icon {margin-right: 5px;}

.icon_big{margin:0;color:#7146f3!important;display:flex;align-items:center;justify-content:center}
.icon_big2{padding:50px;color:#7146f3!important;display:flex;align-items:center;justify-content:center}

/* Ensure .icon wrapping span shows SVG properly */
.icon svg{display:block}



/* ===== Scrollbar ===== */
@media screen and (min-width:1024px){
  ::-webkit-scrollbar-thumb{background:#666;border-radius:10px}
  ::-webkit-scrollbar{width:6px;height:5px;background:#000}
}

/* ===== Popup / Modal ===== */
:root{
  --clr-primary-start:#52a4de;
  --clr-primary-end:#7146f3;
  --clr-highlight:#559ddf;
  --radius:10px;
}
#modal{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;justify-content:center;align-items:flex-start;overflow-y:auto;padding:20px 10px;z-index:1000}
#modal.active{display:flex}
#popup{position:relative;margin:auto;width:min(100%,480px);max-width:360px;border-radius:20px;padding:0;text-align:center;background:linear-gradient(135deg,#fff 0%,#f2f6ff 50%,#e8efff 100%);box-shadow:0 8px 30px rgba(0,0,0,.15)}
#closeBtn{position:absolute;top:8px;right:10px;background:none;border:none;font-size:1.6rem;line-height:1;color:#FFF;cursor:pointer}
.subtitle{font-size:1.2rem;color:var(--clr-highlight)}
.slider-wrap{margin:1rem 0 1.25rem}
#slider{-webkit-appearance:none;appearance:none;width:100%;height:40px;background:transparent;cursor:pointer;border-radius:var(--radius)}
#slider::-webkit-slider-runnable-track{height:18px;border-radius:var(--radius);background:#e2e8f0}
#slider::-moz-range-track{height:18px;border-radius:var(--radius);background:#e2e8f0}
#slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:36px;height:36px;border-radius:50%;border:none;background:linear-gradient(to right,var(--clr-primary-start),var(--clr-primary-end));margin-top:-9px}
#slider::-moz-range-thumb{width:36px;height:36px;border:none;border-radius:50%;background:#CCC}
#target-number{font-size:1.6rem;font-weight:600;color:var(--clr-highlight)}
#current-value{font-size:1.1rem;margin-top:.3rem;color:#555;margin-top:10px}
#status{margin-top:.6rem;font-size:.95rem;height:1.5em;color:#d32f2f}
.links{margin-top:1.2rem}
.links a{display:inline-block;margin:.35rem .6rem;padding:.4rem 1.4rem;border-radius:var(--radius);background:var(--clr-primary-start);color:#fff;text-decoration:none;font-size:.9rem;border:none;opacity:.35;pointer-events:none;transition:opacity .2s ease,transform .2s}
.links a.active{opacity:1;pointer-events:auto}
.links a:active{transform:scale(.96)}
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.head-pop{background:linear-gradient(to right,var(--clr-primary-start),var(--clr-primary-end));padding:20px 0}
.head-pop h2{color:#FFF;font-size:1.8rem;padding-left: 20px;}
.hw-antialiased{overflow:hidden;will-change:transform;transform:translateZ(0)}
.inter-pop{padding:20px}
.inter-pop p:nth-of-type(2){font-size:1.1rem}
@media(hover:none){.links a{display:block;width:100%;margin:.45rem auto}}

/* Lead modal */
#lead-modal{position:fixed;inset:0;background:rgba(0,0,0,.6);justify-content:center;align-items:flex-start;overflow-y:auto;padding:20px 10px;z-index:2000}
#lead-popup{position:relative;margin:auto;width:min(100%,480px);max-width:420px;border-radius:20px;box-shadow:0 8px 30px rgba(0,0,0,.15);background:linear-gradient(135deg,#fff 0%,#f2f6ff 50%,#e8efff 100%)}
#lead-closeBtn{position:absolute;top:8px;right:10px;background:none;border:none;font-size:1.6rem;line-height:1;color:#FFF;cursor:pointer;z-index:5}
#lead-target-number{font-size:1.4rem;font-weight:600;color:var(--clr-highlight)}
#lead-current-value{font-size:1rem;margin-top:.3rem;color:#555}
#lead-status{margin-top:.25rem;font-size:.95rem;height:1.5em;color:#d32f2f}
#lead-slider{-webkit-appearance:none;appearance:none;width:100%;height:40px;background:transparent;cursor:pointer;border-radius:var(--radius)}
#leadForm input[type="text"],#leadForm textarea{padding:8px;border-radius:8px;border:1px solid #e2e8f0;width:100%;font-family:inherit;font-size:14px}
#leadForm textarea{resize:vertical}
#lead-submit{width:100%;padding:.6rem 1rem;border-radius:10px;margin:0}

.text-underline{text-decoration:underline}
.clr-primary{color:#7146f3}
.clr-accent{color:#559ddf}
.price-note{text-align:center;margin-top:110px}
.price-note p{color:#7146f3;font-size:1.3rem}
.google-badge{width:auto;max-width:200px}
.hero-contact-link{font-size:1.1em;color:#559ddf;text-decoration:underline}
.team .info .contactLink{text-decoration:underline;font-size:16px}

/* Extracted from inline styles */
.footer-icon{margin-right:6px;vertical-align:-1px}
.hero-price{font-size:14px}
.team-info-link{text-decoration:underline;font-size:16px}
.portfolio-note{text-align:center;font-size:20px;color:#FFF;width:100%;margin-top:30px}
.portfolio-note .butn{font-size:14px}
.cta-headline{color:#00000f;font-size:1.5em;margin-top:50px}
.cta-wrap{margin:15px 0}
.lead-form-grid{display:grid;gap:10px}
.footer-badge{margin-bottom:10px}
.footer-badge iframe{border-radius:10px}
.footer-actions-desc{color:#999;margin-bottom:12px}
.logo-offset{margin-top:-10px}
.butn-round{border-radius:25px}

/* ===== GPU Acceleration ===== */
.carousel-track{will-change:transform;backface-visibility:hidden}
.navbar{will-change:transform;backface-visibility:hidden}
.team .item .info{will-change:transform}
.bg-fixed{will-change:auto;contain:paint}

.extra-services-bg {
  background-color: #f6f6f6;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ===== A hover ===== */
.a-hover:hover{color:#7146f3!important;z-index:5}

.post-img {background-image: linear-gradient(-15deg, #e1e1e1 0%, #fff 100%);}

/* ===== Mobile Menu Panel ===== */
.mobile-menu-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-menu-overlay.show { opacity: 1; pointer-events: all; }

.mobile-menu-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px); z-index: 1010;
  background: linear-gradient(180deg, #0d1422 0%, #111a2e 100%);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 40px rgba(0,0,0,.4);
}
.mobile-menu-panel.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.mobile-menu-header .logo { width: 100px; }
.mobile-menu-header .logo img { filter: none !important; }

.mobile-menu-close {
  background: rgba(255,255,255,.08); border: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.mobile-menu-close svg { width: 20px; height: 20px; color: #fff; }
.mobile-menu-close:hover { background: rgba(255,255,255,.15); }

.mobile-menu-body {
  flex: 1; overflow-y: auto; padding: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent;
}

/* Nav links row */
.mobile-nav-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-nav-link {
  padding: 9px 18px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #c0cee6; font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all .2s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: linear-gradient(135deg, #52a4de, #7146f3);
  color: #fff;
}

/* Accordion */
.mobile-acc { display: flex; flex-direction: column; gap: 4px; }
.mobile-acc-section { border-radius: 10px; overflow: hidden; }

.mobile-acc-header {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: none; border-radius: 10px;
  color: #c0cee6; font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer;
  transition: background .2s, color .2s;
  letter-spacing: .02em;
}
.mobile-acc-header:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-acc-header > svg:first-child { width: 18px; height: 18px; flex-shrink: 0; color: #53a0df; }
.mobile-acc-header.active { background: rgba(113,70,243,.12); color: #fff; }
.mobile-acc-header.active > svg:first-child { color: #7146f3; }

.mobile-acc-chevron {
  width: 14px; height: 14px; margin-left: auto; flex-shrink: 0;
  transition: transform .3s ease;
}
.mobile-acc-header.active .mobile-acc-chevron { transform: rotate(180deg); }

.mobile-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 16px;
}
.mobile-acc-body.open {
  max-height: 500px;
  padding: 8px 16px 14px;
}
.mobile-acc-body a {
  display: block; padding: 9px 12px; border-radius: 8px;
  color: #6a7fa8; font-size: 13.5px;
  text-decoration: none; transition: all .15s;
}
.mobile-acc-body a:hover { background: rgba(255,255,255,.06); color: #e8f0ff; }

/* Footer of mobile panel */
.mobile-menu-footer {
  flex-shrink: 0; padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(0,0,0,.15);
}
.mobile-menu-contacts {
  display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap;
}
.mobile-contact-btn {
  display: inline-flex !important; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #c0cee6 !important; font-size: 13px;
  text-decoration: none !important; transition: all .2s;
}
.mobile-contact-btn:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.mobile-cta-btn {
  display: block !important; width: 100%; text-align: center;
  border-radius: 12px !important; padding: 14px 20px !important;
  font-size: 15px; font-weight: 600;
}

/* Hide on desktop */
@media (min-width: 992px) {
  .mobile-menu-panel, .mobile-menu-overlay { display: none !important; }
}
/* Hide old mobile navbar-nav dropdown on all sizes — we use the new panel instead */
@media (max-width: 991px) {
  .navbar .navbar-nav { display: none !important; }
}

/* ===== Responsive ===== */
@media screen and (max-width:991px){
  .mb-md50{margin-bottom:50px!important}
  .mb-md30{margin-bottom:30px!important}
  .cmb-120{margin-bottom:120px!important}
  .bg-fixed{background-attachment:scroll!important}
  .navbar-toggler{display:block}
  .mobile-header-actions{display:flex}

  /* Modernized mobile menu scroll transitions */
  .navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  }
  .navbar .logo {
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1), transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .navbar-toggler {
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* Compact glassmorphic header on scroll (Level 1) */
  .navbar.nav-scroll {
    background: rgba(255, 255, 255, 0.88) !important;
    /* backdrop-filter: blur(12px); */
    /* -webkit-backdrop-filter: blur(12px); */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* Scrolled deep: hide header bar, hide logo, leave floating burger (Level 2) */
  .navbar.nav-scrolled-deep {
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: none !important;
    pointer-events: none; /* Let clicks pass through transparent bar */
  }
  .navbar.nav-scrolled-deep .logo {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
  .navbar.nav-scrolled-deep .mobile-header-actions {
    pointer-events: auto; /* Keep toggler container clickable */
  }
  .navbar.nav-scrolled-deep .navbar-toggler {
    pointer-events: auto; /* Keep toggler clickable */
    background: rgba(13, 20, 34, 0.75) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0.6; /* "еле заметное" */
  }
  .navbar.nav-scrolled-deep .navbar-toggler:hover,
  .navbar.nav-scrolled-deep .navbar-toggler:focus,
  .navbar.nav-scrolled-deep .navbar-toggler:active {
    opacity: 1 !important;
    transform: scale(1.08) !important;
    background: rgba(13, 20, 34, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 24px rgba(113, 70, 243, 0.3) !important;
  }
  .navbar.nav-scrolled-deep .navbar-toggler .icon-bar {
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .navbar .navbar-nav{display:none;width:100%;background:#111;text-align:center;padding:10px 0;flex-direction:column}
  .navbar .navbar-nav.show{display:flex}
  .navbar .nav-link{margin:10px auto!important}
  .nav-scroll .navbar-nav .nav-link{color:#fff!important}
  .nav-scroll .navbar-nav .active{color:#7146f3!important}
  .navbar .navbar-nav .nav-link:after{left:calc(50% - 7px)}
  .header{background-attachment:scroll!important;background-position:50% 0%!important}
  .header .caption h4{font-size:30px}
  .header .caption h1{font-size:45px;line-height:1.4}
  .services .services-content .cont h3{font-size:30px}
  .services .tabs-icon .item{flex:0 0 33.33%;min-width:0}
  .featrues hr{display:none}
  .featrues .bord:after,.featrues .bord:before{display:none}
  .featrues .item{padding:0}
  .testimonials.carousel-single .carousel-track .item{flex:0 0 100%}
  .clients .carousel-track .item{flex:0 0 33.33%}
  .footer-menu-container{grid-template-columns:repeat(2,1fr);gap:20px}
  footer .footer-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  
  /* Mega menu responsive */
  .mega-inner { grid-template-columns: 1fr 1fr; }
  .mega-col:nth-child(2) { border-right: none; }
  .mega-col:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); padding-left: 0; }
  .mega-col:nth-child(4) { padding-left: 32px; border-right: none; }
  
  /* Footer menu responsive override */
  .footer-menu-container .mega-col:nth-child(3) { padding-left: 0; border-right: none; }
  .footer-menu-container .mega-col:nth-child(4) { padding-left: 0; border-right: none; }
}
@media screen and (max-width:767px){
  .mb-sm50{margin-bottom:50px!important}
  .header .caption h4{font-size:16px}
  .header .caption h1{font-size:25px}
  .header .caption p{font-size:14px}
  .hero .intro h5{font-size:18px}
  .hero .intro h3,.video .content h3{font-size:22px}
  .services .services-content .cont .services-info{text-align:center;margin-bottom:15px}
  .services .services-content .cont .services-info h3{font-size:22px}
  .services .services-content .serv-cont{text-align:center;margin-left:0}
  .flex-block{flex-basis:100%}
  .clients .carousel-track .item{flex:0 0 50%}
  .team .carousel-track .item{flex:0 0 100%}
  .services .tabs-icon .item{padding:25px 10px}
  .services .tabs-icon .item.active{padding:25px 10px;transform:translateY(-5px);box-shadow:0 8px 20px rgba(113,70,243,.2)}
  .footer-menu-container{grid-template-columns:1fr;text-align:left;gap:20px}
  footer .footer-grid{grid-template-columns:1fr;text-align:center;gap:30px}
  footer .footer-actions{justify-content:center}
  
  /* Mega menu responsive */
  .mega-inner { grid-template-columns: 1fr; }
  .mega-col { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 0 0 20px !important; margin-bottom: 20px; }
  .mega-col:last-child { border-bottom: none; margin-bottom: 0; }

  /* Footer menu responsive override */
  .footer-menu-container .mega-col { border-bottom: none; padding: 0 !important; margin-bottom: 20px; }
  .footer-menu-container .mega-col:last-child { margin-bottom: 0; }
}
@media(max-width:600px){
  .h3_part{font-size:25px}
}

.logo img {transition: filter .4s ease, opacity .4s ease;}
.logo img.logo-inverted {filter: invert(1);}

footer .logo img {filter: unset !important;}
footer {background-color: #000010;}

footer div .logo {margin-top: 20px;}

.policy {color: #666; font-size: 10px !important; letter-spacing: 1px;}

/* ===== Policy Page ===== */
.policy-page{padding:140px 0 60px;min-height:100vh;background:linear-gradient(180deg,#0a0e1a 0%,#0d1422 40%,#111827 100%)}
.policy-container{max-width:780px;margin:0 auto;padding:0 20px}
.policy-header{text-align:center;margin-bottom:50px;margin-top: 40px;}
.policy-icon{display:inline-flex;align-items:center;justify-content:center;width:80px;height:80px;border-radius:50%;background:rgba(113,70,243,.12);border:1px solid rgba(113,70,243,.25);color:#7146f3;margin-bottom:24px}
.policy-header h1{font-size:32px;color:#fff;font-weight:600;margin-bottom:10px;letter-spacing:-0.5px}
.policy-subtitle{color:#666;font-size:13px;text-transform:uppercase;letter-spacing:2px}
.policy-content{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:40px;backdrop-filter:blur(10px)}
.policy-content>p{color:#9ca3af;font-size:15px;line-height:1.7;margin-bottom:30px}
.policy-content a{color:#7146f3;text-decoration:underline;transition:color .2s}
.policy-content a:hover{color:#9b7dff}
.policy-section{padding:24px 0;border-top:1px solid rgba(255,255,255,.06)}
.policy-section:last-child{padding-bottom:0}
.policy-section h2{color:#fff;font-size:18px;font-weight:600;margin-bottom:14px;display:flex;align-items:center;gap:12px}
.policy-num{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:10px;background:linear-gradient(135deg,rgba(113,70,243,.15),rgba(113,70,243,.05));border:1px solid rgba(113,70,243,.2);color:#7146f3;font-size:13px;font-weight:700;letter-spacing:1px}
.policy-section p{color:#9ca3af;font-size:15px;line-height:1.7;margin-bottom:10px}
.policy-section ul{list-style:none;padding:0;margin:10px 0 0}
.policy-section ul li{position:relative;padding-left:20px;color:#9ca3af;font-size:15px;line-height:1.7;margin-bottom:8px}
.policy-section ul li::before{content:'';position:absolute;left:0;top:10px;width:6px;height:6px;border-radius:50%;background:#7146f3}
.policy-back{text-align:center;margin-top:40px}
@media(max-width:767px){
.policy-page{padding:100px 0 40px}
.policy-header h1{font-size:24px}
.policy-content{padding:24px 20px}
.policy-section h2{font-size:16px}
}

/* ===== Cookie Banner ===== */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:9999;background:rgba(10,14,26,.92);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(113,70,243,.15);padding:10px 0}
.cookie-inner{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cookie-inner p{margin:0;font-size:12px;color:#999;line-height:1.4}
.cookie-inner a{color:#7146f3;text-decoration:underline}
.cookie-buttons{display:flex;gap:10px;flex-shrink:0}
.cookie-btn{flex-shrink:0;background:#7146f3;color:#fff;border:none;border-radius:6px;padding:6px 20px;font-size:12px;font-weight:600;cursor:pointer;letter-spacing:.5px;transition:background .2s}
.cookie-btn:hover{background:#5a35d4}
.cookie-btn-decline{background:transparent;border:1px solid rgba(255,255,255,.25);color:#ccc}
.cookie-btn-decline:hover{background:rgba(255,255,255,.07);color:#fff}
@media(max-width:767px){
.cookie-inner{flex-direction:column;text-align:center;gap:12px}
.cookie-inner p{font-size:11px}
.cookie-buttons{width:100%;justify-content:center}
.cookie-btn{flex:1;text-align:center}
}

/* ===== Consent Checkbox ===== */
.consent-check{display:flex;align-items:flex-start;gap:8px;cursor:pointer;margin:12px 0 4px;font-size:11px;color:#999;line-height:1.4}
.consent-check input[type="checkbox"]{flex-shrink:0;width:16px;height:16px;margin-top:1px;accent-color:#7146f3;cursor:pointer}
.consent-check a{color:#7146f3;text-decoration:underline}
.consent-check a:hover{color:#9b7df7}

/* ===== Service Page Styles ===== */
.service-page-header {padding-top: 120px;}
.service-container { max-width: 1000px; margin: 0 auto; }
.service-title { font-size: 50px; font-weight: 700; margin-bottom: 20px; color: #fff; }
.service-breadcrumbs { font-size: 14px; color: #ccc; letter-spacing: 1px; text-transform: uppercase; }
.service-breadcrumbs a { color: #7146f3; transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.service-breadcrumbs a:hover { color: #fff; }
.service-breadcrumbs .divider { margin: 0 10px; }

/* Breadcrumbs in Cases Hero (WebGL Hero) */
.cases-hero .service-breadcrumbs { font-size: 13px; margin-bottom: 22px; }
.cases-hero .service-breadcrumbs a { color: #52a4de; }
.cases-hero .service-breadcrumbs a:hover { color: #fff; }
.cases-hero .service-breadcrumbs .divider { color: rgba(255, 255, 255, 0.25); }
.cases-hero .service-breadcrumbs span:last-child { color: rgba(255, 255, 255, 0.7); }
.service-intro-title { margin-bottom: 20px; font-size: 32px; font-weight: 700; color: #222; }
.service-intro-desc { font-size: 18px; color: #666; line-height: 1.8; max-width: 800px; margin: 0 auto; }

.service-card { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: 100%; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1); backface-visibility: hidden; transform: translateZ(0); will-change: transform, box-shadow; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.service-card-icon { color: #7146f3; margin-bottom: 20px; display: block; }
.service-card-title { margin-bottom: 20px; font-weight: 600; font-size: 18px; color: #222; }
.service-card-list { list-style: none; padding: 0; margin: 0; font-size: 14px; color: #777; }
.service-card-list li { margin-bottom: 12px; display: flex; align-items: flex-start; }
.service-card-list li svg { margin-right: 10px; margin-top: 3px; flex-shrink: 0; stroke: #7146f3; }
.service-card-list li a { color: inherit; text-decoration: none; line-height: 1.5; text-align: left; display: block; width: 100%; transition: color 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.service-card-list li a:hover { color: #7146f3; }
/* ===== Service Pages Components (Consolidated) ===== */
.service-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #7146f3; margin-bottom: 20px; display: block; }
.service-section-title { font-size: 36px; font-weight: 700; color: #23003b; margin-bottom: 25px; line-height: 1.3; }
.service-section-desc { font-size: 16px; color: #777; margin-bottom: 40px; max-width: 800px; display: block; }
.service-text { font-size: 16px; color: #666; line-height: 1.8; margin-bottom: 20px; }
.service-text b, .service-text strong { color: #23003b; }

.mini-adv-card { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: 100%; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1); backface-visibility: hidden; transform: translateZ(0); will-change: transform, box-shadow; }
.mini-adv-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.mini-adv-title { font-size: 18px; font-weight: 600; color: #23003b; margin-bottom: 10px; }
.mini-adv-text { font-size: 14px; color: #777; line-height: 1.6; }

.service-highlight-card { background: #f9f9ff; padding: 30px; border-radius: 15px; border-left: 4px solid #7146f3; height: 100%; backface-visibility: hidden; transform: translateZ(0); }
.service-highlight-title { font-size: 20px; font-weight: 600; color: #23003b; margin-bottom: 20px; }

.service-check-list { list-style: none; padding: 0; margin: 0; }
.service-check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; color: #555; line-height: 1.6; text-align: left; }
.service-check-list li:before { content: '✓'; position: absolute; left: 0; color: #7146f3; font-weight: 700; font-size: 18px; }
.service-check-list.large li { font-size: 17px; margin-bottom: 15px; font-weight: 500; color: #333; }

.service-detailed-desc { background: #fff; padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); height: 100%; border-top: 3px solid #7146f3; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); backface-visibility: hidden; transform: translateZ(0); will-change: transform; }
.service-detailed-desc:hover { transform: translateY(-5px); }
.desc-title { font-size: 22px; margin-bottom: 20px; color: #23003b; font-weight: 600; }
.desc-text { color: #666; line-height: 1.7; margin-bottom: 20px; font-size: 15px; }

.feature-card { background: #fff; padding: 35px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); height: 100%; position: relative; border-bottom: 3px solid transparent; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-bottom-color 0.4s ease; overflow: hidden; backface-visibility: hidden; transform: translateZ(0); will-change: transform, box-shadow, border-bottom-color; }
.feature-card:hover { border-bottom-color: #7146f3; transform: translateY(-5px); }
.feature-card-number { font-size: 40px; font-weight: 700; color: rgba(113, 70, 243, 0.1); position: absolute; top: 15px; right: 25px; line-height: 1; pointer-events: none; }
.feature-card-title { font-size: 19px; font-weight: 600; color: #23003b; margin-bottom: 15px; position: relative; z-index: 1; }
.feature-card-text { font-size: 14px; color: #777; line-height: 1.7; position: relative; z-index: 1; }

.cta-box { background: rgba(255,255,255,0.05); padding: 60px 40px; border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); }

/* Pricing Table (Premium Grid - Refined) */
.pricing-table-wrapper { margin-top: 30px; overflow-x: auto; padding-bottom: 20px; -webkit-overflow-scrolling: touch; margin-left: -15px; margin-right: -15px; padding-left: 15px; padding-right: 15px; }
.premium-pricing-table { width: 100%; min-width: 850px; border-collapse: collapse; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow: hidden; font-size: 14px; }
.premium-pricing-table th, .premium-pricing-table td { padding: 15px 12px; text-align: center; border-bottom: 1px solid #f2f2f2; border-right: 1px solid #f2f2f2; vertical-align: middle; }
.premium-pricing-table th:last-child, .premium-pricing-table td:last-child { border-right: none; }
.premium-pricing-table thead th { 
  background-image: linear-gradient(-15deg,#240063 0%,#343434 50%,#10007d 50%,#7146f3 100%);
  border-bottom: 3px solid #7146f3; 
  padding-top: 30px; 
  padding-bottom: 20px; 
  position: relative; color: #fff; 
}
.premium-pricing-table th.feature-col { text-align: left; background: #fdfdfd; font-size: 16px; font-weight: 600; color: #23003b; width: 20%; border-bottom-color: #eee; }
.premium-pricing-table td.feature-name { text-align: left; font-weight: 500; color: #444; font-size: 13.5px; background: #fafafa; }

.tier-name { display: block; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tier-desc { display: block; font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 400; margin-bottom: 15px; line-height: 1.3; height: 30px; overflow: hidden; }
.tier-price { display: block; font-size: 19px; font-weight: 700; color: #7146f3; color: #fff; margin-bottom: 3px; }
.tier-price-sub { display: block; font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 400; }
.premium-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #ff3c5c; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 0 0 8px 8px; font-weight: 600; pointer-events: none; }

.check-icon { color: #2ecc71; font-size: 16px; font-weight: bold; }
.minus-icon { color: #ccc; font-size: 14px; }

.table-btn { display: inline-block; margin-top: 15px; padding: 8px 16px; background: #7146f3; border: 1px solid #7146f3; color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.table-btn:hover { background: #fff; color: #7146f3; border-color: #fff; }

.tier-premium { background: transparent; } /* Unified now, using parent background */
.tier-premium .tier-name, .tier-premium .tier-desc, .tier-premium .tier-price, .tier-premium .tier-price-sub { color: #fff; }

/* Prices Page */
.pricing-container{max-width:1180px;margin:0 auto}
.prices-section-desc{margin-left:auto;margin-right:auto}
.prices-table-shell{background:#fff;border-radius:14px;box-shadow:0 18px 50px rgba(35,0,59,.08);overflow:hidden;border:1px solid rgba(35,0,59,.08)}
.prices-service-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}
.prices-service-table th,.prices-service-table td{padding:18px 20px;border-bottom:1px solid #eef0f6;text-align:left;vertical-align:top}
.prices-service-table thead th{background:#101827;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:1.4px;font-weight:700}
.prices-service-table thead th:nth-child(1){width:23%}
.prices-service-table thead th:nth-child(2){width:43%}
.prices-service-table thead th:nth-child(3){width:20%}
.prices-service-table thead th:nth-child(4){width:14%}
.prices-service-table tbody tr:not(.price-group-row):hover td{background:#fbfcff}
.price-group-row th{background:linear-gradient(90deg,#f2f7ff,#f8f5ff);color:#23003b;border-bottom:1px solid rgba(113,70,243,.14);padding:22px 20px}
.price-group-row span{display:block;font-size:19px;font-weight:800;margin-bottom:4px}
.price-group-row small{display:block;font-size:13px;line-height:1.5;font-weight:500;color:#667085;text-transform:none;letter-spacing:0}
.price-service-link{font-weight:700;color:#23003b;line-height:1.45;transition:color 0.4s cubic-bezier(0.25, 1, 0.5, 1);}
.price-service-link:hover{color:#7146f3}
.price-value{font-weight:800;color:#7146f3;white-space:normal;line-height:1.5}
.prices-note-box{margin-top:34px;background:#101827;border-radius:14px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 18px 50px rgba(16,24,39,.18)}
.prices-note-box h3{color:#fff;font-size:26px;margin-bottom:10px}
.prices-note-box p{color:#cbd5e1;max-width:720px}
.prices-note-box .service-label{margin-bottom:10px;color:#52a4de}
.prices-note-box .butn{flex-shrink:0;margin:0}

@media(max-width:767px){

  .prices-table-shell{background:transparent;box-shadow:none;border:none;overflow:visible}
  .prices-service-table,.prices-service-table tbody,.prices-service-table tr,.prices-service-table td,.prices-service-table th{display:block;width:100%}
  .prices-service-table thead{display:none}
  .prices-service-table tbody tr:not(.price-group-row){background:#fff;border:1px solid rgba(35,0,59,.08);border-radius:12px;margin-bottom:14px;box-shadow:0 10px 28px rgba(35,0,59,.06);overflow:hidden}
  .prices-service-table td{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px;border-bottom:1px solid #eef0f6;padding:14px 16px}
  .prices-service-table td:last-child{border-bottom:none}
  .prices-service-table td:before{content:attr(data-label);font-size:11px;text-transform:uppercase;letter-spacing:.9px;color:#8a93a5;font-weight:800}
  .price-group-row th{border-radius:12px;margin:26px 0 14px;padding:18px}
  .price-group-row:first-child th{margin-top:0}
  .price-value{white-space:normal}
  .prices-note-box{display:block;padding:28px 22px}
  .prices-note-box .butn{margin-top:22px}
}

/* Cases Page */
.cases-hero{position:relative;min-height:88vh;display:flex;align-items:center;overflow:hidden;background:#050813;color:#fff;padding:140px 0 72px;background-size: cover;}
.home-hero{background-position:center!important}
#cases-bg-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.cases-hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(3,6,16,.92) 0%,rgba(3,6,16,.55) 48%,rgba(3,6,16,.12) 100%)}
.cases-hero-container{position:relative;z-index:2}
.cases-kicker{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:2.4px;color:#52a4de;margin-bottom:22px}
.cases-hero h1{font-size:58px;max-width:920px;line-height:1.08;color:#fff;margin-bottom:26px;letter-spacing:0}
.cases-lead{font-size:18px;line-height:1.75;max-width:760px;color:#d4ddec}
.cases-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.cases-hero-actions .butn{margin-left:0;margin-right:0}
.cases-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:74px}
.cases-stat{border-top:1px solid rgba(255,255,255,.18);padding-top:20px}
.cases-stat strong{display:block;font-size:38px;line-height:1;color:#fff;margin-bottom:8px}
.cases-stat span{font-size:13px;letter-spacing:1px;text-transform:uppercase;color:#aab8ce}
.cases-note-panel{background:#101827;color:#fff;border-radius:16px;padding:34px;box-shadow:0 22px 60px rgba(16,24,39,.18);border:1px solid rgba(255,255,255,.08)}
.cases-note-panel span{font-size:13px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase;color:#52a4de;margin-bottom:20px}
.cases-note-panel ul{margin:0;padding:0}
.cases-note-panel li{position:relative;padding-left:28px;margin-bottom:16px;font-size:16px;line-height:1.65;color:#d6deea;text-align:left}
.cases-note-panel li:last-child{margin-bottom:0}
.cases-note-panel li:before{content:'✓';position:absolute;left:0;top:0;color:#52a4de;font-weight:800}
.cases-proof-card{height:100%;background:#fff;border-radius:14px;padding:30px;box-shadow:0 12px 34px rgba(35,0,59,.07);border:1px solid rgba(35,0,59,.07);transition:transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);will-change:transform, box-shadow}
.cases-proof-card:hover{transform:translateY(-5px);box-shadow:0 18px 44px rgba(35,0,59,.12)}
.cases-proof-card span{font-size:34px;font-weight:800;line-height:1;color:rgba(113,70,243,.16);margin-bottom:18px}
.cases-proof-card h3{font-size:20px;color:#23003b;margin-bottom:12px}
.cases-proof-card p{font-size:14px;line-height:1.7;color:#667085}
.cases-section-desc{margin-left:auto;margin-right:auto}
.cases-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.case-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 14px 40px rgba(35,0,59,.08);border:1px solid rgba(35,0,59,.07);transition:transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);will-change:transform, box-shadow;transform:translate3d(0,0,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-mask-image:-webkit-radial-gradient(white,black)}
.case-card:hover{transform:translateY(-6px);box-shadow:0 24px 54px rgba(35,0,59,.14)}
.case-card-link{display:block;height:100%;color:inherit}
.case-card-image{aspect-ratio:16/10;background:#0d1422;overflow:hidden}
.case-card-image img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s cubic-bezier(0.25, 1, 0.5, 1)}
.case-card:hover .case-card-image img{transform:scale(1.035)}
.case-card-body{padding:24px;text-align:left}
.case-card-body span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1.4px;color:#7146f3;margin-bottom:10px}
.case-card-body h3{font-size:21px;color:#23003b;margin-bottom:10px}
.case-card-body p{font-size:14px;line-height:1.65;color:#667085}
.cases-final-cta .service-label{color:#52a4de}

@media(max-width:991px){
  .cases-hero h1{font-size:44px}
  .cases-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:54px}
  .cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .cases-hero{min-height:auto;padding:128px 0 58px}
  .cases-hero h1{font-size:34px;line-height:1.16}
  .cases-lead{font-size:16px}
  .cases-hero-actions{display:block}
  .cases-hero-actions .butn{display:block;width:100%;margin:0 0 12px;text-align:center}
  .cases-stat-row{grid-template-columns:1fr;gap:12px;margin-top:38px}
  .cases-stat strong{font-size:32px}
  .cases-grid{grid-template-columns:1fr}
  .cases-note-panel{padding:26px 22px}
}


/* ===== Stack & FAQ Components ===== */
.stack-card { background: #fff; padding: 40px 30px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); height: 100%; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1); border-top: 4px solid #7146f3; text-align: center; will-change: transform, box-shadow; }
.stack-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px rgba(0,0,0,0.1); }
.stack-icon { width: 50px; height: 50px; margin: 0 auto 20px; color: #7146f3; }
.stack-title { font-size: 20px; font-weight: 700; color: #23003b; margin-bottom: 15px; }
.stack-text { font-size: 15px; color: #777; line-height: 1.6; }

.faq-wrapper { max-width: 900px; margin: 0 auto; }
.accordion { list-style: none; padding: 0; margin: 0; }
.accordion-item { margin-bottom: 15px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border: 1px solid #f0f0f0; transition: all 0.3s; }
.accordion-item.active { border-color: #7146f3; box-shadow: 0 10px 25px rgba(113, 70, 243, 0.08); }
.accordion-header { padding: 22px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.accordion-title { font-size: 16px; font-weight: 600; color: #23003b; margin: 0; padding-right: 20px; }
.accordion-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.accordion-icon:before, .accordion-icon:after { content: ''; position: absolute; background: #7146f3; transition: transform 0.3s; }
.accordion-icon:before { width: 14px; height: 2px; }
.accordion-icon:after { width: 2px; height: 14px; }
.accordion-item.active .accordion-icon:after { transform: rotate(90deg); opacity: 0; }
.accordion-item.active .accordion-icon:before { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1); background: #fff; }
.accordion-inner { padding: 0 30px 25px 30px; color: #666; line-height: 1.8; font-size: 15px; }
.accordion-item.active .accordion-content { max-height: 500px; }

/* GPU Optimization Utility */


/* Portfolio Filter Styles */
.cases-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .cases-filter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
        padding: 0;
        margin: 0;
    }
}

.filter-btn {
    background: #fff;
    border: 1px solid rgba(113, 70, 243, 0.12);
    border-radius: 30px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #23003b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .filter-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 12px;
        box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.1);
    }
    .filter-btn[data-filter="Все"] {
        grid-column: span 2;
    }
}

.filter-btn:hover {
    background: #7146f3;
    color: #fff;
    border-color: #7146f3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 70, 243, 0.2);
}

@media (max-width: 991.98px) {
    .filter-btn:hover {
        transform: none; /* Disable hover translation on mobile to avoid layout shifts */
    }
}

.filter-btn.active {
    background: #7146f3;
    color: #fff;
    border-color: #7146f3;
    box-shadow: 0 6px 20px rgba(113, 70, 243, 0.25);
}

.filter-count {
    font-size: 11px;
    margin-left: 8px;
    padding: 2px 7px;
    background: rgba(113, 70, 243, 0.08);
    border-radius: 8px;
    color: #7146f3;
    font-weight: 700;
    transition: all 0.3s;
}

@media (max-width: 991.98px) {
    .filter-count {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 6px;
        border-radius: 6px;
    }
}

.filter-btn:hover .filter-count,
.filter-btn.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Card Filtering Transitions */
.case-card {
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.case-card.is-hidden {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
    pointer-events: none;
}

/* Modern Glowing Checkpoint Grid */
.checkpoint-section {
    position: relative;
    padding: 100px 0;
    background: #0d1422; /* Dark theme matched */
    overflow: hidden;
}
.checkpoint-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}
@media (max-width: 991px) {
    .checkpoint-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .checkpoint-grid {
        grid-template-columns: 1fr;
    }
}
.checkpoint-card {
    position: relative;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.checkpoint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(113, 70, 243, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.checkpoint-card:hover {
    transform: translateY(-5px);
    border-color: rgba(113, 70, 243, 0.4);
    box-shadow: 0 10px 30px rgba(113, 70, 243, 0.15);
}
.checkpoint-card:hover::before {
    opacity: 1;
}
.checkpoint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(113, 70, 243, 0.1);
    border-radius: 12px;
    color: #7146f3;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.checkpoint-card:hover .checkpoint-icon {
    background: #7146f3;
    color: #fff;
    box-shadow: 0 0 15px rgba(113, 70, 243, 0.4);
}
.checkpoint-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.checkpoint-text {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Creative Goals Section v2 — performance-optimized */
.goals-section {
    position: relative;
    padding: 110px 0 120px;
    background: linear-gradient(165deg, #06080f 0%, #0d1225 40%, #110e24 70%, #080c14 100%);
    overflow: hidden;
}
/* Static soft glow orbs (radial-gradient instead of filter:blur) */
.goals-section::before,
.goals-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.goals-section::before {
    width: 600px; height: 600px;
    top: -150px; left: -180px;
    background: radial-gradient(circle, rgba(113, 70, 243, 0.10) 0%, transparent 70%);
}
.goals-section::after {
    width: 500px; height: 500px;
    bottom: -120px; right: -120px;
    background: radial-gradient(circle, rgba(82, 164, 222, 0.07) 0%, transparent 70%);
}
/* Mesh lines decoration */
.goals-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(113,70,243,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(113,70,243,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 1;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 30%, transparent 80%);
}
/* Grid: 3 top + 2 centered */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
    position: relative;
    z-index: 3;
}
.goals-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 28px;
    max-width: 66.666%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 3;
}
@media (max-width: 991px) {
    .goals-grid { grid-template-columns: repeat(2, 1fr); }
    .goals-grid-bottom { max-width: 100%; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .goals-grid { grid-template-columns: 1fr; }
    .goals-grid-bottom { grid-template-columns: 1fr; }
}
/* Card */
.goal-card {
    position: relative;
    background: rgba(15, 20, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 36px 28px 32px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                background 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}
/* Top accent line */
.goal-card::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, #7146f3, #52a4de);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.goal-card:hover {
    transform: translateY(-10px) translateZ(0);
    border-color: rgba(113, 70, 243, 0.35);
    box-shadow: 0 20px 40px rgba(113, 70, 243, 0.12);
    background: rgba(20, 26, 45, 0.9);
}
.goal-card:hover::after { width: 60%; }
/* Number orbit ring — animation starts only on hover */
.goal-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.goal-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(113, 70, 243, 0.2);
    transition: border-color 0.3s ease;
    animation: none;
}
.goal-ring::after {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #7146f3;
    top: -4px; left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(113, 70, 243, 0.5);
    animation: none;
    transform-origin: 50% calc(40px + 4px);
}
/* Spin only on card hover */
.goal-card:hover .goal-ring::before {
    border-color: rgba(113, 70, 243, 0.5);
    animation: goalRingSpin 8s linear infinite;
}
.goal-card:hover .goal-ring::after {
    animation: goalRingSpin 8s linear infinite;
}
@keyframes goalRingSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.goal-num {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #7146f3 0%, #52a4de 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.goal-card:hover .goal-num {
    transform: scale(1.15);
}
.goal-title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.goal-card:hover .goal-title {
    color: #c4b5fd;
}
.goal-desc {
    font-size: 13.5px;
    color: #7b8ba5;
    line-height: 1.7;
    transition: color 0.3s ease;
}
.goal-card:hover .goal-desc {
    color: #94a3b8;
}

/* Positioning Infographic Section */
.pos-section {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f4f0ff 50%, #eef6ff 100%);
    overflow: hidden;
    /* Performance Isolation: blocks layouts and repaints from leaking outside */
    contain: paint;
    content-visibility: auto;
    contain-intrinsic-size: 550px;
}
/* Creative Floating Gradient Background (100% GPU-accelerated using translate3d) */
.pos-section::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    top: -100px;
    left: -150px;
    background: radial-gradient(circle, rgba(113, 70, 243, 0.12) 0%, rgba(113, 70, 243, 0.04) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: posGlowOne 16s infinite alternate ease-in-out;
}
.pos-section::after {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(82, 164, 222, 0.10) 0%, rgba(82, 164, 222, 0.03) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: posGlowTwo 20s infinite alternate ease-in-out;
}

@keyframes posGlowOne {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50% { transform: translate3d(100px, 60px, 0) scale(1.1) rotate(90deg); }
    100% { transform: translate3d(-50px, 120px, 0) scale(0.9) rotate(180deg); }
}
@keyframes posGlowTwo {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    50% { transform: translate3d(-100px, -60px, 0) scale(1.12) rotate(-90deg); }
    100% { transform: translate3d(60px, -120px, 0) scale(0.95) rotate(-180deg); }
}

.pos-svg-wrap {
    position: relative;
    z-index: 1;
    padding: 20px;
}
.pos-svg-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}
/* Micro-animations for SVG components */
.pos-svg-wrap svg rect {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    transform-origin: bottom;
}
.pos-svg-wrap svg rect:hover {
    transform: scaleY(1.03);
    opacity: 1 !important;
}
.pos-svg-wrap svg circle {
    transition: r 0.3s cubic-bezier(0.25, 1, 0.5, 1), fill 0.3s ease, stroke-width 0.3s ease;
    cursor: pointer;
}
.pos-svg-wrap svg circle:hover {
    r: 7.5;
    fill: #7146f3;
    stroke: #fff;
}

.pos-text-wrap {
    position: relative;
    z-index: 1;
}
/* Typography Light Theme Overrides (High Contrast) */
.pos-section .service-label {
    color: #7146f3;
}
.pos-section .service-section-title {
    color: #23003b;
}
.pos-section .service-text {
    color: #555;
}
.pos-section .service-text strong,
.pos-section .service-text b {
    color: #23003b;
}
.pos-accent {
    color: #7146f3;
    font-weight: 700;
}
.pos-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}
/* Stat Cards optimized for Light Theme */
.pos-stat-card {
    background: #f8f6ff;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid rgba(113, 70, 243, 0.08);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform;
    transform: translateZ(0);
}
.pos-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(113, 70, 243, 0.25);
    box-shadow: 0 10px 30px rgba(113, 70, 243, 0.08);
}
.pos-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #7146f3;
    line-height: 1;
    margin-bottom: 8px;
}
.pos-stat-label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* === Technical Audit Page Additions === */
.tech-handshake-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}
.tech-handshake-svg path.bg-track {
    stroke: rgba(113, 70, 243, 0.06);
    stroke-width: 2;
    stroke-linecap: round;
}
.tech-handshake-svg path.flow-packet {
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 12 160;
    stroke-dashoffset: 172;
    animation: flowStep 2.4s infinite linear;
}

/* Staggered Packet Flows for TCP Handshake */
.tech-handshake-svg .tcp-packet-1 { stroke: #94a3b8; animation-delay: 0s; }
.tech-handshake-svg .tcp-packet-2 { stroke: #94a3b8; animation-delay: 0.4s; }
.tech-handshake-svg .tcp-packet-3 { stroke: #7146f3; animation-delay: 0.8s; }
.tech-handshake-svg .tcp-packet-4 { stroke: #7146f3; animation-delay: 1.2s; }
.tech-handshake-svg .tcp-packet-5 { stroke: #52a4de; animation-delay: 1.6s; }
.tech-handshake-svg .tcp-packet-6 { stroke: #52a4de; animation-delay: 2.0s; }

/* Staggered Packet Flows for QUIC Handshake */
.tech-handshake-svg .quic-packet-1 { stroke: #a855f7; animation-delay: 0s; animation-duration: 1.6s; }
.tech-handshake-svg .quic-packet-2 { stroke: #52a4de; animation-delay: 0.4s; animation-duration: 1.6s; }

/* Staggered Packet Flows for QUIC 0-RTT */
.tech-handshake-svg .quic-packet-3 { stroke: #ff7b00; animation-delay: 0.8s; animation-duration: 1.6s; }
.tech-handshake-svg .quic-packet-4 { stroke: #ffae00; animation-delay: 1.2s; animation-duration: 1.6s; }

@keyframes flowStep {
    0% {
        stroke-dashoffset: 172;
    }
    30% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

.tech-handshake-svg text {
    font-family: inherit;
    letter-spacing: -0.2px;
}

/* ========================================== */
/* Mobile Spacing & Layout Overrides */
/* ========================================== */
@media screen and (max-width: 767px) {
    /* Reduce global section padding to make mobile layout less sparse */
    .section-padding {
        padding: 50px 0 !important;
    }
    
    /* Ensure page-level containers don't touch screen edges on small devices */
    .container,
    .pricing-container,
    .service-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Provide default side padding for layout columns inside rows to offset negative margin */
    .row > [class*="col-"] {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }


    /* Keep margins between section rows compact on mobile */
    .mb-50 {
        margin-bottom: 30px !important;
    }
    .mb-40 {
        margin-bottom: 24px !important;
    }
    .mb-30 {
        margin-bottom: 20px !important;
    }

    /* Cases page card & note panel padding adjustments */
    .cases-proof-card {
        padding: 20px !important;
    }
    .case-card-body {
        padding: 20px 16px !important;
    }

}

/* Ensure missing mb-60 utility class is present and responsive */
.mb-60 {
    margin-bottom: 60px !important;
}
@media screen and (max-width: 767px) {
    .mb-60 {
        margin-bottom: 30px !important;
    }
}

/* Price service table stacking for very narrow mobile screens */
@media screen and (max-width: 480px) {
    .prices-service-table td {
        display: block !important;
        width: 100% !important;
        grid-template-columns: none !important;
        padding: 10px 14px !important;
    }
    .prices-service-table td:before {
        display: block !important;
        margin-bottom: 4px !important;
    }
}


/* ---------- Scroll to Top ---------- */
.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top svg {
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.scroll-to-top:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.scroll-to-top:hover svg {
  transform: scale(1.2);
}
@media (max-width: 767px) {
  .scroll-to-top {
    right: 15px;
    bottom: 80px;
  }
}

/* ---------- Cases Showcase Mockup ---------- */
.mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 1200 / 760;
}

.mockup-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Premium mockup case card layout */
.mockup-case-card {
    display: flex;
    flex-direction: column;
}

.mockup-case-card .mockup-wrapper {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
}

.mockup-screen {
    position: absolute;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.mockup-screen img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease-out;
}

/* Laptop screen: matches coordinate x=112 y=30 w=854 h=572 in viewBox 1200x760 */
.mockup-screen-laptop {
    left: 9.3333%;
    top: 3.9474%;
    width: 71.1667%;
    height: 75.2632%;
    border-radius: 3.16%;
}

/* Mobile phone container: matches coordinate x=904 y=170 w=254 h=512 in viewBox 1200x760 */
.mockup-phone-container {
    position: absolute;
    left: 75.3333%;
    top: 22.3684%;
    width: 21.1667%;
    height: 67.3684%;
    background: linear-gradient(135deg, #ffffff 0%, #d7dbe3 48%, #8d96a8 100%);
    border-radius: 16.9291% / 8.3984%; /* rx=43 relative to width 254 and height 512 */
    box-shadow: 0 22px 30px rgba(0, 0, 0, 0.65);
    z-index: 2; /* Ensures it sits on top of the laptop screen */
}

/* Mobile screen: matches coordinate x=913 y=179 w=236 h=494 relative to phone container (x=904 y=170 w=254 h=512) */
.mockup-screen-mobile {
    position: absolute;
    left: 3.5433%;
    top: 1.7578%;
    width: 92.9134%;
    height: 96.4844%;
    border-radius: 15.678% / 7.4899%; /* rx=37 relative to width 236 and height 494 */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
}

/* Replicate the SVG phone notch */
.mockup-mobile-notch {
    position: absolute;
    top: 2.63%;
    left: 50%;
    transform: translateX(-50%);
    width: 39.4%;
    height: 4.65%;
    background: #10141f;
    border-radius: 100px;
    z-index: 10;
    pointer-events: none;
}



.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 15, 27, 0.95);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: hidden;
    padding: 40px 20px;
    backdrop-filter: blur(8px);
}

.lightbox-modal.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border-radius: 12px;
    overflow: hidden;
    background: #080f1b;
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-content img {
    max-width: 90vw;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000000;
}

.lightbox-close:hover {
    background: #ff3c5c;
    border-color: transparent;
    transform: rotate(90deg);
}

/* Desktop lightbox: fit within screen */
.lightbox-content.lightbox-desktop {
    max-width: 90vw;
    max-height: calc(100vh - 80px);
}
.lightbox-content.lightbox-desktop img {
    max-width: 90vw;
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Mobile lightbox: fit within screen by default, zoomable on click */
.lightbox-content.lightbox-mobile {
    max-width: 90vw;
    max-height: calc(100vh - 80px);
    overflow: hidden;
    cursor: zoom-in;
    transition: max-width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.lightbox-content.lightbox-mobile img {
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    object-fit: contain;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Zoomed state: full width, scrollable */
.lightbox-content.lightbox-mobile.zoomed {
    max-width: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    cursor: zoom-out;
}
.lightbox-content.lightbox-mobile.zoomed img {
    max-height: none;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: unset;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: calc(100vh - 60px);
    }
    .lightbox-content img {
        max-width: 95vw;
        max-height: calc(100vh - 60px);
    }
}

/* ===== Premium Service Page Styles ===== */
.services-list {
    background-color: #f7f9fc !important;
}

/* Visibility helpers for layouts */
@media (min-width: 992px) {
    .services-mobile-only {
        display: none !important;
    }
}
@media (max-width: 991.98px) {
    .services-desktop-only {
        display: none !important;
    }
}

/* ==========================================================================
   DESKTOP VERSION (TABS)
   ========================================================================== */
.services-tab-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: stretch;
}

.services-nav-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.05);
    height: 100%;
}

.services-tabs-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Tab Button Styling */
.services-tab-btn {
    display: flex;
    width: 100%;
    padding: 18px 24px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.12);
    border-radius: 16px;
    gap: 14px;
    color: #475569;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    position: relative;
}

.services-tab-btn:hover {
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.25), 0 4px 12px rgba(113, 70, 243, 0.04);
    color: #1e293b;
}

.services-tab-btn.active {
    background: linear-gradient(135deg, #7146f3 0%, #52a4de 100%);
    box-shadow: none;
    color: #ffffff;
}

/* Tab Icon Wrapper */
.services-tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(113, 70, 243, 0.08);
    border-radius: 12px;
    color: #7146f3;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.services-tab-btn.active .services-tab-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.services-tab-icon svg {
    width: 22px;
    height: 22px;
}

/* Tab Text Styling */
.services-tab-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.services-tab-title {
    font-weight: 600;
    font-size: 16.5px;
    line-height: 1.2;
    white-space: normal;
}

.services-tab-note {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.35;
    margin-top: 4px;
}

.services-tab-btn.active .services-tab-note {
    color: rgba(255, 255, 255, 0.8);
}

/* Tab Counter Badge */
.services-tab-count {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 20px;
    align-self: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.services-tab-btn.active .services-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Tab Content Panes */
.services-panes-container {
    width: 100%;
    height: 100%;
}

.services-tab-pane {
    display: none;
    height: 100%;
}

@keyframes servicePaneFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-tab-pane.active {
    display: flex;
    flex-direction: column;
    animation: servicePaneFadeIn 0.3s ease forwards;
}

/* Content Card styling */
.service-premium-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.05), 0 8px 24px rgba(113, 70, 243, 0.04);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #7146f3 0%, #52a4de 100%);
    border-radius: 24px 24px 0 0;
}

/* Pane Header inside active Card */
.service-premium-pane-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}

.service-premium-pane-icon-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(113, 70, 243, 0.08);
    border-radius: 14px;
    color: #7146f3;
    flex-shrink: 0;
}

.service-premium-pane-icon-large svg {
    width: 32px;
    height: 32px;
}

.service-premium-pane-title {
    margin: 0 0 6px 0;
    font-weight: 800;
    font-size: 24px;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.service-premium-pane-desc {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   MOBILE VERSION (ACCORDIONS)
   ========================================================================== */
.services-accordion-mobile {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.services-accordion-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.08), 0 4px 12px rgba(113, 70, 243, 0.02);
    transition: box-shadow 0.25s ease;
}

.services-accordion-item.active {
    box-shadow: inset 0 0 0 1px rgba(113, 70, 243, 0.15), 0 6px 18px rgba(113, 70, 243, 0.04);
}

.services-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #1e293b;
    outline: none;
    user-select: none;
}

.services-accordion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(113, 70, 243, 0.06);
    border-radius: 10px;
    color: #7146f3;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.services-accordion-item.active .services-accordion-icon {
    background: #7146f3;
    color: #ffffff;
}

.services-accordion-icon svg {
    width: 18px;
    height: 18px;
}

.services-accordion-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    flex-grow: 1;
    color: #1e293b;
    transition: color 0.2s ease;
}

.services-accordion-item.active .services-accordion-title {
    color: #7146f3;
}

.services-accordion-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), color 0.2s ease;
}

.services-accordion-arrow svg {
    width: 16px;
    height: 16px;
}

.services-accordion-item.active .services-accordion-arrow {
    transform: rotate(180deg);
    color: #7146f3;
}

/* Accordion Content Body */
.services-accordion-body {
    display: none;
    border-top: 1px solid #f1f5f9;
}

.services-accordion-item.active .services-accordion-body {
    display: block;
    animation: accordionFadeIn 0.25s ease forwards;
}

@keyframes accordionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services-accordion-body-inner {
    padding: 20px;
}

.services-accordion-desc {
    margin: 0 0 20px 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #64748b;
}

/* ==========================================================================
   SHARED LIST STYLES (USED IN BOTH TABS AND ACCORDIONS)
   ========================================================================== */
.service-premium-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-premium-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    padding: 12px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.service-premium-item:hover {
    background-color: #f8fafc;
}

.service-premium-item-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(113, 70, 243, 0.07);
    border-radius: 10px;
    color: #7146f3;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.service-premium-item:hover .service-premium-item-icon-wrapper {
    background: rgba(113, 70, 243, 0.14);
}

.service-premium-item-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.service-premium-item-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-premium-item-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.service-premium-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.service-premium-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    z-index: 2;
}

.service-premium-item:hover .service-premium-link {
    color: #7146f3;
}

.service-premium-scope {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   MOBILE-SPECIFIC RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 480px) {
    .services-accordion-header {
        padding: 14px 16px;
        gap: 10px;
    }
    .services-accordion-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .services-accordion-icon svg {
        width: 16px;
        height: 16px;
    }
    .services-accordion-title {
        font-size: 18px;
    }
    .services-accordion-body-inner {
        padding: 16px;
    }
    .services-accordion-desc {
        font-size: 12.5px;
        margin-bottom: 14px;
    }
    .service-premium-item {
        padding: 8px;
        gap: 10px;
    }
    .service-premium-item-icon-wrapper {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .service-premium-item-icon-wrapper svg {
        width: 16px;
        height: 16px;
    }
    .service-premium-link {
        font-size: 13.5px;
    }
    .service-premium-scope {
        font-size: 12px;
    }
}

