/* ═══════════════════════════════════════════════════════════════════
   CIVIL AT HAND  ·  ULTRA ENHANCEMENT  ·  v1.0
   ─────────────────────────────────────────────────────────────────
   LAYER OVER style.css to push the design to an elite level.
   Includes: Aurora backgrounds · Kinetic typography · Magnetic
   buttons · Glowing borders · Premium cards · Noise texture ·
   Shimmer reveals · 3D tilt cards · Orbital animations ·
   Command-bar style hero stats · Neon accents · Glass surfaces
   ═══════════════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES OVERRIDE / EXTEND ───────────────────────── */
:root {
  /* Premium extended palette */
  --ice:   #e8f3ff;
  --sky:   #c5e0ff;
  --cyan:  #06b6d4;
  --cyan2: rgba(6,182,212,.15);
  --neon:  #7dd3fc;
  --fire:  #f97316;

  /* Premium gradients */
  --grad-hero: linear-gradient(135deg, #030b18 0%, #060f20 40%, #0d1d38 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,0) 100%);
  --grad-blue: linear-gradient(135deg, var(--b700), var(--b400));
  --grad-gold: linear-gradient(135deg, #7a5c1e, #c8a84b, #e0c060, #c8a84b);
  --grad-aurora1: radial-gradient(ellipse 80% 70% at 15% 50%, rgba(44,102,196,.14) 0%, transparent 60%);
  --grad-aurora2: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(6,182,212,.06) 0%, transparent 55%);
  --grad-aurora3: radial-gradient(ellipse 40% 60% at 50% 90%, rgba(200,168,75,.08) 0%, transparent 60%);

  /* Surface upgrades */
  --glass: rgba(8,20,48,.7);
  --glass-b: 1px solid rgba(255,255,255,.07);
  --glass-blur: blur(28px) saturate(180%);

  /* Shadow system upgrade */
  --sh-card:  0 2px 8px rgba(0,0,0,.25), 0 8px 32px rgba(0,0,0,.2), 0 20px 60px rgba(0,0,0,.15);
  --sh-float: 0 8px 24px rgba(0,0,0,.35), 0 24px 64px rgba(0,0,0,.25);
  --glow-neon: 0 0 20px rgba(125,211,252,.3), 0 0 60px rgba(125,211,252,.1);
  --glow-gold: 0 0 20px rgba(200,168,75,.4), 0 0 60px rgba(200,168,75,.15);
  --glow-fire: 0 0 20px rgba(249,115,22,.35);
}

/* ─── NOISE TEXTURE OVERLAY ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 0; pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
[data-theme="light"] body::before { opacity: .025; }

/* ─── AURORA BACKGROUND ─────────────────────────────────────────── */
.hero::after,
.page-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    var(--grad-aurora1),
    var(--grad-aurora2),
    var(--grad-aurora3);
  animation: auroraShift 14s ease-in-out infinite;
}
@keyframes auroraShift {
  0%,100% { opacity: 1; }
  33%      { opacity: .7; filter: hue-rotate(15deg); }
  66%      { opacity: .85; filter: hue-rotate(-10deg); }
}

