/* ============================================================
   ETHICS COMPUTER — ENTERPRISE PREMIUM UPGRADE v5.0
   Award-winning enterprise UI: Awwwards / CSS Design Awards level
   ============================================================ */

/* ─── Custom Cursor ──────────────────────────────────────────── */
*, *::before, *::after { cursor: none !important; }
#ec-cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: #2563EB;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s, background .2s;
  mix-blend-mode: normal;
}
#ec-cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid rgba(37,99,235,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%,-50%);
  transition: width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), border-color .35s, opacity .35s;
}
#ec-cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99990;
  transform: translate(-50%,-50%);
  transition: opacity .4s;
}
body.cursor-hover #ec-cursor-dot { width: 14px; height: 14px; background: #7C3AED; }
body.cursor-hover #ec-cursor-ring { width: 60px; height: 60px; border-color: rgba(124,58,237,0.6); }
body.cursor-magnetic #ec-cursor-dot { background: #10B981; }
body.cursor-magnetic #ec-cursor-ring { border-color: rgba(16,185,129,0.7); }
@media (hover: none), (max-width: 768px) {
  #ec-cursor-dot, #ec-cursor-ring, #ec-cursor-glow { display: none !important; }
  *, *::before, *::after { cursor: auto !important; }
}

/* ─── Page Loader ────────────────────────────────────────────── */
#ec-loader {
  position: fixed; inset: 0;
  background: #030712;
  z-index: 999999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 32px;
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
#ec-loader.done { opacity: 0; pointer-events: none; }
.loader-logo {
  font-size: 2rem; font-weight: 900; letter-spacing: -0.04em;
  background: linear-gradient(135deg, #2563EB, #06B6D4, #7C3AED);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loader-logo-pulse 1.5s ease-in-out infinite;
}
@keyframes loader-logo-pulse { 0%,100% { opacity:.7; } 50% { opacity:1; } }
.loader-progress-track {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.loader-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #2563EB, #06B6D4, #7C3AED);
  border-radius: 99px;
  transition: width .05s linear;
}
.loader-pct {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.loader-tagline {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
}

/* ─── Aurora / Gradient Mesh Background ────────────────────────── */
.aurora-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.aurora-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.25;
  animation: aurora-drift 14s ease-in-out infinite alternate;
}
.aurora-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #2563EB, transparent); top: -15%; left: -10%; animation-duration: 16s; }
.aurora-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #7C3AED, transparent); top: 20%; right: -10%; animation-duration: 12s; animation-delay: -4s; }
.aurora-orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #06B6D4, transparent); bottom: -10%; left: 30%; animation-duration: 18s; animation-delay: -8s; }
@keyframes aurora-drift { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.1); } }

/* Cyber Grid overlay */
.cyber-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Floating particles canvas */
#ec-particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.4; }

/* ─── Hero Premium Upgrades ──────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 40%, #F5F3FF 100%) !important;
  min-height: 100svh;
  overflow: hidden;
}
.hero-inner-container { position: relative; z-index: 5; }

/* Floating accent cards */
.floating-accent {
  position: absolute;
  border-radius: 20px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 60px rgba(37,99,235,0.12), 0 4px 20px rgba(0,0,0,0.04);
  pointer-events: none;
  z-index: 6;
}
.floating-accent.a1 {
  top: 15%; right: 5%; width: 200px;
  animation: float-a1 6s ease-in-out infinite;
}
.floating-accent.a2 {
  bottom: 20%; left: 2%; width: 180px;
  animation: float-a2 7s ease-in-out 1.5s infinite;
}
.floating-accent.a3 {
  top: 60%; right: 8%; width: 160px;
  animation: float-a1 8s ease-in-out 3s infinite;
}
@keyframes float-a1 { 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-16px) rotate(1deg); } }
@keyframes float-a2 { 0%,100%{ transform:translateY(0) rotate(0deg); } 50%{ transform:translateY(-12px) rotate(-1deg); } }

/* Hero dashboard card premium */
.hero-dash-card {
  position: relative;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(37,99,235,0.14), 0 8px 32px rgba(0,0,0,0.06);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.hero-dash-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2563EB, #06B6D4, #7C3AED);
  border-radius: 28px 28px 0 0;
}

