/* ============================================================
   Active Fibre - Site-wide WOW Effects
   site-effects.css
   ============================================================ */

/* ---------------------------
   BRAND LOGO (replaces icon+text)
   --------------------------- */
.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
}
.footer-logo-img {
  height: 66px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}
.nav-logo { gap: 0 !important; }
/* give the taller logo room without enlarging the bar itself */
nav { padding-top: 0; padding-bottom: 0; }
.nav-inner { height: 80px; }
@media (max-width: 768px) {
  .nav-logo-img { height: 50px; }
  .nav-inner { height: 72px; }
}

/* ---------------------------
   CUSTOM CURSOR
   --------------------------- */
@media (pointer: fine) {
  body { cursor: none !important; }
  a, button, [onclick], input, select, textarea,
  .feature-card, .service-card, .model-card, .package-card,
  .chooser-card, .network-card, .blog-card, .btn-primary,
  .btn-outline, .btn-white, .hamburger, #btt { cursor: none !important; }
}
#cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C00000;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 2px rgba(192,0,0,0.25),
    0 0 16px rgba(192,0,0,1),
    0 0 32px rgba(192,0,0,0.6),
    0 0 60px rgba(192,0,0,0.2);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease, opacity 0.3s, box-shadow 0.18s ease;
}
#cursor-ring {
  position: fixed;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(192,0,0,0.7);
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(192,0,0,0.2), inset 0 0 8px rgba(192,0,0,0.05);
  transition: width 0.35s cubic-bezier(0.34,1.56,0.64,1),
              height 0.35s cubic-bezier(0.34,1.56,0.64,1),
              border-color 0.25s, box-shadow 0.25s, opacity 0.3s;
}
body.cursor-hover #cursor-dot {
  width: 16px; height: 16px;
  background: #ff2222;
  box-shadow:
    0 0 0 3px rgba(255,34,34,0.2),
    0 0 20px rgba(255,34,34,1),
    0 0 50px rgba(192,0,0,0.7),
    0 0 80px rgba(192,0,0,0.3);
}
body.cursor-hover #cursor-ring {
  width: 64px; height: 64px;
  border-color: rgba(192,0,0,1);
  border-width: 2px;
  box-shadow: 0 0 16px rgba(192,0,0,0.4), 0 0 40px rgba(192,0,0,0.15), inset 0 0 12px rgba(192,0,0,0.06);
}
body.cursor-click #cursor-dot {
  width: 7px; height: 7px;
  box-shadow: 0 0 8px rgba(192,0,0,0.8);
}
body.cursor-click #cursor-ring { width: 32px; height: 32px; }

/* ---------------------------
   HERO AURORA BACKGROUND
   --------------------------- */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.aurora-blob-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(192,0,0,0.13) 0%, transparent 65%);
  top: -250px; left: -200px;
  animation: aurora1 16s ease-in-out infinite;
}
.aurora-blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(120,0,0,0.1) 0%, transparent 65%);
  bottom: -100px; right: -150px;
  animation: aurora2 20s ease-in-out infinite;
}
.aurora-blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(200,0,0,0.07) 0%, transparent 65%);
  top: 30%; left: 35%;
  animation: aurora3 13s ease-in-out infinite;
}
@keyframes aurora1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(80px,-50px) scale(1.12); }
  66%      { transform: translate(-40px,60px) scale(0.92); }
}
@keyframes aurora2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-70px,-80px) scale(1.2); }
}
@keyframes aurora3 {
  0%,100% { transform: translate(0,0); }
  25%      { transform: translate(50px,-40px); }
  75%      { transform: translate(-50px,40px); }
}

/* ---------------------------
   HERO CORNER BRACKETS
   --------------------------- */
