/* ZDC Showcase – Ultra Premium UI (2026)
   Shared stylesheet for public + admin.
*/


:root{
  /* New premium corporate palette (midnight + azure + cyan) */
  --bg-0:#070A12;
  --bg-1:#0A1020;
  --bg-2:#0D1730;

  --glass: rgba(17,24,39,.72);
  --glass-strong: rgba(17,24,39,.86);

  --text:#FFFFFF;
  --text-2:#E5E7EB;
  --text-3:#CBD5E1;
  --muted: rgba(255,255,255,.70);

  /* Back-compat aliases (used in some templates) */
  --text-secondary: var(--text-2);

  --accent:#38BDF8;   /* azure */
  --accent-2:#22D3EE; /* cyan */
  --accent-3:#A78BFA; /* soft violet (minimal) */
  --good:#10B981;

  --border: rgba(56,189,248,.18);
  --border-2: rgba(34,211,238,.36);
  --border-soft: rgba(255,255,255,.10);

  --g-premium: linear-gradient(135deg,#38BDF8 0%,#22D3EE 45%,#A78BFA 100%);
  --g-luxury: linear-gradient(135deg,#0EA5E9 0%,#38BDF8 42%,#22D3EE 100%);
  --g-glass: linear-gradient(145deg, rgba(56,189,248,.14), rgba(17,24,39,.62));

  --shadow-sm: 0 10px 30px rgba(0,0,0,.18);
  --shadow-md: 0 16px 50px rgba(0,0,0,.28);
  --shadow-lg: 0 26px 70px rgba(0,0,0,.42);

  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;

  /* Typography scale (keep things professional, not oversized) */
  --fs-hero-title: clamp(2.05rem, 4.1vw, 3.35rem);
  --fs-hero-subtitle: clamp(1.02rem, 1.55vw, 1.18rem);
  --fs-section-title: clamp(1.75rem, 3.1vw, 2.55rem);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.7;
  overflow-x:hidden;
  position:relative;
  background-image:
    radial-gradient(950px circle at 18% 10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px circle at 85% 20%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(900px circle at 88% 86%, rgba(167,139,250,.10), transparent 62%),
    radial-gradient(800px circle at 10% 90%, rgba(56,189,248,.10), transparent 62%);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(56,189,248,.022) 1px, rgba(56,189,248,.022) 2px),
    repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(56,189,248,.022) 1px, rgba(56,189,248,.022) 2px);
  background-size: 90px 90px;
  opacity:.65;
  z-index:-2;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background: radial-gradient(900px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(56,189,248,.12), transparent 54%);
  opacity:.0;
  transition: opacity .5s ease;
  z-index:-1;
}
body:hover::after{opacity:1}

img, svg{
  max-width: 100%;
  height: auto;
}

::selection{background: rgba(56,189,248,.28); color:#fff;}

/* Brand marks */
.brand-dot{
  width:12px;height:12px;border-radius:999px;display:inline-block;
  background: var(--g-premium);
  box-shadow: 0 0 0 2px rgba(255,255,255,.08), 0 12px 32px rgba(56,189,248,.30);
}
.brand-icon{
  width:46px;height:46px;border-radius:14px;
  background: var(--g-luxury);
  display:flex;align-items:center;justify-content:center;
  box-shadow: 0 12px 34px rgba(102,126,234,.35), inset 0 1px 0 rgba(255,255,255,.18);
  position:relative;
  overflow:hidden;
}
.brand-icon::before{
  content:"";
  position:absolute;
  inset:-60%;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%);
  transform: translateX(-110%) rotate(28deg);
  animation: brandShine 5s ease-in-out infinite;
}
@keyframes brandShine{
  0%,100%{transform: translateX(-110%) rotate(28deg)}
  50%{transform: translateX(160%) rotate(28deg)}
}

/* Text gradients */
.text-gradient,
.gradient-text{
  background: var(--g-premium);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Navbar */
.navbar{
  background: rgba(11,15,26,.90);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nav-glass{ /* compatibility for includes/header.php */
  background: rgba(11,15,26,.90);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  backdrop-filter: blur(40px) saturate(200%);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled{
  background: rgba(11,15,26,.96);
  border-bottom-color: var(--border-2);
  box-shadow: 0 16px 60px rgba(0,0,0,.22);
}

.navbar-brand{
  display:flex;
  align-items:center;
  gap:.85rem;
  font-weight:900;
  letter-spacing:-.6px;
}

.brand-logo{
  height: 54px;
  width: 145px;
  display:block;
  filter: drop-shadow(0 10px 26px rgba(56,189,248,.18));
}

@media (max-width: 576px){
  .brand-logo{height: 48px;}
}

.navbar .container{padding-top: .35rem; padding-bottom: .35rem;}
.brand-text{display:flex; align-items:baseline; gap:.45rem; line-height:1;}
.brand-zdc{
  font-weight: 950;
  letter-spacing: -1px;
  background: var(--g-premium);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.brand-tech{font-weight: 900; color: rgba(255,255,255,.92); letter-spacing: -.6px;}
.brand-sub{margin-left:.25rem; font-weight: 800; color: rgba(255,255,255,.60); font-size: .82rem; letter-spacing: .2px;}

.nav-link{
  color: rgba(255,255,255,.80) !important;
  font-weight: 700;
  font-size: .95rem;
  padding: .65rem 1.05rem !important;
  border-radius: 14px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.nav-link:hover,
.nav-link.active{
  color: #fff !important;
  background: rgba(56,189,248,.12);
  transform: translateY(-1px);
}

/* Laptop widths (Bootstrap lg range) can overflow depending on OS scaling/zoom.
   Tighten navbar spacing so it stays consistent across devices/browsers. */
@media (min-width: 992px) and (max-width: 1200px){
  .brand-logo{width: 120px;}
  .navbar .navbar-nav{gap: .35rem !important;}
  .nav-link{padding: .55rem .75rem !important; font-size: .92rem;}
  .navbar .btn.btn-sm{padding: .65rem 1.05rem;}
}

@media (min-width: 992px) and (max-width: 1080px){
  .navbar .navbar-nav{flex-wrap: wrap; justify-content: flex-end;}
}

/* Buttons – keep Bootstrap base, upgrade visuals */
.btn{
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-110%);
  transition: transform .7s ease;
  pointer-events:none;
}
.btn:hover::before{transform: translateX(110%)}

.btn-primary{
  background: var(--g-luxury) !important;
  border: none !important;
  box-shadow: 0 14px 38px rgba(14,165,233,.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(56,189,248,.34), inset 0 1px 0 rgba(255,255,255,.22);
}

.btn-outline{
  background: rgba(56,189,248,.08);
  border: 2px solid rgba(56,189,248,.36);
  color: #fff;
  box-shadow: 0 10px 30px rgba(56,189,248,.14);
}
.btn-outline:hover{
  background: rgba(56,189,248,.14);
  border-color: rgba(34,211,238,.58);
  transform: translateY(-2px);
}

/* Small utility for admin/stat cards */
.card-hover{
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.card-hover:hover{
  transform: translateY(-6px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.14);
}

/* Glass surfaces */
.glass,
.card,
.hero-card,
.pricing-card{
  background: linear-gradient(145deg, rgba(31,41,55,.78), rgba(17,24,39,.58));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-md);
}

/* Hero */
.hero{padding: 110px 0 90px; position:relative; overflow:hidden;}
.hero.hero-tight{padding: 68px 0 48px;}
.hero-shapes{position:absolute; inset:0; overflow:hidden; z-index:0;}
.shape{position:absolute;border-radius:50%;filter:blur(110px);opacity:.25;animation: floatShape 25s ease-in-out infinite;}
.shape-1{width:460px;height:460px;background: var(--g-luxury);top:-14%;right:8%}
.shape-2{width:350px;height:350px;background: var(--g-premium);bottom:10%;left:4%;animation-delay:7s}
.shape-3{width:280px;height:280px;background: linear-gradient(135deg,#22D3EE,#38BDF8,#A78BFA);top:46%;left:48%;animation-delay:3s}
@keyframes floatShape{
  0%,100%{transform: translate(0,0) rotate(0deg) scale(1)}
  33%{transform: translate(26px,-26px) rotate(120deg) scale(1.08)}
  66%{transform: translate(-18px,18px) rotate(240deg) scale(.96)}
}
.hero .container{position:relative;z-index:1}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(17,24,39,.62);
  border: 1px solid rgba(56,189,248,.22);
  color: rgba(255,255,255,.90);
  font-weight: 800;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
  flex-wrap: wrap;
  max-width: 100%;
}
.hero-badge i{color: var(--accent); filter: drop-shadow(0 0 10px rgba(56,189,248,.45));}

.hero.hero-tight .hero-badge{
  padding: 10px 18px;
  font-size: .92rem;
}

.hero-title{font-weight: 900; letter-spacing: -1px; line-height: 1.08; font-size: var(--fs-hero-title); margin: 1.05rem 0 .85rem;}
.hero-subtitle{color: rgba(255,255,255,.82); font-size: var(--fs-hero-subtitle); max-width: 720px; margin: 0 0 .9rem;}

/* Hero headline "patti" effect (subtle + professional) */
.hero .hero-title-strip{
  position: relative;
  display: inline-flex;
  align-items: baseline;
  padding: .08em .22em;
  border-radius: 18px;
  isolation: isolate;
  white-space: nowrap;
}

.hero .hero-title-strip .gradient-text,
.hero .hero-title-strip .text-gradient{
  white-space: nowrap;
}

@media (max-width: 420px){
  .hero-title{font-size: clamp(1.65rem, 7.2vw, 2.25rem);}
  .hero .hero-title-strip{white-space: normal;}
}
.hero .hero-title-strip::after{
  content:"";
  position:absolute;
  inset: -2px;
  border-radius: 18px;
  background:
    linear-gradient(120deg,
      transparent 0%,
      rgba(255,255,255,.20) 35%,
      transparent 70%
    );
  transform: translateX(-120%);
  animation: heroPattiSweep 1.9s ease-in-out infinite;
  opacity: .75;
  z-index: -1;
  pointer-events:none;
  filter: blur(.15px);
}

@keyframes heroPattiSweep{
  0%{transform: translateX(-120%)}
  65%{transform: translateX(120%)}
  100%{transform: translateX(120%)}
}

.hero-pills{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: .75rem;
  margin-bottom: .35rem;
}
.hero-pill{
  display:inline-flex;
  align-items:center;
  gap: .55rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(17,24,39,.55);
  border: 1px solid rgba(56,189,248,.14);
  color: rgba(255,255,255,.86);
  font-weight: 850;
  font-size: .92rem;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  max-width: 100%;
}
.hero-pill i{color: var(--accent);}

.hero-pill span{
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-cta{
  margin-top: 1.25rem;
  gap: 12px;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 768px){
  .hero-cta{flex-direction: column; align-items: stretch;}
  .hero-cta .btn{width: 100%; justify-content: center;}
}

/* Hero CTAs: less shouty, more corporate */
.hero .btn{
  text-transform: none;
  letter-spacing: .2px;
}
.hero .btn-lg{
  padding: 1.05rem 1.55rem;
}

.hero-kicker{
  display:block;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.0rem, 1.25vw, 1.15rem);
  margin-bottom: .45rem;
}

.hero-card{padding: 2.6rem; border-color: rgba(34,211,238,.38);}
.hero-card:hover{box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.18); transform: translateY(-6px); transition: all .35s ease;}
.hero-card-glow{display:none}

.hero-card-preview{
  padding: 1.65rem;
  max-width: 460px;
  margin-left: auto;
  margin-top: 6px;
}
.hero-card-preview .card-icon{
  width: 60px;
  height: 60px;
  border-radius: 18px;
}
.hero-card-preview .card-icon i{font-size: 1.85rem;}

.hero-preview-head{margin-bottom: .9rem;}
.hero-preview-eyebrow{
  display:inline-flex;
  align-items:center;
  padding: .42rem .82rem;
  border-radius: 999px;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.22);
  color: rgba(255,255,255,.92);
  font-weight: 950;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  font-size: .70rem;
}
.hero-preview-title{
  margin-top: .55rem;
  font-weight: 950;
  letter-spacing: -.6px;
  font-size: 1.22rem;
  color: rgba(255,255,255,.98);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero-preview-sub{
  margin-top: .25rem;
  color: rgba(255,255,255,.72);
  font-weight: 750;
  font-size: .90rem;
}
.hero-preview-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  margin-top: .75rem;
  padding: .62rem .9rem;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  background: rgba(17,24,39,.50);
  border: 1px solid rgba(56,189,248,.18);
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-preview-link:hover{
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.52);
  background: rgba(17,24,39,.62);
  box-shadow: 0 18px 50px rgba(0,0,0,.26);
  color:#fff;
}

/* Hero – Official website details + hover preview */
.hero-site-meta{
  display:flex;
  flex-direction:column;
  gap:.55rem;
  margin-bottom: 1.1rem;
}
.hero-site-meta-row{
  display:flex;
  align-items:center;
  gap:.65rem;
  color: rgba(255,255,255,.86);
  font-weight: 750;
  font-size: .95rem;
}
.hero-site-meta-row i{
  width: 20px;
  text-align:center;
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(56,189,248,.25));
}
.hero-site-meta-row a{
  color: rgba(255,255,255,.92);
  text-decoration:none;
  border-bottom: 1px dashed rgba(56,189,248,.35);
}
.hero-site-meta-row a:hover{
  color:#fff;
  border-bottom-color: rgba(34,211,238,.70);
}

.hero-site-preview{
  display:block;
  text-decoration:none;
}

.hero-site-preview-frame{
  --preview-h: 250px;
  height: var(--preview-h);
  border-radius: 16px;
  overflow:hidden;
  position:relative;
  border: 1px solid rgba(56,189,248,.18);
  background: rgba(17,24,39,.52);
  box-shadow: 0 16px 46px rgba(0,0,0,.34);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

@media (min-width: 992px){
  .hero.hero-tight .container{padding-left: 1.35rem; padding-right: 1.35rem;}
}


.hero-site-preview-frame:hover{
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 22px 70px rgba(0,0,0,.40), 0 0 70px rgba(56,189,248,.10);
}

.hero-site-preview-frame img{
  width: 100%;
  height: auto;
  display:block;
  transform: translateY(0);
  transition: transform 7.5s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

/* Hover scroll effect: shows top first, then slowly reveals bottom */
.hero-site-preview-frame:hover img{
  transform: translateY(calc(-100% + var(--preview-h)));
}

.hero-site-preview-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(7,10,18,.05), rgba(7,10,18,.55));
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding: 12px;
  opacity: 0;
  transition: opacity .25s ease;
}
.hero-site-preview-frame:hover .hero-site-preview-overlay{
  opacity: 1;
}
.hero-site-preview-overlay span{
  width: 100%;
  text-align:center;
  padding: .7rem 1rem;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  color:#fff;
  background: rgba(17,24,39,.70);
  border: 1px solid rgba(56,189,248,.30);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

@media (max-width: 992px){
  .hero-site-preview-frame{--preview-h: 260px;}
}
@media (max-width: 576px){
  .hero-site-preview-frame{--preview-h: 230px;}
}

@media (prefers-reduced-motion: reduce){
  .hero-site-preview-frame img{transition: none;}
  .hero .hero-title-strip::after{animation: none; opacity: .0;}
  .zdc-loader-dots span{animation: none;}
}

.hero-stats{margin-top: 2.25rem;}
.hero-stat{
  text-align:center;
  padding: 1.05rem 1.5rem;
  border-radius: 16px;
  background: rgba(17,24,39,.62);
  border: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hero-stat-value{font-weight: 900; font-size: 1.85rem; background: var(--g-premium); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1.1}
.hero-stat-label{color: rgba(255,255,255,.70); font-weight: 700; font-size: .85rem; letter-spacing: .4px}

.hero.hero-tight .hero-stats{margin-top: 1.35rem;}
.hero.hero-tight .hero-stat{padding: .85rem 1.15rem;}
.hero.hero-tight .hero-stat-value{font-size: 1.55rem;}

/* Sections */
.section{padding: 80px 0; position:relative;}
.section-header{max-width: 860px; margin: 0 auto 3.5rem; text-align:center;}
.section-tag{
  display:inline-block;
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: .55rem 1.25rem;
  border-radius: 999px;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.26);
  color: rgba(224,231,255,.92);
}
.section-title{font-weight: 900; letter-spacing: -1px; font-size: var(--fs-section-title); line-height:1.18; margin: 1rem 0;}
.section-subtitle{color: rgba(255,255,255,.86); font-size: 1.05rem; max-width: 900px; margin: 0 auto;}

/* Numbers That Speak (stats section) */
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px){
  .stats-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 420px){
  .stats-grid{grid-template-columns: minmax(0, 1fr);}
}
.stat-item{
  padding: 1.5rem 1.25rem;
  border-radius: var(--r-md);
  background: rgba(17,24,39,.62);
  border: 1px solid rgba(56,189,248,.18);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--shadow-sm);
  text-align:center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-item:hover{
  transform: translateY(-6px);
  border-color: rgba(34,211,238,.45);
  box-shadow: var(--shadow-md), 0 0 70px rgba(56,189,248,.12);
}
.stat-number{
  font-weight: 900;
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  line-height: 1.1;
  background: var(--g-premium);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  letter-spacing: -0.6px;
}
.stat-label{
  margin-top: .35rem;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: .95rem;
}

/* Cards */
.card{
  padding: 2.2rem;
  cursor: default;
  color: rgba(255,255,255,.92);
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.card:hover{
  transform: translateY(-10px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.16);
}
.card-title{
  font-weight: 900;
  letter-spacing: -.5px;
  font-size: 1.45rem;
  margin-bottom: .75rem;
  color: rgba(255,255,255,.98);
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.card-text{
  color: rgba(255,255,255,.88);
  line-height: 1.7;
}

/* Linked cards (services list, portfolio cards, etc.) */
a.card{cursor:pointer}
a.card:hover{color:inherit}
a.card .card-text{opacity:.9}

/* Compact tiles (Services list) */
.service-tile{
  padding: 1.25rem 1.25rem;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.service-tile:hover{transform: translateY(-6px)}
.service-tile .card-title{font-size: 1.05rem; margin-bottom: .4rem;}
.service-tile .card-text{font-size: .95rem; opacity: .9;}
.service-tile .tile-arrow{opacity:.9}

/* Services list rows (replaces "cards cards" feel) */
.service-list{display:flex; flex-direction:column; gap: 12px;}
.service-row{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration:none;
  background: linear-gradient(145deg, rgba(31,41,55,.78), rgba(17,24,39,.58));
  border: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-row:hover{transform: translateY(-3px); border-color: rgba(56,189,248,.35); box-shadow: var(--shadow-md), 0 0 70px rgba(56,189,248,.10);}
.service-row .icon-pill{flex: 0 0 auto; width: 46px; height: 46px; border-radius: 16px;}
.service-row-body{flex:1; min-width:0;}
.service-row-title{font-weight: 900; font-size: 1.05rem; line-height: 1.25; color: rgba(255,255,255,.96);}
.service-row-meta{font-size: .92rem; color: rgba(255,255,255,.70);}
.service-row-cta{flex:0 0 auto;}
.service-row-cta i{font-size: 1.25rem; color: var(--accent);}

/* Accordion (Services demos grouping) */
.accordion-button:focus{box-shadow:none}
.accordion-button::after{filter: invert(1) brightness(1.2)}
.accordion-button:not(.collapsed){
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(34,211,238,.16));
  color: rgba(255,255,255,.98);
}

@media (max-width: 992px){
  .stats-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 480px){
  .stats-grid{grid-template-columns: 1fr;}
}

.card-icon{
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--g-glass);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  margin-bottom: 1.35rem;
}
.card-icon i{
  font-size: 2.1rem;
  background: var(--g-premium);
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}

/* Pricing */
.pricing-card{padding: 2.5rem 2.2rem; height:100%; display:flex; flex-direction:column; position:relative;}
.pricing-card{
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.pricing-card:hover{
  transform: translateY(-8px);
  border-color: rgba(34,211,238,.45);
  box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.14);
}
.pricing-card.popular{border-color: rgba(34,211,238,.60); box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.16);}
.pricing-card.popular::before{
  content:'★ MOST POPULAR';
  position:absolute;
  top:-16px;
  left:50%;
  transform: translateX(-50%);
  background: var(--g-premium);
  color:#fff;
  padding: .6rem 1.5rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: 1.2px;
  box-shadow: 0 16px 45px rgba(56,189,248,.26);
}
.pricing-header{margin-bottom: 1.2rem;}
.pricing-name{font-weight: 900; font-size: 1.45rem;}
.pricing-tagline{color: rgba(255,255,255,.70)}
.pricing-price{font-weight: 900; font-size: 3rem; background: var(--g-premium); -webkit-background-clip:text; background-clip:text; color:transparent; margin: .9rem 0; line-height:1;}
.pricing-price-label{color: rgba(255,255,255,.65)}
.pricing-features{list-style:none; padding-left:0; margin: 1.3rem 0; flex:1;}
.pricing-features li{display:flex; gap:.7rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.80)}
.pricing-features li strong{color: rgba(255,255,255,.96)}
.pricing-features li:last-child{border-bottom:none}
.pricing-features li i{color: var(--good); margin-top:2px}

/* Demos */
.demo-card{
  display:block;
  text-decoration:none;
  border-radius: var(--r-lg);
  padding: 2.2rem;
  position:relative;
  overflow:hidden;
  background: linear-gradient(145deg, rgba(31,41,55,.78), rgba(17,24,39,.58));
  border: 1px solid rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.demo-card--compact{padding: 1.6rem; border-radius: 20px;}
.demo-card--compact .card-title{font-size: 1.15rem;}
.demo-card--compact .card-icon{width: 52px; height: 52px; border-radius: 16px;}
.demo-card--compact .demo-card-overlay i{font-size: 2.6rem;}
.demo-card--compact .demo-card-overlay span{font-size: .95rem;}
.demo-card > :not(.demo-card-overlay){position:relative; z-index:1;}
.demo-card:hover{transform: translateY(-10px); border-color: rgba(34,211,238,.50); box-shadow: var(--shadow-lg), 0 0 90px rgba(56,189,248,.14);}
.demo-card-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(14,165,233,.96), rgba(34,211,238,.96));
  opacity:0;
  transition: opacity .25s ease;
  z-index: 5;
}
.demo-card:hover .demo-card-overlay{opacity:1}
.demo-card-overlay i{font-size: 3.2rem; color:#fff}
.demo-card-overlay span{font-weight: 900; letter-spacing: 1px; color:#fff; text-transform: uppercase; font-size: 1rem}

/* Badges */
.badge{border-radius: 999px; padding: .45rem 1rem; font-weight: 800; font-size: .82rem;}
.badge-primary{background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.26); color: #E0F2FE;}
.badge-success{background: rgba(16,185,129,.14); border: 1px solid rgba(16,185,129,.30); color: #D1FAE5;}

/* Footer */
.footer{
  margin-top: 6rem;
  background: linear-gradient(180deg, rgba(17,24,39,.95), rgba(11,15,26,1));
  border-top: 1px solid var(--border);
  box-shadow: 0 -18px 70px rgba(0,0,0,.25);
  position:relative;
  overflow:hidden;
}
.footer::before{
  content:"";
  position:absolute;
  left:-10%;
  right:-10%;
  top:0;
  height:2px;
  background: var(--g-premium);
  opacity:.7;
}
.footer::after{
  content:"";
  position:absolute;
  inset:-40% -20% auto -20%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(56,189,248,.22), transparent 65%);
  filter: blur(10px);
  opacity:.55;
  pointer-events:none;
}

.footer-cta{
  position:relative;
  z-index:1;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(31,41,55,.80), rgba(17,24,39,.55));
  border: 1px solid rgba(56,189,248,.26);
  box-shadow: var(--shadow-md), 0 0 80px rgba(56,189,248,.10);
}
.footer-cta .cta-title{
  font-weight: 900;
  letter-spacing: -.6px;
  margin: 0;
  font-size: 1.35rem;
}
.footer-cta .cta-sub{
  color: rgba(255,255,255,.75);
  margin: .25rem 0 0;
  font-weight: 700;
  font-size: .98rem;
}

.footer-social{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.footer-social a{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.22);
  color: rgba(255,255,255,.92);
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.footer-social a:hover{
  transform: translateY(-3px);
  border-color: rgba(34,211,238,.55);
  background: rgba(56,189,248,.16);
}

.footer-logo{width: 190px; max-width: 100%; height:auto; opacity: .98;}

.footer-trust{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.trust-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.20);
  color: rgba(255,255,255,.86);
  font-weight: 800;
  font-size: .92rem;
}
.trust-item i{color: var(--accent); filter: drop-shadow(0 0 12px rgba(56,189,248,.35));}

.footer-actions{display:flex; flex-direction:column; gap: 10px;}

.footer-link{
  text-decoration:none;
  color: rgba(255,255,255,.76);
  font-weight: 750;
}
.footer-link:hover{color:#fff; text-decoration:none;}

@media (max-width: 992px){
  .brand-sub{display:none;}
  .footer-trust{grid-template-columns: 1fr;}
}

.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(17,24,39,.78);
  border: 1px solid rgba(56,189,248,.28);
  color: #fff;
  text-decoration:none;
  box-shadow: var(--shadow-md), 0 0 70px rgba(56,189,248,.12);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  opacity: .0;
  transform: translateY(10px);
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease, border-color .25s ease;
  z-index: 99;
}
.back-to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events:auto;
}
.back-to-top:hover{border-color: rgba(34,211,238,.55)}

/* Service hero quick actions */
.service-actions{display:flex; flex-direction:column; gap: 10px;}
.service-actions .contact-tile{transition: transform .25s ease, border-color .25s ease;}
.service-actions .contact-tile:hover{transform: translateY(-3px); border-color: rgba(34,211,238,.40);}
.footer-brand{display:flex;align-items:center;gap:.85rem;font-weight:900;font-size:1.4rem;}
.footer-text{color: rgba(255,255,255,.72); max-width: 520px;}
.footer-heading{font-weight:900; letter-spacing:.4px; margin-bottom: .9rem;}
.footer-link{color: rgba(255,255,255,.72); text-decoration:none; display:block; padding:.35rem 0; transition: transform .2s ease, color .2s ease;}
.footer-link:hover{color:#fff; transform: translateX(6px)}
.footer-bottom{border-top: 1px solid rgba(255,255,255,.10); padding: 1.75rem 0; margin-top: 2.5rem; text-align:center; color: rgba(255,255,255,.62); font-weight:700;}

/* Admin */
.admin-shell{background: var(--bg-0); min-height:100vh;}
.sidebar{
  background: rgba(11,15,26,.92);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border-right: 1px solid rgba(56,189,248,.14);
  min-height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar nav a{
  text-decoration:none;
  color: rgba(255,255,255,.82);
  padding: .75rem .9rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: all .22s ease;
}
.sidebar nav a:hover{background: rgba(56,189,248,.10); border-color: rgba(56,189,248,.22); color:#fff; transform: translateX(2px)}
.sidebar nav a.active{background: rgba(56,189,248,.14); border-color: rgba(34,211,238,.44); color:#fff; box-shadow: 0 16px 45px rgba(56,189,248,.12)}

.icon-pill{
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--g-glass);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.table-soft{
  --bs-table-bg: transparent;
  --bs-table-color: var(--text);
  --bs-table-striped-color: var(--text);
  --bs-table-striped-bg: rgba(255,255,255,.04);
  --bs-table-border-color: rgba(255,255,255,.10);
}
.table-soft thead th{color: rgba(255,255,255,.72); font-weight: 900; letter-spacing: .2px}
.table-soft tbody tr:hover{background: rgba(56,189,248,.07) !important}

.form-control,
.form-select{
  background: rgba(17,24,39,.60) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: 14px !important;
}

.form-label{color: rgba(255,255,255,.88) !important; font-weight: 800; letter-spacing: .2px}
.form-control::placeholder{color: rgba(255,255,255,.55) !important; opacity: 1}

/* Alerts on dark theme (fixes “text black” feel on contact page) */
.alert{
  background: rgba(17,24,39,.72) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.92) !important;
}
.alert-success{border-color: rgba(34,197,94,.35) !important;}
.alert-danger{border-color: rgba(248,113,113,.35) !important;}
.alert-warning{border-color: rgba(251,191,36,.35) !important;}
.alert-info{border-color: rgba(56,189,248,.30) !important;}
.alert a{color: inherit !important; text-decoration: underline;}

/* Chrome/Edge autofill fix (common reason: “text not visible”) */
input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
textarea.form-control:-webkit-autofill,
textarea.form-control:-webkit-autofill:hover,
textarea.form-control:-webkit-autofill:focus,
select.form-select:-webkit-autofill{
  -webkit-text-fill-color: #fff !important;
  transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0px 1000px rgba(17,24,39,.72) inset !important;
  border: 1px solid rgba(255,255,255,.16) !important;
}

.contact-tile{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(31,41,55,.78), rgba(17,24,39,.58));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.contact-tile .ct-icon{
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.22);
  color: rgba(224,231,255,.95);
}
.contact-tile .ct-title{font-weight: 900; color: rgba(255,255,255,.95)}
.contact-tile .ct-sub{color: rgba(255,255,255,.70); font-size: .95rem}
.step-row{display:flex; gap: 12px; align-items:flex-start}
.step-badge{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: rgba(34,211,238,.12);
  border: 1px solid rgba(34,211,238,.28);
  color: rgba(224,231,255,.95);
  flex: 0 0 auto;
}

/* Service detail helpers */
.feature-list{list-style:none; padding-left:0; margin:0}
.feature-list li{
  display:flex;
  gap:.75rem;
  padding: .55rem 0;
  color: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.feature-list li:last-child{border-bottom:none}
.feature-list i{margin-top:2px}
.icon-ok{color: var(--good)}
.icon-no{color: rgba(248,113,113,.92)}
.icon-go{color: var(--accent)}

/* Footer */
.footer-company{font-weight: 900; letter-spacing: -.4px; color: rgba(255,255,255,.92); line-height:1.1;}

.compare-table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow:hidden;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(17,24,39,.50);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.compare-table th,
.compare-table td{padding: 14px 16px; vertical-align: middle;}
.compare-table thead th{
  font-weight: 900;
  letter-spacing: .3px;
  color: rgba(255,255,255,.92);
  background: rgba(56,189,248,.10);
  border-bottom: 1px solid rgba(56,189,248,.22);
}
.compare-table tbody td{border-bottom: 1px solid rgba(255,255,255,.08);}
.compare-table tbody tr:last-child td{border-bottom:none}
.compare-table .col-feature{width:60%}
.compare-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: .82rem;
  background: rgba(56,189,248,.10);
  border: 1px solid rgba(56,189,248,.26);
  color: rgba(224,231,255,.95);
}
.form-control:focus,
.form-select:focus{
  background: rgba(17,24,39,.72) !important;
  border-color: rgba(34,211,238,.55) !important;
  box-shadow: 0 0 0 .22rem rgba(56,189,248,.18) !important;
}

/* Responsive refinements */
@media (max-width: 992px){
  .hero{padding: 70px 0 55px;}
  .section{padding: 60px 0;}
  .card{padding: 1.85rem;}
}
@media (max-width: 768px){
  .hero-stats{gap: 12px !important;}
  .hero-stat{flex: 1 1 30%; min-width: 110px;}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
}