/* Animated bar chart */
.anim-bar { transform-origin: bottom; animation: bar-grow 1.4s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Pulse ring */
.pulse-ring {
  position: absolute; border-radius: 50%;
  background: rgba(16,185,129,0.15);
  animation: pulse-expand 2.4s ease-out infinite;
}
@keyframes pulse-expand { 0%{ transform: scale(0); opacity:1; } 100%{ transform: scale(3); opacity:0; } }

/* Counter animation class */
.ec-counter { display: inline-block; }

/* ─── Navbar Glass Upgrade ───────────────────────────────────── */
.navbar-glass {
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  background: rgba(255,255,255,0.85) !important;
  border-bottom: 1px solid rgba(255,255,255,0.5) !important;
  box-shadow: 0 4px 32px rgba(15,23,42,0.06) !important;
  transition: all .4s cubic-bezier(.16,1,.3,1) !important;
}
.navbar-shrink {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  box-shadow: 0 8px 40px rgba(15,23,42,0.1) !important;
}

/* Animated underline nav */
.nav-link-premium {
  position: relative; overflow: hidden;
}
.nav-link-premium::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  border-radius: 99px;
  transition: width .35s cubic-bezier(.16,1,.3,1);
}
.nav-link-premium:hover::after, .nav-link-premium.active::after { width: 100%; }

/* ─── Magnetic Button ────────────────────────────────────────── */
.btn-magnetic {
  position: relative;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
  will-change: transform;
}
.btn-magnetic::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.2), transparent 60%);
  transition: opacity .3s;
}
.btn-magnetic:hover::after { opacity: 1; }

/* Button ripple */
.btn-ripple { position: relative; overflow: hidden; }
.btn-ripple .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0); animation: ripple-anim .6s linear;
  pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ─── Section Reveal ─────────────────────────────────────────── */
.reveal-up {
  opacity: 0; transform: translateY(48px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-up.in-view { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-48px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(48px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children > * { opacity: 0; transform: translateY(32px); }
.stagger-children.in-view > * {
  animation: stagger-in .7s cubic-bezier(.16,1,.3,1) forwards;
}
.stagger-children.in-view > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children.in-view > *:nth-child(2) { animation-delay: 80ms; }
.stagger-children.in-view > *:nth-child(3) { animation-delay: 160ms; }
.stagger-children.in-view > *:nth-child(4) { animation-delay: 240ms; }
.stagger-children.in-view > *:nth-child(5) { animation-delay: 320ms; }
.stagger-children.in-view > *:nth-child(6) { animation-delay: 400ms; }
.stagger-children.in-view > *:nth-child(7) { animation-delay: 480ms; }
.stagger-children.in-view > *:nth-child(8) { animation-delay: 560ms; }
.stagger-children.in-view > *:nth-child(9) { animation-delay: 640ms; }
.stagger-children.in-view > *:nth-child(n+10) { animation-delay: 700ms; }
@keyframes stagger-in { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:translateY(0); } }

/* Split text word animation */
.split-word { display: inline-block; overflow: hidden; }
.split-word span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .7s cubic-bezier(.16,1,.3,1);
}
.in-view .split-word span { transform: translateY(0); }
.split-word:nth-child(1) span { transition-delay: 0ms; }
.split-word:nth-child(2) span { transition-delay: 60ms; }
.split-word:nth-child(3) span { transition-delay: 120ms; }
.split-word:nth-child(4) span { transition-delay: 180ms; }
.split-word:nth-child(5) span { transition-delay: 240ms; }

/* ─── Premium Card Hover ─────────────────────────────────────── */
.card-premium {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s, border-color .4s;
  will-change: transform;
}
.card-premium::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(37,99,235,0.06), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 0;
}
.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15,23,42,0.12), 0 8px 20px rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.15);
}
.card-premium:hover::before { opacity: 1; }

/* Gradient border card */
.card-gradient-border {
  position: relative; border-radius: 20px;
  background: #fff;
  padding: 1px;
  overflow: hidden;
}
.card-gradient-border::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(37,99,235,0.2), rgba(124,58,237,0.2), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.card-gradient-border:hover::before { opacity: 1; }

/* Hover spotlight */
.hover-spotlight {
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  position: relative; overflow: hidden;
}
.hover-spotlight::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
  left: calc(var(--spotlight-x) - 150px);
  top: calc(var(--spotlight-y) - 150px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.hover-spotlight:hover::after { opacity: 1; }

/* 3D Tilt Card */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform .1s linear;
}
.tilt-card-inner { transform: translateZ(20px); }