/* ─── HERO UPGRADES ─────────────────────────────────────────────── */
.hero-h1 {
  background: linear-gradient(170deg, #ffffff 0%, rgba(240,248,255,.88) 50%, rgba(160,200,255,.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(44,102,196,.25));
}
.hero-h1 .text-blue {
  background: linear-gradient(135deg, var(--neon) 0%, var(--b200) 50%, var(--sky) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease infinite;
}
.hero-h1 .text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: goldSlide 3.5s linear infinite;
}
@keyframes shimmerText {
  0%,100% { filter: drop-shadow(0 0 12px rgba(125,211,252,.4)); }
  50%      { filter: drop-shadow(0 0 24px rgba(125,211,252,.8)); }
}
@keyframes goldSlide {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Premium hero stats bar */
.hero-stats {
  background: rgba(6,14,30,.6);
  border: 1px solid rgba(44,102,196,.2);
  border-radius: 14px;
  padding: 20px 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
  gap: 0;
}
.stat { position: relative; }
.stat::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(44,102,196,.3), transparent);
}
.stat:last-child::after { display: none; }
.stat-n {
  background: linear-gradient(135deg, var(--b200), var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating blueprint card — ultra glow */
.bp-card {
  background: rgba(5,12,28,.94) !important;
  border-color: rgba(44,102,196,.3) !important;
  box-shadow:
    var(--sh-card),
    0 0 0 1px rgba(44,102,196,.12),
    0 0 80px rgba(44,102,196,.12),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.bp-card:hover {
  box-shadow:
    var(--sh-float),
    0 0 0 1px rgba(44,102,196,.25),
    0 0 100px rgba(44,102,196,.2),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* ─── NAVIGATION ULTRA ──────────────────────────────────────────── */
.nav-pill {
  background: rgba(4,10,22,.85) !important;
  border-color: rgba(44,102,196,.2) !important;
  box-shadow:
    0 2px 20px rgba(0,0,0,.4),
    0 0 0 1px rgba(44,102,196,.08),
    inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.nav-pill.solid {
  background: rgba(4,10,22,.97) !important;
  box-shadow:
    0 8px 40px rgba(0,0,0,.6),
    0 0 0 1px rgba(44,102,196,.18),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
}
.nav-cta {
  background: linear-gradient(135deg, var(--b600), var(--b400)) !important;
  box-shadow: 0 0 20px rgba(44,102,196,.4), 0 4px 16px rgba(0,0,0,.3) !important;
  position: relative !important;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: -1px; border-radius: inherit;
  background: linear-gradient(135deg, var(--b400), var(--neon), var(--b400));
  z-index: -1; opacity: 0;
  transition: opacity .3s;
}
.nav-cta:hover::before { opacity: .6; }

/* ─── SECTION EYEBROW UPGRADE ───────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--b300);
  padding: 6px 14px;
  background: rgba(44,102,196,.08);
  border: 1px solid rgba(44,102,196,.25);
  border-radius: 100px;
  margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.section-eyebrow::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,.15), transparent);
  animation: eyebrowShimmer 4s ease infinite;
}
@keyframes eyebrowShimmer {
  0%   { left: -100%; }
  40%  { left: 150%; }
  100% { left: 150%; }
}
.section-eyebrow::after {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--b300);
  box-shadow: 0 0 8px var(--b300), 0 0 20px rgba(44,102,196,.5);
  animation: eyedot 2.2s ease infinite;
}
@keyframes eyedot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.5)} }

/* ─── HEADLINE UPGRADE ──────────────────────────────────────────── */
.headline em, h2 em, h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: goldSlide 4s linear infinite;
}

/* ─── SERVICE CARDS ULTRA ───────────────────────────────────────── */
.svc-card {
  background: var(--grad-card), var(--surf1) !important;
  border-color: rgba(255,255,255,.06) !important;
  box-shadow: var(--sh-card) !important;
  position: relative;
}
.svc-card::before {
  height: 2px !important;
  background: linear-gradient(90deg, transparent 0%, var(--b400) 40%, var(--neon) 60%, transparent 100%) !important;
  opacity: 0 !important;
  transition: opacity .4s !important;
}
.svc-card:hover::before { opacity: 1 !important; }
.svc-card:hover {
  border-color: rgba(44,102,196,.28) !important;
  box-shadow:
    var(--sh-float),
    0 0 40px rgba(44,102,196,.1),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.svc-ico {
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(44,102,196,.12), rgba(6,182,212,.08)) !important;
  border: 1px solid rgba(44,102,196,.25) !important;
  transition: all .3s !important;
}
.svc-card:hover .svc-ico {
  background: linear-gradient(135deg, rgba(44,102,196,.22), rgba(6,182,212,.15)) !important;
  box-shadow: 0 0 20px rgba(44,102,196,.35), 0 0 40px rgba(44,102,196,.1) !important;
  transform: scale(1.08) rotate(-3deg) !important;
}

/* ─── ULTRA CARD GLOW SYSTEM ────────────────────────────────────── */
.svc-card,
.testi,
.mvv-card,
.team-card,
.why-about-item,
.why-feat,
.proc,
.sitemap-group,
.policy-toc {
  background-image: var(--grad-card) !important;
  transition: all .35s cubic-bezier(.25,.46,.45,.94) !important;
}

/* ─── WHY FEAT ULTRA ────────────────────────────────────────────── */
.why-feat:hover {
  border-color: rgba(44,102,196,.4) !important;
  background: rgba(44,102,196,.07) !important;
  transform: translateX(8px) !important;
  box-shadow: 4px 0 0 0 var(--b400), var(--sh-sm) !important;
}

/* ─── IMPACT BAR ULTRA ──────────────────────────────────────────── */
.impact-bar {
  background: linear-gradient(135deg, var(--b900) 0%, var(--b800) 50%, var(--b900) 100%) !important;
  position: relative; overflow: hidden;
}
.impact-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(44,102,196,.15), transparent 70%);
  pointer-events: none;
}
.impact-n {
  background: linear-gradient(135deg, #fff 0%, var(--sky) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(125,211,252,.25));
}

/* ─── BUTTON SYSTEM ULTRA ───────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--b600) 0%, var(--b400) 60%, var(--b500) 100%) !important;
  box-shadow: 0 4px 20px rgba(44,102,196,.4), 0 0 0 1px rgba(44,102,196,.2) !important;
  background-size: 200% auto !important;
  transition: all .3s, background-position .6s !important;
}
.btn-primary:hover {
  background-position: right center !important;
  box-shadow: 0 8px 32px rgba(44,102,196,.6), 0 0 24px rgba(125,211,252,.2), 0 0 0 1px rgba(125,211,252,.3) !important;
  transform: translateY(-3px) !important;
}
.btn-gold {
  background: var(--grad-gold) !important;
  background-size: 200% auto !important;
  box-shadow: 0 4px 20px rgba(200,168,75,.4), 0 0 0 1px rgba(200,168,75,.25) !important;
  transition: all .3s, background-position .6s !important;
}
.btn-gold:hover {
  background-position: right center !important;
  box-shadow: var(--glow-gold), 0 8px 32px rgba(200,168,75,.5) !important;
  transform: translateY(-3px) !important;
}
.btn-wa {
  box-shadow: 0 4px 20px rgba(37,211,102,.35), 0 0 0 1px rgba(37,211,102,.2) !important;
}
.btn-wa:hover {
  box-shadow: 0 8px 32px rgba(37,211,102,.55), 0 0 24px rgba(37,211,102,.2) !important;
}

/* Magnetic pulse on CTA buttons */
.btn-primary::before,
.btn-gold::before {
  content: '';
  position: absolute; inset: -3px; border-radius: inherit;
  background: inherit;
  z-index: -1; opacity: 0; filter: blur(12px);
  transition: opacity .3s;
}
.btn-primary:hover::before,
.btn-gold:hover::before { opacity: .4; }

/* ─── FOOTER ULTRA ──────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(180deg, var(--b950) 0%, #020710 100%) !important;
  border-top: 1px solid rgba(44,102,196,.18) !important;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--b400), var(--neon), var(--b400), transparent);
}
.site-footer::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(44,102,196,.06), transparent 60%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(200,168,75,.04), transparent 60%);
}
.ft-col h4 {
  color: var(--b300) !important;
  position: relative;
  display: inline-block;
}
.ft-col h4::after {
  content: '';
  position: absolute; bottom: -6px; left: 0;
  width: 24px; height: 1.5px;
  background: linear-gradient(90deg, var(--b400), transparent);
  border-radius: 2px;
}
.ft-col a:hover {
  color: var(--b200) !important;
  padding-left: 8px !important;
}
.footer-bottom {
  border-top: 1px solid rgba(44,102,196,.1) !important;
  background: rgba(0,0,0,.3);
}

/* ─── TESTIMONIAL ULTRA ─────────────────────────────────────────── */
.testi {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-card) !important;
  border-color: rgba(255,255,255,.05) !important;
  position: relative; overflow: hidden;
}
.testi::before {
  color: var(--b300) !important; opacity: .06 !important;
}
.testi::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--b400), transparent);
  opacity: 0; transition: opacity .3s;
}
.testi:hover::after { opacity: 1; }
.testi:hover {
  border-color: rgba(44,102,196,.3) !important;
  box-shadow: var(--sh-float), 0 0 40px rgba(44,102,196,.08) !important;
}
.testi-stars { font-size: 1rem !important; letter-spacing: 3px !important; }

