/* ==== ethics-corporate.css ==== */
/* ==========================================================================
   EthicsComputer — Corporate Design System & Brand Identity Stylesheet
   Version: 3.0.0 Enterprise Edition
   Philosophy: Technical Precision, Enterprise Trust, Clean Architecture, Human Expertise
   ========================================================================== */


:root {
  /* ── Core Brand Palette ─────────────────────────────── */
  --ec-navy-950: #070d19;
  --ec-navy-900: #0b1326;
  --ec-navy-850: #0f1932;
  --ec-navy-800: #142244;
  --ec-navy-700: #1e315e;

  --ec-blue-900: #1e3a8a;
  --ec-blue-700: #1d4ed8;
  --ec-blue-600: #2563eb;
  --ec-blue-500: #3b82f6;
  --ec-blue-100: #dbeafe;
  --ec-blue-50:  #eff6ff;

  --ec-teal-700: #0f766e;
  --ec-teal-600: #0d9488;
  --ec-teal-50:  #f0fdfa;

  --ec-emerald-700: #047857;
  --ec-emerald-600: #059669;
  --ec-emerald-500: #10b981;
  --ec-emerald-50:  #ecfdf5;

  --ec-slate-900: #0f172a;
  --ec-slate-800: #1e293b;
  --ec-slate-700: #334155;
  --ec-slate-600: #475569;
  --ec-slate-500: #64748b;
  --ec-slate-400: #94a3b8;
  --ec-slate-300: #cbd5e1;
  --ec-slate-200: #e2e8f0;
  --ec-slate-100: #f1f5f9;
  --ec-slate-50:  #f8fafc;

  --ec-white:     #ffffff;

  /* ── Master Brand Tokens (Enterprise Restrained Palette) ─ */
  --ec-brand-bg-primary:    #FFFFFF;
  --ec-brand-bg-secondary:  #F7F9FC;
  --ec-brand-text-primary:  #172033;
  --ec-brand-text-secondary:#5B6474;
  --ec-brand-color-primary: #173B70;
  --ec-brand-color-accent:  #2563EB;
  --ec-brand-border:        #E5EAF1;
  --ec-brand-success:       #16845B;

  /* ── Semantic Tokens ───────────────────────────────── */
  --ec-bg:          #ffffff;
  --ec-bg-alt:      #F7F9FC;
  --ec-bg-dark:     #173B70;
  --ec-bg-card:     #ffffff;
  --ec-text:        #172033;
  --ec-text-dark:   #172033;
  --ec-text-muted:  #5B6474;
  --ec-text-faint:  #94a3b8;
  --ec-text-light:  #ffffff;

  --ec-border:      #E5EAF1;
  --ec-border-dark: rgba(255, 255, 255, 0.12);
  --ec-border-blue: #bfdbfe;

  --ec-shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --ec-shadow-sm: 0 2px 6px -1px rgba(15, 23, 42, 0.06), 0 1px 3px -1px rgba(15, 23, 42, 0.03);
  --ec-shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --ec-shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);

  /* ── Typography Stack ──────────────────────────────── */
  --ec-font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ec-font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --ec-font-mono:    'JetBrains Mono', monospace;

  /* ── Radii ─────────────────────────────────────────── */
  --ec-radius-sm: 6px;
  --ec-radius-md: 10px;
  --ec-radius-lg: 14px;
  --ec-radius-xl: 20px;
  --ec-radius-full: 9999px;

  /* ── Transitions ───────────────────────────────────── */
  --ec-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ec-trans-fast: 0.15s ease;
  --ec-trans: 0.25s var(--ec-ease);
}

/* ── Anti-Gimmick Reset: Disable fake cursor followers and neon gradients ── */
#cursor-dot, #cursor-ring, .custom-cursor-dot, .custom-cursor-ring,
#cursor-circle, .custom-cursor-circle,
#ec-cursor-dot, #ec-cursor-ring, #ec-cursor-glow, .ec-cursor-dot, .ec-cursor-ring {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

html, body {
  cursor: auto !important;
}

a, button, [role="button"], input[type="submit"], input[type="button"], select, label[for] {
  cursor: pointer !important;
}

.text-gradient-neon {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: initial !important;
  color: var(--ec-blue-700) !important;
}

/* ── Base Typography Reset ───────────────────────────── */
body {
  font-family: var(--ec-font-body);
  color: var(--ec-text);
  background-color: var(--ec-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.ec-font-heading {
  font-family: var(--ec-font-display);
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ec-text-dark);
}

.ec-font-mono {
  font-family: var(--ec-font-mono);
}

/* ── Distinctive Button System ───────────────────────── */
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ec-font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.75rem 1.375rem;
  border-radius: var(--ec-radius-md);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ec-trans-fast);
}

.ec-btn-primary {
  background-color: var(--ec-navy-900);
  color: var(--ec-white);
  border-color: var(--ec-navy-900);
  box-shadow: var(--ec-shadow-sm);
}

.ec-btn-primary:hover {
  background-color: var(--ec-blue-700);
  border-color: var(--ec-blue-700);
  color: var(--ec-white);
  box-shadow: var(--ec-shadow-md);
  transform: translateY(-1px);
}

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

.ec-btn-accent {
  background-color: var(--ec-blue-600);
  color: var(--ec-white);
  border-color: var(--ec-blue-600);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.ec-btn-accent:hover {
  background-color: var(--ec-blue-700);
  border-color: var(--ec-blue-700);
  color: var(--ec-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.ec-btn-secondary {
  background-color: var(--ec-white);
  color: var(--ec-slate-700);
  border-color: var(--ec-slate-300);
  box-shadow: var(--ec-shadow-xs);
}

.ec-btn-secondary:hover {
  background-color: var(--ec-slate-50);
  color: var(--ec-navy-900);
  border-color: var(--ec-slate-400);
  transform: translateY(-1px);
}

.ec-btn-dark-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}

.ec-btn-dark-secondary:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.ec-btn-sm {
  font-size: 0.8125rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--ec-radius-sm);
}

.ec-btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--ec-radius-lg);
}

/* ── Eyebrow & Badges ────────────────────────────────── */
.ec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ec-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ec-blue-700);
  background-color: var(--ec-blue-50);
  border: 1px solid var(--ec-blue-100);
  padding: 0.3125rem 0.75rem;
  border-radius: var(--ec-radius-full);
  margin-bottom: 1.25rem;
}

.ec-eyebrow-dark {
  color: #93c5fd;
  background-color: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
}

.ec-eyebrow-emerald {
  color: var(--ec-emerald-700);
  background-color: var(--ec-emerald-50);
  border-color: #a7f3d0;
}

.ec-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* ── Restrained Architectural Grid Lines ─────────────── */
.ec-grid-bg {
  position: relative;
  background-color: var(--ec-white);
}

.ec-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

/* ── Hero Enterprise Architecture Blueprint ──────────── */
.ec-architecture-frame {
  position: relative;
  background: #0b1326;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ec-radius-xl);
  box-shadow: 0 24px 48px -12px rgba(7, 13, 25, 0.5);
  overflow: hidden;
  padding: 1.75rem;
}

.ec-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ec-arch-window-dots {
  display: flex;
  gap: 6px;
}

.ec-arch-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.ec-arch-layer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ec-radius-md);
  padding: 1rem;
  margin-bottom: 0.875rem;
  transition: all var(--ec-trans);
}

.ec-arch-layer:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(37, 99, 235, 0.35);
}

.ec-arch-layer-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ec-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.625rem;
  text-transform: uppercase;
}

.ec-arch-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ec-arch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--ec-font-body);
  font-size: 0.78125rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: var(--ec-radius-sm);
  transition: all var(--ec-trans-fast);
}

.ec-arch-pill:hover {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(37, 99, 235, 0.5);
  color: #ffffff;
}

.ec-arch-core-hub {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35), rgba(15, 25, 50, 0.6));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--ec-radius-md);
  padding: 1.125rem;
  margin-bottom: 0.875rem;
  position: relative;
}

.ec-arch-pulse-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--ec-radius-sm);
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-family: var(--ec-font-mono);
  font-size: 0.71875rem;
  color: #38bdf8;
}

/* ── Trust Credential Strip ─────────────────────────── */
.ec-trust-strip {
  background: #070d19;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.875rem 0;
}

.ec-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--ec-radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all var(--ec-trans-fast);
}

.ec-trust-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.35);
  color: #ffffff;
}

.ec-trust-badge svg {
  flex-shrink: 0;
}

/* ── Capabilities Asymmetrical Grid ─────────────────── */
.ec-cap-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius-lg);
  padding: 1.75rem;
  transition: all var(--ec-trans);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--ec-shadow-xs);
}

.ec-cap-card:hover {
  border-color: var(--ec-slate-300);
  box-shadow: var(--ec-shadow-md);
  transform: translateY(-2px);
}

.ec-cap-card-featured {
  background: #0b1326;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--ec-shadow-lg);
}

.ec-cap-card-featured:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px -10px rgba(7, 13, 25, 0.6);
}

.ec-cap-num {
  font-family: var(--ec-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ec-slate-400);
}

.ec-cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--ec-radius-md);
  background: var(--ec-blue-50);
  color: var(--ec-blue-600);
  border: 1px solid var(--ec-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ec-cap-card-featured .ec-cap-icon-box {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border-color: rgba(37, 99, 235, 0.3);
}

/* ── Cybersecurity Lifecycle Architecture ────────────── */
.ec-sec-lifecycle {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

@media (max-width: 1024px) {
  .ec-sec-lifecycle {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .ec-sec-lifecycle {
    grid-template-columns: 1fr;
  }
}

.ec-sec-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ec-radius-lg);
  padding: 1.5rem 1.25rem;
  position: relative;
  transition: all var(--ec-trans);
}

.ec-sec-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.ec-sec-step-num {
  font-family: var(--ec-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #34d399;
  margin-bottom: 0.75rem;
}

/* ── Practical AI Pipeline ───────────────────────────── */
.ec-ai-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .ec-ai-pipeline {
    grid-template-columns: 1fr;
  }
}

.ec-ai-node {
  background: #ffffff;
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--ec-shadow-xs);
  position: relative;
  transition: all var(--ec-trans);
}

.ec-ai-node:hover {
  border-color: var(--ec-blue-500);
  box-shadow: var(--ec-shadow-sm);
}

.ec-ai-step-badge {
  font-family: var(--ec-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ec-blue-600);
  margin-bottom: 0.5rem;
}

/* ── Platforms Product Showcase ──────────────────────── */
.ec-product-card {
  background: #ffffff;
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  box-shadow: var(--ec-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--ec-trans);
}

.ec-product-card:hover {
  border-color: var(--ec-slate-300);
  box-shadow: var(--ec-shadow-lg);
  transform: translateY(-3px);
}

.ec-product-mockup-frame {
  background: #0b1326;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem;
  position: relative;
}

.ec-product-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ec-product-mockup-dots {
  display: flex;
  gap: 5px;
}

.ec-product-mockup-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.ec-product-mockup-title {
  font-family: var(--ec-font-mono);
  font-size: 0.6875rem;
  color: #94a3b8;
}

.ec-product-ui-preview {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--ec-radius-md);
  padding: 1rem;
}

/* ── Large Editorial Case Studies ────────────────────── */
.ec-case-block {
  background: #ffffff;
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius-xl);
  overflow: hidden;
  box-shadow: var(--ec-shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all var(--ec-trans);
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .ec-case-block {
    grid-template-columns: 1fr;
  }
}

.ec-case-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ec-case-preview {
  background: #0b1326;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .ec-case-preview {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
  }
}

.ec-case-stat-badge {
  font-family: var(--ec-font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

/* ── Industry Navigator ──────────────────────────────── */
.ec-industry-card {
  background: var(--ec-white);
  border: 1px solid var(--ec-border);
  border-radius: var(--ec-radius-lg);
  padding: 1.5rem;
  transition: all var(--ec-trans-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
}

.ec-industry-card:hover {
  border-color: var(--ec-blue-500);
  box-shadow: var(--ec-shadow-md);
  transform: translateY(-2px);
}

.ec-industry-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--ec-radius-md);
  background: var(--ec-slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ec-slate-700);
  margin-bottom: 1rem;
  transition: all var(--ec-trans-fast);
}

.ec-industry-card:hover .ec-industry-icon {
  background: var(--ec-blue-50);
  color: var(--ec-blue-600);
}

/* ── High-Conversion Form ────────────────────────────── */
.ec-form-input,
.ec-form-select,
.ec-form-textarea {
  width: 100%;
  font-family: var(--ec-font-body);
  font-size: 0.9375rem;
  color: var(--ec-slate-900);
  background: #ffffff;
  border: 1px solid var(--ec-slate-300);
  border-radius: var(--ec-radius-md);
  padding: 0.75rem 1rem;
  transition: all var(--ec-trans-fast);
  outline: none;
}

.ec-form-input:focus,
.ec-form-select:focus,
.ec-form-textarea:focus {
  border-color: var(--ec-blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ec-pill-select-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: var(--ec-radius-full);
  border: 1px solid var(--ec-slate-300);
  background: #ffffff;
  color: var(--ec-slate-700);
  cursor: pointer;
  transition: all var(--ec-trans-fast);
  user-select: none;
}

.ec-pill-select-label:hover {
  border-color: var(--ec-slate-400);
  background: var(--ec-slate-50);
}

input[type="radio"]:checked + .ec-pill-select-label {
  background: var(--ec-navy-900);
  color: #ffffff;
  border-color: var(--ec-navy-900);
}

/* ── Sticky Mobile Bar ───────────────────────────────── */
@media (max-width: 768px) {
  .ec-mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid var(--ec-slate-200);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    z-index: 800;
  }

  .ec-mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ec-slate-700);
    text-decoration: none;
    line-height: 1.2;
  }
}