/* ─── Glow Effects ───────────────────────────────────────────── */
.glow-blue { box-shadow: 0 0 40px rgba(37,99,235,0.25), 0 0 80px rgba(37,99,235,0.1); }
.glow-cyan { box-shadow: 0 0 40px rgba(6,182,212,0.25), 0 0 80px rgba(6,182,212,0.1); }
.glow-purple { box-shadow: 0 0 40px rgba(124,58,237,0.25), 0 0 80px rgba(124,58,237,0.1); }
.glow-green { box-shadow: 0 0 40px rgba(16,185,129,0.25), 0 0 80px rgba(16,185,129,0.1); }

/* Text glow */
.text-glow-blue { text-shadow: 0 0 30px rgba(37,99,235,0.4); }

/* ─── Process Timeline Section ───────────────────────────────── */
.process-section { background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%); }
.process-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #2563EB 20%, #7C3AED 80%, transparent);
  transform: translateX(-50%);
}
.process-line-fill {
  width: 100%; height: 0%;
  background: linear-gradient(180deg, #2563EB, #06B6D4, #7C3AED);
  border-radius: 99px;
  transition: height 1s cubic-bezier(.16,1,.3,1);
}
.process-step {
  display: flex; gap: 48px; align-items: flex-start;
  position: relative; margin-bottom: 64px;
}
.process-step:nth-child(even) { flex-direction: row-reverse; }
.process-step-dot {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px rgba(37,99,235,0.15), 0 0 0 16px rgba(37,99,235,0.06);
  position: relative; z-index: 2;
  animation: process-pulse 3s ease-in-out infinite;
}
@keyframes process-pulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(37,99,235,0.15), 0 0 0 16px rgba(37,99,235,0.06); }
  50% { box-shadow: 0 0 0 12px rgba(37,99,235,0.2), 0 0 0 24px rgba(37,99,235,0.08); }
}
.process-step-content {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 32px;
  backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s;
}
.process-step-content:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
}
.process-step-num {
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(37,99,235,0.8);
  margin-bottom: 8px;
}
.process-step-title {
  font-size: 1.25rem; font-weight: 800;
  color: #fff; margin-bottom: 8px;
}
.process-step-desc { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
@media (max-width: 768px) {
  .process-line { left: 28px; }
  .process-step { flex-direction: column !important; padding-left: 72px; }
  .process-step-dot { position: absolute; left: 0; top: 0; }
}

/* ─── Industries Section ─────────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.industry-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  group: true;
}
.industry-card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--ind-color, rgba(37,99,235,0.06));
  opacity: 0;
  transition: opacity .35s;
}
.industry-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 56px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.15);
}
.industry-card:hover::before { opacity: 1; }
.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.industry-card:hover .industry-icon { transform: scale(1.2) rotateY(10deg); }
.industry-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.industry-count { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ─── Tech Stack Grid ────────────────────────────────────────── */
.tech-stack-section {
  background: linear-gradient(180deg, #030712 0%, #0F172A 100%);
  overflow: hidden;
  position: relative;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
}
.tech-card {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  padding: 24px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  cursor: default;
  transition: all .35s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.tech-card::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--tc-color, rgba(37,99,235,0.1));
  opacity: 0;
  transition: opacity .3s;
}
.tech-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.tech-card:hover::after { opacity: 1; }
.tech-card:hover .tech-icon { transform: scale(1.15) rotateZ(5deg); }
.tech-icon {
  font-size: 2rem;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  position: relative; z-index: 1;
}
.tech-name {
  font-size: 0.8rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-align: center;
  position: relative; z-index: 1;
}
.tech-category-badge {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  position: relative; z-index: 1;
}

/* Tech marquee row */
.tech-marquee-row { overflow: hidden; width: 100%; }
.tech-marquee-inner {
  display: flex; gap: 20px;
  width: max-content;
  animation: tech-scroll 28s linear infinite;
}
.tech-marquee-inner.reverse { animation-direction: reverse; }
@keyframes tech-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── AI Showcase Section ────────────────────────────────────── */
.ai-showcase-section {
  background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  position: relative; overflow: hidden;
}
.ai-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 32px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
}
.ai-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ai-color, linear-gradient(90deg, #2563EB, #7C3AED));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.ai-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15,23,42,0.1), 0 8px 20px rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.12);
}
.ai-card:hover::before { transform: scaleX(1); }
.ai-icon-wrap {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 20px;
  background: var(--ai-bg, rgba(37,99,235,0.08));
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.ai-card:hover .ai-icon-wrap { transform: scale(1.1) rotate(-3deg); }
.ai-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 99px;
  background: var(--ai-bg, rgba(37,99,235,0.08));
  color: var(--ai-text, #2563EB);
  margin-bottom: 12px;
}

/* Animated AI graph lines */
.ai-wave {
  width: 100%; height: 60px; overflow: hidden;
  margin-top: 20px;
}
.ai-wave svg path { stroke-dasharray: 300; stroke-dashoffset: 300; }
.ai-card:hover .ai-wave svg path { animation: wave-draw .8s ease forwards .1s; }
@keyframes wave-draw { to { stroke-dashoffset: 0; } }

/* ─── Cyber Security Dashboard Section ──────────────────────── */
.cyber-section {
  background: #030712;
  position: relative; overflow: hidden;
}
.cyber-section .aurora-orb { opacity: 0.15; }
.threat-meter {
  position: relative;
  width: 160px; height: 160px; margin: 0 auto;
}
.threat-meter svg { transform: rotate(-90deg); }
.threat-track { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 12; }
.threat-fill { fill: none; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 440; stroke-dashoffset: 440; }
.threat-fill.green { stroke: #10B981; }
.threat-fill.orange { stroke: #F59E0B; }
.threat-fill.red { stroke: #EF4444; }
.threat-fill.animate { animation: threat-fill-anim 2s cubic-bezier(.16,1,.3,1) forwards .5s; }
@keyframes threat-fill-anim { to { stroke-dashoffset: var(--target-offset, 110); } }
.threat-label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.threat-score { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; }
.threat-sub { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em; }

.cyber-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  transition: all .3s;
}
.cyber-stat-card:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
}
.cyber-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 700;
  background: rgba(16,185,129,0.12);
  color: #10B981;
  border: 1px solid rgba(16,185,129,0.25);
}
.cyber-badge.warn { background: rgba(245,158,11,0.12); color: #F59E0B; border-color: rgba(245,158,11,0.25); }
.cyber-badge.danger { background: rgba(239,68,68,0.12); color: #EF4444; border-color: rgba(239,68,68,0.25); }

/* Animated scan line */
.scan-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(16,185,129,0.8), transparent);
  animation: scan-move 3s linear infinite;
}
@keyframes scan-move { 0%{ top: 0; } 100%{ top: 100%; } }

/* ─── ROI Calculator Upgrade ────────────────────────────────── */
.roi-section-premium {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  position: relative;
}
.roi-card-premium {
  background: #fff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 32px 80px rgba(15,23,42,0.08), 0 8px 24px rgba(37,99,235,0.06);
  border: 1px solid rgba(15,23,42,0.04);
}
.roi-slider-track { position: relative; height: 6px; background: var(--bg-border); border-radius: 99px; cursor: pointer; }
.roi-slider-fill { height: 100%; background: var(--gradient-blue); border-radius: 99px; transition: width .15s; }
.roi-slider-thumb {
  position: absolute; top: 50%; right: 0;
  transform: translate(50%,-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff;
  border: 3px solid #2563EB;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
  cursor: grab;
  transition: transform .2s, box-shadow .2s;
}
.roi-slider-thumb:hover { transform: translate(50%,-50%) scale(1.2); box-shadow: 0 6px 20px rgba(37,99,235,0.4); }
.roi-result-card {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  border-radius: 20px; padding: 28px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.roi-result-card::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

/* ─── Knowledge Center Section ──────────────────────────────── */
.knowledge-section { background: var(--bg-soft); }
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.knowledge-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  text-decoration: none;
  display: block;
}
.knowledge-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.1);
  border-color: rgba(37,99,235,0.12);
  text-decoration: none;
}
.knowledge-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.kc-count { font-size: 0.7rem; font-weight: 700; color: var(--text-muted); margin-top: 8px; }

