/* ============================================================
   ROJEX Labs Technologies — Global Stylesheet
   Brand: Navy #0D1A2D | Blue #2563EB | Green #00C896
   ============================================================ */

/* ---------- CSS VARIABLES (Dark mode default) ---------- */
:root {
  --blue:    #2563EB;
  --blue-b:  #3B82F6;
  --blue-l:  #60A5FA;
  --green:   #00C896;
  --green-d: #00A87E;
  --navy:    #0D1A2D;
  --nm:      #162035;
  --nl:      #1E2D45;
  --nb:      #243352;
  --t1:      #F8FAFC;
  --t2:      #94A3B8;
  --t3:      #64748B;
}

body.light {
  --navy: #FFFFFF;
  --nm:   #F8FAFC;
  --nl:   #F1F5F9;
  --nb:   #E2E8F0;
  --t1:   #0D1A2D;
  --t2:   #475569;
  --t3:   #94A3B8;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--t1);
  overflow-x: hidden;
  transition: background 0.35s, color 0.35s;
}

/* Subtle noise texture */
body::after {
  content: '';
  position: fixed;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--nb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ---------- TYPOGRAPHY ---------- */
.font-display { font-family: 'Space Grotesk', sans-serif; }

.grad {
  background: linear-gradient(135deg, #2563EB 0%, #00C896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-blue {
  background: linear-gradient(135deg, #60A5FA, #2563EB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- LOADER ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: #0D1A2D;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s;
}
#loader.out { opacity: 0; pointer-events: none; }
body.light #loader { background: #F8FAFC; }

/* Loader logo: show dark by default, swap to light logo on light theme */
.loader-logo-light { display: none; }
body.light .loader-logo-dark  { display: none; }
body.light .loader-logo-light { display: block; }

.loader-logo {
  height: 48px;
  object-fit: contain;
  opacity: 0;
  animation: fadeUp 0.5s 0.2s forwards;
}
.lbar {
  width: 200px;
  height: 2px;
  background: rgba(36,51,82,0.6);
  border-radius: 2px;
  overflow: hidden;
}
.lprog {
  height: 100%;
  background: linear-gradient(90deg, #2563EB, #00C896);
  border-radius: 2px;
  animation: lp 1.6s ease forwards;
}
@keyframes lp     { from { width: 0 } to { width: 100% } }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px) } to { opacity:1; transform:translateY(0) } }


/* ---------- NAVIGATION ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, border 0.3s;
}
#nav.scrolled {
  background: rgba(13,26,45,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
body.light #nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(203,213,225,0.4);
}

.nav-link {
  color: var(--t2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}
.nav-link:hover { color: var(--t1); }
.nav-link.active { color: var(--t1); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
}

/* Mobile menu */
#mmenu {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 82%;
  max-width: 340px;
  background: var(--navy);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  overflow-y: auto;
}
#mmenu.open { transform: translateX(0); }
body.light #mmenu { background: #FFFFFF; }

#mmenu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13,26,45,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
#mmenu-backdrop.open { opacity: 1; pointer-events: auto; }

/* Theme toggle */
.theme-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--nb);
  background: var(--nm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}
.theme-btn:hover { border-color: rgba(37,99,235,0.4); }

/* ---------- BUTTONS ---------- */
.btn-p {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-p::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-p:hover::before { opacity: 1; }
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.4); }

.btn-s {
  color: var(--t1);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-s:hover {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-2px);
}
body.light .btn-s { background: rgba(0,0,0,0.04); border-color: var(--nb); }