@media (min-width: 769px) {
  .ec-mobile-bottom-bar {
    display: none;
  }
}

/* ==========================================================================
   ALTERNATING CORPORATE SECTION RHYTHM & HIGH-CONTRAST ENGINE
   Corporate Standard: Light Section ⟷ Dark Section Alternation
   Zero Muddy Colors — 100% WCAG AAA Contrast — Luminous Hover Feedback
   ========================================================================== */

/* ── 1. Master Section Rhythms ───────────────────────────────────────── */
.ec-section-light {
  background-color: #ffffff;
  color: var(--ec-slate-800);
  position: relative;
}

.ec-section-alt {
  background-color: #f8fafc;
  color: var(--ec-slate-800);
  position: relative;
  border-top: 1px solid var(--ec-slate-200);
  border-bottom: 1px solid var(--ec-slate-200);
}

.ec-section-dark {
  background-color: #070d19;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 110%, rgba(13, 148, 136, 0.08), transparent 70%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle architectural grid pattern on dark sections */
.ec-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

/* ── 2. Dark Section High-Contrast Typography & Hierarchy ────────────── */
.ec-section-dark h1,
.ec-section-dark h2,
.ec-section-dark h3,
.ec-section-dark h4 {
  color: #ffffff !important;
  letter-spacing: -0.025em;
}

.ec-section-dark p {
  color: #cbd5e1;
}

.ec-section-dark .text-slate-400,
.ec-section-dark .text-slate-500 {
  color: #94a3b8 !important;
}

.ec-section-dark .text-slate-600,
.ec-section-dark .text-slate-700,
.ec-section-dark .text-slate-800 {
  color: #e2e8f0 !important;
}

/* High-Visibility Eyebrow on Dark */
.ec-eyebrow-dark-vivid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ec-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--ec-radius-full);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.ec-eyebrow-dark-vivid .ec-eyebrow-dot {
  background-color: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

/* ── 3. Dark Section Cards with Guaranteed Visibility & Luminous Hover ── */
.ec-dark-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ec-radius-xl);
  padding: 1.75rem;
  position: relative;
  transition: all 0.28s var(--ec-ease);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.ec-dark-card:hover {
  background: rgba(22, 33, 58, 0.85);
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 30px -5px rgba(37, 99, 235, 0.3);
}

.ec-dark-card:hover h3,
.ec-dark-card:hover h4 {
  color: #ffffff !important;
}

.ec-dark-card:hover p {
  color: #f8fafc !important;
}

.ec-dark-card:hover .ec-dark-card-icon {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(59, 130, 246, 0.6);
  color: #60a5fa;
  transform: scale(1.08);
}

.ec-dark-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--ec-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s var(--ec-ease);
}

/* ── 4. Cybersecurity & AI Pipeline Cards in Dark Mode ────────────────── */
.ec-sec-step {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.25s var(--ec-ease);
}

.ec-sec-step:hover {
  background: rgba(16, 29, 54, 0.9) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px -3px rgba(16, 185, 129, 0.3);
}

.ec-sec-step:hover h3 {
  color: #ffffff !important;
}

.ec-sec-step:hover p {
  color: #f1f5f9 !important;
}

/* AI Nodes in Dark Sections */
.ec-ai-node-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ec-radius-lg);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s var(--ec-ease);
  position: relative;
}

.ec-ai-node-dark:hover {
  background: rgba(24, 38, 68, 0.95);
  border-color: rgba(56, 189, 248, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.25);
}

.ec-ai-node-dark:hover h3 {
  color: #ffffff !important;
}

.ec-ai-node-dark:hover p {
  color: #f8fafc !important;
}

.ec-ai-node-dark .ec-ai-step-badge {
  color: #38bdf8;
  font-family: var(--ec-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* ── 5. Dark Testimonial Cards ───────────────────────────────────────── */
.ec-testimonial-dark-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ec-radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s var(--ec-ease);
}

.ec-testimonial-dark-card:hover {
  background: rgba(22, 35, 62, 0.9);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.2);
}

.ec-testimonial-dark-card:hover p {
  color: #ffffff !important;
}

.ec-testimonial-dark-card .author-title {
  color: #94a3b8;
  font-size: 0.8125rem;
}

.ec-testimonial-dark-card:hover .author-title {
  color: #cbd5e1;
}

/* ── 6. Buttons in Dark Sections: Flawless Contrast ──────────────────── */
.ec-section-dark .ec-btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.ec-section-dark .ec-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ── 7. Corporate Animation Library Keyframes & Utilities ────────────── */
@keyframes ec-float-smooth {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes ec-pulse-beacon {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(56, 189, 248, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

@keyframes ec-shimmer-border {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.ec-animate-float {
  animation: ec-float-smooth 4s ease-in-out infinite;
}

.ec-animate-beacon {
  animation: ec-pulse-beacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ec-glow-hover-dark {
  transition: all 0.25s var(--ec-ease);
}

.ec-glow-hover-dark:hover {
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
}

/* ── 8. Tech Stack Interactive Card Hover Enhancement ────────────────── */
.ec-tech-category-card {
  transition: all 0.28s var(--ec-ease) !important;
}

.ec-tech-category-card:hover {
  background-color: #0e172e !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 99, 235, 0.2) !important;
  transform: translateY(-3px);
}

.ec-tech-category-card:hover h3 {
  color: #ffffff !important;
}

.ec-tech-category-card:hover p {
  color: #cbd5e1 !important;
}

.ec-tech-item {
  transition: all 0.2s var(--ec-ease) !important;
}

.ec-tech-item:hover {
  background-color: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px);
}

.ec-tech-item:hover span {
  color: #ffffff !important;
}

/* ==========================================================================
   ENTERPRISE ALTERNATING SECTION MATRIX & LUMINOUS HOVER ENGINE
   Guarantees:
   1. Alternating Light ↔ Dark section rhythm across the enterprise portal
   2. Zero invisible text: Dark sections have 100% WCAG AAA contrast
   3. Luminous hover feedback: Every card, badge, link & button illuminates on hover
   4. Corporate animation library: Micro-interactions, reveals, and GPU acceleration
   ========================================================================== */

/* ── 9. Universal Dark Section Contrast Protections ──────────────────── */
.ec-section-dark {
  background-color: #070d19 !important;
  color: #f8fafc !important;
}

.ec-section-dark h1,
.ec-section-dark h2,
.ec-section-dark h3,
.ec-section-dark h4,
.ec-section-dark h5,
.ec-section-dark h6 {
  color: #ffffff !important;
}

.ec-section-dark p,
.ec-section-dark li {
  color: #cbd5e1;
}

.ec-section-dark .text-slate-900,
.ec-section-dark .text-slate-800,
.ec-section-dark .text-slate-700 {
  color: #f1f5f9 !important;
}

.ec-section-dark .text-slate-600,
.ec-section-dark .text-slate-500 {
  color: #94a3b8 !important;
}

.ec-section-dark a:not(.ec-btn) {
  color: #38bdf8;
  transition: all 0.2s ease;
}

.ec-section-dark a:not(.ec-btn):hover {
  color: #93c5fd !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

/* Luminous Card in Dark Section */
.ec-section-dark .ec-card,
.ec-section-dark .bg-slate-900\/50,
.ec-section-dark .bg-slate-900\/80,
.ec-section-dark .bg-slate-800\/40,
.ec-section-dark [class*="bg-white\/5"],
.ec-section-dark [class*="bg-white\/[0.0"] {
  background: rgba(15, 23, 42, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Card Hover in Dark Section — Crystal Clear Visibility & Glow */
.ec-section-dark .ec-card:hover,
.ec-section-dark .bg-slate-900\/50:hover,
.ec-section-dark .bg-slate-900\/80:hover,
.ec-section-dark .bg-slate-800\/40:hover,
.ec-section-dark [class*="bg-white\/5"]:hover,
.ec-section-dark [class*="bg-white\/[0.0"]:hover,
.ec-dark-card:hover {
  background: #0f1c36 !important;
  border-color: rgba(59, 130, 246, 0.65) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.65), 0 0 28px rgba(37, 99, 235, 0.3) !important;
}

.ec-section-dark .ec-card:hover h3,
.ec-section-dark .ec-card:hover h4,
.ec-section-dark .bg-slate-900\/50:hover h3,
.ec-section-dark .bg-slate-900\/80:hover h3,
.ec-section-dark [class*="bg-white\/5"]:hover h3 {
  color: #ffffff !important;
}

.ec-section-dark .ec-card:hover p,
.ec-section-dark .bg-slate-900\/50:hover p,
.ec-section-dark .bg-slate-900\/80:hover p,
.ec-section-dark [class*="bg-white\/5"]:hover p {
  color: #f1f5f9 !important;
}

/* Metric Counters & Numbers in Dark Section */
.ec-section-dark .ec-stat-number,
.ec-section-dark [class*="text-4xl"].font-black,
.ec-section-dark [class*="text-3xl"].font-black {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* ── 10. Universal Light Section Corporate Protections ───────────────── */
.ec-section-light {
  background-color: #ffffff !important;
  color: #1e293b !important;
}

.ec-section-light h1,
.ec-section-light h2,
.ec-section-light h3,
.ec-section-light h4,
.ec-section-light h5,
.ec-section-light h6 {
  color: #0f172a !important;
}

.ec-section-light p {
  color: #475569;
}

.ec-section-light a:not(.ec-btn) {
  color: #2563eb;
  transition: all 0.2s ease;
}

.ec-section-light a:not(.ec-btn):hover {
  color: #1d4ed8 !important;
}

/* Crisp Light Cards with Refined Hover Lift */
.ec-section-light .ec-card,
.ec-section-light .bg-white {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ec-section-light .ec-card:hover,
.ec-section-light .bg-white:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 0 20px rgba(37, 99, 235, 0.08) !important;
}

/* ── 11. Corporate Animation Library Utilities ───────────────────────── */
@keyframes ec-float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

@keyframes ec-pulse-glow-blue {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

@keyframes ec-pulse-glow-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(56, 189, 248, 0); }
}

@keyframes ec-shimmer-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ec-anim-float {
  animation: ec-float-gentle 4.5s ease-in-out infinite;
}

.ec-anim-pulse-blue {
  animation: ec-pulse-glow-blue 2.2s infinite;
}

.ec-anim-pulse-cyan {
  animation: ec-pulse-glow-cyan 2.2s infinite;
}

/* Shimmer Highlight Button / Card Header */
.ec-shimmer-container {
  position: relative;
  overflow: hidden;
}

.ec-shimmer-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  animation: ec-shimmer-slide 3.5s infinite;
  pointer-events: none;
}

/* Interactive Utility Classes */
.ec-hover-lift {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
}

.ec-hover-lift:hover {
  transform: translateY(-3px) !important;
}

.ec-hover-glow-blue:hover {
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.4) !important;
}

.ec-hover-glow-cyan:hover {
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45) !important;
}

/* ── 12. Guaranteed Dark Testimonials Section Override ───────────────── */
#testimonials,
section#testimonials,
section#testimonials.ec-section-dark {
  background-color: #070d19 !important;
  color: #f8fafc !important;
  position: relative;
  overflow: hidden;
}

#testimonials h2,
#testimonials h3,
#testimonials .font-black {
  color: #ffffff !important;
}

#testimonials p {
  color: #cbd5e1;
}

#testimonials .ec-testimonial-dark-card {
  background-color: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
}

#testimonials .ec-testimonial-dark-card:hover {
  background-color: #111e38 !important;
  border-color: rgba(59, 130, 246, 0.7) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.3) !important;
}

#testimonials .ec-testimonial-dark-card:hover p {
  color: #f8fafc !important;
}

#testimonials .ec-testimonial-dark-card:hover .font-bold {
  color: #ffffff !important;
}

/* ==========================================================================
   13. MASTER UNIVERSAL DARK CONTAINER, SECTION & CARD CONTRAST & HOVER SHIELD
   "Sare ek baare mein change ho jayein" — 100% Global High-Contrast Immunity
   Guarantees that ANY dark section or dark card has pure, crisp light text (white / cyan)
   AND on :hover, text, buttons, and cards STAY 100% LIGHT, luminous, and glowing.
   NO DARK TEXT ON DARK BACKGROUND EVER.
   ========================================================================== */

/* ── 13.1 Universal Dark Container Backgrounds & Text Root ─────────────── */
.dark-card-box,
.ec-dark-card,
.ec-section-dark,
.ec-cap-card-featured,
.ec-testimonial-dark-card,
.ec-tech-category-card,
.ec-sec-step,
.ec-ai-node-dark,
.ec-case-preview,
#cybersecurity,
#testimonials,
#tech-stack,
#corporate-footer,
[class*="bg-slate-900"],
[class*="bg-slate-950"],
[class*="bg-[#070d19]"],
[class*="bg-[#0b1024]"],
[class*="bg-[#0b1326]"],
[class*="bg-[#0d1527]"],
[class*="bg-navy-950"],
[style*="background-color: #0"],
[style*="background-color:#0"],
[style*="background: #0"],
[style*="background:#0"] {
  color: #ffffff !important;
}