/* ─── Testimonials Upgrade ───────────────────────────────────── */
.testi-card-premium {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 32px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.testi-card-premium::before {
  content: '"';
  position: absolute; top: -10px; right: 20px;
  font-size: 8rem; line-height: 1;
  color: rgba(37,99,235,0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testi-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15,23,42,0.1), 0 4px 16px rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.12);
}
.testi-stars { color: #FBBF24; font-size: 1rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-content { font-size: 0.95rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 24px; font-style: italic; }
.testi-author-wrap { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--text-dark); font-size: 0.9rem; }
.testi-role { font-size: 0.8rem; color: var(--text-muted); }
.testi-company-badge {
  margin-left: auto;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 99px;
  background: rgba(37,99,235,0.06);
  color: var(--blue);
}

/* ─── CTA Section Premium ────────────────────────────────────── */
.cta-premium {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
  background-size: 200% 200%;
  animation: cta-gradient-shift 8s ease infinite;
}
@keyframes cta-gradient-shift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.cta-premium .aurora-orb { opacity: 0.2; }
.cta-floating-shape {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: cta-shape-float 10s ease-in-out infinite;
}
@keyframes cta-shape-float { 0%,100%{transform:translate(0,0) rotate(0deg)} 50%{transform:translate(20px,-20px) rotate(90deg)} }
.cta-title-premium {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -0.03em;
  text-align: center;
}
.cta-title-premium .gradient-accent {
  background: linear-gradient(135deg, #60A5FA, #A78BFA, #06B6D4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Stats Section Premium ──────────────────────────────────── */
.stat-card-premium {
  position: relative; text-align: center;
  padding: 36px 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
}
.stat-card-premium::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--stat-grad, linear-gradient(90deg, #2563EB, #06B6D4));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.stat-card-premium:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(15,23,42,0.1); }
.stat-card-premium:hover::after { transform: scaleX(1); }
.stat-num-premium {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em;
  background: var(--stat-grad, linear-gradient(135deg, #2563EB, #06B6D4));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 10px;
}
.stat-label-premium { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.stat-sub-premium { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

/* ─── Blog Cards Premium ─────────────────────────────────────── */
.blog-card-premium {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
}
.blog-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(15,23,42,0.1), 0 8px 20px rgba(37,99,235,0.06);
}
.blog-thumb-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 16px 16px 0 0;
}
.blog-thumb-icon-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.blog-card-premium:hover .blog-thumb-icon-bg { transform: scale(1.1); }
.blog-read-time {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 99px;
}

/* ─── FAQ Premium ────────────────────────────────────────────── */
.faq-item-premium {
  border-bottom: 1px solid rgba(15,23,42,0.06);
  transition: all .3s;
}
.faq-q-premium {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 24px 0;
  cursor: pointer;
  font-weight: 700; font-size: 1rem; color: var(--text-dark);
  transition: color .25s;
}
.faq-q-premium:hover { color: var(--blue); }
.faq-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.faq-item-premium.open .faq-icon {
  background: var(--blue); border-color: var(--blue);
  transform: rotate(45deg);
}
.faq-icon svg { width: 16px; height: 16px; stroke: var(--blue); transition: stroke .3s; }
.faq-item-premium.open .faq-icon svg { stroke: #fff; }
.faq-a-premium {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.16,1,.3,1), opacity .3s;
  opacity: 0;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.75;
  padding: 0 0 24px 0;
}
.faq-item-premium.open .faq-a-premium { opacity: 1; }

/* ─── Services Card Upgrade ──────────────────────────────────── */
.svc-card-premium {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
  height: 100%;
}
.svc-card-premium::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--svc-grad, linear-gradient(90deg, #2563EB, #06B6D4));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.svc-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(15,23,42,0.1), 0 6px 16px rgba(37,99,235,0.06);
  border-color: rgba(37,99,235,0.12);
}
.svc-card-premium:hover::before { transform: scaleX(1); }
.svc-icon-premium {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: var(--svc-bg, rgba(37,99,235,0.08));
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.svc-card-premium:hover .svc-icon-premium {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(37,99,235,0.2);
}

/* ─── Scroll Progress Indicator ─────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 999998;
  pointer-events: none;
}
#scroll-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #2563EB, #06B6D4, #7C3AED);
  border-radius: 0 99px 99px 0;
  transition: width .1s linear;
}

/* ─── Section Badges Premium ─────────────────────────────────── */
.section-badge-premium {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 99px;
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1));
  border: 1px solid rgba(37,99,235,0.15);
  color: #2563EB;
  margin-bottom: 16px;
}
.section-badge-premium .badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  animation: badge-blink 2s ease-in-out infinite;
}
@keyframes badge-blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Heading gradient accent */
.heading-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #06B6D4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Noise Texture Overlay ──────────────────────────────────── */
.noise-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ─── Platform Cards Premium ─────────────────────────────────── */
.platform-card-premium {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 28px;
  padding: 36px;
  transition: all .5s cubic-bezier(.16,1,.3,1);
}
.platform-card-premium::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--pf-color, rgba(37,99,235,0.04));
  opacity: 0;
  transition: opacity .4s;
}
.platform-card-premium:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 36px 80px rgba(15,23,42,0.14), 0 12px 24px rgba(37,99,235,0.08);
}
.platform-card-premium:hover::after { opacity: 1; }
.pf-icon-badge {
  width: 72px; height: 72px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 24px;
  background: var(--pf-color, rgba(37,99,235,0.06));
  border: 1px solid rgba(37,99,235,0.08);
  position: relative; z-index: 1;
}
.pf-feature-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px;
  background: var(--bg-light); border: 1px solid var(--bg-border);
  font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
}
.pf-feature-chip::before {
  content: '✓'; font-size: 0.7rem; font-weight: 900;
  color: var(--emerald);
}

