/* ==========================================================================
   SECURA WEB — DARK REDESIGN CSS
   Dark-first design with orange accent. Matches the futuristic style.
   Light mode via html.light class.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@700;800;900&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  --dr-black:   #080808;
  --dr-bg:      #0d0d0d;
  --dr-surface: #141414;
  --dr-card:    #1a1a1a;
  --dr-border:  rgba(255,255,255,0.08);
  --dr-orange:  #ff6500;
  --dr-orange2: #ff8c00;
  --dr-glow:    rgba(255,101,0,0.5);
  --dr-glow2:   rgba(255,101,0,0.15);
  --dr-text:    #ffffff;
  --dr-muted:   rgba(255,255,255,0.55);
  --dr-subtle:  rgba(255,255,255,0.08);
  --dr-radius:  16px;
  --dr-font-h:  'Outfit', 'Inter', sans-serif;
  --dr-font:    'Inter', sans-serif;
}

/* ── GLOBAL RESET FOR DARK MODE ── */
html,
html:not(.light) {
  --bg:      var(--dr-bg);
  --text:    var(--dr-text);
  --surface: var(--dr-surface);
}

/* ============================================================
   BASE — DARK DEFAULT
   ============================================================ */
html:not(.light) body {
  background: var(--dr-bg) !important;
  color: var(--dr-text) !important;
  font-family: var(--dr-font) !important;
}

/* Override all inherited light backgrounds */
html:not(.light) main { background: var(--dr-bg) !important; }
html:not(.light) section { background: var(--dr-bg) !important; }
html:not(.light) .bg-alt { background: var(--dr-surface) !important; }
html:not(.light) #crm,
html:not(.light) #erp,
html:not(.light) #tech,
html:not(.light) #industries,
html:not(.light) #about,
html:not(.light) #why,
html:not(.light) #testimonials { background: var(--dr-surface) !important; }

/* Text color universal dark */
html:not(.light) body * { color: inherit; }
html:not(.light) .container { color: var(--dr-text); }

/* ============================================================
   NAVBAR — DARK GLASSY
   ============================================================ */
html:not(.light) .navbar {
  background: rgba(8, 8, 8, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 101, 0, 0.12) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}
html:not(.light) .navbar.scrolled,
html:not(.light) .navbar.xero-scrolled {
  background: rgba(8, 8, 8, 0.96) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}