/* ── 13.2 Headings Inside Dark Containers — 100% Bright White ──────────── */
.dark-card-box h1, .dark-card-box h2, .dark-card-box h3, .dark-card-box h4, .dark-card-box h5, .dark-card-box h6,
.ec-dark-card h1, .ec-dark-card h2, .ec-dark-card h3, .ec-dark-card h4, .ec-dark-card h5, .ec-dark-card h6,
.ec-section-dark h1, .ec-section-dark h2, .ec-section-dark h3, .ec-section-dark h4, .ec-section-dark h5, .ec-section-dark h6,
.ec-cap-card-featured h1, .ec-cap-card-featured h2, .ec-cap-card-featured h3, .ec-cap-card-featured h4,
.ec-testimonial-dark-card h1, .ec-testimonial-dark-card h2, .ec-testimonial-dark-card h3, .ec-testimonial-dark-card h4,
.ec-tech-category-card h1, .ec-tech-category-card h2, .ec-tech-category-card h3, .ec-tech-category-card h4,
.ec-sec-step h1, .ec-sec-step h2, .ec-sec-step h3, .ec-sec-step h4,
#cybersecurity h1, #cybersecurity h2, #cybersecurity h3, #cybersecurity h4, #cybersecurity h5,
#testimonials h1, #testimonials h2, #testimonials h3, #testimonials h4, #testimonials h5,
#tech-stack h1, #tech-stack h2, #tech-stack h3, #tech-stack h4, #tech-stack h5,
#corporate-footer h1, #corporate-footer h2, #corporate-footer h3, #corporate-footer h4,
[class*="bg-slate-900"] h1, [class*="bg-slate-900"] h2, [class*="bg-slate-900"] h3, [class*="bg-slate-900"] h4, [class*="bg-slate-900"] h5,
[class*="bg-slate-950"] h1, [class*="bg-slate-950"] h2, [class*="bg-slate-950"] h3, [class*="bg-slate-950"] h4, [class*="bg-slate-950"] h5,
[class*="bg-[#070d19]"] h1, [class*="bg-[#070d19]"] h2, [class*="bg-[#070d19]"] h3, [class*="bg-[#070d19]"] h4,
[class*="bg-[#0b1024]"] h1, [class*="bg-[#0b1024]"] h2, [class*="bg-[#0b1024]"] h3, [class*="bg-[#0b1024]"] h4,
[class*="bg-[#0b1326]"] h1, [class*="bg-[#0b1326]"] h2, [class*="bg-[#0b1326]"] h3, [class*="bg-[#0b1326]"] h4,
[class*="bg-[#0d1527]"] h1, [class*="bg-[#0d1527]"] h2, [class*="bg-[#0d1527]"] h3, [class*="bg-[#0d1527]"] h4,
[style*="background-color: #0"] h1, [style*="background-color: #0"] h2, [style*="background-color: #0"] h3, [style*="background-color: #0"] h4,
[style*="background-color:#0"] h1, [style*="background-color:#0"] h2, [style*="background-color:#0"] h3, [style*="background-color:#0"] h4,
[style*="background: #0"] h1, [style*="background: #0"] h2, [style*="background: #0"] h3, [style*="background: #0"] h4,
[style*="background:#0"] h1, [style*="background:#0"] h2, [style*="background:#0"] h3, [style*="background:#0"] h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* ── 13.3 High-Readability Body & Text Tokens Inside Dark Containers ───── */
.dark-card-box p,
.ec-dark-card p,
.ec-section-dark p,
.ec-cap-card-featured p,
.ec-testimonial-dark-card p,
.ec-tech-category-card p,
.ec-sec-step p,
.ec-ai-node-dark p,
.ec-case-preview p,
#cybersecurity p,
#testimonials p,
#tech-stack p,
#corporate-footer p,
[class*="bg-slate-900"] p,
[class*="bg-slate-950"] p,
[class*="bg-[#070d19]"] p,
[class*="bg-[#0b1024]"] p,
[class*="bg-[#0b1326]"] p,
[class*="bg-[#0d1527]"] p,
[style*="background-color: #0"] p,
[style*="background-color:#0"] p,
[style*="background: #0"] p,
[style*="background:#0"] p {
  color: #cbd5e1 !important;
}

/* Bold & Strong in Dark Containers */
.dark-card-box strong, .dark-card-box b, .dark-card-box .font-bold, .dark-card-box .font-black,
.ec-dark-card strong, .ec-dark-card b, .ec-dark-card .font-bold, .ec-dark-card .font-black,
.ec-section-dark strong, .ec-section-dark b, .ec-section-dark .font-bold, .ec-section-dark .font-black,
#cybersecurity strong, #cybersecurity b,
#testimonials strong, #testimonials b,
#tech-stack strong, #tech-stack b,
[class*="bg-slate-900"] strong, [class*="bg-slate-900"] b,
[class*="bg-[#070d19]"] strong, [class*="bg-[#070d19]"] b,
[class*="bg-[#0b1024]"] strong, [class*="bg-[#0b1024]"] b {
  color: #ffffff !important;
}

/* Eyebrows, Tags & Stat Badges */
.dark-card-box .eyebrow,
.dark-card-box [class*="font-mono"][class*="uppercase"],
.ec-dark-card [class*="font-mono"][class*="uppercase"],
.ec-section-dark [class*="font-mono"][class*="uppercase"],
#tech-stack [class*="font-mono"][class*="uppercase"],
[class*="bg-slate-900"] .eyebrow {
  color: #38bdf8 !important;
}

/* ── 13.4 THE HOVER SHIELD: Guaranteed Light State on Hover ───────────── */
/* When any dark card or container is hovered, it must ILLUMINATE and NEVER turn dark */
.dark-card-box:hover,
.ec-dark-card:hover,
.ec-testimonial-dark-card:hover,
.ec-cap-card-featured:hover,
.ec-tech-category-card:hover,
.ec-sec-step:hover,
.ec-ai-node-dark:hover {
  background-color: #111e38 !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 30px rgba(37, 99, 235, 0.3) !important;
  transform: translateY(-3px) !important;
}

/* All headings inside ANY hovered dark card/container */
.dark-card-box:hover h1, .dark-card-box:hover h2, .dark-card-box:hover h3, .dark-card-box:hover h4,
.ec-dark-card:hover h1, .ec-dark-card:hover h2, .ec-dark-card:hover h3, .ec-dark-card:hover h4,
.ec-testimonial-dark-card:hover h1, .ec-testimonial-dark-card:hover h2, .ec-testimonial-dark-card:hover h3, .ec-testimonial-dark-card:hover h4,
.ec-cap-card-featured:hover h1, .ec-cap-card-featured:hover h2, .ec-cap-card-featured:hover h3, .ec-cap-card-featured:hover h4,
.ec-tech-category-card:hover h1, .ec-tech-category-card:hover h2, .ec-tech-category-card:hover h3, .ec-tech-category-card:hover h4,
.ec-sec-step:hover h1, .ec-sec-step:hover h2, .ec-sec-step:hover h3, .ec-sec-step:hover h4,
.ec-ai-node-dark:hover h1, .ec-ai-node-dark:hover h2, .ec-ai-node-dark:hover h3, .ec-ai-node-dark:hover h4 {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.5) !important;
}

/* All paragraphs & text inside ANY hovered dark card/container */
.dark-card-box:hover p,
.ec-dark-card:hover p,
.ec-testimonial-dark-card:hover p,
.ec-cap-card-featured:hover p,
.ec-tech-category-card:hover p,
.ec-sec-step:hover p,
.ec-ai-node-dark:hover p {
  color: #f8fafc !important;
}

/* Links inside dark containers on HOVER: 100% Bright White / Cyan */
.dark-card-box a:hover,
.ec-dark-card a:hover,
.ec-section-dark a:hover,
.ec-tech-category-card a:hover,
#cybersecurity a:hover,
#testimonials a:hover,
#tech-stack a:hover,
#corporate-footer a:hover,
[class*="bg-slate-900"] a:hover,
[class*="bg-slate-950"] a:hover,
[class*="bg-[#070d19]"] a:hover,
[class*="bg-[#0b1024]"] a:hover,
[class*="bg-[#0b1326]"] a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.6) !important;
}

/* Secondary & Dark Buttons Inside Dark Containers: Luminous Corporate Blue on Hover */
.dark-card-box a.bg-slate-800,
.dark-card-box a.bg-slate-800\/90,
.dark-card-box button.bg-slate-800,
.ec-section-dark .ec-btn-secondary,
.ec-section-dark .ec-btn-dark-secondary,
#tech-stack button#ecShowAllTechBtn,
[class*="bg-slate-900"] a.bg-slate-800,
[class*="bg-slate-900"] a.bg-slate-800\/90,
[class*="bg-[#070d19]"] a.bg-slate-800,
[class*="bg-[#0b1024]"] a.bg-slate-800 {
  background-color: rgba(30, 41, 59, 0.9) !important;
  color: #f1f5f9 !important;
  border: 1px solid #475569 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
}

.dark-card-box a.bg-slate-800:hover,
.dark-card-box a.bg-slate-800\/90:hover,
.dark-card-box button.bg-slate-800:hover,
.ec-section-dark .ec-btn-secondary:hover,
.ec-section-dark .ec-btn-dark-secondary:hover,
#tech-stack button#ecShowAllTechBtn:hover,
[class*="bg-slate-900"] a.bg-slate-800:hover,
[class*="bg-slate-900"] a.bg-slate-800\/90:hover,
[class*="bg-[#070d19]"] a.bg-slate-800:hover,
[class*="bg-[#0b1024]"] a.bg-slate-800:hover {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px) !important;
}

/* Solid White Buttons Inside Dark Containers: Crisp, Bright, High-Contrast Hover */
.dark-card-box a.bg-white,
.ec-section-dark a.bg-white,
#tech-stack a.bg-white,
[class*="bg-slate-900"] a.bg-white,
[class*="bg-[#070d19]"] a.bg-white,
[class*="bg-[#0b1024]"] a.bg-white {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.25s ease !important;
}

.dark-card-box a.bg-white:hover,
.ec-section-dark a.bg-white:hover,
#tech-stack a.bg-white:hover,
[class*="bg-slate-900"] a.bg-white:hover,
[class*="bg-[#070d19]"] a.bg-white:hover,
[class*="bg-[#0b1024]"] a.bg-white:hover {
  background-color: #ffffff !important;
  color: #1d4ed8 !important;
  border-color: #93c5fd !important;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.7), 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* ── 13.5 Technology Stack Interactive Catalog Hover Optimization ──────── */
.ec-tech-item {
  transition: all 0.22s ease !important;
}

.ec-tech-item:hover {
  background-color: rgba(30, 58, 138, 0.75) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px) !important;
}

.ec-tech-item:hover * {
  color: #ffffff !important;
  opacity: 1 !important;
}

.ec-tech-tab-btn:hover {
  background-color: #1e293b !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

#ecTechSearchInput:focus,
#ecTechSearchInput:hover {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3) !important;
  color: #ffffff !important;
}

/* ── 13.6 Anti-Dark-Inversion Shield ───────────────────────────────────── */
/* Overrides any Tailwind hover/group-hover utilities that attempt to turn text dark in dark zones */
.ec-section-dark [class*="hover:text-slate-900"]:hover,
.ec-section-dark [class*="hover:text-slate-800"]:hover,
.ec-section-dark [class*="hover:text-black"]:hover,
.dark-card-box [class*="hover:text-slate-900"]:hover,
.dark-card-box [class*="hover:text-slate-800"]:hover,
.dark-card-box [class*="hover:text-black"]:hover,
.ec-dark-card [class*="hover:text-slate-900"]:hover,
.ec-dark-card [class*="hover:text-slate-800"]:hover,
.ec-dark-card [class*="hover:text-black"]:hover,
#cybersecurity [class*="hover:text-slate-900"]:hover,
#testimonials [class*="hover:text-slate-900"]:hover,
#tech-stack [class*="hover:text-slate-900"]:hover,
[class*="bg-slate-900"] [class*="hover:text-slate-900"]:hover,
[class*="bg-slate-900"] [class*="hover:text-slate-800"]:hover,
[class*="bg-slate-900"] [class*="hover:text-black"]:hover,
[class*="bg-[#070d19]"] [class*="hover:text-slate-900"]:hover,
[class*="bg-[#0b1024]"] [class*="hover:text-slate-900"]:hover {
  color: #ffffff !important;
}

/* ==== ethicsui.css ==== */
/* ============================================================
   EthicsUI — Custom Design System for EthicsComputer
   Version: 2.0 | Light Theme Premium SaaS
   ============================================================ */