/* ---------- GLASS ---------- */
.glass {
  background: rgba(22,32,53,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(36,51,82,0.6);
}
body.light .glass { background: rgba(255,255,255,0.7); border-color: rgba(203,213,225,0.7); }

/* ---------- CARDS ---------- */
.card {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 20px;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.card:hover {
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(37,99,235,0.1);
}

.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: transform 0.3s;
}
.card:hover .icon-box { transform: scale(1.08); }

/* ---------- SVG SPRITE ICONS ---------- */
.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- SECTION UTILITIES ---------- */
.sec-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.sec-tag::before { content: ''; width: 20px; height: 2px; background: var(--green); }

.sec-h {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.sec-sub {
  color: var(--t2);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 580px;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,0.1) 0%, transparent 70%);
  pointer-events: none;
}
body.light .page-hero {
  background: linear-gradient(180deg, #C2D4EC 0%, #D8E8F7 50%, var(--navy) 100%);
}
body.light .page-hero-bg {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(37,99,235,0.18) 0%, transparent 70%);
}

/* ---------- FORM ---------- */
.finput {
  background: var(--nm);
  border: 1px solid var(--nb);
  color: var(--t1);
  border-radius: 10px;
  padding: 14px 18px;
  width: 100%;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.finput:focus {
  border-color: rgba(37,99,235,0.5);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.finput::placeholder { color: var(--t3); }
body.light .finput { background: var(--nl); border-color: var(--nb); }
.finput.field-valid { border-color: rgba(0,200,150,0.5); box-shadow: 0 0 0 3px rgba(0,200,150,0.1); }

/* ---------- SCROLL REVEAL ---------- */
.rv  { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv-l{ opacity: 0; transform: translateX(-24px);transition: opacity 0.7s ease, transform 0.7s ease; }
.rv-r{ opacity: 0; transform: translateX(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv-s{ opacity: 0; transform: scale(0.94);      transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.vis, .rv-l.vis, .rv-r.vis, .rv-s.vis { opacity: 1; transform: none; }

/* Stagger delays */
.d1  { transition-delay: 0.05s; }
.d2  { transition-delay: 0.12s; }
.d3  { transition-delay: 0.19s; }
.d4  { transition-delay: 0.26s; }
.d5  { transition-delay: 0.33s; }
.d6  { transition-delay: 0.40s; }

/* ---------- HERO (HOME) ---------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0D1A2D;
  background-image:
    linear-gradient(to right,
      rgba(13,26,45,0.80) 0%,
      rgba(13,26,45,0.55) 45%,
      rgba(13,26,45,0.15) 100%),
    url('../hero_sec.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
body.light #hero {
  background-color: #EEF4FF;
  background-image:
    linear-gradient(105deg,
      #EEF4FF 0%,
      rgba(238,244,255,0.96) 25%,
      rgba(238,244,255,0.70) 50%,
      rgba(238,244,255,0.20) 70%,
      transparent 88%),
    url('../hero_sec_light.png');
}

/* kept for any page that still uses a canvas — harmless if absent */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-l);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--t2);
  line-height: 1.7;
  max-width: 560px;
}

/* ---------- STAT COUNTER ---------- */
.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

/* ---------- PORTFOLIO ---------- */
.fil-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  border: 1px solid var(--nb);
  color: var(--t2);
}
.fil-btn.active, .fil-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.portfolio-item { overflow: hidden; border-radius: 20px; }
.portfolio-item img { transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1); }
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-img {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.portfolio-img img {
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.card:hover .portfolio-img img {
  transform: scale(1.06);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,26,45,0.72);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .portfolio-overlay { opacity: 1; }

/* ---------- INDUSTRIES ---------- */
.ind-card {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
}
.ind-card:hover {
  background: rgba(37,99,235,0.08);
  border-color: rgba(37,99,235,0.35);
  transform: translateY(-4px);
}

/* ---------- PRICING ---------- */
.price-card {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.35s, box-shadow 0.35s;
}
.price-card:hover { transform: translateY(-6px); }
.price-feat {
  border: 2px solid rgba(37,99,235,0.5);
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(0,200,150,0.04));
}
.price-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.check { color: var(--green); }

/* ---------- FAQ ---------- */
.faq-q {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid var(--nb);
  transition: color 0.2s;
  user-select: none;
}
.faq-q:hover { color: var(--blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a.open { max-height: 300px; }
.faq-icon {
  transition: transform 0.3s;
  font-size: 20px;
  color: var(--t3);
  flex-shrink: 0;
  line-height: 1;
}
.faq-q.active .faq-icon { transform: rotate(45deg); color: var(--blue); }

/* ---------- TESTIMONIALS ---------- */
.tcard {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}
.tcard:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-4px) rotate(-0.6deg); }
.stars { color: #F59E0B; }

/* ---------- BLOG ---------- */
.bcard {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s;
}
.bcard:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.btag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(37,99,235,0.15);
  color: var(--blue-l);
}

/* ---------- CONTACT ---------- */
.wa-btn {
  background: #25D366;
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s;
}
.wa-btn:hover { background: #20BA5A; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.3); }

.map-ph {
  background: var(--nm);
  border: 1px solid var(--nb);
  border-radius: 16px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--nm);
  border-top: 1px solid var(--nb);
}
.foot-link {
  font-size: 14px;
  color: var(--t2);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  padding: 4px 0;
}
.foot-link:hover { color: var(--blue); }

.social-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--nl);
  border: 1px solid var(--nb);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s;
  color: var(--t2);
}
.social-btn:hover { border-color: rgba(37,99,235,0.5); color: var(--t1); }