html:not(.light) .nav-links a,
html:not(.light) .nav-logo span {
  color: rgba(255,255,255,0.85) !important;
}
html:not(.light) .nav-links a:hover,
html:not(.light) .nav-links a.active {
  color: var(--dr-orange) !important;
}
html:not(.light) .nav-links a.active::after,
html:not(.light) .nav-links a:hover::after {
  background: var(--dr-orange) !important;
}
html:not(.light) .nav-logo .g-text {
  background: linear-gradient(135deg, var(--dr-orange), var(--dr-orange2)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
html:not(.light) .hamburger span {
  background: rgba(255,255,255,0.85) !important;
}
html:not(.light) .mobile-menu {
  background: #0d0d0d !important;
  border-top: 1px solid rgba(255,101,0,0.15) !important;
}
html:not(.light) .mobile-menu a {
  color: rgba(255,255,255,0.75) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* ============================================================
   HERO SECTION — FULL DARK FUTURISTIC
   ============================================================ */
html:not(.light) #hero {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,101,0,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(255,101,0,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(255,101,0,0.06) 0%, transparent 45%),
    #0d0d0d !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

/* Animated dark grid pattern */
html:not(.light) #hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* Remove light xero-hero-card — replace with full-bleed dark layout */
html:not(.light) .xero-hero-card {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 120px 40px 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Remove light orbs/grid */
html:not(.light) .xero-hero-card::before,
html:not(.light) .xero-hero-grid,
html:not(.light) .xero-orb {
  display: none !important;
}

/* Badge */
html:not(.light) .xero-badge {
  background: rgba(255,101,0,0.12) !important;
  border: 1px solid rgba(255,101,0,0.35) !important;
  color: var(--dr-orange) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.18em !important;
}
html:not(.light) .xero-badge-dot {
  background: var(--dr-orange) !important;
  box-shadow: 0 0 10px var(--dr-orange) !important;
}

/* Hero H1 */
html:not(.light) .hero-h1 {
  font-family: var(--dr-font-h) !important;
  font-size: clamp(3rem, 6vw, 6.5rem) !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  color: #ffffff !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 0 80px rgba(255,255,255,0.1) !important;
}
html:not(.light) .hero-h1 .g-text,
html:not(.light) .hero-h1 .cursor-blink {
  background: linear-gradient(135deg, #ff6500, #ff9500, #ff6500) !important;
  background-size: 200% !important;
  animation: dr-gradient-shift 4s ease infinite !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 30px rgba(255,101,0,0.4)) !important;
}

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

/* Hero sub text */
html:not(.light) .hero-sub {
  color: rgba(255,255,255,0.60) !important;
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
}

/* CTA Buttons */
html:not(.light) .btn-primary {
  background: linear-gradient(135deg, #ff6500, #ff8c00) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow:
    0 0 0 1px rgba(255,101,0,0.5),
    0 4px 30px rgba(255,101,0,0.45),
    0 0 60px rgba(255,101,0,0.2) !important;
  transition: all 0.3s ease !important;
}
html:not(.light) .btn-primary:hover {
  transform: translateY(-3px) scale(1.03) !important;
  box-shadow:
    0 0 0 1px rgba(255,101,0,0.7),
    0 8px 40px rgba(255,101,0,0.6),
    0 0 80px rgba(255,101,0,0.3) !important;
}
html:not(.light) .btn-outline {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(12px) !important;
}
html:not(.light) .btn-outline:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,101,0,0.5) !important;
  color: #fff !important;
}

/* ============================================================
   GLASS CAPSULE — the 3D barrel visual
   ============================================================ */
.sw-capsule-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  z-index: 3;
}

.sw-capsule {
  position: relative;
  width: 100%;
  height: 240px;
  transform: perspective(1400px) rotateX(14deg);
  transform-style: preserve-3d;
}

/* The main glass barrel body */
.sw-capsule-body {
  position: absolute;
  inset: 15px 0;
  border-radius: 120px;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.12) 0%,
      rgba(255,101,0,0.06) 25%,
      rgba(255,101,0,0.18) 70%,
      rgba(255,255,255,0.05) 100%);
  border: 1.5px solid rgba(255,101,0,0.45);
  box-shadow:
    0 0 80px rgba(255,101,0,0.35),
    0 0 150px rgba(255,101,0,0.18),
    inset 0 2px 4px rgba(255,255,255,0.3),
    inset 0 -3px 6px rgba(255,101,0,0.4),
    inset 30px 0 80px rgba(0,0,0,0.6),
    inset -30px 0 80px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Top glass reflection */
.sw-capsule-body::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 35%;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.02) 100%);
  border-radius: 0 0 50% 50%;
  pointer-events: none;
}

/* Bottom reflection line */
.sw-capsule-body::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,101,0,0.5), transparent);
  border-radius: 50%;
}

/* Left orange glow ring */
.sw-capsule-ring-left {
  position: absolute;
  left: -5px;
  top: 0; bottom: 0;
  width: 80px;
  background: radial-gradient(ellipse at center,
    rgba(255,101,0,0.85) 0%,
    rgba(255,101,0,0.40) 40%,
    transparent 75%);
  filter: blur(8px);
  z-index: 2;
}

/* Right orange glow ring */
.sw-capsule-ring-right {
  position: absolute;
  right: -5px;
  top: 0; bottom: 0;
  width: 80px;
  background: radial-gradient(ellipse at center,
    rgba(255,101,0,0.85) 0%,
    rgba(255,101,0,0.40) 40%,
    transparent 75%);
  filter: blur(8px);
  z-index: 2;
}

/* Ground glow beneath the capsule */
.sw-capsule-glow-floor {
  position: absolute;
  bottom: -40px;
  left: 10%; right: 10%;
  height: 60px;
  background: radial-gradient(ellipse at center,
    rgba(255,101,0,0.40) 0%,
    rgba(255,101,0,0.10) 60%,
    transparent 100%);
  filter: blur(16px);
  z-index: 0;
}

/* Product icons inside the capsule */
.sw-capsule-icons {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 70px;
  z-index: 3;
}

.sw-cap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.sw-cap-item:hover { transform: translateY(-6px) scale(1.08); }