/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-white:       #FFFFFF;
  --bg-soft:        #FAFAFA;
  --bg-light:       #F5F7FA;
  --bg-border:      #EEF2F7;

  /* Text */
  --text-dark:      #0F172A;
  --text-secondary: #1E293B;
  --text-muted:     #475569;
  --text-light:     #64748B;
  --text-placeholder:#94A3B8;

  /* Brand */
  --blue:           #2563EB;
  --blue-light:     #3B82F6;
  --blue-dark:      #1D4ED8;
  --cyan:           #0EA5E9;
  --blue-cyber:     #06B6D4;

  /* Accents */
  --purple:         #7C3AED;
  --emerald:        #10B981;
  --orange:         #F59E0B;
  --red:            #EF4444;
  --pink:           #EC4899;

  /* Gradients */
  --gradient-blue:  linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);
  --gradient-purple:linear-gradient(135deg, #7C3AED 0%, #2563EB 100%);
  --gradient-hero:  linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 50%, #F5F3FF 100%);
  --gradient-card:  linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);

  /* Shadows */
  --shadow-xs:      0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm:      0 2px 8px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:      0 4px 24px rgba(15,23,42,0.08), 0 2px 8px rgba(15,23,42,0.04);
  --shadow-lg:      0 8px 40px rgba(15,23,42,0.12), 0 4px 16px rgba(15,23,42,0.06);
  --shadow-xl:      0 20px 60px rgba(15,23,42,0.15), 0 8px 24px rgba(15,23,42,0.08);
  --shadow-blue:    0 8px 32px rgba(37,99,235,0.25);
  --shadow-hover:   0 12px 48px rgba(15,23,42,0.14);

  /* Border Radius */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --radius-2xl:     36px;
  --radius-full:    9999px;

  /* Spacing */
  --space-section: 96px;

  /* Typography */
  --font-primary:  'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-secondary:'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index layers */
  --z-dropdown:   100;
  --z-sticky:     200;
  --z-modal-bg:   300;
  --z-modal:      400;
  --z-toast:      500;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { color: var(--text-muted); line-height: 1.75; }

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }

/* ─── Layout Helpers ────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--space-section) 0;
}

.section-sm {
  padding: 64px 0;
}

/* ─── Section Headers ───────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37,99,235,0.15);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-title span {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── Cards ─────────────────────────────────────────────────── */
.ec-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ec-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: rgba(37,99,235,0.12);
}

.ec-card-glass {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.ec-card-flat {
  background: var(--bg-soft);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(37,99,235,0.35);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1.5px solid rgba(15,23,42,0.12);
}

.btn-secondary:hover {
  background: var(--bg-light);
  border-color: rgba(37,99,235,0.3);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(37,99,235,0.2);
}

.btn-ghost:hover {
  background: rgba(37,99,235,0.06);
  border-color: var(--blue);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
}

.btn-sm { font-size: 0.875rem; padding: 8px 18px; border-radius: var(--radius-sm); }
.btn-lg { font-size: 1.0625rem; padding: 16px 32px; border-radius: var(--radius-md); }
.btn-xl { font-size: 1.125rem; padding: 18px 40px; border-radius: var(--radius-lg); }

/* ─── Inputs / Forms ────────────────────────────────────────── */
.ec-input, .ec-select, .ec-textarea {
  width: 100%;
  background: var(--bg-white);
  border: 1.5px solid rgba(15,23,42,0.1);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.ec-input:focus, .ec-select:focus, .ec-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
  background: var(--bg-white);
}

.ec-input::placeholder { color: var(--text-placeholder); }

.ec-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.form-group { margin-bottom: 20px; }

.ec-input-icon { position: relative; }
.ec-input-icon input { padding-left: 44px; }
.ec-input-icon .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.ec-textarea { resize: vertical; min-height: 120px; }

/* Input states */
.ec-input.error { border-color: var(--red); }
.ec-input.success { border-color: var(--emerald); }
.field-error { font-size: 0.8125rem; color: var(--red); margin-top: 4px; }

/* ─── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 38px; /* sits below 38px announce bar */
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
  height: 70px;
  display: flex;
  align-items: center;
  transition: top 0.3s ease, box-shadow var(--transition-slow), background var(--transition-slow);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,255,255,0.98);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
}

.navbar-logo img { height: 38px; width: auto; }
.navbar-logo span { color: var(--blue); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: rgba(37,99,235,0.06);
}

.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: var(--transition);
  z-index: var(--z-dropdown);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-dropdown-item:hover {
  background: rgba(37,99,235,0.06);
  color: var(--blue);
}

/* Mobile menu */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.2);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Background Elements */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}

.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7C3AED 0%, transparent 70%);
  bottom: -50px; left: -50px;
}

.hero-blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06B6D4 0%, transparent 70%);
  top: 40%; right: 30%;
}

/* Hero Grid Pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  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;
  pointer-events: none;
}

/* ─── Service Cards ─────────────────────────────────────────── */
.service-card {
  background: var(--bg-white);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-blue);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before { opacity: 0.03; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: rgba(37,99,235,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-blue);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Stats ─────────────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}

.stat-number {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number .gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ─── KPI Dashboard Cards ───────────────────────────────────── */
.kpi-card {
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kpi-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.kpi-icon.blue   { background: rgba(37,99,235,0.1); color: var(--blue); }
.kpi-icon.green  { background: rgba(16,185,129,0.1); color: var(--emerald); }
.kpi-icon.orange { background: rgba(245,158,11,0.1); color: var(--orange); }
.kpi-icon.purple { background: rgba(124,58,237,0.1); color: var(--purple); }
.kpi-icon.red    { background: rgba(239,68,68,0.1); color: var(--red); }
.kpi-icon.cyan   { background: rgba(6,182,212,0.1); color: var(--blue-cyber); }

.kpi-value {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.kpi-change {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 8px;
}

.kpi-change.up { color: var(--emerald); }
.kpi-change.down { color: var(--red); }

/* ─── Dashboard Sidebar ─────────────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-white);
  border-right: 1px solid var(--bg-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  overflow-y: auto;
  transition: var(--transition-slow);
}

.sidebar.collapsed { width: 72px; min-width: 72px; }

.sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  overflow: hidden;
}

.sidebar-logo img { width: 32px; height: 32px; flex-shrink: 0; }

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-group { margin-bottom: 24px; }

.sidebar-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0 8px;
  margin-bottom: 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

.sidebar-link:hover {
  background: rgba(37,99,235,0.06);
  color: var(--blue);
}

.sidebar-link.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.sidebar-link .link-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-link .badge {
  margin-left: auto;
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.sidebar-link.active .badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Sidebar footer */
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--bg-border);
}

/* ─── Dashboard Topbar ───────────────────────────────────────── */
.topbar {
  height: 70px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: var(--z-sticky) - 10;
}

.dashboard-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--bg-light);
  transition: var(--transition-slow);
  flex: 1 1 auto;
  min-width: 0;
}

.dashboard-main.expanded { margin-left: 72px; }

.page-content {
  padding: 28px;
}

/* ─── Tables ────────────────────────────────────────────────── */
.ec-table-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.ec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.ec-table thead {
  background: var(--bg-light);
  border-bottom: 1px solid var(--bg-border);
}

.ec-table thead th {
  padding: 14px 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.ec-table tbody tr {
  border-bottom: 1px solid rgba(15,23,42,0.04);
  transition: var(--transition);
}

.ec-table tbody tr:last-child { border-bottom: none; }

.ec-table tbody tr:hover {
  background: rgba(37,99,235,0.025);
}

.ec-table tbody td {
  padding: 14px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

/* ─── Badges / Tags ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.badge-blue    { background: rgba(37,99,235,0.1);  color: var(--blue); }
.badge-green   { background: rgba(16,185,129,0.1); color: var(--emerald); }
.badge-orange  { background: rgba(245,158,11,0.1); color: var(--orange); }
.badge-red     { background: rgba(239,68,68,0.1);  color: var(--red); }
.badge-purple  { background: rgba(124,58,237,0.1); color: var(--purple); }
.badge-gray    { background: rgba(100,116,139,0.1);color: var(--text-light); }
.badge-cyan    { background: rgba(6,182,212,0.1);  color: var(--blue-cyber); }

/* ─── Modals ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: var(--transition);
}

.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1000px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--bg-border);
}

.modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-light);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(239,68,68,0.1);
  color: var(--red);
}

.modal-body { padding: 24px 28px; }
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--bg-border);
}

/* ─── Toasts ────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 320px;
  max-width: 400px;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
}

.toast.success { border-left-color: var(--emerald); }
.toast.error   { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--orange); }
.toast.info    { border-left-color: var(--blue); }

.toast-icon { font-size: 1.125rem; flex-shrink: 0; margin-top: 1px; }
.toast.success .toast-icon { color: var(--emerald); }
.toast.error   .toast-icon { color: var(--red); }
.toast.warning .toast-icon { color: var(--orange); }
.toast.info    .toast-icon { color: var(--blue); }

.toast-content { flex: 1; }
.toast-title { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.toast-message { font-size: 0.8125rem; color: var(--text-muted); }

.toast-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 1rem;
  padding: 2px; line-height: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.toast-close:hover { color: var(--text-dark); }

/* ─── Skeleton Loading ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-border) 25%, var(--bg-light) 50%, var(--bg-border) 75%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text    { height: 14px; border-radius: 4px; margin-bottom: 8px; }
.skeleton-title   { height: 24px; border-radius: 6px; margin-bottom: 12px; }
.skeleton-avatar  { width: 40px; height: 40px; border-radius: 50%; }
.skeleton-card    { height: 200px; border-radius: var(--radius-xl); }

/* ─── Alerts ────────────────────────────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid;
  margin-bottom: 16px;
}

.alert-info    { background: rgba(37,99,235,0.06);  border-color: rgba(37,99,235,0.2);  color: var(--blue); }
.alert-success { background: rgba(16,185,129,0.06); border-color: rgba(16,185,129,0.2); color: var(--emerald); }
.alert-warning { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.2); color: var(--orange); }
.alert-error   { background: rgba(239,68,68,0.06);  border-color: rgba(239,68,68,0.2);  color: var(--red); }

/* ─── Tabs ──────────────────────────────────────────────────── */
.ec-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-light);
  padding: 4px;
  border-radius: var(--radius-md);
  width: fit-content;
}

.ec-tab {
  padding: 8px 18px;
  border-radius: calc(var(--radius-md) - 2px);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
}

.ec-tab.active {
  background: var(--bg-white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.ec-tab:hover:not(.active) {
  color: var(--text-secondary);
}

/* ─── Dropdowns ─────────────────────────────────────────────── */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: var(--transition);
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.dropdown-item:hover {
  background: rgba(37,99,235,0.06);
  color: var(--blue);
}

.dropdown-item.danger:hover {
  background: rgba(239,68,68,0.06);
  color: var(--red);
}

.dropdown-divider {
  border: none;
  border-top: 1px solid var(--bg-border);
  margin: 4px 0;
}

/* ─── Progress Bars ─────────────────────────────────────────── */
.progress-bar {
  height: 6px;
  background: var(--bg-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-blue);
  border-radius: var(--radius-full);
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Loaders ───────────────────────────────────────────────── */
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--bg-border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ─── Page Loader (Premium) ──────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: #050d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-loader.pl-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Ambient floating particles ── */
.pl-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pl-p {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.9) 0%, rgba(14,165,233,0.4) 60%, transparent 100%);
  animation: pl-particle-float var(--dr, 4s) var(--d, 0s) ease-in-out infinite alternate;
  filter: blur(0.5px);
}

@keyframes pl-particle-float {
  0%   { transform: translateY(0)   scale(1);   opacity: 0.3; }
  50%  { opacity: 0.8; }
  100% { transform: translateY(-28px) scale(1.3); opacity: 0.15; }
}

/* ── Glow rings ── */
.pl-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.pl-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.15);
  animation: pl-ring-pulse 3s ease-in-out infinite;
}

.pl-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.pl-ring-2 { width: 320px; height: 320px; animation-delay: 0.6s; border-color: rgba(14,165,233,0.1); }
.pl-ring-3 { width: 460px; height: 460px; animation-delay: 1.2s; border-color: rgba(124,58,237,0.08); }

@keyframes pl-ring-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%       { transform: scale(1.06); opacity: 0.4; }
}

/* ── Core content column ── */
.pl-core {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: pl-core-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pl-core-enter {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Shield SVG icon ── */
.pl-icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.pl-shield {
  width: 68px;
  height: 76px;
  position: relative;
  z-index: 1;
}

.pl-shield-body {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  fill: rgba(37,99,235,0.08);
  animation: pl-draw-shield 1.1s 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pl-shield-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: pl-draw-check 0.5s 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pl-draw-shield {
  to { stroke-dashoffset: 0; }
}

@keyframes pl-draw-check {
  to { stroke-dashoffset: 0; }
}

.pl-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.35) 0%, transparent 70%);
  animation: pl-glow-pulse 2s 1.2s ease-in-out infinite;
  filter: blur(8px);
}

@keyframes pl-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

/* ── Brand wordmark ── */
.pl-brand {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0;
  animation: pl-fade-up 0.5s 0.9s ease forwards;
}

.pl-brand-e { color: #fff; }
.pl-brand-c {
  background: linear-gradient(90deg, #3B82F6 0%, #0EA5E9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pl-tagline {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148,163,184,0.6);
  margin: 0 0 32px;
  opacity: 0;
  animation: pl-fade-up 0.5s 1.05s ease forwards;
}

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

/* ── Progress bar ── */
.pl-progress-track {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: visible;
  position: relative;
  opacity: 0;
  animation: pl-fade-up 0.4s 1.2s ease forwards;
}

.pl-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #2563EB 0%, #0EA5E9 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.pl-progress-glow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 10px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(37,99,235,0.5) 0%, rgba(14,165,233,0.5) 100%);
  filter: blur(6px);
  border-radius: 99px;
  opacity: 0.7;
}

/* ─── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.breadcrumb-item a { color: var(--text-light); }
.breadcrumb-item a:hover { color: var(--blue); }
.breadcrumb-item.active { color: var(--text-secondary); font-weight: 500; }
.breadcrumb-sep { color: var(--text-placeholder); }

/* ─── Pagination ────────────────────────────────────────────── */
.btn-page, .btn-page-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--bg-border);
  background: var(--bg-white);
  color: var(--text-muted);
  text-decoration: none;
}