/* ---------- FLOAT ANIMATIONS ---------- */
@keyframes flt  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes flt2 { 0%,100%{transform:translateY(-6px) rotate(45deg)} 50%{transform:translateY(6px) rotate(45deg)} }
.flt  { animation: flt  6s ease-in-out infinite; }
.flt2 { animation: flt  8s ease-in-out infinite 1s; }
.flt3 { animation: flt2 7s ease-in-out infinite 0.5s; }

/* ---------- CONNECTOR (animated pipeline / process line) ----------
   `.connector-group` wraps a `.connector-track` (the line/dot strip)
   plus the node row below it. It sits ABOVE the nodes — never covered
   by anything, so it stays visible at every breakpoint. The path draws
   itself in once the group scrolls into view (`.drawn` class added by
   JS), then a glowing dot loops along it, pulsing each node in sync. */
.connector-track {
  position: relative;
  height: 20px;
  margin-bottom: 36px;
}
.connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.connector-path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.65,0,0.35,1);
}
.connector-group.drawn .connector-path { stroke-dashoffset: 0; }

.connector-node {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--nl);
  border: 2px solid var(--nb);
  transform: translate(-50%, -50%);
  z-index: 1;
}
.connector-dot {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px 4px rgba(0,200,150,0.6);
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: connDotTravel 6s linear infinite;
  animation-play-state: paused;
  z-index: 2;
}
.connector-group.drawn .connector-dot { animation-play-state: running; }