.sw-cap-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,101,0,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 20px rgba(255,101,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.10);
  transition: all 0.3s ease;
}
.sw-cap-item:hover .sw-cap-icon {
  background: rgba(255,101,0,0.15);
  border-color: rgba(255,101,0,0.60);
  box-shadow:
    0 0 30px rgba(255,101,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.15);
}
.sw-cap-icon svg {
  width: 28px; height: 28px;
  stroke: var(--dr-orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-cap-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-align: center;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.sw-cap-desc {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.40);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
  display: none;
}
@media (min-width: 900px) {
  .sw-cap-desc { display: block; }
}

/* ── LIGHT MODE for capsule ── */
html.light .sw-capsule-body {
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.90) 0%,
      rgba(255,101,0,0.05) 50%,
      rgba(255,255,255,0.70) 100%);
  border-color: rgba(255,101,0,0.25);
  box-shadow:
    0 0 40px rgba(255,101,0,0.15),
    0 20px 60px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.90),
    inset 0 -1px 0 rgba(255,101,0,0.15);
}
html.light .sw-capsule-ring-left,
html.light .sw-capsule-ring-right {
  background: radial-gradient(ellipse at center,
    rgba(255,101,0,0.60) 0%,
    rgba(255,101,0,0.20) 50%,
    transparent 75%);
}
html.light .sw-cap-icon {
  background: rgba(255,255,255,0.90);
  border-color: rgba(255,101,0,0.25);
  box-shadow: 0 2px 12px rgba(255,101,0,0.15), 0 4px 20px rgba(0,0,0,0.06);
}
html.light .sw-cap-label {
  color: rgba(0,0,0,0.80);
}
html.light .sw-cap-desc {
  color: rgba(0,0,0,0.45);
}

/* ============================================================
   HERO STATS BAR — bottom strip
   ============================================================ */
.sw-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  margin-top: 50px;
  padding: 0;
  position: relative;
  z-index: 4;
}

.sw-stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 48px;
  border-right: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  justify-content: center;
  transition: background 0.3s ease;
}
.sw-stat-item:last-child { border-right: none; }
.sw-stat-item:hover {
  background: rgba(255,101,0,0.04);
}