.btn-page:hover { border-color: var(--blue); color: var(--blue); }
.btn-page-active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ─── Floating CTA ──────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 1.25rem;
  color: #fff;
}

.floating-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: var(--shadow-xl); }

.floating-btn.whatsapp { background: #25D366; }
.floating-btn.chat { background: var(--gradient-blue); }

/* ─── Feature/Value Lists ───────────────────────────────────── */
.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feature-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(16,185,129,0.1);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-stars { color: #FBBF24; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-border);
}

.testimonial-name { font-weight: 700; color: var(--text-dark); font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }

/* ─── FAQ Accordion ─────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--bg-border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1px solid var(--bg-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--text-light);
}

.faq-item.open .faq-icon {
  background: rgba(37,99,235,0.1);
  color: var(--blue);
  border-color: rgba(37,99,235,0.2);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.open .faq-answer { max-height: 500px; }

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Pricing Cards ─────────────────────────────────────────── */
.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--bg-border);
  border-radius: var(--radius-2xl);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 48px rgba(37,99,235,0.15);
  transform: scale(1.02);
}

.pricing-card.featured .pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-plan { font-size: 0.9rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--text-dark); letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 1.125rem; font-weight: 500; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 28px; }
.pricing-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); }
.pricing-feature svg { color: var(--emerald); flex-shrink: 0; }

/* ─── Search Bar ────────────────────────────────────────────── */
.ec-search {
  position: relative;
  max-width: 320px;
}

.ec-search input {
  width: 100%;
  background: var(--bg-light);
  border: 1.5px solid var(--bg-border);
  border-radius: var(--radius-full);
  padding: 9px 16px 9px 40px;
  font-size: 0.875rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.ec-search input:focus {
  background: var(--bg-white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.ec-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
  font-size: 0.9rem;
}

/* ─── Charts Container ──────────────────────────────────────── */
.chart-container {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); }

/* ─── Empty State ───────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.empty-title { font-size: 1.125rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.empty-desc { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 24px; }

/* ─── User Avatar ───────────────────────────────────────────── */
.user-avatar {
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-border);
  flex-shrink: 0;
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 40px; height: 40px; }
.avatar-lg { width: 52px; height: 52px; }
.avatar-xl { width: 72px; height: 72px; }

.avatar-group { display: flex; }
.avatar-group .user-avatar { border: 2px solid var(--bg-white); margin-left: -8px; }
.avatar-group .user-avatar:first-child { margin-left: 0; }

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.page-title { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.02em; }
.page-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-top: 2px; }

/* ─── Status Indicator ──────────────────────────────────────── */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.active  { background: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.status-dot.inactive{ background: var(--text-placeholder); }
.status-dot.pending { background: var(--orange); box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.status-dot.danger  { background: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }

/* ─── Dividers ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--bg-border);
  margin: 24px 0;
}

/* ─── Footer (Website) ──────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
}

.footer-top { padding: 80px 0 48px; }

.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.footer-brand span { color: var(--cyan); }

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.footer-link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-link:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Chat Widget ───────────────────────────────────────────── */
.chat-window {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-bubble {
  display: flex;
  gap: 10px;
  max-width: 75%;
}

.chat-bubble.own {
  flex-direction: row-reverse;
  margin-left: auto;
}

.chat-bubble-content {
  background: var(--bg-light);
  border: 1px solid var(--bg-border);
  border-radius: 20px 20px 20px 4px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-dark);
  max-width: 100%;
  word-break: break-word;
}

.chat-bubble.own .chat-bubble-content {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  border-radius: 20px 20px 4px 20px;
}

.chat-time { font-size: 0.6875rem; color: var(--text-placeholder); margin-top: 4px; text-align: right; }

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--bg-border);
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-fade-in  { animation: fadeIn 0.5s ease; }
.animate-slide-up { animation: slideInUp 0.5s ease; }
.animate-float    { animation: float 3s ease-in-out infinite; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0 !important; }
}

@media (max-width: 768px) {
  :root { --space-section: 64px; }
  .navbar-nav { display: none; }
  .nav-mobile-toggle { display: flex; }
  .navbar-cta { display: none; }
  .hero-actions { flex-direction: column; }
  .toast-container { right: 12px; left: 12px; min-width: unset; max-width: unset; }
  .page-content { padding: 20px 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }
  .btn-xl { padding: 14px 28px; font-size: 1rem; }
}

/* ─── Print Styles ──────────────────────────────────────────── */
@media print {
  .sidebar, .topbar, .navbar, .floating-cta, .toast-container { display: none !important; }
  .dashboard-main { margin-left: 0 !important; }
  body { background: #fff; }
}

/* ─── Dark Mode (Optional, toggle via JS) ───────────────────── */
.dark-mode {
  --bg-white:  #0F172A;
  --bg-soft:   #1E293B;
  --bg-light:  #1E293B;
  --bg-border: #334155;
  --text-dark: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ENHANCEMENTS v3.0 — Enterprise SaaS Level UI
═══════════════════════════════════════════════════════════════ */

/* ─── Premium Card Variants ──────────────────────────────────── */
.ec-card-premium {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.04);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.ec-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.ec-card-premium:hover {
  border-color: rgba(37,99,235,0.15);
  box-shadow: 0 4px 6px rgba(15,23,42,0.04), 0 20px 60px rgba(15,23,42,0.08);
  transform: translateY(-6px);
}

.ec-card-premium:hover::before { opacity: 1; }

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

/* ─── Gradient Borders ───────────────────────────────────────── */
.gradient-border {
  position: relative;
  background: #fff;
  border-radius: 20px;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(124,58,237,0.3), rgba(6,182,212,0.4));
  z-index: -1;
}

/* ─── Animated Gradient Text ─────────────────────────────────── */
.text-gradient-animated {
  background: linear-gradient(270deg, #2563EB, #7C3AED, #06B6D4, #2563EB);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* ─── Premium Section Badge ──────────────────────────────────── */
.section-badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.06));
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(37,99,235,0.2);
  margin-bottom: 16px;
}

/* ─── Hero Visual Enhancement ────────────────────────────────── */
.hero-visual {
  position: relative;
}

.hero-visual .ec-card {
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 4px 6px rgba(15,23,42,0.04), 0 40px 80px rgba(15,23,42,0.08);
}

/* ─── Noise Texture Overlay ──────────────────────────────────── */
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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)' opacity='0.02'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  border-radius: inherit;
}

/* ─── Stats Section Premium ──────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat-item-premium {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-item-premium:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

/* ─── Service Grid Enhancement ───────────────────────────────── */
.services-grid .service-card {
  border: 1px solid rgba(15,23,42,0.06);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.services-grid .service-card:hover {
  border-color: rgba(37,99,235,0.2);
  box-shadow: 0 8px 40px rgba(37,99,235,0.12);
}

/* ─── Portfolio Card Enhancement ─────────────────────────────── */
.portfolio-item {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(15,23,42,0.06);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(15,23,42,0.12);
  border-color: rgba(37,99,235,0.15);
}

/* ─── Cyber Grid Pattern ─────────────────────────────────────── */
.cyber-grid {
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ─── Premium Loading Dots ───────────────────────────────────── */
.loading-dots {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.loading-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: loading-bounce 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loading-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* ─── Marquee ────────────────────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  animation: marquee 30s linear infinite;
  display: flex;
  gap: 24px;
  width: max-content;
}

.marquee-track:hover { animation-play-state: paused; }

/* ─── Glassmorphism Surface ──────────────────────────────────── */
.glass-surface {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;
}

.glass-surface-dark {
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
}

/* ─── Typewriter Cursor ──────────────────────────────────────── */
.typewriter-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--blue);
  margin-left: 1px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── Premium Image Frames ───────────────────────────────────── */
.img-premium-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(15,23,42,0.14);
  border: 1px solid rgba(15,23,42,0.06);
  position: relative;
}

.img-premium-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  border-radius: inherit;
  pointer-events: none;
}

/* ─── Premium Icon Box ───────────────────────────────────────── */
.icon-box {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: all 0.3s;
}

.icon-box:hover {
  transform: scale(1.1) rotate(-5deg);
}

.icon-box-blue   { background: rgba(37,99,235,0.1);  border: 1px solid rgba(37,99,235,0.2); }
.icon-box-purple { background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2); }
.icon-box-green  { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); }
.icon-box-orange { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.icon-box-red    { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.2); }
.icon-box-cyan   { background: rgba(6,182,212,0.1);  border: 1px solid rgba(6,182,212,0.2); }

/* ─── Premium KPI Grid ───────────────────────────────────────── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 1024px) {
  .kpi-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Notification Dot ───────────────────────────────────────── */
.notif-dot {
  position: absolute;
  top: -2px; right: -2px;
  width: 9px; height: 9px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}

/* ─── Premium Input Groups ───────────────────────────────────── */
.input-group {
  display: flex;
  border: 1.5px solid rgba(15,23,42,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.input-group input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.input-group-btn {
  background: var(--gradient-blue);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.input-group-btn:hover { opacity: 0.9; }

/* ─── Timeline ───────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}

/* ─── Scroll Reveal Utility ──────────────────────────────────── */
[data-aos] { will-change: transform, opacity; }

/* ─── Premium Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,0.15);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,0.25); }

/* ─── Selection ──────────────────────────────────────────────── */
::selection {
  background: rgba(37,99,235,0.15);
  color: var(--blue-dark);
}

/* ─── Focus Ring ─────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Smooth Image Loading ───────────────────────────────────── */
img { transition: opacity 0.3s; }
img.lazy { opacity: 0; }
img.loaded { opacity: 1; }

/* ─── Premium Text Effects ───────────────────────────────────── */
.text-balance { text-wrap: balance; }

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.subtitle {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Hover Lift ─────────────────────────────────────────────── */
.hover-lift { transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ─── Interactive Border ─────────────────────────────────────── */
.border-animate {
  position: relative;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}
.border-animate:hover { border-color: var(--blue); }

/* ─── Responsive Grid Utilities ──────────────────────────────── */
.grid-responsive-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-responsive-2 { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Button Loading State ───────────────────────────────────── */
.btn.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.loading::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 6px;
}

/* ─── Premium Alert ──────────────────────────────────────────── */
.alert-premium {
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid;
}

/* ─── Smooth Scroll Anchor Offset ───────────────────────────── */
[id] { scroll-margin-top: 112px; } /* 38px bar + 70px navbar + 4px gap */

/* ─── Mobile Optimizations ───────────────────────────────────── */
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.75rem; }
  .hero-title { font-size: 2.25rem; }
  .ec-card-premium { padding: 20px; }
}

/* ─── Ultra-wide Optimizations ───────────────────────────────── */
@media (min-width: 1600px) {
  .container { max-width: 1440px; }
  .hero-title { font-size: 4.75rem; }
}

/* ─── Print Enhancements ─────────────────────────────────────── */
@media print {
  .btn, .floating-cta, .toast-container { display: none !important; }
  .ec-card { box-shadow: none !important; border: 1px solid #ddd !important; }
  a { color: inherit !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ENTERPRISE v4.0 — Visibility Fixes + UI Enhancements
═══════════════════════════════════════════════════════════════ */

/* ─── AOS Visibility Safety Net ─────────────────────────────────
   Bulletproof override: if AOS CDN fails or JS is disabled,
   elements NEVER get stuck at opacity:0 / invisible.
   When AOS JS is active, smooth scroll animations run seamlessly. */
body:not(.aos-enabled) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* ─── Announcement Bar ───────────────────────────────────────── */
.announce-bar {
  background: linear-gradient(90deg, #0F172A 0%, #1D4ED8 50%, #7C3AED 100%);
  background-size: 200% 100%;
  animation: announce-shift 8s ease infinite;
  color: rgba(255,255,255,0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 9px 0;
  position: relative;
  z-index: calc(var(--z-sticky) + 1);
  overflow: hidden;
}

@keyframes announce-shift {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

.announce-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.announce-bar a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announce-bar .pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 99px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

.announce-bar .pill:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.announce-marquee {
  overflow: hidden;
  flex: 1;
  display: flex;
}

.announce-track {
  display: flex;
  gap: 48px;
  animation: marquee 25s linear infinite;
  width: max-content;
  white-space: nowrap;
}

/* ─── Premium Stats Section ──────────────────────────────────── */
.stats-section {
  position: relative;
  overflow: hidden;
}

.stat-card-premium {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.stat-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563EB, #06B6D4, #7C3AED);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card-premium:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(37,99,235,0.2);
}

.stat-card-premium:hover::before { opacity: 1; }

.stat-number-premium {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label-premium {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}

/* ─── Testimonials Premium ───────────────────────────────────── */
.testimonial-section-wrap {
  position: relative;
}

.testimonial-card-premium {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05), 0 4px 16px rgba(15,23,42,0.04);
}

.testimonial-card-premium::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  line-height: 1;
  color: rgba(37,99,235,0.08);
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-card-premium:hover {
  border-color: rgba(37,99,235,0.15);
  box-shadow: 0 8px 48px rgba(15,23,42,0.1);
  transform: translateY(-5px);
}

.tc-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.tc-star {
  display: inline-block;
  width: 18px;
  height: 18px;
  color: #FBBF24;
  font-size: 1.125rem;
  line-height: 1;
  flex-shrink: 0;
  /* Explicit fill ensures emoji star is always rendered */
  -webkit-text-fill-color: #FBBF24;
  text-fill-color: #FBBF24;
}

.tc-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--bg-border);
  padding-top: 20px;
  margin-top: auto;
}

.tc-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  flex-shrink: 0;
  letter-spacing: 0;
}

.tc-name {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9375rem;
  line-height: 1.3;
}

.tc-role {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ─── Case Studies Premium ───────────────────────────────────── */
.case-study-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
  flex-wrap: wrap;
}

.case-study-header .section-title {
  margin-bottom: 0;
}

.case-study-header .view-all-btn {
  flex-shrink: 0;
  align-self: flex-end;
}

.portfolio-card-premium {
  --cs-accent: #2563EB;
  --cs-grad: linear-gradient(135deg,#2563EB,#06B6D4);
  --cs-glow: rgba(37,99,235,0.45);
  --cs-soft: rgba(37,99,235,0.10);
  position: relative;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .4s ease;
  box-shadow: 0 1px 3px rgba(15,23,42,0.05);
  display: flex;
  flex-direction: column;
}
.portfolio-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cs-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: 3;
}
.portfolio-card-premium::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--cs-soft);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
  z-index: 0;
}
.portfolio-card-premium:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -22px var(--cs-glow);
  border-color: var(--cs-accent);
}
.portfolio-card-premium:hover::before { transform: scaleX(1); }
.portfolio-card-premium:hover::after { opacity: 1; }

.portfolio-card-premium.cat-purple  { --cs-accent:#7C3AED; --cs-grad:linear-gradient(135deg,#7C3AED,#2563EB); --cs-glow:rgba(124,58,237,0.45); --cs-soft:rgba(124,58,237,0.10); }
.portfolio-card-premium.cat-emerald { --cs-accent:#059669; --cs-grad:linear-gradient(135deg,#059669,#10B981); --cs-glow:rgba(16,185,129,0.45); --cs-soft:rgba(16,185,129,0.10); }
.portfolio-card-premium.cat-amber   { --cs-accent:#D97706; --cs-grad:linear-gradient(135deg,#D97706,#F59E0B); --cs-glow:rgba(245,158,11,0.45); --cs-soft:rgba(245,158,11,0.10); }
.portfolio-card-premium.cat-red     { --cs-accent:#EF4444; --cs-grad:linear-gradient(135deg,#EF4444,#F97316); --cs-glow:rgba(239,68,68,0.45); --cs-soft:rgba(239,68,68,0.10); }
.portfolio-card-premium.cat-cyan    { --cs-accent:#0EA5E9; --cs-grad:linear-gradient(135deg,#0EA5E9,#2563EB); --cs-glow:rgba(14,165,233,0.45); --cs-soft:rgba(14,165,233,0.10); }

.portfolio-thumb {
  height: 200px;
  background: var(--cs-grad);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0,0,0,0.15), transparent 55%);
}
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,0.45) 100%);
}
.portfolio-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
  z-index: 1;
}
.portfolio-card-premium:hover .portfolio-thumb img { transform: scale(1.08); }

.portfolio-thumb-icon {
  font-size: 3.5rem;
  opacity: 0.85;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.18));
  z-index: 1;
  position: relative;
  transition: transform .5s ease;
}
.portfolio-card-premium:hover .portfolio-thumb-icon { transform: scale(1.12) rotate(-6deg); }