/* ─── PROCESS STEPS ULTRA ───────────────────────────────────────── */
.proc-n {
  background: linear-gradient(135deg, var(--b700), var(--b500)) !important;
  border-color: rgba(44,102,196,.4) !important;
  color: var(--b100) !important;
  box-shadow: 0 0 0 4px rgba(44,102,196,.08), var(--sh-sm) !important;
  font-size: 1.1rem !important;
  transition: all .3s !important;
}
.proc:hover .proc-n {
  background: linear-gradient(135deg, var(--b500), var(--b300)) !important;
  box-shadow: 0 0 0 6px rgba(44,102,196,.12), var(--glow-b) !important;
  transform: scale(1.1) !important;
}
.process-grid::before {
  background: linear-gradient(90deg, transparent, rgba(44,102,196,.4), var(--neon), rgba(44,102,196,.4), transparent) !important;
  opacity: .6;
  animation: processLine 3s ease-in-out infinite;
}
@keyframes processLine {
  0%,100% { opacity: .3; }
  50%      { opacity: .8; }
}

/* ─── PORTFOLIO CARDS ULTRA ─────────────────────────────────────── */
.shw {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-card) !important;
  border-color: rgba(255,255,255,.05) !important;
  overflow: hidden; position: relative;
}
.shw::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(6,14,30,.85) 100%);
  opacity: 0; transition: opacity .4s;
}
.shw:hover { transform: translateY(-7px) scale(1.01) !important; }
.shw:hover::after { opacity: 1; }