@keyframes connDotTravel {
  0%   { left: 0%;  opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Node reaction — icon-box pulses the instant the dot reaches it (per-node animation-delay set inline) */
.connector-reactive {
  animation: connNodePulse 6s linear infinite;
  animation-play-state: paused;
}
.connector-group.drawn .connector-reactive { animation-play-state: running; }
@keyframes connNodePulse {
  0%   { transform: scale(1.14); box-shadow: 0 0 22px 6px rgba(0,200,150,0.45); }
  10%  { transform: scale(1); box-shadow: none; }
  100% { transform: scale(1); box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .connector-path { transition: none; stroke-dashoffset: 0; }
  .connector-dot { display: none; }
  .connector-reactive { animation: none; }
}

/* ---------- ZIGZAG CONNECTOR (process section) ----------
   JS-computed path through the actual center of each mockup card, so it
   traces the real zigzag instead of a fixed straight line. Sits ABOVE the
   cards (z-index) with a semi-transparent stroke so it's never fully
   hidden, even where its path briefly clips a card edge. */
@keyframes spin { to { transform: rotate(360deg); } }

.zigzag-track { position: relative; }
.zigzag-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.zigzag-path {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  opacity: 0.65;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.65,0,0.35,1);
}
.zigzag-track.drawn .zigzag-path { stroke-dashoffset: 0; }

.zigzag-dot {
  position: absolute;
  top: 0; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px 4px rgba(0,200,150,0.6);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* Text + mockup content both sit ABOVE the connector, so the line/dot
   thread behind the screens (and behind the copy) rather than drawing
   on top of them. */
.zigzag-track > .grid { position: relative; z-index: 2; }
.zigzag-mockup { position: relative; background: var(--nm); }

.zigzag-mockup.zigzag-pulse {
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 3px rgba(0,200,150,0.5), 0 0 30px 6px rgba(0,200,150,0.35);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .zigzag-path { transition: none; stroke-dashoffset: 0; }
  .zigzag-dot { display: none; }
}

/* ---------- PROCESS STEP NUM ---------- */
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(37,99,235,0.25), rgba(0,200,150,0.25));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- SVG SPRITE ICONS ---------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- PROCESS CONNECTOR ----------
   A self-contained strip that sits ABOVE the step cards — never covered by
   anything, so it stays visible at every breakpoint (mobile/tablet/desktop
   all use this exact same markup/CSS, no JS geometry needed). */
.process-track {
  position: relative;
  height: 14px;
  margin-bottom: 32px;
}
.process-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, #2563EB 0, #2563EB 6px, transparent 6px, transparent 14px);
  opacity: 0.35;
}
.process-node {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--nb);
  border: 2px solid var(--nm);
  transform: translate(-50%, -50%);
}
.process-dot {
  position: absolute;
  top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px 2px rgba(0,200,150,0.55);
  transform: translate(-50%, -50%);
  animation: processTravel 4.4s ease-in-out infinite;
}
@keyframes processTravel {
  0%   { left: 16.6%; opacity: 0; }
  6%   { opacity: 1; }
  20%  { left: 16.6%; }
  45%  { left: 50%; }
  55%  { left: 50%; }
  80%  { left: 83.3%; }
  94%  { opacity: 1; }
  100% { left: 83.3%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .process-dot { animation: none; left: 50%; opacity: 1; }
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 768px) {
  h1 { font-size: 2.6rem; }
  .sec-h { font-size: 1.9rem; }
  .price-card { padding: 28px; }
  .price-num { font-size: 2.8rem; }

  /* Tighten the generous desktop section padding used almost everywhere */
  section { padding-top: 64px !important; padding-bottom: 64px !important; }
  .page-hero { padding-top: 120px !important; padding-bottom: 56px !important; }

  /* Hero: shorter section. The laptop graphic shows at a controlled,
     moderate size (not blown up via cover, not invisible via contain +
     heavy overlay) — fixed background-size in px keeps it legible without
     swallowing the text. */
  #hero {
    min-height: auto;
    padding: 100px 0 0;
    background-size: 150% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-image:
      linear-gradient(180deg,
        rgba(13,26,45,0.94) 0%,
        rgba(13,26,45,0.8) 40%,
        rgba(13,26,45,0.55) 65%,
        rgba(13,26,45,0.7) 100%),
      url('../hero_sec.png');
  }
  body.light #hero {
    background-image:
      linear-gradient(180deg,
        rgba(238,244,255,0.96) 0%,
        rgba(238,244,255,0.85) 40%,
        rgba(238,244,255,0.6) 65%,
        rgba(238,244,255,0.75) 100%),
      url('../hero_sec_light.png');
  }
  #hero-canvas { z-index: 0; }
  .hero-content { z-index: 2; padding-top: 28px !important; padding-bottom: 32px !important; }
  #hero .mt-12 { margin-top: 20px; }
  #hero .mt-10 { margin-top: 20px; }
  #hero .mt-6  { margin-top: 16px; }
}