/* ─── Portfolio Filter ───────────────────────────────────────── */
.pf-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 40px;
}
.pf-filter-btn {
  padding: 8px 20px; border-radius: 99px;
  font-size: 0.85rem; font-weight: 700;
  border: 1.5px solid rgba(15,23,42,0.08);
  background: #fff; color: var(--text-muted);
  cursor: pointer;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.pf-filter-btn:hover { border-color: rgba(37,99,235,0.3); color: var(--blue); }
.pf-filter-btn.active {
  background: var(--blue); border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.portfolio-card-upgrade {
  position: relative; overflow: hidden; border-radius: 24px;
  transition: all .4s cubic-bezier(.16,1,.3,1);
}
.portfolio-card-upgrade:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15,23,42,0.14);
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.portfolio-card-upgrade:hover .portfolio-overlay { opacity: 1; }

/* ─── Scroll Indicator ───────────────────────────────────────── */
.scroll-indicator {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
.scroll-mouse {
  width: 28px; height: 44px;
  border: 2px solid rgba(15,23,42,0.2);
  border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-wheel {
  width: 4px; height: 8px; border-radius: 2px;
  background: rgba(15,23,42,0.3);
  animation: scroll-wheel 2s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes scroll-wheel { 0%,100%{transform:translateY(0);opacity:1} 75%{transform:translateY(10px);opacity:0} }

/* ─── Glassmorphism utilities ────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
}
.glass-dark {
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ─── Micro interaction helpers ──────────────────────────────── */
[data-hover-lift] { transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
[data-hover-lift]:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,0.1); }

/* Animated section number */
.section-number {
  font-size: 6rem; font-weight: 900;
  position: absolute; top: -20px; right: 0;
  color: rgba(15,23,42,0.03); line-height: 1;
  pointer-events: none; user-select: none;
  font-variant-numeric: tabular-nums;
}

/* ─── Lenis smooth scroll ────────────────────────────────────── */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ─── Responsive Premium Overrides ──────────────────────────── */
@media (max-width: 1024px) {
  .process-line { left: 28px; }
  .tech-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .industry-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .knowledge-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 768px) {
  .roi-card-premium { padding: 28px 20px; }
  .process-step { gap: 24px; }
  .hero-dash-card { display: none; }
  .floating-accent { display: none; }
  .ai-card { padding: 24px; }
  .cyber-section .grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .cta-title-premium { font-size: 1.8rem; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Animated Gradient Text ─────────────────────────────────── */
.animated-gradient-text {
  background: linear-gradient(270deg, #2563EB, #7C3AED, #06B6D4, #10B981, #2563EB);
  background-size: 300% 300%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text-flow 6s ease infinite;
}
@keyframes gradient-text-flow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* ─── Live indicator ─────────────────────────────────────────── */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: live-ping 1.8s ease-in-out infinite;
  display: inline-block;
}
@keyframes live-ping { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,0.4)} 70%{box-shadow:0 0 0 8px rgba(16,185,129,0)} }