/* ─── FAQ ULTRA ─────────────────────────────────────────────────── */
.faq-item {
  background: var(--grad-card), var(--surf1) !important;
  border-color: rgba(255,255,255,.05) !important;
  box-shadow: var(--sh-sm) !important;
  transition: all .3s !important;
}
.faq-item.open {
  border-color: rgba(44,102,196,.4) !important;
  box-shadow: var(--sh-sm), 0 0 20px rgba(44,102,196,.08) !important;
}
.faq-ico {
  border-color: rgba(44,102,196,.35) !important;
  background: rgba(44,102,196,.06) !important;
  transition: all .3s !important;
}
.faq-item.open .faq-ico {
  background: rgba(44,102,196,.15) !important;
  box-shadow: var(--glow-b) !important;
}

/* ─── FORM / CONTACT ULTRA ──────────────────────────────────────── */
.fc {
  transition: all .3s !important;
}
.fc:focus {
  box-shadow: 0 0 0 3px rgba(44,102,196,.2), 0 0 20px rgba(44,102,196,.1) !important;
  border-color: var(--b400) !important;
}
.contact-card {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-float) !important;
}
.contact-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(44,102,196,.05), transparent 70%);
}

/* ─── CTA SECTION ULTRA ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--b900) 0%, var(--b800) 50%, var(--b900) 100%) !important;
  position: relative;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(44,102,196,.2), transparent 65%),
    radial-gradient(ellipse 30% 40% at 20% 80%, rgba(200,168,75,.06), transparent 60%);
  animation: ctaGlow 6s ease-in-out infinite;
}
@keyframes ctaGlow {
  0%,100% { opacity: 1; }
  50%      { opacity: .6; }
}

/* ─── PAGE HERO ULTRA (inner pages) ────────────────────────────── */
.page-hero {
  background: linear-gradient(160deg, var(--b900) 0%, var(--b850) 60%, var(--b900) 100%) !important;
  position: relative;
}
.page-hero::before {
  background:
    radial-gradient(ellipse 70% 80% at 70% 40%, rgba(44,102,196,.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(200,168,75,.06) 0%, transparent 60%) !important;
}
.page-hero-title {
  background: linear-gradient(170deg, #ffffff 0%, rgba(220,235,255,.9) 60%, rgba(160,200,255,.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(44,102,196,.2));
}

/* ─── BREADCRUMB ULTRA ──────────────────────────────────────────── */
.breadcrumb {
  background: rgba(44,102,196,.06);
  border: 1px solid rgba(44,102,196,.15);
  border-radius: 100px;
  padding: 6px 16px;
  display: inline-flex;
  backdrop-filter: blur(12px);
}
.breadcrumb a:hover { color: var(--neon) !important; }

/* ─── POLICY CONTENT UPGRADE ────────────────────────────────────── */
.policy-content h2 {
  background: linear-gradient(135deg, var(--tx1) 0%, var(--b200) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.policy-content .highlight-box {
  background: rgba(44,102,196,.07) !important;
  border-left: 3px solid var(--b300) !important;
  box-shadow: inset 4px 0 0 rgba(44,102,196,.1) !important;
}
.policy-toc {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-card) !important;
  position: relative; overflow: hidden;
}
.policy-toc::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--b600), var(--b300), var(--neon));
}
.policy-toc a:hover { color: var(--neon) !important; }
.policy-toc a.active { color: var(--b300) !important; }