.portfolio-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
}
.portfolio-cat-badge .badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.92);
  color: var(--cs-accent);
  box-shadow: 0 6px 16px -6px rgba(15,23,42,0.4);
  backdrop-filter: blur(6px);
}

.portfolio-view {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--cs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 8px 20px -8px rgba(15,23,42,0.4);
  transform: scale(.7) rotate(-45deg);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.portfolio-card-premium:hover .portfolio-view {
  transform: scale(1) rotate(0);
  opacity: 1;
}

.portfolio-body {
  padding: 22px 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: #fff;
}

.portfolio-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.portfolio-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.portfolio-tech-stack {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.tech-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--cs-soft);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  color: var(--cs-accent);
  transition: background .25s ease, border-color .25s ease;
}
.portfolio-card-premium:hover .tech-tag { border-color: var(--cs-accent); }

.portfolio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--bg-border);
  margin-top: auto;
}
.portfolio-foot .meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.portfolio-foot .meta svg { color: var(--cs-accent); }
.portfolio-foot .arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--cs-soft);
  color: var(--cs-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, color .3s ease, transform .3s ease, gap .3s ease;
}
.portfolio-card-premium:hover .portfolio-foot .arrow {
  background: var(--cs-grad);
  color: #fff;
  transform: translateX(4px);
}

/* ─── Ensure stat counters are readable on dark bg ───────────── */
.stats-section [data-counter] {
  display: block;
  /* fallback for browsers that don't support gradient text */
  color: #fff;
}

@supports (-webkit-background-clip: text) {
  .stats-section [data-counter] {
    color: transparent;
  }
}

/* ─── Testimonials star visibility hard-override ─────────────── */
.tc-star, .testimonial-stars {
  color: #FBBF24 !important;
  -webkit-text-fill-color: #FBBF24 !important;
}

/* ─── Hero SVG Illustration Animations ──────────────────────── */
.hero-illus-wrap { padding: 20px 0 32px; }

/* Nodes float up/down independently */
.hero-node {
  animation: hero-float 3.6s ease-in-out infinite;
  transform-origin: center;
}
.hero-node:nth-child(2) { animation-delay: 0.5s; animation-duration: 4.2s; }
.hero-node:nth-child(3) { animation-delay: 1.1s; animation-duration: 3.9s; }
.hero-node:nth-child(4) { animation-delay: 1.6s; animation-duration: 4.5s; }

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* Shield glow pulse */
.hero-svg path[fill="url(#hg-blue)"] {
  filter: drop-shadow(0 0 12px rgba(37,99,235,0.35));
  animation: shield-glow 3s ease-in-out infinite alternate;
}
@keyframes shield-glow {
  from { filter: drop-shadow(0 0 10px rgba(37,99,235,0.25)); }
  to   { filter: drop-shadow(0 0 22px rgba(37,99,235,0.5)); }
}