.hero-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}
.hero-corner-tr {
  top: 24px; right: 24px;
  border-top: 1.5px solid #C00000;
  border-right: 1.5px solid #C00000;
  border-radius: 0 6px 0 0;
}
.hero-corner-bl {
  bottom: 24px; left: 24px;
  border-bottom: 1.5px solid #C00000;
  border-left: 1.5px solid #C00000;
  border-radius: 0 0 0 6px;
}
.hero-corner-tl {
  top: 24px; left: 24px;
  border-top: 1.5px solid rgba(192,0,0,0.4);
  border-left: 1.5px solid rgba(192,0,0,0.4);
  border-radius: 6px 0 0 0;
}
.hero-corner-br {
  bottom: 24px; right: 24px;
  border-bottom: 1.5px solid rgba(192,0,0,0.4);
  border-right: 1.5px solid rgba(192,0,0,0.4);
  border-radius: 0 0 6px 0;
}

/* ---------------------------
   HERO TITLE - clean white + red glow
   --------------------------- */
.hero-title { color: #ffffff; }

/* Animation wrapper spans must inherit white, not red */
.hero-title .word-wrap,
.hero-title .word-inner {
  color: inherit !important;
  text-shadow: none !important;
}

/* Only the original intentional <span> gets red + glow */
.hero-title span:not(.word-wrap):not(.word-inner) {
  color: #C00000 !important;
  text-shadow:
    0 0 20px rgba(192,0,0,0.7),
    0 0 60px rgba(192,0,0,0.3),
    0 0 100px rgba(192,0,0,0.1) !important;
}

/* ---------------------------
   CARD SHIMMER SWEEP ON HOVER
   --------------------------- */
.feature-card,
.service-card,
.model-card,
.chooser-card,
.network-card,
.case-card,
.req-card {
  overflow: hidden;
}
.feature-card::after,
.service-card::after,
.model-card::after,
.chooser-card::after,
.network-card::after,
.case-card::after,
.req-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255,255,255,0.035) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 10;
  transition: left 0.55s ease;
}
.feature-card:hover::after,
.service-card:hover::after,
.model-card:hover::after,
.chooser-card:hover::after,
.network-card:hover::after,
.case-card:hover::after,
.req-card:hover::after {
  left: 140%;
}

/* ---------------------------
   SECTION DIVIDER GLOW LINE
   --------------------------- */
.section {
  position: relative;
}
.section + .section::before,
#site-ticker + section::before {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,0,13,0.2), rgba(232,0,13,0.65), rgba(232,0,13,0.2), transparent);
  box-shadow: 0 0 10px rgba(232,0,13,0.25);
  pointer-events: none;
}

/* ---------------------------
   ENHANCED STAT CARDS
   --------------------------- */