/* ─── ABOUT PAGE ULTRA ──────────────────────────────────────────── */
.about-blueprint-card {
  box-shadow: var(--sh-float), 0 0 80px rgba(44,102,196,.12) !important;
  border-color: rgba(44,102,196,.3) !important;
}
.abp-header {
  background: rgba(44,102,196,.1) !important;
}
.mvv-card:hover {
  border-color: rgba(44,102,196,.35) !important;
  box-shadow: var(--sh-float), 0 0 40px rgba(44,102,196,.08) !important;
}
.mvv-icon {
  background: linear-gradient(135deg, rgba(44,102,196,.12), rgba(6,182,212,.08)) !important;
  border-color: rgba(44,102,196,.3) !important;
  transition: all .3s !important;
}
.mvv-card:hover .mvv-icon {
  box-shadow: 0 0 20px rgba(44,102,196,.3) !important;
  transform: scale(1.05) !important;
}
.team-card:hover {
  border-color: rgba(44,102,196,.35) !important;
  box-shadow: var(--sh-float), 0 0 40px rgba(44,102,196,.08) !important;
}
.team-avatar {
  background: linear-gradient(135deg, rgba(44,102,196,.15), rgba(6,182,212,.1)) !important;
  box-shadow: 0 0 20px rgba(44,102,196,.2) !important;
}
.cta-box {
  background: linear-gradient(135deg, var(--b800) 0%, var(--b700) 50%, var(--b800) 100%) !important;
  box-shadow: var(--sh-float), 0 0 80px rgba(44,102,196,.15) !important;
  border-color: rgba(44,102,196,.3) !important;
}

/* ─── WA BUTTON ULTRA ───────────────────────────────────────────── */
.wa-btn {
  box-shadow:
    0 6px 28px rgba(37,211,102,.45),
    0 0 0 0 rgba(37,211,102,.4) !important;
}
.wa-btn::before {
  border-color: rgba(37,211,102,.5) !important;
  border-width: 2px !important;
}