/* Dashed connection lines draw-in on load */
.hero-svg line[stroke-dasharray] {
  stroke-dashoffset: 0;
  animation: line-dash 2.5s linear infinite;
}
@keyframes line-dash {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

/* Orbit ring rotate */
.hero-svg circle[stroke-dasharray="6 8"] {
  transform-origin: 260px 210px;
  animation: ring-rotate 20s linear infinite;
}
.hero-svg circle[stroke-dasharray="4 12"] {
  transform-origin: 260px 210px;
  animation: ring-rotate 30s linear infinite reverse;
}
@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Subtle entrance scale for the whole SVG */
.hero-svg {
  animation: svg-enter 0.9s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes svg-enter {
  from { opacity: 0; transform: scale(0.92) translateX(20px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}

/* ─── Responsive fixes ───────────────────────────────────────── */
@media (max-width: 768px) {
  .announce-bar-inner .announce-right { display: none; }
  .case-study-header { flex-direction: column; align-items: flex-start; }
  .case-study-header .view-all-btn { align-self: flex-start; }
  .stat-card-premium { padding: 24px 14px; }
  .stat-number-premium { font-size: 2rem; }
  .testimonial-card-premium { padding: 24px; }
}

/* ==== ethics-engine.css ==== */
/* ============================================================
   EthicsComputer AI Growth Engine (AGE) — Enterprise Executive CSS
   Design System: Corporate, Executive, Clean, Luxury Minimal
   Colors: #FFFFFF, #F8F9FA, #E5E7EB, #0F172A, #334155, #2563EB
   Fonts: Plus Jakarta Sans, Manrope, Inter, IBM Plex Mono, JetBrains Mono
   ============================================================ */


:root {
  --age-bg: #FFFFFF;
  --age-bg-alt: #F8F9FA;
  --age-card-bg: #FFFFFF;
  --age-border: #E5E7EB;
  --age-border-focus: #2563EB;
  
  --age-primary: #0F172A;
  --age-secondary: #334155;
  --age-muted: #64748B;
  
  --age-accent: #2563EB;
  --age-accent-hover: #1D4ED8;
  --age-accent-light: #EFF6FF;
  
  --age-success: #16A34A;
  --age-success-bg: #F0FDF4;
  --age-warning: #EA580C;
  --age-warning-bg: #FFF7ED;
  --age-danger: #DC2626;
  --age-danger-bg: #FEF2F2;

  --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-subheading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-code: 'JetBrains Mono', monospace;
  
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
}

body {
  font-family: var(--font-body);
  background-color: var(--age-bg);
  color: var(--age-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1:not(.text-white):not([class*="text-white"]),
h2:not(.text-white):not([class*="text-white"]),
h3:not(.text-white):not([class*="text-white"]),
.heading-font {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--age-primary);
}

h4, h5, .subheading-font {
  font-family: var(--font-subheading);
  color: var(--age-secondary);
}

.mono-num {
  font-family: var(--font-mono);
}

.code-font {
  font-family: var(--font-code);
}

/* Executive Card Component */
.age-card {
  background: var(--age-card-bg);
  border: 1px solid var(--age-border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease-in-out;
}

.age-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

/* Metric / Stat Display */
.age-stat-card {
  background: #FFFFFF;
  border: 1px solid var(--age-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.age-stat-card .stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--age-primary);
  line-height: 1.2;
}

.age-stat-card .stat-label {
  font-family: var(--font-subheading);
  font-size: 0.875rem;
  color: var(--age-muted);
  font-weight: 500;
  margin-bottom: 6px;
}

/* Status Badges */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.age-badge-blue {
  background: var(--age-accent-light);
  color: var(--age-accent);
  border: 1px solid #BFDBFE;
}

.age-badge-green {
  background: var(--age-success-bg);
  color: var(--age-success);
  border: 1px solid #BBF7D0;
}

.age-badge-orange {
  background: var(--age-warning-bg);
  color: var(--age-warning);
  border: 1px solid #FED7AA;
}

.age-badge-gray {
  background: #F1F5F9;
  color: var(--age-secondary);
  border: 1px solid #E2E8F0;
}

/* Executive Buttons */
.age-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  text-decoration: none;
}

.age-btn-primary {
  background-color: var(--age-accent);
  color: #FFFFFF;
}

.age-btn-primary:hover {
  background-color: var(--age-accent-hover);
  box-shadow: var(--shadow-sm);
}

.age-btn-secondary {
  background-color: #FFFFFF;
  color: var(--age-primary);
  border-color: var(--age-border);
}

.age-btn-secondary:hover {
  background-color: var(--age-bg-alt);
  border-color: #CBD5E1;
}

/* Workflow Diagram Styling */
.workflow-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: var(--age-bg-alt);
  border: 1px solid var(--age-border);
  border-radius: 16px;
  overflow-x: auto;
}

.workflow-node {
  background: #FFFFFF;
  border: 1px solid var(--age-border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 180px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.workflow-arrow {
  display: flex;
  align-items: center;
  color: var(--age-accent);
  font-weight: 700;
}

.workflow-arrow::after {
  content: '→';
  font-size: 1.5rem;
}

/* Command Palette Modal */
.command-palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.command-palette-box {
  background: #FFFFFF;
  border: 1px solid var(--age-border);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Chatbot Floating Widget */
.age-chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--age-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.2s ease;
}

.age-chatbot-trigger:hover {
  transform: scale(1.05);
}

.age-chatbot-box {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 380px;
  max-height: 580px;
  height: 80vh;
  background: #FFFFFF;
  border: 1px solid var(--age-border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Smooth Table Formatting */
.age-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.age-table th {
  background: var(--age-bg-alt);
  color: var(--age-secondary);
  font-family: var(--font-subheading);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--age-border);
}

.age-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--age-border);
  color: var(--age-primary);
}

.age-table tr:hover td {
  background: #F8FAFC;
}

/* ==== ec-ui.css ==== */
/* ==========================================================================
   EthicsComputer — World-Class Design System & Motion Layer (Enterprise Edition)
   Crafted with Awwwards-caliber aesthetics: Obsidian dark tones, vibrant accents,
   refined glassmorphism, responsive clamp typography, hardware-accelerated 60fps animations.
   ========================================================================== */

:root {
  /* ── Core Obsidian / Midnight Surfaces ── */
  --ec-obsidian: #05070c;
  --ec-midnight: #0b0f19;
  --ec-navy-950: #070d19;
  --ec-navy-900: #0b1326;
  --ec-surface-dark: #0f172a;
  --ec-surface-card: #111827;
  --ec-surface-glass: rgba(255, 255, 255, 0.04);
  --ec-surface-glass-hover: rgba(255, 255, 255, 0.07);

  /* ── Borders & Glass Highlights ── */
  --ec-border-glass: rgba(255, 255, 255, 0.08);
  --ec-border-glass-bright: rgba(255, 255, 255, 0.16);
  --ec-border-glow-blue: rgba(59, 130, 246, 0.35);
  --ec-border-glow-violet: rgba(139, 92, 246, 0.35);
  --ec-border-glow-emerald: rgba(16, 185, 129, 0.35);

  /* ── Brand Colors & Accents ── */
  --ec-accent: #2563eb;
  --ec-accent-hover: #1d4ed8;
  --ec-accent-2: #7c3aed;
  --ec-accent-cyan: #06b6d4;
  --ec-accent-emerald: #10b981;
  --ec-accent-amber: #f59e0b;

  /* ── Rich Gradients ── */
  --ec-grad-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #ec4899 100%);
  --ec-grad-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --ec-grad-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --ec-grad-amber: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --ec-grad-dark: radial-gradient(ellipse at 50% -20%, #1e293b 0%, #07090e 100%);

  /* ── Typography & Physics Curves ── */
  --ec-font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ec-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ec-font-mono: 'JetBrains Mono', monospace;

  --ec-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ec-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ec-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  interpolate-size: allow-keywords;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

::selection {
  background: #3b82f6;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ec-font-display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 8px;
}

/* ── Hardware-Accelerated Scroll Progress Bar ─────────────────────────── */
#ec-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 9999;
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6 50%, #06b6d4 100%);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

@supports (animation-timeline: scroll()) {
  #ec-progress {
    animation: ec-progress-scroll linear both;
    animation-timeline: scroll(root);
  }
  @keyframes ec-progress-scroll {
    to { transform: scaleX(1); }
  }
}

/* ── Modern Glassmorphism Surfaces ───────────────────────────────────── */
.ec-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ec-glass-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.06);
}

.ec-glass-dock {
  background: rgba(7, 13, 25, 0.78);
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ── Dynamic Ambient Mesh & Grid Backgrounds ─────────────────────────── */
.ec-grid-bg {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.ec-grid-bg-dark {
  background-color: var(--ec-obsidian);
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(59, 130, 246, 0.16) 0%, transparent 80%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
}

.ec-mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: ec-pulse-mesh 12s ease-in-out infinite alternate;
}

@keyframes ec-pulse-mesh {
  0% { transform: scale(1) translate3d(0, 0, 0); opacity: 0.35; }
  50% { transform: scale(1.15) translate3d(3vw, 2vh, 0); opacity: 0.55; }
  100% { transform: scale(0.95) translate3d(-2vw, -1vh, 0); opacity: 0.4; }
}

/* ── Shimmer & Animated Typography ──────────────────────────────────── */
.ec-grad-text {
  background: linear-gradient(95deg, #2563eb, #7c3aed 40%, #06b6d4 75%, #2563eb 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ec-shimmer-sweep 7s linear infinite;
}

.ec-grad-text-cyber {
  background: linear-gradient(95deg, #38bdf8, #818cf8 35%, #ec4899 70%, #38bdf8 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ec-shimmer-sweep 6s linear infinite;
}

.ec-grad-text-emerald {
  background: linear-gradient(95deg, #34d399, #06b6d4 50%, #3b82f6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes ec-shimmer-sweep {
  to { background-position: -250% center; }
}

/* ── Micro Pill Badges & Eyebrows ── */
.ec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #2563eb;
  font-family: var(--ec-font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
}

.ec-eyebrow.on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #93c5fd;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ec-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: ec-pulse-dot 2s infinite;
}

@keyframes ec-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ── High-Converting Interactive Buttons ────────────────────────────── */
.ec-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: 0.85rem;
  font-family: var(--ec-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ec-ease-out), box-shadow 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.ec-btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -6px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.ec-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-150%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.ec-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ec-btn-primary:hover::after {
  transform: translateX(150%);
}

.ec-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.ec-btn-secondary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.ec-btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.ec-btn-ghost-dark {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.ec-btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.ec-btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
  border-radius: 1rem;
}

/* ── Interactive Bento-Grid & Spotlight Cards ───────────────────────── */
.ec-bento-grid {
  display: grid;
  gap: 1.5rem;
}

.ec-bento-card {
  position: relative;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.35rem;
  padding: 2rem;
  transition: transform 0.35s var(--ec-ease-out), box-shadow 0.35s var(--ec-ease-out), border-color 0.35s ease;
  overflow: hidden;
}

.ec-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 50px -15px rgba(37, 99, 235, 0.15);
}

.ec-bento-card.is-dark {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.ec-bento-card.is-dark:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 24px 60px -15px rgba(37, 99, 235, 0.3);
}

/* Dynamic Spotlight Glow Tracker */
.ec-spot {
  position: relative;
  isolation: isolate;
}

.ec-spot::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(59, 130, 246, 0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ec-spot:hover::before {
  opacity: 1;
}

/* ── 3D Card Tilt with Specular Reflection ───────────────────────────── */
[data-tilt], .ec-tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.4s var(--ec-ease-out);
}

/* ── Scroll-Linked Animations & Reveals ──────────────────────────────── */
.ec-reveal {
  transition: opacity 0.8s var(--ec-ease-out), transform 0.8s var(--ec-ease-out) !important;
  transition-delay: var(--ec-delay, 0ms) !important;
}

.ec-reveal:not(.is-in) {
  opacity: 0 !important;
  transform: translate3d(0, 32px, 0) !important;
}

.ec-reveal[data-ec-anim="fade-left"]:not(.is-in) { transform: translate3d(40px, 0, 0) !important; }
.ec-reveal[data-ec-anim="fade-right"]:not(.is-in) { transform: translate3d(-40px, 0, 0) !important; }
.ec-reveal[data-ec-anim="zoom-in"]:not(.is-in) { transform: scale(0.92) translate3d(0, 20px, 0) !important; }

/* ── Animated Hardware-Accelerated Marquee ───────────────────────────── */
.ec-marquee-container {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ec-marquee-content {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: ec-marquee-scroll 32s linear infinite;
}

.ec-marquee-container:hover .ec-marquee-content {
  animation-play-state: paused;
}

@keyframes ec-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── Modern Form Control Styles ──────────────────────────────────────── */
.ec-form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.85rem;
  font-size: 0.95rem;
  font-family: var(--ec-font-body);
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ec-form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.ec-form-input.is-dark {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.ec-form-input.is-dark:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

.ec-form-label {
  display: block;
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.ec-form-label.is-dark {
  color: #94a3b8;
}

/* ── Floating Mobile Bar ─────────────────────────────────────────────── */
.ec-mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .ec-mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(7, 13, 25, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 280;
    padding: 0 12px;
  }

  .ec-mobile-bottom-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    gap: 2px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s ease;
  }

  .ec-mobile-bottom-bar a:hover {
    color: #ffffff;
  }
}

/* ── Minimalist Clean Corporate Architecture (No distracting background orbs) ── */
.ec-ambient-bg {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   ENTERPRISE MOTION GRAPHICS SYSTEM (AWWWARDS / LINEAR / STRIPE CALIBER)
   Hardware-accelerated border beams, live radar HUD, laser data streams
═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Continuous Rotating Border Beam ─────────────────────────────── */
.ec-border-beam-container {
  position: relative;
  isolation: isolate;
  border-radius: 1.25rem;
}

.ec-border-beam-line {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 20;
}

.ec-border-beam-line::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 260deg,
    rgba(56, 189, 248, 0.2) 280deg,
    rgba(56, 189, 248, 0.95) 325deg,
    rgba(129, 140, 248, 1) 345deg,
    rgba(236, 72, 153, 0.95) 358deg,
    transparent 360deg
  );
  animation: ec-beam-spin 5.5s linear infinite;
  will-change: transform;
}

.ec-border-beam-emerald .ec-border-beam-line::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    transparent 260deg,
    rgba(16, 185, 129, 0.2) 280deg,
    rgba(52, 211, 153, 0.95) 325deg,
    rgba(56, 189, 248, 1) 348deg,
    rgba(16, 185, 129, 0.95) 358deg,
    transparent 360deg
  );
  animation: ec-beam-spin 6s linear infinite;
}

@keyframes ec-beam-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── 2. Flowing Laser Data Packets (Between Architecture Layers) ────── */
.ec-stream-connector {
  position: relative;
  width: 100%;
  height: 20px;
  margin: -2px 0;
  overflow: visible;
  pointer-events: none;
  z-index: 10;
}

.ec-laser-dash-1 {
  animation: ec-laser-stream 2.2s linear infinite;
}

.ec-laser-dash-2 {
  animation: ec-laser-stream 1.8s linear infinite reverse;
}

.ec-laser-dash-3 {
  animation: ec-laser-stream 2.5s linear infinite;
}

@keyframes ec-laser-stream {
  from { stroke-dashoffset: 80; }
  to { stroke-dashoffset: 0; }
}

/* ── 3. Cyber Radar Telemetry HUD ───────────────────────────────────── */
.ec-radar-box {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(11, 19, 38, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.ec-radar-circle {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  overflow: hidden;
  flex-shrink: 0;
}

.ec-radar-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.7) 0deg, transparent 65deg, transparent 360deg);
  animation: ec-radar-rotate 2.4s linear infinite;
}

.ec-radar-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #38bdf8;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #38bdf8;
}

@keyframes ec-radar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ec-radar-ping-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.ec-radar-ping-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.75;
  animation: ec-ping-expand 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ec-radar-ping-dot span:last-child {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

@keyframes ec-ping-expand {
  75%, 100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* ── 4. Levitation Holographic HUD Badges ───────────────────────────── */
.ec-hud-float {
  position: absolute;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(11, 19, 38, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #f1f5f9;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.18);
  pointer-events: auto;
  will-change: transform;
}

.ec-hud-float-tr {
  top: -16px;
  right: 18px;
  animation: ec-hud-float-1 6s ease-in-out infinite alternate;
}

.ec-hud-float-bl {
  bottom: -16px;
  left: 18px;
  animation: ec-hud-float-2 7s ease-in-out infinite alternate;
}

.ec-hud-float-br {
  bottom: -20px;
  right: 24px;
  animation: ec-hud-float-3 6.5s ease-in-out infinite alternate;
}

@keyframes ec-hud-float-1 {
  0% { transform: translate3d(0, 0, 0) rotate(0.5deg); }
  50% { transform: translate3d(0, -9px, 0) rotate(-0.5deg); }
  100% { transform: translate3d(0, 3px, 0) rotate(0.8deg); }
}

@keyframes ec-hud-float-2 {
  0% { transform: translate3d(0, 0, 0) rotate(-0.8deg); }
  50% { transform: translate3d(0, 8px, 0) rotate(0.4deg); }
  100% { transform: translate3d(0, -6px, 0) rotate(-0.4deg); }
}

@keyframes ec-hud-float-3 {
  0% { transform: translate3d(0, 0, 0) rotate(0.4deg); }
  50% { transform: translate3d(0, -7px, 0) rotate(-0.6deg); }
  100% { transform: translate3d(0, 4px, 0) rotate(0.6deg); }
}

/* ── 5. Cyber Threat Operations Ticker (SOC Live Telemetry) ────────── */
.ec-soc-ticker {
  background: rgba(11, 19, 38, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 0.85rem;
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-family: var(--ec-font-mono);
  font-size: 0.72rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ec-soc-ticker-pulse {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #34d399;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ec-soc-ticker-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  white-space: nowrap;
  color: #94a3b8;
}

.ec-soc-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ec-soc-ticker-item b {
  color: #f1f5f9;
}

/* ── 6. Audio / Neural Wave Pulse ──────────────────────────────────── */
.ec-neural-pulse-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 16px;
}

.ec-neural-pulse-wave span {
  display: block;
  width: 2.5px;
  background: #38bdf8;
  border-radius: 2px;
  animation: ec-wave-bounce 1.2s ease-in-out infinite alternate;
}

.ec-neural-pulse-wave span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.ec-neural-pulse-wave span:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.ec-neural-pulse-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.ec-neural-pulse-wave span:nth-child(4) { height: 10px; animation-delay: 0.4s; }
.ec-neural-pulse-wave span:nth-child(5) { height: 13px; animation-delay: 0.15s; }

@keyframes ec-wave-bounce {
  0% { transform: scaleY(0.3); opacity: 0.4; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ── 7. Electric Glow Hover ────────────────────────────────────────── */
.ec-glow-hover {
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ec-glow-hover:hover {
  border-color: rgba(56, 189, 248, 0.6) !important;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25), 0 20px 40px -15px rgba(0, 0, 0, 0.5) !important;
}

/* ── Accessibility & Reduced Motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ec-reveal, .ec-reveal:not(.is-in) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ec-grad-text, .ec-grad-text-cyber, .ec-marquee-content, .ec-mesh-glow,
  .ec-eyebrow-dot, #ec-progress, .ec-pulse, .ec-ambient-orb,
  .ec-border-beam-line::before, .ec-laser-dash-1, .ec-laser-dash-2, .ec-laser-dash-3,
  .ec-radar-circle::before, .ec-radar-ping-dot span:first-child,
  .ec-hud-float, .ec-neural-pulse-wave span {
    animation: none !important;
  }
  .ec-btn, .ec-bento-card, [data-tilt], .ec-hud-float {
    transition: none !important;
    transform: none !important;
  }
}

/* Mobile: pages with the bottom action bar (WhatsApp + Request Call) shouldn't
   stack the floating WhatsApp bubble and chat launcher on top of it. */
@media (max-width: 768px) {
  body:has(.ec-mobile-bottom-bar) .ec-wa-float {
    display: none !important;
  }
  body:has(.ec-mobile-bottom-bar) .ec-chat-launcher {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

/* Heavy below-the-fold homepage sections: the browser skips layout/paint until they
   approach the viewport. Content stays in the HTML (crawlable, searchable). */
#technology-stack,
#platforms {
  content-visibility: auto;
  contain-intrinsic-size: auto 1400px;
}

/* International WhatsApp number field (assets/js/ec-phone.js) */
.ec-cc-wrap {
  display: flex;
  gap: 6px;
  width: 100%;
  align-items: stretch;
}
.ec-cc-wrap > input {
  flex: 1 1 auto;
  min-width: 0;
}
.ec-cc-select {
  flex: 0 0 auto;
  width: 5.5rem;
  max-width: 40%;
  padding-left: 8px;
  padding-right: 4px;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  font-weight: 600;
}

/* ==== ec-pages.css ==== */
/* ==========================================================================
   EthicsComputer — page components for the services templates
   (includes/service-page.php, components/services/category-catalog.php,
   components/services/service-catalog.php and the navbar practice mega menu).

   Namespaced ecp-* so the site-wide design system (ec-ui.css) can evolve
   independently. Loaded BEFORE the compiled Tailwind file, so utility classes
   on an element can still adjust these components. Reuses ec-ui.css tokens
   (--ec-accent, --ec-accent-2, --ec-ease-out) with local fallbacks.
   ========================================================================== */

.ecp-root { --ecp-accent: var(--ec-accent, #2563eb); --ecp-accent-2: var(--ec-accent-2, #7c3aed); }
.ecp-ease { transition-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* ── Ambient backgrounds ─────────────────────────────────────────────────── */
.ecp-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ecp-aurora::before, .ecp-aurora::after {
  content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--ecp-accent, #2563eb) 55%, transparent) 0%, transparent 62%);
  opacity: .55; animation: ecp-drift 18s ease-in-out infinite alternate;
}
.ecp-aurora::before { top: -38vmax; left: -18vmax; }
.ecp-aurora::after {
  bottom: -45vmax; right: -22vmax; animation-duration: 24s; animation-direction: alternate-reverse;
  background: radial-gradient(circle, color-mix(in srgb, var(--ecp-accent-2, #7c3aed) 50%, transparent) 0%, transparent 62%);
}
@keyframes ecp-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(9vmax, 7vmax, 0) scale(1.12); } }

.ecp-gridlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(148, 163, 184, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .09) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 0%, #000 35%, transparent 100%);
}
.ecp-gridlines.is-light { background-image: linear-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .05) 1px, transparent 1px); }

.ecp-noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Page-load entrance (pure CSS, safe without JS) ──────────────────────── */
@keyframes ecp-rise { from { opacity: .01; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.ecp-enter { animation: ecp-rise .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 40ms); }

/* ── Eyebrow pill ────────────────────────────────────────────────────────── */
.ecp-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .8rem; border-radius: 999px;
  font: 700 .72rem/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ecp-accent, #2563eb) 80%, #0f172a);
  background: color-mix(in srgb, var(--ecp-accent, #2563eb) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ecp-accent, #2563eb) 25%, #fff);
}
.ecp-kicker.on-dark { color: #e0f2fe; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); }
.ecp-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ecp-ping 2s infinite; }
@keyframes ecp-ping { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* ── Cards ───────────────────────────────────────────────────────────────── */
.ecp-card {
  position: relative; isolation: isolate; display: block;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 1.1rem;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s cubic-bezier(.16, 1, .3, 1), border-color .35s ease;
}
.ecp-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--ecp-accent, #2563eb) 35%, #e2e8f0);
  box-shadow: 0 22px 50px -24px color-mix(in srgb, var(--ecp-accent, #2563eb) 45%, rgba(15, 23, 42, .35));
}
.ecp-card.is-dark { background: rgba(15, 23, 42, .6); border-color: rgba(255, 255, 255, .08); }
.ecp-card.is-dark:hover { border-color: color-mix(in srgb, var(--ecp-accent, #2563eb) 55%, transparent); box-shadow: 0 22px 60px -28px color-mix(in srgb, var(--ecp-accent, #2563eb) 70%, transparent); }

.ecp-icon-tile {
  width: 2.9rem; height: 2.9rem; border-radius: .9rem; display: grid; place-items: center; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, var(--ecp-accent, #2563eb), var(--ecp-accent-2, #7c3aed));
  box-shadow: 0 10px 24px -10px var(--ecp-accent, #2563eb);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.ecp-card:hover .ecp-icon-tile { transform: rotate(-6deg) scale(1.08); }

.ecp-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .8rem; border-radius: .7rem; font-size: .78rem; font-weight: 600; line-height: 1.2;
  color: #334155; background: #fff; border: 1px solid #e2e8f0;
  transition: color .2s, border-color .2s, background-color .2s, transform .2s;
}
a.ecp-chip:hover { color: color-mix(in srgb, var(--ecp-accent, #2563eb) 85%, #0f172a); border-color: var(--ecp-accent, #2563eb); transform: translateY(-1px); }
.ecp-chip.on-dark { color: #cbd5e1; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
a.ecp-chip.on-dark:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }

.ecp-link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.ecp-arrow { display: inline-block; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ecp-link-arrow:hover .ecp-arrow, .group:hover .ecp-arrow { transform: translateX(4px); }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.ecp-cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.45rem; border-radius: .85rem; border: 0; cursor: pointer;
  font: 800 .92rem/1 'Plus Jakarta Sans', system-ui, sans-serif; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--ecp-accent, #2563eb), var(--ecp-accent-2, #7c3aed));
  box-shadow: 0 12px 30px -12px var(--ecp-accent, #2563eb), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
.ecp-cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s ease;
}
.ecp-cta:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 18px 40px -14px var(--ecp-accent, #2563eb), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ecp-cta:hover::after { transform: translateX(130%); }
.ecp-cta:active { transform: translateY(0) scale(.98); }
.ecp-cta-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.45rem; border-radius: .85rem; text-decoration: none;
  font: 700 .92rem/1 'Plus Jakarta Sans', system-ui, sans-serif;
  color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  transition: background-color .25s, border-color .25s, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.ecp-cta-ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }

/* Submit feedback (class added by ec-motion.js on real, non-JS submits only) */
button.is-loading { pointer-events: none; opacity: .85; }
button.is-loading::before {
  content: ""; width: 1em; height: 1em; border-radius: 50%; flex-shrink: 0; display: inline-block;
  border: 2px solid currentColor; border-right-color: transparent; margin-right: .4rem; vertical-align: -2px;
  animation: ecp-spin .7s linear infinite;
}
@keyframes ecp-spin { to { transform: rotate(360deg); } }

/* ── Form fields ─────────────────────────────────────────────────────────── */
.ecp-field {
  width: 100%; padding: .8rem .95rem; border-radius: .75rem; font-size: .92rem; color: #0f172a;
  background: #fff; border: 1px solid #cbd5e1; transition: border-color .2s, box-shadow .2s;
}
.ecp-field:focus { outline: none; border-color: var(--ecp-accent, #2563eb); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ecp-accent, #2563eb) 18%, transparent); }
.ecp-field.on-dark { color: #fff; background: rgba(15, 23, 42, .75); border-color: rgba(255, 255, 255, .14); }
.ecp-field.on-dark::placeholder { color: #64748b; }
.ecp-field.on-dark option { color: #0f172a; }
.ecp-flabel { display: block; margin-bottom: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #475569; }
.ecp-flabel.on-dark { color: #94a3b8; }

/* ── FAQ accordion (smooth where ::details-content is supported) ────────── */
.ecp-faq { border-radius: 1rem; background: #fff; border: 1px solid #e2e8f0; transition: border-color .25s, box-shadow .25s; }
.ecp-faq[open] { border-color: color-mix(in srgb, var(--ecp-accent, #2563eb) 40%, #e2e8f0); box-shadow: 0 18px 40px -28px color-mix(in srgb, var(--ecp-accent, #2563eb) 60%, transparent); }
.ecp-faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; }
.ecp-faq > summary::-webkit-details-marker { display: none; }
.ecp-faq-icon { width: 1.9rem; height: 1.9rem; flex-shrink: 0; border-radius: .6rem; display: grid; place-items: center; background: #f1f5f9; color: #334155; transition: transform .35s cubic-bezier(.16, 1, .3, 1), background-color .25s, color .25s; }
.ecp-faq[open] .ecp-faq-icon { transform: rotate(45deg); background: var(--ecp-accent, #2563eb); color: #fff; }
.ecp-faq::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s cubic-bezier(.16, 1, .3, 1), content-visibility .4s allow-discrete; }
.ecp-faq[open]::details-content { block-size: auto; }

/* ── Process timeline ────────────────────────────────────────────────────── */
.ecp-steps { position: relative; }
.ecp-steps::before { content: ""; position: absolute; left: 1.35rem; top: .5rem; bottom: .5rem; width: 2px; background: #e2e8f0; }
.ecp-steps-fill { position: absolute; left: 1.35rem; top: .5rem; bottom: .5rem; width: 2px; transform-origin: top; background: linear-gradient(var(--ecp-accent, #2563eb), var(--ecp-accent-2, #7c3aed)); }
@supports (animation-timeline: view()) {
  .ecp-steps-fill { animation: ecp-fill linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; }
  @keyframes ecp-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.ecp-stepdot {
  position: relative; z-index: 1; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font: 800 .9rem/1 'JetBrains Mono', monospace; color: #fff;
  background: linear-gradient(135deg, var(--ecp-accent, #2563eb), var(--ecp-accent-2, #7c3aed));
  box-shadow: 0 0 0 6px #fff, 0 10px 24px -8px var(--ecp-accent, #2563eb);
}

/* ── In-page section nav (scroll-spy from assets/js/ec-pages.js) ────────── */
.ecp-subnav a { position: relative; white-space: nowrap; color: #475569; font-weight: 600; font-size: .85rem; padding: .9rem .2rem; transition: color .2s; }
.ecp-subnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ecp-accent, #2563eb); transform: scaleX(0); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.ecp-subnav a:hover, .ecp-subnav a.is-active { color: #0f172a; }
.ecp-subnav a.is-active::after { transform: scaleX(1); }

/* ── Navbar practice mega menu (includes/navbar.php) ────────────────────── */
.ecp-mega { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 20px; }
.ecp-mega-rail { display: flex; flex-direction: column; gap: 1px; max-height: calc(100vh - 200px); overflow-y: auto; padding-right: 6px; border-right: 1px solid #f1f5f9; scrollbar-width: thin; }
.ecp-mega-rail button { width: 100%; display: flex; align-items: center; gap: .6rem; padding: .3rem .55rem; border-radius: .6rem; text-align: left; font-size: .8rem; font-weight: 600; color: #334155; background: transparent; border: 0; cursor: pointer; transition: background-color .15s, color .15s; }
.ecp-mega-rail button:hover, .ecp-mega-rail button.is-active { background: #eff6ff; color: #1d4ed8; }
.ecp-mega-ico { width: 1.55rem; height: 1.55rem; border-radius: .5rem; display: grid; place-items: center; background: #f1f5f9; color: #475569; flex-shrink: 0; transition: background-color .15s, color .15s; }
.ecp-mega-rail button.is-active .ecp-mega-ico { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.ecp-mega-head { display: block; padding: .4rem .5rem .9rem; border-bottom: 1px solid #f1f5f9; margin-bottom: .6rem; text-decoration: none; }
.ecp-mega-head strong { display: block; font-size: 1rem; font-weight: 800; color: #0f172a; }
.ecp-mega-head span { display: block; margin-top: .25rem; font-size: .78rem; line-height: 1.45; color: #64748b; }
.ecp-mega-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; }
.ecp-mega-link { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .6rem; border-radius: .6rem; font-size: .8rem; font-weight: 600; color: #1e293b; text-decoration: none; transition: background-color .15s, color .15s; }
.ecp-mega-link:hover { background: #f8fafc; color: #1d4ed8; }
.ecp-mega-link .ecp-arrow { opacity: 0; color: #2563eb; transition: opacity .2s, transform .2s; }
.ecp-mega-link:hover .ecp-arrow { opacity: 1; transform: translateX(3px); }
.ecp-mega-all { display: inline-flex; align-items: center; gap: .35rem; margin: .8rem .6rem 0; font-size: .78rem; font-weight: 800; color: #2563eb; text-decoration: none; }
.ecp-mega-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .78rem; }
.ecp-mega-foot a { font-weight: 700; text-decoration: none; }

/* ── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ecp-enter, .ecp-aurora::before, .ecp-aurora::after, .ecp-dot, .ecp-steps-fill { animation: none !important; }
  .ecp-card, .ecp-card:hover, .ecp-cta, .ecp-cta:hover { transition: none; transform: none; }
}

/* ── Global safety: no sideways page scroll on phones ───────────────────────
   Animated marquees, fade-left reveals and decorative blobs must never widen the
   mobile layout viewport (it pushed the navbar menu button off-screen). Applied to
   html only: on body it would turn body into a scroll container and break sticky. */
html { overflow-x: hidden; }
@supports (overflow-x: clip) { html { overflow-x: clip; } }

/* Mobile menu open: floating widgets must not cover the drawer (class set by the navbar). */
.ec-drawer-open .ec-mobile-bottom-bar,
.ec-drawer-open #ec-chat-launcher,
.ec-drawer-open #ec-chat-panel,
.ec-drawer-open .fixed.bottom-6.left-6 { visibility: hidden !important; }

