/* ===========================
   GLITNODE — Global Styles
   =========================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #00e676;
  --green-dark: #00c853;
  --green-dim: rgba(0, 230, 118, 0.15);
  --bg: #020f0a;
  --bg-card: #061410;
  --bg-card2: #0a1e18;
  --border: rgba(0, 230, 118, 0.18);
  --text: #e8f5e9;
  --text-muted: #7a9e8e;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --font-script: 'Dancing Script', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Sections stack above any pseudo-elements */
body > * { position: relative; z-index: 1; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  background: rgba(2, 10, 6, 0.3);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-logo img {
  height: 32px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-nav a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
  padding: 6px 14px;
}

.navbar-nav a:hover {
  color: var(--white);
}

.navbar-nav a.active {
  color: var(--green);
  font-weight: 600;
}

.navbar-cta {
  background: var(--green);
  color: #000 !important;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
}

.navbar-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              background 0.2s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav close button (mobile drawer only) */
.nav-close-row {
  display: none;
}

.nav-close {
  display: none;
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 999;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
}

.nav-close:hover {
  color: var(--white);
  transform: scale(1.15);
}

.navbar-nav.open ~ .nav-close,
.hamburger.active ~ .nav-close {
  display: flex;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ===========================
   SECTION BADGE
   =========================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

/* Dot icon */
.section-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #6f8f80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 60px 50px;
  background: transparent;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: 10px;
  background: #061a12;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--green);
  font-size: 24px;
  flex-shrink: 0;
}

.stat-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

/* ===========================
   SECTION HEADINGS
   =========================== */
.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--green);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ===========================
   CARDS
   =========================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0,230,118,0.45);
  transform: translateY(-3px);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-wrapper {
  background:
    radial-gradient(82% 120% at 14% 0%, rgba(0, 230, 118, 0.09) 0%, rgba(2, 16, 11, 0) 62%),
    linear-gradient(180deg, #04120d 0%, #03140d 100%);
  padding: 80px 0;
}

.cta-section {
  background:
    radial-gradient(120% 120% at 12% 96%, rgba(0, 230, 118, 0.2) 0%, rgba(0, 230, 118, 0.08) 34%, rgba(3, 16, 11, 0.78) 68%, rgba(2, 13, 9, 0.94) 100%),
    radial-gradient(110% 100% at 92% 34%, rgba(0, 230, 118, 0.16) 0%, rgba(0, 230, 118, 0.04) 42%, rgba(2, 12, 8, 0.86) 76%, #03130d 100%),
    linear-gradient(180deg, #091814 0%, #04120d 100%);
  border: 1px solid rgba(0, 230, 118, 0.24);
  border-radius: var(--radius-lg);
  margin: 0 120px;
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 1px at 5% 12%, rgba(255,255,255,0.72) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 18% 7%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 31% 15%, rgba(255,255,255,0.68) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 42% 4%, rgba(255,255,255,0.45) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 57% 19%, rgba(255,255,255,0.82) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 68% 8%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(circle 1px at 79% 13%, rgba(255,255,255,0.65) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 91% 6%, rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 8% 28%, rgba(255,255,255,0.48) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 22% 35%, rgba(255,255,255,0.75) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 39% 24%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 1px at 52% 31%, rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 64% 26%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 1.3px at 76% 38%, rgba(255,255,255,0.78) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 88% 29%, rgba(255,255,255,0.52) 0%, transparent 100%),
    radial-gradient(circle 1px at 3% 45%, rgba(255,255,255,0.65) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 14% 52%, rgba(255,255,255,0.58) 0%, transparent 100%),
    radial-gradient(circle 1.4px at 28% 48%, rgba(255,255,255,0.85) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 43% 56%, rgba(255,255,255,0.44) 0%, transparent 100%),
    radial-gradient(circle 1.1px at 59% 44%, rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 71% 51%, rgba(255,255,255,0.55) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 83% 47%, rgba(255,255,255,0.74) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 96% 55%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 7% 68%, rgba(255,255,255,0.47) 0%, transparent 100%),
    radial-gradient(circle 1.1px at 19% 74%, rgba(255,255,255,0.66) 0%, transparent 100%),
    radial-gradient(circle 1.5px at 33% 62%, rgba(255,255,255,0.88) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 47% 71%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 1px at 61% 65%, rgba(255,255,255,0.62) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 74% 73%, rgba(255,255,255,0.56) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 86% 67%, rgba(255,255,255,0.72) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 2% 84%, rgba(255,255,255,0.50) 0%, transparent 100%),
    radial-gradient(circle 1px at 16% 89%, rgba(255,255,255,0.64) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 29% 82%, rgba(255,255,255,0.43) 0%, transparent 100%),
    radial-gradient(circle 1.3px at 44% 88%, rgba(255,255,255,0.80) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 58% 83%, rgba(255,255,255,0.48) 0%, transparent 100%),
    radial-gradient(circle 1.1px at 72% 91%, rgba(255,255,255,0.62) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 85% 85%, rgba(255,255,255,0.56) 0%, transparent 100%),
    radial-gradient(circle 1px at 94% 79%, rgba(255,255,255,0.66) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 25% 20%, rgba(255,255,255,0.52) 0%, transparent 100%),
    radial-gradient(circle 1.4px at 50% 10%, rgba(255,255,255,0.84) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 75% 25%, rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(circle 1px at 90% 40%, rgba(255,255,255,0.65) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 80% 55%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 55% 60%, rgba(255,255,255,0.75) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 35% 75%, rgba(255,255,255,0.48) 0%, transparent 100%),
    radial-gradient(circle 1.1px at 10% 60%, rgba(255,255,255,0.70) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 20% 40%, rgba(255,255,255,0.56) 0%, transparent 100%),
    radial-gradient(circle 1.3px at 65% 42%, rgba(255,255,255,0.80) 0%, transparent 100%),
    radial-gradient(circle 0.7px at 45% 80%, rgba(255,255,255,0.42) 0%, transparent 100%),
    radial-gradient(circle 1px at 15% 95%, rgba(255,255,255,0.60) 0%, transparent 100%),
    radial-gradient(circle 0.8px at 60% 95%, rgba(255,255,255,0.47) 0%, transparent 100%),
    radial-gradient(circle 1.2px at 80% 78%, rgba(255,255,255,0.72) 0%, transparent 100%),
    radial-gradient(circle 0.9px at 35% 50%, rgba(255,255,255,0.56) 0%, transparent 100%),
    radial-gradient(rgba(255, 255, 255, 0.06) 0.5px, transparent 0.5px);
  background-size:
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%,
    100% 100%, 100% 100%, 100% 100%,
    2.6px 2.6px;
  animation: cta-twinkle 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-twinkle {
  0%   { opacity: 1; }
  22%  { opacity: 0.55; }
  38%  { opacity: 0.85; }
  55%  { opacity: 0.45; }
  72%  { opacity: 0.80; }
  88%  { opacity: 0.62; }
  100% { opacity: 1; }
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 80% at 14% 85%, rgba(0, 230, 118, 0.24) 0%, rgba(0, 230, 118, 0.07) 34%, transparent 68%),
    radial-gradient(86% 76% at 86% 40%, rgba(0, 230, 118, 0.12) 0%, rgba(0, 230, 118, 0.04) 32%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-section .section-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 700;
  color: var(--green);
  font-size: 1.08em;
  letter-spacing: 0;
}

.cta-section .section-subtitle {
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
  color: rgba(222, 237, 231, 0.78);
}

.cta-section .cta-btns { position: relative; z-index: 1; }

.cta-section .btn i {
  display: inline-block;
  transform: rotate(-28deg) translateY(-1px);
}

.cta-section .btn:hover i {
  transform: rotate(-28deg) translate(1px, -2px);
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: #030906;
  border-top: 1.5px solid rgba(0, 230, 118, 0.22);
  padding: 96px 120px 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 86px;
  align-items: start;
  margin-bottom: 80px;
}

.footer-brand > p:first-of-type {
  font-size: clamp(16px, 0.95vw, 18px);
  color: rgba(186, 205, 195, 0.68);
  margin: 0 0 18px;
  max-width: 340px;
  line-height: 1.62;
}

.footer-contact-link {
  display: inline-block;
  font-size: clamp(16px, 0.95vw, 18px);
  color: rgba(202, 218, 210, 0.78);
  margin-bottom: 16px;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--white);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-social-row a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(178, 197, 188, 0.56);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(188, 206, 197, 0.76);
  font-size: 14px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-social-row a:hover {
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-1px);
}

.footer-phone {
  margin: 0;
  font-size: clamp(15px, 0.9vw, 17px);
  color: rgba(168, 188, 178, 0.68);
}

.footer-col h4 {
  font-size: clamp(22px, 1.35vw, 27px);
  font-weight: 500;
  color: var(--white);
  margin: 0 0 34px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 64px;
}

.footer-col ul li {
  margin-bottom: 18px;
}

.footer-col ul li a {
  font-size: clamp(16px, 0.95vw, 18px);
  color: rgba(176, 196, 188, 0.78);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-updates .newsletter-form {
  display: flex;
  width: 100%;
  max-width: 430px;
  border: 1px solid rgba(130, 148, 141, 0.34);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 18, 13, 0.78);
  margin-bottom: 18px;
}

.footer-updates .newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 17px 30px;
  font-size: clamp(15px, 0.9vw, 17px);
  color: rgba(224, 236, 230, 0.88);
  font-family: 'Inter', sans-serif;
  outline: none;
}

.footer-updates .newsletter-form input::placeholder {
  color: rgba(137, 157, 149, 0.62);
}

.footer-updates .newsletter-form button {
  width: 102px;
  background: rgba(142, 152, 162, 0.26);
  border: none;
  cursor: pointer;
  color: rgba(225, 234, 237, 0.92);
  font-size: 19px;
  transition: background 0.2s;
}

.footer-updates .newsletter-form button:hover {
  background: rgba(162, 173, 182, 0.38);
}

.footer-updates .newsletter-form button i {
  transform: rotate(-14deg);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(169, 188, 179, 0.72);
  line-height: 1.6;
  max-width: 430px;
}

.footer-bottom {
  padding-top: 0;
  text-align: center;
  font-size: clamp(15px, 0.95vw, 18px);
  color: rgba(149, 170, 160, 0.72);
  letter-spacing: 0.01em;
}

/* ===========================
   BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 990;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(4, 20, 13, 0.82);
  border: 1px solid rgba(0, 230, 118, 0.32);
  color: var(--green);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, border-color 0.2s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,230,118,0.08);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 230, 118, 0.12);
  border-color: rgba(0, 230, 118, 0.6);
  box-shadow: 0 6px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,230,118,0.18);
}

.back-to-top:hover i {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up { animation: fadeUp 0.7s ease forwards; }
.fade-in { animation: fadeIn 0.6s ease forwards; }

/* ===========================
   HERO LOAD ANIMATIONS
   Applied to all three page heroes (.hero, .about-hero, .services-hero)
   =========================== */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(32px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0);    }
}

@keyframes heroMediaIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes heroBgGlow {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroEmShimmer {
  0%   { background-position: -120% 0; }
  100% { background-position:  220% 0; }
}

/* Background glow fades in first */
.hero .hero-bg,
.about-hero .about-hero-bg,
.services-hero .services-hero-bg {
  opacity: 0;
  animation: heroBgGlow 1.2s ease forwards;
}

/* All hero text/CTA blocks start hidden, then stagger up */
.hero .section-badge,
.hero .hero-subtitle,
.hero .hero-btns,
.hero .trusted-by,
.about-hero .section-badge,
.about-hero .about-hero-subtitle,
.about-hero .about-hero-btns,
.services-hero .section-badge,
.services-hero .services-hero-subtitle,
.services-hero .services-hero-btns {
  opacity: 0;
  animation: heroRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Headings get a slightly more dramatic blur-to-clear reveal */
.hero .hero-title,
.about-hero .about-hero-title,
.services-hero .services-hero-title {
  opacity: 0;
  animation: heroTitleReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Hero media (about + services collages) eases in with subtle scale */
.about-hero .about-hero-media,
.services-hero .services-hero-media {
  opacity: 0;
  animation: heroMediaIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.35s;
}

/* Stagger delays — badge first, then title, subtitle, buttons, footer extras */
.hero .section-badge,
.about-hero .section-badge,
.services-hero .section-badge { animation-delay: 0.10s; }

.hero .hero-title,
.about-hero .about-hero-title,
.services-hero .services-hero-title { animation-delay: 0.22s; }

.hero .hero-subtitle,
.about-hero .about-hero-subtitle,
.services-hero .services-hero-subtitle { animation-delay: 0.45s; }

.hero .hero-btns,
.about-hero .about-hero-btns,
.services-hero .services-hero-btns { animation-delay: 0.60s; }

.hero .trusted-by { animation-delay: 0.78s; }

/* Subtle ongoing shimmer on the script-em accent in hero titles */
.hero .hero-title em,
.about-hero .about-hero-title em,
.services-hero .services-hero-title em {
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    #b6ffd9 45%,
    var(--green) 60%,
    var(--green) 100%
  );
  background-size: 220% 100%;
  background-position: -120% 0;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: heroEmShimmer 4.8s ease-in-out 1.4s infinite;
}

/* Index only: keep the script styling but stop shimmer on "Digital" */
.hero .hero-title em.no-shimmer {
  animation: none;
  background: none;
  -webkit-text-fill-color: var(--green);
          color: var(--green);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg,
  .about-hero .about-hero-bg,
  .services-hero .services-hero-bg,
  .hero .section-badge, .hero .hero-title, .hero .hero-subtitle, .hero .hero-btns, .hero .trusted-by,
  .about-hero .section-badge, .about-hero .about-hero-title, .about-hero .about-hero-subtitle, .about-hero .about-hero-btns, .about-hero .about-hero-media,
  .services-hero .section-badge, .services-hero .services-hero-title, .services-hero .services-hero-subtitle, .services-hero .services-hero-btns, .services-hero .services-hero-media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero .hero-title em,
  .about-hero .about-hero-title em,
  .services-hero .services-hero-title em {
    animation: none !important;
    background: none;
    -webkit-text-fill-color: var(--green);
            color: var(--green);
  }
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .navbar { padding: 16px 32px; }
  .stats-bar { gap: 12px; padding: 0 32px; flex-wrap: wrap; }
  .cta-wrapper { padding: 60px 0; }
  .cta-section { margin: 0 32px; padding: 60px 32px; }
  .cta-section .section-title {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.5px;
  }
  footer { padding: 78px 32px 36px; }
  .footer-grid {
    gap: 48px;
    grid-template-columns: 1.1fr 1fr 1fr;
    margin-bottom: 62px;
  }
  .footer-col h4 {
    font-size: clamp(19px, 2.8vw, 23px);
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-cta { display: none; }

  .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: #030d08;
    border-left: 1px solid rgba(0, 230, 118, 0.14);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.6);
    padding: 72px 0 48px;
    gap: 0;
    z-index: 998;
    transform: translateX(110%);
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow-y: auto;
  }

  .navbar-nav.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .navbar-nav.open .nav-close-row { display: none; }
  .hamburger.active + .nav-close,
  .nav-close { display: none; }
  .hamburger.active ~ .nav-close { display: flex; }

  @keyframes navItemSlideIn {
    from { opacity: 0; transform: translateX(22px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .navbar-nav.open li { animation: navItemSlideIn 0.32s cubic-bezier(0.4, 0, 0.2, 1) both; }
  .navbar-nav.open li:nth-child(1) { animation-delay: 0.08s; }
  .navbar-nav.open li:nth-child(2) { animation-delay: 0.16s; }
  .navbar-nav.open li:nth-child(3) { animation-delay: 0.24s; }
  .navbar-nav.open li:nth-child(4) { animation-delay: 0.32s; }
  .navbar-nav.open li:nth-child(5) { animation-delay: 0.40s; }
  .navbar-nav.open li:nth-child(6) { animation-delay: 0.48s; }

  .navbar-nav a {
    font-size: 17px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.58);
    padding: 16px 32px;
    width: 100%;
    display: block;
    border-left: 2.5px solid transparent;
    border-bottom: 1px solid rgba(0, 230, 118, 0.05);
    transition: color 0.22s, border-left-color 0.22s, padding-left 0.28s;
    letter-spacing: 0.01em;
  }

  .navbar-nav a:hover {
    color: var(--white);
    border-left-color: rgba(0, 230, 118, 0.5);
    padding-left: 44px;
  }

  .navbar-nav a.active {
    color: var(--green);
    border-left-color: var(--green);
    font-weight: 600;
    padding-left: 44px;
  }

  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 24px 16px;
  }

  .stat-item {
    width: auto;
  }

  .section-title { font-size: 28px; }
  .cta-wrapper { padding: 40px 0; }
  .cta-section { margin: 0 16px; padding: 48px 24px; }
  .cta-section .section-title {
    font-size: 34px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.5px;
  }
  footer { padding: 58px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; margin-bottom: 44px; }
  .footer-col h4 { font-size: 21px; margin-bottom: 20px; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 10px 28px; }
  .footer-updates .newsletter-form { max-width: 100%; margin-bottom: 14px; }
  .footer-tagline { max-width: 100%; font-size: 13px; }
  .footer-bottom { font-size: 14px; }
}