/* ─── BACK TO TOP ULTRA ─────────────────────────────────────────── */
#backToTop {
  background: rgba(6,14,30,.9) !important;
  border-color: rgba(44,102,196,.3) !important;
  box-shadow: var(--sh-sm), 0 0 20px rgba(44,102,196,.15) !important;
}
#backToTop:hover {
  border-color: var(--b400) !important;
  box-shadow: var(--sh), 0 0 30px rgba(44,102,196,.3) !important;
}

/* ─── TICKER ULTRA ──────────────────────────────────────────────── */
.ticker {
  background: rgba(4,8,18,.7) !important;
  border-top-color: rgba(44,102,196,.15) !important;
  border-bottom-color: rgba(44,102,196,.15) !important;
  backdrop-filter: blur(8px);
}
.ticker-track span { color: var(--b200) !important; }
.ticker-track .sep  { color: var(--b400) !important; opacity: .6 !important; }

/* ─── READING PROGRESS ULTRA ────────────────────────────────────── */
#readProgress {
  background: linear-gradient(90deg, var(--b600), var(--b300), var(--neon), var(--b300)) !important;
  background-size: 200% 100% !important;
  animation: progressGlow 3s linear infinite !important;
  height: 2px !important;
}
@keyframes progressGlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ─── SCROLL REVEAL ULTRA ───────────────────────────────────────── */
.reveal, .rev-l, .rev-r, .rev-s {
  transition:
    opacity .8s cubic-bezier(.25,.46,.45,.94),
    transform .8s cubic-bezier(.25,.46,.45,.94),
    filter .8s cubic-bezier(.25,.46,.45,.94) !important;
  filter: blur(2px);
}
.reveal.up, .rev-l.up, .rev-r.up, .rev-s.up {
  filter: blur(0) !important;
}

/* ─── SECTION BACKGROUND VARIETIES ─────────────────────────────── */
section:nth-child(even) {
  position: relative;
}
section:nth-child(even)::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(44,102,196,.015), transparent 70%);
}

/* ─── ULTRA STATS COUNTER ANIMATION ────────────────────────────── */
.counter-value {
  background: linear-gradient(135deg, #fff, var(--sky));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

/* ─── SHIMMER LOADING SKELETON EFFECT ──────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── MICRO-ANIMATIONS ──────────────────────────────────────────── */
@keyframes float1 {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes float2 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-6px) rotate(1deg); }
  66%      { transform: translateY(4px) rotate(-1deg); }
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(44,102,196,.4); }
  70%  { box-shadow: 0 0 0 16px rgba(44,102,196,0); }
  100% { box-shadow: 0 0 0 0 rgba(44,102,196,0); }
}
@keyframes borderGlow {
  0%,100% { border-color: rgba(44,102,196,.2); }
  50%      { border-color: rgba(44,102,196,.5); }
}

/* Badge floats get better animation */
.badge-float.bf-1 { animation: float1 4s ease-in-out infinite !important; }
.badge-float.bf-2 { animation: float2 5s ease-in-out infinite !important; }
.badge-float {
  background: rgba(4,10,24,.97) !important;
  border: 1px solid rgba(44,102,196,.3) !important;
  box-shadow: var(--sh-float), 0 0 30px rgba(44,102,196,.15) !important;
  backdrop-filter: blur(20px) !important;
}

/* Phone ring pulse */
.ph-ring {
  animation: pulseRing 2.8s ease infinite !important;
}

/* Brand icon glow */
.brand-icon {
  background: linear-gradient(135deg, var(--b700), var(--b500)) !important;
  box-shadow: 0 2px 12px rgba(44,102,196,.3) !important;
}
.nav-brand:hover .brand-icon {
  box-shadow: 0 0 24px rgba(44,102,196,.5), 0 0 48px rgba(44,102,196,.2) !important;
}

/* ─── SCROLLBAR ULTRA ───────────────────────────────────────────── */
::-webkit-scrollbar       { width: 4px !important; }
::-webkit-scrollbar-track { background: var(--b900) !important; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--b500), var(--b300)) !important;
  border-radius: 4px !important;
}