.hero-stat {
  position: relative;
  overflow: hidden;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.hero-stat-num {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  font-size: clamp(16px, 2.5vw, 28px) !important;
  line-height: 1.2;
}
.hero-stat-label {
  text-align: center !important;
  width: 100% !important;
}
.hero-stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--red, #C00000), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.hero-stat:hover::after { transform: scaleX(1); }

/* ---------------------------
   GLOBAL COLOUR OVERRIDES
   Red: #E8000D (vivid, clean, professional)
   Muted text: #c0c0c0 (clearly readable)
   --------------------------- */
:root {
  --red:      #E8000D !important;
  --red-dark: #b50000 !important;
  --red-glow: rgba(232,0,13,0.25) !important;
  --muted:    #ababab !important;
}

/* Direct overrides for elements using hardcoded rgba(192,0,0,...) */

/* Icon boxes */
.feature-icon,
.overview-point-icon,
.overview-point-icon,
.hero-badge,
.why-point-icon,
.req-icon,
.how-step-num ~ .how-step-icon,
.case-icon,
.ext-min-note,
.benefit-icon,
.network-tag,
.who-icon,
.why-stat-card,
.nav-dd-icon,
.chooser-tag,
.model-tag,
.model-num,
.case-tag {
  border-color: rgba(232,0,13,0.3) !important;
  background-color: rgba(232,0,13,0.1) !important;
  color: #E8000D !important;
}

/* Icons that sit on a SOLID red background must stay WHITE
   (the broad red override was making them red-on-red = invisible) */
.nav-logo-icon, .nav-logo-icon i,
.hero-icon-main, .hero-icon-main i,
.step-num, .step-num i,
.how-step-num, .how-step-num i,
.btn-primary, .btn-primary i { color: #ffffff !important; }

/* Borders on cards that use rgba red */
.hero-badge,
.network-card:hover,
.model-card.active,
.package-card.popular,
.voip-pkg.featured {
  border-color: rgba(232,0,13,0.4) !important;
}

/* Section labels */
.section-label { color: #E8000D !important; }
.section-label::before { background: #E8000D !important; }

/* Hero title red span glow */
.hero-title span:not(.word-wrap):not(.word-inner) {
  color: #E8000D !important;
  text-shadow:
    0 0 20px rgba(232,0,13,0.8),
    0 0 60px rgba(232,0,13,0.4),
    0 0 100px rgba(232,0,13,0.15) !important;
}

/* Scroll progress bar */
#scroll-progress {
  background: linear-gradient(90deg, #E8000D, #ff6666, #E8000D) !important;
  box-shadow: 0 0 10px rgba(232,0,13,0.8), 0 0 4px rgba(232,0,13,0.6) !important;
}

/* Ticker dots */
.ticker-dot {
  background: #E8000D !important;
  box-shadow: 0 0 6px rgba(232,0,13,0.7) !important;
}

/* Cursor */
#cursor-dot {
  background: #E8000D !important;
  box-shadow:
    0 0 0 2px rgba(232,0,13,0.3),
    0 0 16px rgba(232,0,13,1),
    0 0 32px rgba(232,0,13,0.7),
    0 0 60px rgba(232,0,13,0.3) !important;
}
#cursor-ring { border-color: rgba(232,0,13,0.7) !important; }

/* Aurora blobs */
.aurora-blob-1 { background: radial-gradient(circle, rgba(232,0,13,0.15) 0%, transparent 65%) !important; }
.aurora-blob-2 { background: radial-gradient(circle, rgba(200,0,0,0.12) 0%, transparent 65%) !important; }
.aurora-blob-3 { background: radial-gradient(circle, rgba(232,0,13,0.09) 0%, transparent 65%) !important; }

/* Corner brackets */
.hero-corner-tr, .hero-corner-bl { border-color: #E8000D !important; }
.hero-corner-tl, .hero-corner-br { border-color: rgba(232,0,13,0.45) !important; }

/* ---------------------------
   LIGHTER MUTED TEXT - COMPREHENSIVE
   Catches every grey text element across all pages
   --------------------------- */

/* All description / body copy text */
.hero-desc, .section-sub, .hero-desc p,
.feature-card p, .feature-card > p,
.overview-point p, .overview-point > div > p,
.why-point p, .why-point > p,
.model-desc, .model-list-item,
.step-desc, .step-desc p,
.faq-a, .faq-a p,
.case-body p, .case-body > p,
.req-card p, .req-card > p,
.network-desc,
.chooser-desc,
.voip-pkg-ideal,
.ext-desc, .ext-desc p,
.how-step-card p, .how-step-card > p,
.savings-intro p,
.partner-desc,
.blog-card p,
.why-point-text,
.overview-grid p,
.promo-text { color: #ababab !important; }

/* Stat labels */
.hero-stat-label,
.hero-stat-label p,
.pkg-unit,
.pkg-note,
.pkg-note-top { color: #ababab !important; }

/* Nav links */
.nav-links a,
.nav-links a:not(:hover),
.nav-phone,
.mobile-menu a,
.mobile-dd-link { color: #ababab !important; }

/* Footer text */
.footer-brand p,
.footer-col ul li a,
.footer-bottom p,
.footer-legal a,
.footer-bottom { color: #999 !important; }

/* Card secondary text (non-bubble) stays grey */
.model-list-item,
.nav-dd-desc,
.ticker-item { color: #ababab !important; }

/* Pill / bubble tags - WHITE so they don't fade out */
.case-tag,
.network-tag,
.chooser-tag,
.model-tag,
.req-note,
.network-select-btn { color: #ffffff !important; }
/* keep their inner check/arrow icons red for a pop of colour */
.case-tag i,
.chooser-tag i,
.model-tag i,
.network-tag i,
.req-note i,
.network-select-btn i { color: var(--red, #E8000D) !important; }

/* CTA sections - slightly lighter to work on dark red bg */
#cta-strip p,
.cta-inner p,
.threat-label { color: #d0d0d0 !important; }

/* Threat stats / dark sections */
.threat-card .threat-label,
#threat-stats .section-sub { color: #c8c8c8 !important; }

/* ---------------------------
   MAIN SECTION HEADINGS - STRONGER HIERARCHY
   Make the primary heading clearly dominate
   over card titles and sub-headings
   --------------------------- */
.section-title {
  font-size: clamp(34px, 5vw, 60px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.08 !important;
  color: #ffffff !important;
  margin-bottom: 24px !important;
}
/* Red keyword accent inside main headings */
.section-title span {
  color: #E8000D !important;
  -webkit-text-fill-color: #E8000D !important;
}

/* Card/sub headings stay clearly smaller and lighter
   so the main heading reads as the dominant one */
.feature-card h3,
.network-name,
.case-body h3,
.req-card h3,
.who-card h3,
.model-title,
.chooser-title,
.how-step-card h3,
.voip-pkg-name,
.faq-q {
  font-weight: 700 !important;
}

/* Keep content above decorative elements */
.section > .container { position: relative; z-index: 1; }

/* ---------------------------
   SERVICES MEGA DROPDOWN
   --------------------------- */
.nav-dropdown-parent { position: relative; }

.nav-dropdown-parent > a .nav-dd-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-dropdown-parent:hover > a .nav-dd-arrow,
.nav-dropdown-parent.open > a .nav-dd-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 560px;
  background: rgba(18,18,18,0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(192,0,0,0.25);
  border-radius: 16px;
  padding: 8px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 40px rgba(192,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 2000;
}
/* Arrow pointer */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: rgba(18,18,18,0.98);
  border-left: 1px solid rgba(192,0,0,0.25);
  border-top: 1px solid rgba(192,0,0,0.25);
  rotate: 45deg;
}
/* Transparent bridge covers the gap so the dropdown
   doesn't disappear when mouse moves from nav to panel */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 0; right: 0;
  height: 20px;
  background: transparent;
}
.nav-dropdown-parent:hover .nav-dropdown,
.nav-dropdown-parent.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
}
.nav-dd-group-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C00000;
  padding: 8px 12px 6px;
  margin-bottom: 2px;
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.nav-dd-item:hover { background: rgba(192,0,0,0.08); }
.nav-dd-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(192,0,0,0.1);
  border: 1px solid rgba(192,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #C00000;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}
.nav-dd-item:hover .nav-dd-icon {
  background: rgba(192,0,0,0.18);
  border-color: rgba(192,0,0,0.45);
}
.nav-dd-name {
  font-size: 13px;
  font-weight: 700;
  color: #ebebeb;
  line-height: 1.2;
  margin-bottom: 2px;
}
.nav-dd-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}
.nav-dd-item:hover .nav-dd-name { color: #ffffff; }
.nav-dd-item:hover .nav-dd-desc { color: #888; }
/* Bottom CTA row */
.nav-dd-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 4px 8px 4px;
  padding: 10px 4px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-dd-footer-link {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-dd-footer-link:hover { color: #C00000; background: rgba(192,0,0,0.06); }
.nav-dd-footer-link i { font-size: 10px; }

/* ---------------------------
   MOBILE SERVICES ACCORDION
   --------------------------- */
.mobile-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  color: #888;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  cursor: pointer;
  width: 100%;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: left;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}
.mobile-services-toggle:hover,
.mobile-services-toggle.open { color: #C00000; }
.mobile-services-toggle .toggle-arrow {
  font-size: 10px;
  transition: transform 0.25s;
}
.mobile-services-toggle.open .toggle-arrow { transform: rotate(180deg); }

.mobile-services-list {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 4px 8px;
}
.mobile-services-list.open { display: flex; }
.mobile-dd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  transition: all 0.15s;
  text-decoration: none;
}
.mobile-dd-link:hover { background: rgba(192,0,0,0.08); color: #ebebeb; }
.mobile-dd-link i { color: #C00000; width: 16px; text-align: center; font-size: 13px; }

/* ---------------------------
   NAV UTILITY BUTTONS (Portal Login + Network Status)
   --------------------------- */
.nav-status, .nav-portal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-status { color: #c0c0c0; }
.nav-status:hover { color: #ffffff; }
.nav-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 7px #22c55e, 0 0 2px #22c55e;
  flex-shrink: 0;
  animation: nav-status-pulse 2s ease-in-out infinite;
}
@keyframes nav-status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.45; transform: scale(0.8); }
}
.nav-portal {
  color: #ebebeb;
  border: 1px solid rgba(255,255,255,0.2);
}
.nav-portal:hover {
  border-color: var(--red, #E8000D);
  color: var(--red, #E8000D);
}
.nav-portal i { font-size: 12px; }

/* De-clutter the top nav:
   - drop the phone from the bar (it's in the footer, the Contact link and the
     Get a Quote button, so it's redundant up here)
   - tighten the menu spacing a touch
   - stop any item wrapping onto a second line */
.nav-phone { display: none !important; }
.nav-links { gap: 26px !important; }
.nav-links a,
.nav-status,
.nav-portal,
.nav-cta .btn-primary { white-space: nowrap !important; }

/* Below 1150px there are still too many items to fit horizontally, so hand
   over to the hamburger menu (which carries the utility links too). */
@media (max-width: 1150px) {
  .nav-links,
  .nav-cta .btn-primary,
  .nav-status,
  .nav-portal { display: none !important; }
  .hamburger { display: flex !important; }
}

/* Mobile menu versions of the utility links */
.mobile-menu .mm-util {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #888;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-menu .mm-util:hover { color: var(--red, #E8000D); }
.mobile-menu .mm-util i { color: var(--red, #E8000D); width: 18px; text-align: center; }
.mobile-menu .mm-util .status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 6px #22c55e; margin-left: 5px;
  animation: nav-status-pulse 2s ease-in-out infinite;
}

/* ---------------------------
   SCROLL PROGRESS BAR
   --------------------------- */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #C00000, #ff4444, #C00000);
  background-size: 200% 100%;
  z-index: 99999;
  transition: width 0.08s linear;
  box-shadow: 0 0 10px rgba(192, 0, 0, 0.7), 0 0 4px rgba(192, 0, 0, 0.5);
  animation: progress-shimmer 2s linear infinite;
}
@keyframes progress-shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ---------------------------
   TICKER STRIP
   --------------------------- */
#site-ticker {
  background: #111;
  border-top: 1px solid rgba(192, 0, 0, 0.25);
  border-bottom: 1px solid rgba(192, 0, 0, 0.25);
  padding: 11px 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}
.ticker-track {
  display: inline-flex;
  animation: ticker-scroll 45s linear infinite;
}
#site-ticker:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  padding: 0 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.ticker-item:hover { color: #ebebeb; }
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #C00000;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(192, 0, 0, 0.6);
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------------------------
   HERO GLOW TEXT
   --------------------------- */
.hero-title span {
  text-shadow:
    0 0 20px rgba(192, 0, 0, 0.6),
    0 0 60px rgba(192, 0, 0, 0.25),
    0 0 100px rgba(192, 0, 0, 0.1);
}

/* ---------------------------
   TYPEWRITER
   --------------------------- */
#hero-typewriter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}
#hero-typewriter .tw-prefix { color: #555; }
#hero-typewriter .tw-word {
  color: #ebebeb;
  font-weight: 800;
  min-width: 2ch;
}
#hero-typewriter .tw-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #C00000;
  border-radius: 1px;
  vertical-align: middle;
  margin-left: 1px;
  animation: tw-blink 0.75s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(192, 0, 0, 0.8);
}
@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---------------------------
   HERO CANVAS PARTICLES
   --------------------------- */
#hero { position: relative; overflow: hidden; }
#hero-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
/* Lift hero content above canvas - target container only, NOT the canvas itself */
#hero .container {
  position: relative;
  z-index: 1;
}

/* ---------------------------
   CARD 3D TILT
   --------------------------- */
.feature-card,
.service-card,
.model-card,
.package-card,
.hero-stat,
.blog-card,
.faq-item,
.chooser-card,
.network-card,
.who-card,
.why-stat-card,
.threat-card,
.savings-table {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.3s;
  will-change: transform;
  transform-style: preserve-3d;
  border: 1px solid rgba(255,255,255,0.07); /* ensure border exists for gradient trick */
}

/* ---------------------------
   DIAGONAL CTA DIVIDER
   --------------------------- */
#cta-strip {
  clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%);
  padding-top: 128px !important;
}

/* ---------------------------
   SECTION FADE-IN ENHANCEMENT
   (makes reveals more dramatic)
   --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------
   BUTTON PULSE GLOW
   --------------------------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

/* ---------------------------
   HERO STAT CARD GLOW ON HOVER
   --------------------------- */
.hero-stat:hover {
  border-color: rgba(192, 0, 0, 0.4) !important;
  box-shadow: 0 0 20px rgba(192, 0, 0, 0.12) !important;
}

/* ---------------------------
   NAV LINK UNDERLINE SLIDE
   --------------------------- */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red, #C00000);
  transition: width 0.25s ease;
  border-radius: 1px;
}
.nav-links a:hover::after { width: 100%; }


/* ---------------------------
   CURSOR SPOTLIGHT
   --------------------------- */
#cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,0,0,0.055) 0%, transparent 65%);
  pointer-events: none;
  z-index: 9990;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}


/* ---------------------------
   ANIMATED GRADIENT BORDER
   --------------------------- */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.glow-border {
  border-color: transparent !important;
  background-image:
    linear-gradient(#1c1c1c, #1c1c1c),
    conic-gradient(from var(--border-angle), #C00000 0%, transparent 30%, transparent 70%, #C00000 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: border-spin 2.5s linear infinite !important;
}
@keyframes border-spin {
  to { --border-angle: 360deg; }
}

/* Fallback for browsers without @property */
@supports not (background: conic-gradient(from 1deg, red, blue)) {
  .glow-border {
    border-color: rgba(192,0,0,0.5) !important;
    box-shadow: 0 0 20px rgba(192,0,0,0.2), inset 0 0 20px rgba(192,0,0,0.05) !important;
  }
}


/* ---------------------------
   HERO TITLE WORD FLY-IN
   --------------------------- */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.word-inner.word-visible {
  transform: translateY(0);
  opacity: 1;
}


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


/* ---------------------------
   SECTION BACKGROUND GRID DOTS
   --------------------------- */
#overview, #why, #networks {
  background-image: radial-gradient(rgba(192,0,0,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: 0 0;
}


/* ---------------------------
   HERO BADGE ENHANCED PULSE
   --------------------------- */
.hero-badge i[class*="fa-circle"] {
  animation: badge-pulse 1.8s ease-in-out infinite !important;
  filter: drop-shadow(0 0 4px #C00000);
}
@keyframes badge-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.7); }
}




/* ---------------------------
   HERO VISUAL ICON GLOW PULSE
   --------------------------- */
.hero-icon-main {
  animation: icon-pulse 3s ease-in-out infinite;
}
@keyframes icon-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(192,0,0,0.3); }
  50%       { box-shadow: 0 0 100px rgba(192,0,0,0.6), 0 0 40px rgba(192,0,0,0.4); }
}

/* ---------------------------
   LIVE / ONLINE STATUS BADGES -> GREEN
   The pulsing hero badge reads as a "we're live/online" indicator.
   Red felt like an alert/outage, so these go green (like the Network
   Status dot). Keeps the brand red for everything else.
   --------------------------- */
.hero-badge {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
}
.hero-badge i[class*="fa-circle"] {
  color: #22c55e !important;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.85)) !important;
}

/* "Why Active Fibre" highlight pills -> green (positive/live, not an alert) */
.why-stat {
  background: rgba(34, 197, 94, 0.1) !important;
  border: 1px solid rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
}