.sw-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,101,0,0.12);
  border: 1px solid rgba(255,101,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sw-stat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--dr-orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-stat-text {}
.sw-stat-num {
  font-family: var(--dr-font-h);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.sw-stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-top: 3px;
}

/* LIGHT mode stats bar */
html.light .sw-stats-bar {
  background: transparent;
  border-top: 1px solid rgba(0,0,0,0.08);
}
html.light .sw-stat-item {
  border-right-color: rgba(0,0,0,0.08);
}
html.light .sw-stat-item:hover {
  background: rgba(255,101,0,0.04);
}
html.light .sw-stat-num {
  color: #0d0d0d;
}
html.light .sw-stat-lbl {
  color: rgba(0,0,0,0.50);
}
html.light .sw-stat-icon {
  background: rgba(255,101,0,0.10);
  border-color: rgba(255,101,0,0.20);
}

/* ============================================================
   SECTION HEADERS — DARK
   ============================================================ */
html:not(.light) .section-tag {
  background: rgba(255,101,0,0.12) !important;
  border: 1px solid rgba(255,101,0,0.30) !important;
  color: var(--dr-orange) !important;
}
html:not(.light) .section-title {
  color: #ffffff !important;
}
html:not(.light) .section-title .g-text {
  background: linear-gradient(135deg, #ff6500, #ff9500) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
html:not(.light) .section-sub {
  color: rgba(255,255,255,0.55) !important;
}

/* ============================================================
   PRODUCT CARDS — DARK GLASS
   ============================================================ */
html:not(.light) .product-card,
html:not(.light) .product-card.tilt-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.4s ease !important;
}
html:not(.light) .product-card:hover {
  background: rgba(255,101,0,0.08) !important;
  border-color: rgba(255,101,0,0.30) !important;
  box-shadow:
    0 0 0 1px rgba(255,101,0,0.20),
    0 20px 60px rgba(255,101,0,0.10),
    0 0 80px rgba(255,101,0,0.05) !important;
  transform: translateY(-8px) !important;
}
html:not(.light) .product-card::after {
  background: linear-gradient(90deg, #ff6500, #ff9500) !important;
}
html:not(.light) .product-card h4 {
  color: #ffffff !important;
}
html:not(.light) .product-card p {
  color: rgba(255,255,255,0.55) !important;
}
html:not(.light) .card-arrow {
  color: var(--dr-orange) !important;
}
html:not(.light) .card-icon {
  background: rgba(255,101,0,0.10) !important;
  border: 1px solid rgba(255,101,0,0.20) !important;
  box-shadow: none !important;
}
html:not(.light) .card-icon svg { stroke: var(--dr-orange) !important; }

/* ============================================================
   ERP / FEATURE BLOCKS — DARK
   ============================================================ */
html:not(.light) .feature-block {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
}
html:not(.light) .feature-block:hover {
  background: rgba(255,101,0,0.06) !important;
  border-color: rgba(255,101,0,0.25) !important;
  box-shadow: 0 0 30px rgba(255,101,0,0.10) !important;
}
html:not(.light) .feature-block h4 {
  color: #ffffff !important;
}
html:not(.light) .feature-block p {
  color: rgba(255,255,255,0.50) !important;
}
html:not(.light) .f-icon {
  background: rgba(255,101,0,0.10) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}
html:not(.light) .f-icon svg { stroke: var(--dr-orange) !important; }

/* Dashboard mockup dark */
html:not(.light) .dashboard-mockup {
  background: linear-gradient(135deg, #141414, #1a1a1a) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,101,0,0.10) !important;
}
html:not(.light) .dash-header {
  background: rgba(255,255,255,0.04) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
html:not(.light) .dash-stat {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  box-shadow: none !important;
}
html:not(.light) .ds-lbl { color: rgba(255,255,255,0.40) !important; }

/* ============================================================
   WHY SECTION — DARK
   ============================================================ */
html:not(.light) .why-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
}
html:not(.light) .why-card:hover {
  background: rgba(255,101,0,0.06) !important;
  border-color: rgba(255,101,0,0.25) !important;
  box-shadow: 0 0 40px rgba(255,101,0,0.10) !important;
}
html:not(.light) .why-card h4 { color: #ffffff !important; }
html:not(.light) .why-card p  { color: rgba(255,255,255,0.50) !important; }
html:not(.light) .why-icon {
  background: rgba(255,101,0,0.10) !important;
  box-shadow: none !important;
}
html:not(.light) .why-icon svg { stroke: var(--dr-orange) !important; }

/* ============================================================
   INDUSTRY CARDS — DARK
   ============================================================ */
html:not(.light) .industry-card {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
}
html:not(.light) .industry-card:hover {
  background: rgba(255,101,0,0.06) !important;
  border-color: rgba(255,101,0,0.30) !important;
}
html:not(.light) .industry-card h4 { color: #ffffff !important; }
html:not(.light) .ind-icon {
  background: rgba(255,101,0,0.10) !important;
  box-shadow: none !important;
}

/* ============================================================
   TESTIMONIALS — DARK
   ============================================================ */
html:not(.light) .testimonial-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
}
html:not(.light) .testimonial-card:hover {
  border-color: rgba(255,101,0,0.25) !important;
  box-shadow: 0 0 40px rgba(255,101,0,0.08) !important;
}
html:not(.light) .testimonial-card p { color: rgba(255,255,255,0.65) !important; }
html:not(.light) .client-name { color: #ffffff !important; }
html:not(.light) .client-role { color: rgba(255,255,255,0.45) !important; }
html:not(.light) .client-avatar {
  background: linear-gradient(135deg, #ff6500, #ff9500) !important;
}
html:not(.light) .t-dot { background: rgba(255,255,255,0.20) !important; }
html:not(.light) .t-dot.active { background: var(--dr-orange) !important; }

/* ============================================================
   ABOUT SECTION — DARK
   ============================================================ */
html:not(.light) .asr-card,
html:not(.light) .wsb-card,
html:not(.light) .why-secura-banner {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
}
html:not(.light) .why-secura-banner::before {
  background: linear-gradient(90deg, #ff6500, #ff9500) !important;
}
html:not(.light) h1, html:not(.light) h2,
html:not(.light) h3, html:not(.light) h4,
html:not(.light) h5 { color: #ffffff !important; }
html:not(.light) p   { color: rgba(255,255,255,0.60) !important; }
html:not(.light) .about-text p { color: rgba(255,255,255,0.60) !important; }
html:not(.light) .wsb-tagline  { color: rgba(255,255,255,0.60) !important; }

/* ============================================================
   CONTACT SECTION — DARK
   ============================================================ */
html:not(.light) #contact {
  background: var(--dr-surface) !important;
}
html:not(.light) #contact h2 { color: #ffffff !important; }
html:not(.light) #contact p  { color: rgba(255,255,255,0.60) !important; }
html:not(.light) .contact-card {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}
html:not(.light) .contact-form input,
html:not(.light) .contact-form textarea,
html:not(.light) .contact-form select {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #ffffff !important;
}
html:not(.light) .contact-form label { color: rgba(255,255,255,0.65) !important; }

/* ============================================================
   FOOTER — DARK
   ============================================================ */
html:not(.light) footer {
  background: #090d16 !important;
  border-top: 1px solid rgba(255,101,0,0.2) !important;
  color: #cbd5e1 !important;
}
html:not(.light) footer h5 { color: #f8fafc !important; font-weight: 700 !important; }
html:not(.light) footer p  { color: #94a3b8 !important; font-weight: 400 !important; }
html:not(.light) footer a  { color: #cbd5e1 !important; font-weight: 400 !important; }
html:not(.light) footer a:hover { color: var(--dr-orange) !important; }
html:not(.light) .social-link {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #38bdf8 !important;
}
html:not(.light) .social-link:hover {
  background: var(--dr-orange) !important;
  border-color: var(--dr-orange) !important;
  color: #fff !important;
}
html:not(.light) .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  color: #94a3b8 !important;
}
html:not(.light) .f-logo span { color: #f8fafc !important; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
html:not(.light) ::-webkit-scrollbar { background: #0d0d0d; }
html:not(.light) ::-webkit-scrollbar-thumb {
  background: linear-gradient(#ff6500, #ff8c00) !important;
  border-radius: 4px;
}

/* ============================================================
   HERO PARTNERS ROW — DARK
   ============================================================ */
html:not(.light) .xero-partners {
  border-top: 1px solid rgba(255,255,255,0.07) !important;
  padding-top: 24px !important;
}
html:not(.light) .xero-partners-divider {
  background: linear-gradient(90deg, transparent, rgba(255,101,0,0.25), transparent) !important;
}
html:not(.light) .xero-partner-item {
  color: rgba(255,255,255,0.45) !important;
  font-weight: 600 !important;
}
html:not(.light) .xero-partner-item:hover {
  color: rgba(255,255,255,0.85) !important;
}
html:not(.light) .xero-partner-item svg {
  stroke: rgba(255,101,0,0.60) !important;
}

/* ============================================================
   PIPELINE NODES — DARK
   ============================================================ */
html:not(.light) .xero-node {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,101,0,0.25) !important;
  box-shadow: 0 0 20px rgba(255,101,0,0.15) !important;
}
html:not(.light) .xero-node svg { stroke: var(--dr-orange) !important; }
html:not(.light) .xero-node::after {
  border-color: rgba(255,101,0,0.20) !important;
}
html:not(.light) .xero-node-center {
  background: linear-gradient(135deg, #111827, #1e293b) !important;
  box-shadow:
    0 0 35px rgba(255,101,0,0.45),
    0 0 0 2px rgba(255,101,0,0.50),
    inset 0 0 15px rgba(255,101,0,0.15) !important;
}
html:not(.light) .xero-node-center img {
  background: #ffffff !important;
  box-shadow: 0 0 12px rgba(255,101,0,0.3) !important;
}
html:not(.light) .xero-pipe-line {
  background: linear-gradient(90deg,
    rgba(255,101,0,0.08),
    rgba(255,101,0,0.30),
    rgba(255,101,0,0.08)) !important;
}
html:not(.light) .xero-pipe-line::after {
  background: var(--dr-orange) !important;
  box-shadow: 0 0 10px var(--dr-orange) !important;
}

/* ============================================================
   MISC — DARK
   ============================================================ */
html:not(.light) .blob { display: none !important; }
html:not(.light) .erp-visual .erp-glow { display: none !important; }
html:not(.light) .loc-badge {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.65) !important;
  box-shadow: none !important;
}
html:not(.light) .grad-border {
  border-image: none !important;
}

/* Awards / cert logos */
html:not(.light) .award-card,
html:not(.light) .cert-card,
html:not(.light) .aw-stat {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
}

html:not(.light) .aw-stat-num span {
  background: linear-gradient(135deg, #ff6500, #ff8c00, #ffb347) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

html:not(.light) .aw-stat-label {
  color: rgba(255,255,255,0.55) !important;
}

html:not(.light) .award-card-title {
  color: #ffffff !important;
}

html:not(.light) .award-card-sub {
  color: rgba(255,255,255,0.6) !important;
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.dr-theme-btn {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

html:not(.light) .dr-theme-btn {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}
html:not(.light) .dr-theme-btn:hover {
  background: rgba(255,101,0,0.20);
  border-color: rgba(255,101,0,0.40);
  box-shadow: 0 0 20px rgba(255,101,0,0.30);
  transform: scale(1.1);
}
html.light .dr-theme-btn {
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.15);
  color: #333;
}
html.light .dr-theme-btn:hover {
  background: rgba(255,101,0,0.10);
  border-color: rgba(255,101,0,0.30);
  transform: scale(1.1);
}

/* ============================================================
   LIGHT MODE — Override dark overrides back to light
   ============================================================ */
html.light body  { background: #f5f7ff !important; color: #0d0d0d !important; }
html.light main,
html.light section,
html.light .bg-alt {
  background: #ffffff !important;
}
html.light section:nth-child(even),
html.light .bg-alt { background: #f5f7ff !important; }

html.light .navbar {
  background: rgba(255,255,255,0.92) !important;
  border-bottom: 1px solid rgba(30,58,138,0.10) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
html.light .nav-links a { color: rgba(0,0,0,0.75) !important; }
html.light .nav-links a:hover,
html.light .nav-links a.active { color: #ff6500 !important; }
html.light h1, html.light h2,
html.light h3, html.light h4,
html.light h5 { color: #0d0d0d !important; }
html.light p { color: rgba(0,0,0,0.60) !important; }
html.light .section-title { color: #0d0d0d !important; }
html.light .section-sub { color: rgba(0,0,0,0.60) !important; }

html.light #hero {
  background: linear-gradient(180deg, #ffffff, #f5f7ff) !important;
}
html.light .hero-h1 { color: #0d0d0d !important; }
html.light .hero-sub { color: rgba(0,0,0,0.55) !important; }
html.light .xero-hero-card {
  background: rgba(255,255,255,0.85) !important;
  border-top: 1px solid rgba(30,58,138,0.12) !important;
  border-bottom: 1px solid rgba(30,58,138,0.12) !important;
}
html.light .btn-primary {
  background: linear-gradient(135deg, #ff6500, #ff8c00) !important;
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(255,101,0,0.30) !important;
}
html.light .btn-outline {
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: #0d0d0d !important;
  background: rgba(255,255,255,0.80) !important;
}

/* ============================================================
   LOADER — DARK
   ============================================================ */
html:not(.light) #loader {
  background: #080808 !important;
}

/* ============================================================
   WHATSAPP + BACK-TOP — preserved
   ============================================================ */
.whatsapp-fab {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35) !important;
  z-index: 9998 !important;
}
html:not(.light) .back-top {
  background: var(--dr-orange) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(255,101,0,0.40) !important;
}

/* ============================================================
   HERO CONTENT — sizing tweaks shared
   ============================================================ */
.sw-hero-upper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .sw-capsule { height: 180px; }
  .sw-capsule-icons { padding: 0 40px; gap: 10px; }
  .sw-cap-icon { width: 48px; height: 48px; }
  .sw-cap-icon svg { width: 22px; height: 22px; }
  .sw-cap-label { font-size: 0.65rem; }
  .sw-stat-item { padding: 20px 24px; }
  .sw-stat-num { font-size: 1.7rem; }
}
@media (max-width: 640px) {
  html:not(.light) .hero-h1 {
    font-size: clamp(2.2rem, 10vw, 3.5rem) !important;
  }
  .sw-capsule { transform: perspective(900px) rotateX(10deg); }
  .sw-capsule-icons { padding: 0 24px; gap: 6px; }
  .sw-cap-desc { display: none !important; }
  .sw-cap-label { font-size: 0.60rem; }
  .sw-stats-bar { flex-wrap: wrap; }
  .sw-stat-item { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.07); }
}