/* ─── SELECTION ULTRA ───────────────────────────────────────────── */
::selection {
  background: rgba(44,102,196,.35) !important;
  color: var(--sky) !important;
  text-shadow: 0 0 20px rgba(125,211,252,.5) !important;
}

/* ─── RESPONSIVE ULTRA ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-stats {
    padding: 16px 16px !important;
  }
  .breadcrumb {
    padding: 5px 12px !important;
  }
}

/* ─── LIGHT MODE OVERRIDES ──────────────────────────────────────── */
[data-theme="light"] .page-hero-title {
  background: linear-gradient(170deg, var(--b900) 0%, var(--b700) 60%, var(--b500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
}
[data-theme="light"] .hero-h1 {
  background: linear-gradient(170deg, var(--b900) 0%, var(--b700) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .impact-n {
  background: linear-gradient(135deg, #fff, var(--b050));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="light"] .site-footer::after { opacity: .5; }
[data-theme="light"] body::before { opacity: .03; }

/* ─── TICKER ULTRA ENHANCED ─────────────────────────────────────── */
.ticker-track span {
  font-family: var(--f-brand) !important;
  font-weight: 600 !important;
  font-size: .82rem !important;
  color: var(--b200) !important;
  letter-spacing: .3px;
}
.ticker-track .sep {
  color: var(--b400) !important;
  opacity: .5 !important;
  font-size: .55rem !important;
}

/* ─── SECTION HEAD UPGRADE ──────────────────────────────────────── */
.sec-head .tag,
.section-head .tag {
  margin-bottom: 20px !important;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .headline {
  margin-bottom: 12px;
}
.section-head .sub,
.section-head p.sub {
  margin: 0 auto;
}

/* ─── IMPACT BAR NUMBER GLOW ────────────────────────────────────── */
.impact-item:hover .impact-n {
  filter: drop-shadow(0 0 16px rgba(125,211,252,.6));
  transform: scale(1.05);
  display: inline-block;
  transition: all .3s;
}
.impact-n { display: inline-block; transition: all .3s; }

/* ─── SERVICE SECTION EYEBROW DOT ───────────────────────────────── */
.sec-head .tag .tag-dot {
  box-shadow: 0 0 8px var(--b300), 0 0 20px rgba(44,102,196,.5) !important;
}

/* ─── PROCESS LINE GRADIENT ─────────────────────────────────────── */
.process-grid::before {
  height: 2px !important;
  top: 26px !important;
}

/* ─── WHY CARD PREMIUM ──────────────────────────────────────────── */
.why-card {
  background: linear-gradient(135deg, var(--b800) 0%, var(--b750) 100%) !important;
  box-shadow: var(--sh-float), 0 0 60px rgba(44,102,196,.15) !important;
}
.why-card::before {
  background: linear-gradient(90deg, var(--b500), var(--b300), var(--neon)) !important;
  height: 2px !important;
}
.wc-m {
  border-color: rgba(44,102,196,.2) !important;
  transition: all .3s;
}
.wc-m:hover {
  background: rgba(44,102,196,.14) !important;
  border-color: rgba(44,102,196,.4) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,102,196,.2);
}
.wc-mn {
  background: linear-gradient(135deg, var(--b200), var(--neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── TOOLS PAGE ULTRA ──────────────────────────────────────────── */
.calc-card,
.tool-card {
  background: var(--grad-card), var(--surf1) !important;
  border-color: rgba(255,255,255,.05) !important;
  box-shadow: var(--sh-card) !important;
  transition: all .35s cubic-bezier(.25,.46,.45,.94) !important;
}
.calc-card:hover,
.tool-card:hover {
  border-color: rgba(44,102,196,.3) !important;
  box-shadow: var(--sh-float), 0 0 40px rgba(44,102,196,.1) !important;
  transform: translateY(-5px) !important;
}

/* ─── PORTFOLIO FILTER BUTTONS ──────────────────────────────────── */
.pf-btn.active {
  background: linear-gradient(135deg, var(--b600), var(--b400)) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(44,102,196,.4) !important;
}
.pf-btn:hover:not(.active) {
  border-color: rgba(44,102,196,.4) !important;
  color: var(--b200) !important;
  background: rgba(44,102,196,.06) !important;
}

/* ─── BLOG CARDS ULTRA ──────────────────────────────────────────── */
.blog-card,
.post-card {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-card) !important;
  transition: all .35s cubic-bezier(.25,.46,.45,.94) !important;
}
.blog-card:hover,
.post-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--sh-float), 0 0 40px rgba(44,102,196,.08) !important;
  border-color: rgba(44,102,196,.25) !important;
}

/* ─── STUDENT & FREELANCER PAGE ─────────────────────────────────── */
.guide-card,
.step-card,
.feat-card {
  background: var(--grad-card), var(--surf1) !important;
  box-shadow: var(--sh-card) !important;
  transition: all .35s !important;
}
.guide-card:hover,
.step-card:hover,
.feat-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--sh-float) !important;
  border-color: rgba(44,102,196,.3) !important;
}

/* ─── 404 PAGE ULTRA ────────────────────────────────────────────── */
.error-code {
  background: linear-gradient(135deg, var(--b200), var(--neon), var(--b300));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(125,211,252,.3));
}

/* ─── MILESTONE ITEMS ABOUT PAGE ────────────────────────────────── */
.milestone-item:hover .milestone-year {
  color: var(--neon) !important;
  text-shadow: 0 0 12px rgba(125,211,252,.4);
}
.milestone-item {
  transition: padding-left .2s;
}
.milestone-item:hover {
  padding-left: 8px;
}

/* ─── WHY-ABOUT ITEM ────────────────────────────────────────────── */
.why-about-item:hover {
  border-color: rgba(200,168,75,.35) !important;
  box-shadow: 0 8px 32px rgba(200,168,75,.08), inset 0 0 0 1px rgba(200,168,75,.1) !important;
}
.why-about-item:hover .wa-num {
  opacity: .7 !important;
  color: var(--g1) !important;
}

/* ─── SITEMAP ULTRA ─────────────────────────────────────────────── */
.sitemap-group:hover {
  border-color: rgba(44,102,196,.3) !important;
  box-shadow: var(--sh-sm), 0 0 30px rgba(44,102,196,.06) !important;
}
.sitemap-group h3 {
  background: linear-gradient(135deg, var(--g2), var(--g));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sitemap-group a:hover {
  color: var(--neon) !important;
}

/* ─── TABLE ULTRA ───────────────────────────────────────────────── */
.policy-content th {
  background: rgba(44,102,196,.12) !important;
  border-color: rgba(44,102,196,.2) !important;
  color: var(--b200) !important;
}
.policy-content td {
  border-color: rgba(44,102,196,.1) !important;
  transition: background .2s;
}
.policy-content tr:hover td {
  background: rgba(44,102,196,.04) !important;
}
.policy-content code {
  background: rgba(44,102,196,.1);
  border: 1px solid rgba(44,102,196,.2);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--f-mono);
  font-size: .85em;
  color: var(--b200);
}

/* ─── FINAL TOUCHES ─────────────────────────────────────────────── */
/* Smooth focus for all interactive elements */
:focus-visible {
  outline: 2px solid var(--b300) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(44,102,196,.15) !important;
}

/* Remove default focus from non-keyboard */
:focus:not(:focus-visible) { outline: none !important; }

/* Prevent layout shift on images */
img {
  background: var(--surf2);
}

/* Enhanced nav link hover */
.nav-links a:not(.nav-cta):hover {
  background: rgba(44,102,196,.1) !important;
  color: var(--b200) !important;
  box-shadow: inset 0 -2px 0 var(--b300);
}
