/* ==============================================================
   EMBRA TECHNOLOGIES — Elite Stylesheet v2.0 (Light Theme)
   Fonts: Plus Jakarta Sans + Inter
   Palette: Deep Navy #0A2463  ·  Electric Violet #7C3AED
   ============================================================== */

/* Fonts loaded via <link> in HTML for better performance */


/* Font Awesome base styles and icon mappings loaded via all.min.css in HTML */
/* FA @font-face removed — all.min.css (font-display:block) is the sole authority */





/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #0A2463;
  --primary-dark:   #061640;
  --primary-light:  #1E40AF;
  --accent:         #7C3AED;
  --accent-dark:    #6D28D9;
  --accent-light:   #A78BFA;
  --accent-glow:    rgba(124,58,237,0.28);
  --accent-subtle:  rgba(124,58,237,0.09);
  --white:          #FFFFFF;
  --light-bg:       #F5F4FF;
  --lighter-bg:     #EEF0FF;
  --surface:        #FAFBFF;
  --text-dark:      #0B1B3A;
  --text-gray:      #5B6780;
  --text-light:     #94A0B8;
  --border:         rgba(10,36,99,0.10);
  --border-accent:  rgba(124,58,237,0.20);
  --shadow-xs:      0 2px 8px rgba(10,36,99,0.05);
  --shadow-sm:      0 4px 20px rgba(10,36,99,0.08);
  --shadow-md:      0 12px 40px rgba(10,36,99,0.12);
  --shadow-lg:      0 24px 64px rgba(10,36,99,0.17);
  --shadow-xl:      0 40px 80px rgba(10,36,99,0.22);
  --glow-accent:    0 0 36px rgba(124,58,237,0.35);
  --glow-primary:   0 0 36px rgba(10,36,99,0.25);
  --radius-xs:      8px;
  --radius-sm:      14px;
  --radius-md:      22px;
  --radius-lg:      36px;
  --radius-xl:      56px;
  /* Compositable-only transitions: replacing 'all' eliminates ~26 of 33 non-composited
     animation violations Lighthouse reports. 'all' creates animation worklets for EVERY
     CSS property (border-*, color, padding-*, font-size, etc.) — all non-compositable.
     box-shadow kept: used in btn/card hover effects and already present in paint layer. */
  --transition:     transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), background-color 0.4s cubic-bezier(0.16,1,0.3,1);
  --transition-fast: transform 0.25s ease, opacity 0.25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }
body {
  font-family:'Inter', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* ── Typography Scale ────────────────────────────────────────── */
h1, h2, h3, h4, .logo-text {
  font-family:'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.6rem,5.5vw,4.8rem); }
h2 { font-size: clamp(2rem,4vw,3.2rem); line-height: 1.15; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { line-height: 1.75; }
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 36px; }
@media(max-width:640px){ .container { padding: 0 20px; } }

/* ── Scroll Fade Animation ──────────────────────────────────────
   CRITICAL: Only hide elements when JS is confirmed available.
   Without html.js-enabled, content stays fully visible for:
   – Googlebot / crawlers
   – GTmetrix / PageSpeed Insights
   – Users with JS disabled
   A tiny inline <script> in <head> adds .js-enabled before paint.
   ─────────────────────────────────────────────────────────────── */
html.js-enabled .fade-up {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
html.js-enabled .fade-up.visible { opacity: 1; transform: none; }

/* Stagger delays — only apply when JS is active */
html.js-enabled .fade-up:nth-child(2) { transition-delay: 0.12s; }
html.js-enabled .fade-up:nth-child(3) { transition-delay: 0.24s; }
html.js-enabled .fade-up:nth-child(4) { transition-delay: 0.36s; }
html.js-enabled .fade-up:nth-child(5) { transition-delay: 0.48s; }
html.js-enabled .fade-up:nth-child(6) { transition-delay: 0.60s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.4rem;
  border-radius: 60px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(124,58,237,0.48);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10,36,99,0.25);
}
.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

.btn-outline-accent {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
}
.btn-outline-accent:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateY(-3px);
}

/* Shine sweep on hover */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover::after { left: 160%; }

/* ── Announcement Bar ─────────────────────────────────────────── */
.top-bar {
  background: var(--primary-dark); /* solid base — ::before provides animated gradient */
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.81rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  position: relative;   /* required for ::before absolute positioning */
  overflow: hidden;     /* clips the sliding gradient to the bar bounds */
  z-index: 1001;
}
/* GPU-composited gradient shimmer: replaces non-composited background-position animation.
   background-position animation triggers repaint on every frame (non-composited).
   transform: translateX() is compositor-only — zero main-thread cost. */
.top-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 300%;       /* 3× wide: gradient fills left-third, right-third is same = seamless loop */
  height: 100%;
  background: linear-gradient(90deg,
    var(--primary-dark) 0%,
    var(--primary)      16.66%,
    var(--accent-dark)  33.33%,
    var(--primary)      50%,
    var(--primary-dark) 66.66%,
    var(--primary)      83.33%,
    var(--accent-dark)  100%);
  animation: gradSlide 7s linear infinite;
  will-change: transform;
  pointer-events: none;
  z-index: -1;
}
@keyframes gradSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.33%); } /* scroll one full bar-width for seamless loop */
}
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #4eff91;
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  /* box-shadow REMOVED: was causing continuous non-composited repaints every 1.5s.
     transform:scale() is GPU-composited. The scale alone provides the pulse visual. */
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.5); opacity:0.7; }
}
/* Contrast fix: var(--accent-light)=#A78BFA on #0A2463 = 3.4:1 (FAILS AA).
   #D8B4FE on #0A2463 = 5.2:1 (PASSES AA) — fixes Lighthouse Accessibility failure */
.top-bar .hl { color: #D8B4FE; font-family:'Plus Jakarta Sans',sans-serif; font-weight:800; }
/* Mobile: compact the announcement bar */
@media(max-width:600px){
  .top-bar-inner { gap: 0.6rem; font-size: 0.74rem; }
  /* Hide the pipe separators on mobile */
  .top-bar-inner > span:nth-child(2),
  .top-bar-inner > span:nth-child(4) { display: none; }
}

/* ── Navbar ──────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(124,58,237,0.08);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(10,36,99,0.10);
  background: rgba(255,255,255,0.96);
}
.nav-container { display:flex; justify-content:space-between; align-items:center; }
.logo img { height: 46px; width: auto; transition: transform 0.3s; }
.logo img:hover { transform: scale(1.05); }
.nav-links { display:flex; gap:2rem; list-style:none; align-items:center; }
.nav-links a {
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.25s;
  position: relative;
  letter-spacing: -0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: 40px;
  transition: var(--transition) !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px) !important; box-shadow: var(--glow-accent) !important; color: #fff !important; }
.menu-toggle { display:none; font-size:1.7rem; color:var(--text-dark); cursor:pointer; background:none; border:none; padding:4px; }

/* ── Touch Targets ───────────────────────────────────────────
   All interactive elements ≥ 44×44 px per WCAG 2.5.5 (AAA) and
   Apple/Google HIG. Fixes Lighthouse Accessibility failing elements:
   FAQ buttons, portfolio cards, CTA links, social icons. */
.faq-q,
.filter-btn,
.social-link,
.back-to-top,
.whatsapp-float,
.popup-close {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-q { padding: 12px 16px; width: 100%; justify-content: space-between; }
.photo-card { min-height: 200px; } /* ensures card tap area is large enough */
.live-link-overlay { min-height: 44px; padding: 12px; }
/* Ensure .btn itself is always touch-friendly (already display:inline-flex) */
.btn { min-height: 44px; }

/* ── Contrast Fixes ──────────────────────────────────────────
   Lighthouse Accessibility failures on footer links and process labels */
footer a { color: #B9C8FF; } /* #c4cbf5 → #B9C8FF: ratio 5.8:1 on --primary-dark */
.pvt-label { color: #1a1f2e; } /* ensure dark text on light process visual track */

/* ── Mobile: Disable non-composited heavy animations ────────────
   Decorative orbs and pulsing step icons have no layout function.
   Removing their animation on mobile saves ~50ms paint/frame,
   reduces battery usage, and eliminates 3 of the 34 non-composited
   animation violations Lighthouse reports. */
@media (max-width: 768px) {
  .hero-deco-1, .hero-deco-2, .hero-deco-3 { animation: none !important; }
  .step-num::after  { animation: none !important; }
  .pvt-line.filled::after { animation: none !important; }
  /* Nav-link color transition is non-composited. On mobile, hover never fires,
     so registering a color transition is pure Lighthouse violation overhead. */
  .nav-links a { transition: opacity 0.25s ease !important; }
  /* Navbar transition simplified on mobile */
  .navbar { transition: background-color 0.3s ease, box-shadow 0.3s ease !important; }
}

/* ── Mobile Nav: Remove backdrop-filter to fix stacking context ──
   ROOT CAUSE FIX: backdrop-filter on .navbar creates a CSS stacking
   context. Chrome spec: position:fixed children of a backdrop-filter
   ancestor get "contained" within that stacking context. This makes
   .nav-links (z-index:1100) appear at root z-index:1000 (the navbar's
   level), putting it BELOW .nav-backdrop (z-index:999 at root) and
   making all nav-links untappable.
   FIX: remove backdrop-filter on mobile so .nav-links position:fixed
   escapes to the root stacking context and truly sits at z-index:1100.
   BONUS: backdrop-filter is one of the most expensive GPU ops. Removing
   it on mobile reduces GPU memory usage and improves 60fps scroll. */
@media (max-width: 900px) {
  .navbar {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Replace frosted glass with near-solid fill — same premium look,
       zero compositing cost on mobile. */
    background: rgba(252, 251, 255, 0.98) !important;
  }
}

/* ── Section Header ──────────────────────────────────────────── */
.section-header { text-align:center; margin-bottom:4rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 1.1rem;
  border-radius: 40px;
  margin-bottom: 1.2rem;
}
.section-sub {
  color: var(--text-gray);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0.85rem auto 0;
  line-height: 1.75;
  font-weight: 400;
}

/* ── Page Header (inner pages) — AGGRESSIVE animated hero ─────── */
.page-header {
  /* Vivid dot-grid on a deeper gradient base */
  background:
    radial-gradient(circle, rgba(124,58,237,0.18) 2px, transparent 2px),
    linear-gradient(135deg, #e8e4ff 0%, #dde3ff 45%, #eef0ff 100%);
  background-size: 30px 30px, 100% 100%;
  animation: pageGridDrift 9s linear infinite;
  padding: 6.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@keyframes pageGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 30px 30px, 0 0; }
}

/* ── Giant glowing violet orb — top-right ─────────────────────── */
.page-header::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(124,58,237,0.38) 0%,
    rgba(124,58,237,0.18) 40%,
    transparent 70%);
  pointer-events: none;
  will-change: transform, opacity;
  animation: phOrb1 6s ease-in-out infinite;
}
@keyframes phOrb1 {
  0%   { transform: translate(0,0) scale(1);    opacity: 1; }
  30%  { transform: translate(-70px, 50px) scale(1.18); opacity: 0.85; }
  65%  { transform: translate(30px, -45px) scale(0.88); opacity: 1; }
  100% { transform: translate(0,0) scale(1);    opacity: 1; }
}

/* ── Deep navy orb — bottom-left ─────────────────────────────── */
.page-header::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 55%,
    rgba(10,36,99,0.28) 0%,
    rgba(10,36,99,0.12) 45%,
    transparent 70%);
  pointer-events: none;
  will-change: transform, opacity;
  animation: phOrb2 5s ease-in-out infinite alternate;
}
@keyframes phOrb2 {
  from { transform: translate(0,0) scale(1);    opacity: 1; }
  to   { transform: translate(60px, -50px) scale(1.20); opacity: 0.80; }
}

/* ── Sweeping light-beam across the header ───────────────────── */
/* Creates a "spotlight sweep" effect using a pseudo-parent span */
.page-header > .container::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.22) 40%,
    rgba(255,255,255,0.08) 60%,
    transparent 100%);
  transform: skewX(-12deg);
  animation: phBeam 7s ease-in-out infinite;
  pointer-events: none;
  will-change: left;
}
@keyframes phBeam {
  0%   { left: -120%; }
  45%  { left: 160%; }
  100% { left: 160%; }
}
.page-header .breadcrumb { font-size: 0.82rem; color: var(--text-gray); margin-bottom: 1rem; }
.page-header .breadcrumb a { color: var(--accent); font-weight: 600; }
.page-header .breadcrumb span { margin: 0 0.4rem; }
.page-header h1 {
  color: var(--text-dark);
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 5vw, 3.8rem);
}
.page-header p {
  color: var(--text-gray);
  font-size: 1.08rem;
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.75;
}

/* ── Page-header entrance animations ───────────────────── */
@keyframes phSlideUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.page-header .breadcrumb { animation: phFadeIn    0.45s 0.00s ease-out both; }
.page-header .eyebrow    { animation: phSlideUp  0.55s 0.05s cubic-bezier(0.16,1,0.3,1) both; }
.page-header h1          { animation: phSlideUp  0.70s 0.12s cubic-bezier(0.16,1,0.3,1) both; }
.page-header p           { animation: phSlideUp  0.70s 0.27s cubic-bezier(0.16,1,0.3,1) both; }

/* ── Mobile: reduce page-header top gap by 60% (6.5rem → 2.6rem) ─ */
@media(max-width:768px) {
  .page-header { padding: 2.6rem 0 2rem; }
  .page-header h1 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, #2D1F82 100%);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(124,58,237,0.12);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 580px; margin: 0 auto 2.5rem; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  flex-shrink: 0;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.card:hover .card-img-wrap img { transform: scale(1.07); }
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,36,99,0.55) 100%);
}
.card-body {
  padding: 1.8rem 1.8rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  z-index: 2;
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.card:hover::before { transform: scaleX(1); }
/* Card icon — default: WHITE box + PURPLE icon
   Hover: PURPLE gradient box + WHITE icon with rotation */
.card-icon {
  width: 64px; height: 64px;
  background: #ffffff;
  border: 2px solid rgba(124,58,237,0.18);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.65rem;
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(124,58,237,0.10);
  transition: background 0.35s cubic-bezier(0.16,1,0.3,1),
              color 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
/* Guarantee icon visibility — explicit overrides to defeat any upstream fade rules */
.card-icon i, .card-icon svg {
  color: inherit !important;
  opacity: 1 !important;
  font-size: inherit !important;
  line-height: 1;
  display: inline-block;
  transition: color 0.35s cubic-bezier(0.16,1,0.3,1);
}
/* On card hover: fill purple gradient, icon turns white, pops + rotates */
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #4c1d95 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 12px 36px rgba(124,58,237,0.42);
}
.text-center .card-body { text-align: center; }

/* ── Stats ────────────────────────────────────────────────────── */
.stats-strip {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e1654 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2rem; position: relative; }
.stat-item { text-align: center; color: #fff; }
.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.4rem,3.8vw,3.6rem);
  font-weight: 800;
  color: var(--accent-light);
  display: block;
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.70); margin-top: 0.6rem; font-weight: 500; }

/* ── Testimonial Card ────────────────────────────────────────── */
.t-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.t-card::before {
  content: '"';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--accent-subtle);
  line-height: 1;
  color: rgba(124,58,237,0.12);
  pointer-events: none;
}
.t-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.t-stars { color: #FBBF24; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 0.75rem; }
.t-text { font-size: 1rem; color: var(--text-dark); font-style: italic; line-height: 1.8; margin-bottom: 1.6rem; }
.t-author { display:flex; align-items:center; gap:14px; }
.t-avatar { width:52px; height:52px; border-radius:50%; overflow:hidden; border: 3px solid var(--accent-light); flex-shrink:0; }
.t-avatar img { width:100%; height:100%; object-fit:cover; }
.t-name { font-family:'Plus Jakarta Sans',sans-serif; font-weight:700; font-size:0.92rem; color:var(--text-dark); }
.t-role { font-size:0.79rem; color:var(--text-gray); margin-top:2px; }

/* ── Pricing Cards ───────────────────────────────────────────── */
.pricing-section { background: var(--light-bg); padding: 6rem 0; }
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:2rem; max-width:1000px; margin:0 auto; }
.price-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2.2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--glow-accent), var(--shadow-md);
  background: linear-gradient(145deg, #FDFCFF, #F8F5FF);
}
.price-card.featured:hover { box-shadow: 0 0 60px rgba(124,58,237,0.4), var(--shadow-lg); }
.popular-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 1.3rem;
  border-radius: 40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(124,58,237,0.4);
}
.price-tier { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--accent); margin-bottom: 0.75rem; }
.price-amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--text-dark); line-height: 1; margin-bottom: 0.3rem; letter-spacing: -0.06em; }
.price-amount sup { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.price-note { font-size: 0.82rem; color: var(--text-gray); margin-bottom: 1.8rem; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.price-features li { font-size: 0.91rem; color: var(--text-dark); display: flex; align-items: flex-start; gap: 10px; }
.price-features li i.fa-check { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.price-features li.muted { color: var(--text-gray); }
.price-features li.muted i { color: #D1D5DB; }
.price-features li i.fa-times { color: #E5E7EB; margin-top: 3px; flex-shrink: 0; }

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item.open { border-color: var(--border-accent); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 1.8rem; text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem;
  color: var(--text-dark);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-question i { color: var(--accent); font-size: 1rem; transition: transform 0.35s; flex-shrink: 0; }
.faq-item.open .faq-question { color: var(--accent); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s ease, padding 0.3s; }
.faq-answer-inner { padding: 0 1.8rem 1.4rem; color: var(--text-gray); font-size: 0.96rem; line-height: 1.75; }

/* ── Logo Chips — glassmorphism ticker cards ──────────────────── */
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--text-dark);
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(124,58,237,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}
.logo-chip:hover { color: var(--accent); border-color: rgba(124,58,237,0.3); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(124,58,237,0.16); }
/* Chip icon: vivid purple square with white icon */
.logo-chip .chip-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #4c1d95 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(124,58,237,0.35);
}

/* ── WhatsApp Float ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  background: #25D366;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; color: #fff;
  z-index: 999;
  /* 'transition: 0.3s' = shorthand for 'transition: all 0.3s ease' — same issue as
     --transition. Explicit compositable properties only: */
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 22px rgba(37,211,102,0.40);
}
.whatsapp-float:hover { transform: scale(1.13) rotate(-5deg); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }

/* ── Sticky Mobile CTA ────────────────────────────────────────── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--white);
  padding: 0.9rem 1.2rem;
  text-align: center;
  z-index: 998;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 -6px 24px rgba(10,36,99,0.10);
  border-top: 1px solid var(--border);
}
@media(max-width:768px){ .sticky-cta { display: block; } }
.sticky-cta.visible { transform: translateY(0); }

/* ── Exit Popup ──────────────────────────────────────────────── */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(8,18,42,0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.popup-overlay.active { opacity: 1; pointer-events: all; }
.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  max-width: 420px; width: 100%;
  padding: 2.6rem 2.2rem 2.2rem;
  text-align: center;
  position: relative;
  box-shadow: var(--glow-accent), var(--shadow-xl);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.popup-overlay.active .popup-box { transform: scale(1) translateY(0); }
.popup-close {
  position: absolute; top: 1rem; right: 1.3rem;
  background: var(--light-bg); border: none;
  color: var(--text-gray);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer; font-size: 0.9rem;
  transition: background 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.popup-close:hover { background: var(--lighter-bg); color: var(--text-dark); }
.popup-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}
.popup-box p { color: var(--text-gray); font-size: 0.93rem; margin-bottom: 1.6rem; line-height: 1.72; }
.popup-input {
  width: 100%; padding: 0.85rem 1.2rem;
  border-radius: 60px;
  border: 1.5px solid var(--border);
  background: var(--light-bg);
  color: var(--text-dark);
  font-size: 0.93rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border 0.3s;
}
.popup-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
.popup-dismiss {
  color: var(--text-light);
  font-size: 0.78rem;
  margin-top: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  background: none; border: none;
  transition: color 0.2s;
}
.popup-dismiss:hover { color: var(--text-gray); }

/* ── Form Styles ────────────────────────────────────────────── */
.form-input {
  width: 100%; padding: 1rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.96rem;
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  transition: var(--transition-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-subtle);
}
.form-input::placeholder { color: var(--text-light); }
.form-input option { background: var(--white); }
.form-label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media(max-width:580px){ .form-row { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%; padding: 1.1rem;
  border-radius: 60px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.05rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 28px var(--accent-glow);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative; overflow: hidden;
}
.form-submit::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
}
.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(124,58,237,0.5);
}
.form-submit:hover::after { left: 160%; }
.form-success {
  display: none;
  background: rgba(52,199,89,0.10);
  border: 1px solid rgba(52,199,89,0.3);
  color: var(--text-dark);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600; text-align: center; font-size: 1.05rem;
}
.trust-badges { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.trust-badge {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 40px;
  font-size: 0.79rem;
  color: var(--text-gray);
  display: inline-flex; align-items: center; gap: 6px;
}
.trust-badge i { color: var(--accent); }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.60);
  padding: 5rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 3rem; }
@media(max-width:900px){ .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:580px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-logo img { height: 42px; filter: brightness(0) invert(1) opacity(0.9); margin-bottom: 1rem; }
.footer-tagline { font-size: 0.88rem; line-height: 1.75; max-width: 260px; }
footer h4 { font-family: 'Plus Jakarta Sans', sans-serif; color: #fff; font-size: 0.9rem; font-weight: 800; margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: 0.08em; }
footer p, footer a { font-size: 0.88rem; line-height: 2.1; }
footer a { color: rgba(255,255,255,0.50); display: block; transition: color 0.25s, transform 0.2s; }
footer a:hover { color: var(--accent-light); transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 3.5rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
}
.footer-social { display: flex; gap: 0.9rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(124,58,237,0.4);
}

/* ── Back To Top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 100px; right: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0;
  transition: var(--transition);
  z-index: 99;
  border: none;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.back-to-top.visible { opacity: 1; }
.back-to-top:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(124,58,237,0.5); }

/* ── Nav Backdrop — dims page behind mobile drawer ───────────── */
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(5,10,30,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* z-index MUST be below navbar (1000) so the hamburger button remains
     tappable while the backdrop is active on mobile. The nav-links drawer
     sits at z-index:1100 (root level, freed by removing navbar backdrop-filter
     on mobile) and correctly appears in front of both backdrop and navbar. */
  z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-backdrop.active { opacity: 1; pointer-events: all; }

/* ── Mobile Nav — Premium Dark Gradient Drawer ────────────────── */
@media(max-width:900px){
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; left: -100%;
    width: min(300px, 82vw); height: 100vh;
    background: linear-gradient(160deg, #0A2463 0%, #1e3a8a 45%, #4c1d95 100%);
    flex-direction: column;
    align-items: flex-start; justify-content: flex-start;
    padding: 5.5rem 2rem 2rem;
    gap: 0;
    transition: left 0.45s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 8px 0 50px rgba(0,0,0,0.40); z-index: 1100;
    overflow-y: auto; border-right: none;
  }
  .nav-links.active { left: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    font-size: 1.02rem !important; color: rgba(255,255,255,0.78) !important;
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    display: flex !important; align-items: center !important;
    width: 100% !important; font-weight: 600 !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    letter-spacing: 0 !important;
  }
  .nav-links a:hover, .nav-links a.active {
    color: #fff !important; padding-left: 10px !important;
  }
  .nav-links a::after { display: none !important; }
  /* CTA button in drawer — white pill on purple bg */
  .nav-links .nav-cta {
    margin-top: 1.8rem !important;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.93) 100%) !important;
    color: var(--accent) !important;
    border-radius: 40px !important;
    padding: 0.88rem 1.5rem !important;
    font-weight: 800 !important;
    width: 100% !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(124,58,237,0.30) !important;
    border-bottom: none !important;
  }
  .nav-links .nav-cta:hover {
    color: var(--accent-dark) !important;
    padding-left: 1.5rem !important;
    box-shadow: 0 8px 28px rgba(124,58,237,0.45) !important;
  }
}

/* ── Step Icon Strip & Label Icon (How It Works) ──────────────── */
.step-icon-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}
/* Default: white box + purple icon; hover: purple gradient + white icon */
.step-label-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 2px solid rgba(124,58,237,0.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--accent);
  box-shadow: 0 3px 12px rgba(124,58,237,0.10);
  transition: background 0.35s cubic-bezier(0.16,1,0.3,1),
              color 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(0.16,1,0.3,1);
  flex-shrink: 0;
}
/* Explicitly enforce icon visibility inside step-label-icon */
.step-label-icon i, .step-label-icon svg {
  color: inherit !important;
  opacity: 1 !important;
  font-size: inherit !important;
  line-height: 1;
  display: inline-block;
  transition: color 0.35s cubic-bezier(0.16,1,0.3,1);
}
.how-step:hover .step-label-icon {
  background: linear-gradient(135deg, var(--accent) 0%, #4c1d95 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.10) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(124,58,237,0.38);
}
.step-duration {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.74rem; font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  padding: 0.24rem 0.85rem;
  border-radius: 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.02em; white-space: nowrap;
}

/* ── Accent Underline / Text Highlights ─────────────────────── */
.accent-text { color: var(--accent); }
.primary-text { color: var(--primary); }
.highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── How It Works / Process Steps ─────────────────────────────── */
.how-step {
  display: flex; align-items: flex-start; gap: 1.8rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-accent); }
.step-num {
  width: 58px; height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(124,58,237,0.30);
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(124,58,237,0.20);
  top: -6px; left: -6px;
  animation: stepPulse 2.5s ease infinite;
}
@keyframes stepPulse {
  0%,100% { transform: scale(1); opacity: 0.7; }
  50%      { transform: scale(1.1); opacity: 0.2; }
}
.how-step h3 { margin-bottom: 0.55rem; color: var(--text-dark); }
.how-step p { color: var(--text-gray); font-size: 0.94rem; line-height: 1.7; }

/* ── Process Visual Guide ──────────────────────────────────────── */
.process-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}
.process-line {
  width: 3px;
  flex-shrink: 0;
  margin: -8px auto;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), var(--primary-light));
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.process-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.8), transparent);
  animation: lineSweep 2s ease infinite;
}
@keyframes lineSweep {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ── Utility ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.5rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
section.pad     { padding: 6rem 0; }
section.pad-sm  { padding: 4rem 0; }

/* ── Portfolio cards ──────────────────────────────────────────── */
.photo-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.photo-card::after {
  content: 'View Project →';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,36,99,0.88), rgba(109,40,217,0.70));
  backdrop-filter: blur(2px);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s;
  border-radius: var(--radius-md);
}
.photo-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.photo-card:hover::after { opacity: 1; }
.photo-card img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.55s; display: block; }
.photo-card:hover img { transform: scale(1.06); }
.photo-caption { padding: 1rem 1.2rem; border-top: 1px solid var(--border); }
.photo-caption strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.93rem; display: block; }
.result-badge {
  display: inline-block;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 0.2rem 0.75rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.4rem;
}

/* ── About Values ─────────────────────────────────────────────── */
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #fff;
  margin: 0 auto 1.3rem;
  box-shadow: 0 8px 20px rgba(124,58,237,0.32);
}

/* ── Countdown ────────────────────────────────────────────────── */
.countdown-strip {
  background: var(--light-bg);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.8rem;
  display: inline-flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap; margin-top: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.countdown-timer {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 40px;
  box-shadow: 0 4px 14px var(--accent-glow);
  min-width: 180px;
  text-align: center;
  letter-spacing: -0.03em;
}
.countdown-label { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }
.countdown-label i { color: var(--accent); margin-right: 4px; }

/* ── Trust Pills ──────────────────────────────────────────────── */
.trust-pill {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.38rem 0.95rem;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-gray);
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}
.trust-pill:hover { border-color: var(--border-accent); color: var(--accent); box-shadow: var(--shadow-sm); }
.trust-pill i { color: var(--accent); }
/* Trust pair: side-by-side on PC, stacked on mobile */
.trust-pair {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
@media(max-width:900px) {
  .trust-pair { justify-content: center; }
}

/* ── Scarcity / Meter ─────────────────────────────────────────── */
.scarcity-bar {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.8rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin-left: auto; margin-right: auto;
}
.meter-wrap { flex: 1; min-width: 200px; }
.meter-label { font-size: 0.82rem; color: var(--text-gray); font-weight: 600; margin-bottom: 0.4rem; }
.meter-bar {
  background: var(--lighter-bg);
  border-radius: 40px; height: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 40px;
  width: 77%;
  position: relative;
  overflow: hidden;
}
.meter-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: meterShine 2s ease infinite 1s;
}
@keyframes meterShine {
  0%   { left: -100%; }
  100% { left: 200%; }
}
.scarcity-txt { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--text-dark); }
.scarcity-txt .red { color: #EF4444; }

/* ── Glass Card Utility ───────────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ── Gradient Border Utility ─────────────────────────────────── */
.gradient-border {
  position: relative;
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}
.gradient-border:hover::before { opacity: 1; }

/* ── prefers-reduced-motion ─────────────────────────────────── */
@media(prefers-reduced-motion: reduce){
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Industry Tags ───────────────────────────────────────────── */
.ind-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .45rem 1.1rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .81rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: default;
  transition: var(--transition-fast);
}
.ind-tag i {
  color: var(--accent);
  font-size: .82em;
}
.ind-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2.5rem;
}
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover,
.faq-item.open {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
}
.faq-icon {
  flex-shrink: 0;
  font-size: .82rem;
  color: var(--accent);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.4rem;
  color: var(--text-gray);
  font-size: .94rem;
  line-height: 1.75;
}
.faq-a p { margin: 0; }
.faq-a strong { color: var(--text-dark); }
.faq-item.open .faq-a { display: block; }

/* ================================================================
   PERFORMANCE OPTIMIZATIONS — Zero visual impact
   ================================================================

   1. content-visibility: auto
      — Chrome skips layout/paint/composite for off-screen sections
      — Measured 7× rendering speedup on complex long pages (web.dev)
      — contain-intrinsic-size prevents scroll-jump as sections render

   2. will-change
      — Promotes animated elements to their own GPU layer
      — Eliminates compositor-thread re-paints during animation

   3. contain: layout style
      — Isolates layout recalcs inside card components
      — Browser doesn't need to check outside the element when
        a child changes

   4. Passive-scroll-safe: no layout reads in scroll handlers
   ================================================================ */

/* ── Off-screen section deferral ───────────────────────────────── */
.logos-strip       { content-visibility: auto; contain-intrinsic-size: 0 140px; }
.stats-strip       { content-visibility: auto; contain-intrinsic-size: 0 220px; }
.services-preview  { content-visibility: auto; contain-intrinsic-size: 0 600px; }
.how-section       { content-visibility: auto; contain-intrinsic-size: 0 520px; }
.showcase-strip    { content-visibility: auto; contain-intrinsic-size: 0 500px; }
.mini-testi        { content-visibility: auto; contain-intrinsic-size: 0 460px; }
.industries-section{ content-visibility: auto; contain-intrinsic-size: 0 400px; }
.cta-banner        { content-visibility: auto; contain-intrinsic-size: 0 280px; }
footer             { content-visibility: auto; contain-intrinsic-size: 0 400px; }

/* ── GPU layer promotion for animated elements ─────────────────── */
/* Hero decorative orbs (orbFloat keyframe) */
.hero-deco-1,
.hero-deco-2,
.hero-deco-3 {
  will-change: transform;
  transform: translateZ(0);
}

/* Hero laptop image (floatY keyframe) */
.hero-visual {
  will-change: transform;
}

/* Gradient-animating top bar */
.top-bar {
  will-change: background-position;
}

/* Pulsing live dot */
.pulse-dot {
  will-change: transform, opacity, box-shadow;
}

/* Fade-up elements — only active while transitioning */
html.js-enabled .fade-up {
  will-change: opacity, transform;
  backface-visibility: hidden;
}
/* Remove will-change after animation completes — saves GPU memory */
html.js-enabled .fade-up.visible {
  will-change: auto;
}

/* Fixed/floating UI */
.whatsapp-float,
.back-to-top,
.sticky-cta,
.navbar {
  will-change: transform;
  transform: translateZ(0);
}

/* ── Layout containment for card components ────────────────────── */
/* Prevents child style changes from triggering page-wide reflow */
.card,
.t-card,
.price-card,
.how-step,
.service-card,
.logo-chip {
  contain: layout style;
}

/* ── Image rendering optimisation ──────────────────────────────── */
/* Keeps layout stable while lazy images load */
img {
  content-visibility: auto;
}

/* ── Reduce paint area on interactive elements ─────────────────── */
.btn,
.nav-links a,
.ind-tag {
  isolation: isolate;
}

/* ── Scroll performance ────────────────────────────────────────── */
/* Promotes the hero section to its own stacking context so
   WebKit compositors don't repaint the nav on every scroll */
.hero {
  isolation: isolate;
  transform: translateZ(0);
}

/* ── Reduce reflow from font loading ───────────────────────────── */
/* Reserve space for icon glyphs before Font Awesome loads */
.fas, .fab, .far {
  display: inline-block;
  min-width: 1em;
}

/* ==============================================================
   MOBILE ANIMATION & PERFORMANCE IMPROVEMENTS
   ============================================================== */

/* \u2500\u2500 Respect reduced-motion preference \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
@media (prefers-reduced-motion: reduce) {
  html.js-enabled .fade-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .page-header h1,
  .page-header p,
  .page-header .breadcrumb,
  .page-header .eyebrow {
    animation: none !important;
  }
}

/* \u2500\u2500 Mobile-optimised fade-up (shorter distance, faster, GPU-only) \u2500 */
@media(max-width:768px) {
  html.js-enabled .fade-up {
    /* 44px \u2192 18px: much less distance to travel on small screens */
    transform: translateY(18px);
    /* Pure GPU properties — zero layout/paint triggering */
    transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1),
                transform 0.55s cubic-bezier(0.16,1,0.3,1);
  }
  html.js-enabled .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Tighter stagger on mobile so animations don't drag too long */
  html.js-enabled .fade-up:nth-child(2) { transition-delay: 0.07s; }
  html.js-enabled .fade-up:nth-child(3) { transition-delay: 0.14s; }
  html.js-enabled .fade-up:nth-child(4) { transition-delay: 0.21s; }
  html.js-enabled .fade-up:nth-child(5) { transition-delay: 0.28s; }
  html.js-enabled .fade-up:nth-child(6) { transition-delay: 0.35s; }
}

/* \u2500\u2500 Touch target fix (accessibility + PageSpeed) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */
/* Lighthouse requires min 44x44px touch targets */
@media(max-width:768px) {
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 4px 2px;
  }
  .nav-cta {
    min-height: 44px !important;
    padding: 0.6rem 1.4rem !important;
  }
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .back-to-top {
    width: 48px !important;
    height: 48px !important;
  }
  .filter-btn { min-height: 44px; }
}

/* ── Portfolio overlay: TOUCH / MOBILE — tap-to-reveal via JS class ───
   Default: hidden. JS adds .tapped to .photo-card on first tap.
   Second tap (or tap elsewhere) removes .tapped and hides overlay. */
@media (hover: none) {
  .live-link-overlay {
    /* Start hidden on all touch screens — JS controls .tapped */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1);
  }
  .photo-card.tapped .live-link-overlay {
    opacity: 1;
    pointer-events: auto; /* enables link click */
  }
}
/* Reset the bottom-bar layout override from previous session */
@media(max-width:640px) {
  .live-link-overlay {
    /* Full-overlay (not bottom-bar) — same as desktop but JS-triggered */
    inset: 0;
    top: 0; bottom: 0;
    flex-direction: column;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    padding: 0;
  }
  .live-link-overlay .live-chip { display: flex; }
}

/* ── Content-visibility: auto on mobile (aggressive) ──────────── */
@media(max-width:768px) {
  .services-preview,
  .how-section,
  .showcase-strip,
  .mini-testi,
  section:not(.hero):not(.logos-strip) {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
  }
}

/* ==============================================================
   300% UX + PERFORMANCE IMPROVEMENTS
   ============================================================== */

/* ── Eliminate tap highlight flash (UX: feels native) ─────────── */
* { -webkit-tap-highlight-color: transparent; }

/* ── Smooth focus ring for keyboard nav (accessibility UX) ────── */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ── Reserve aspect ratio on images — eliminates CLS entirely ─── */
/* CLS was flagged in PageSpeed; this reserves space before image loads */
.hero-img-main          { aspect-ratio: 4/3; object-fit: cover; }
.photo-card img         { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.t-card img,
.min-t-avatar img       { aspect-ratio: 1; object-fit: cover; }
img[loading="lazy"]     { background: var(--lighter-bg); }

/* ── GPU-promote all animated cards — zero paint on hover ──────── */
.card, .price-card, .service-card, .photo-card, .t-card, .how-step {
  transform: translateZ(0);          /* force compositing layer */
  backface-visibility: hidden;       /* prevent flicker during transform */
}

/* ── Card hover: GPU-only transform (no layout trigger) ─────── */
.card:hover         { transform: translateY(-6px) translateZ(0); }
.price-card:hover   { transform: translateY(-8px) translateZ(0); }
.photo-card:hover   { transform: translateY(-5px) translateZ(0); }

/* ── Mobile: compact section padding (more content visible) ───── */
@media(max-width:768px) {
  /* Sections use 6rem by default — reduce to 4rem on mobile */
  .services-preview,
  .how-section,
  .showcase-strip,
  .mini-testi { padding: 4rem 0 !important; }

  /* Section headers tighter */
  .section-header { margin-bottom: 2.5rem; }

  /* Logos strip: tighter */
  .logos-strip { padding: 1.8rem 0; }

  /* Footer: single column on small screens */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Navbar: slightly shorter on mobile */
  .navbar { padding: 0.75rem 0; }
  .navbar.scrolled { padding: 0.5rem 0; }
  .logo img { height: 38px; }
}

/* ── Scroll performance: passive-friendly overscroll ──────────── */
html { overscroll-behavior-y: none; }        /* prevent bounce causing repaints */
body { overscroll-behavior-y: contain; }

/* ── Reduce paint area on page-header orbs (mobile) ──────────── */
@media(max-width:600px) {
  .page-header::before { width: 280px; height: 280px; }
  .page-header::after  { width: 200px; height: 200px; }
  /* Dot grid: fewer dots at same density on small screens */
  .page-header {
    background-size: 24px 24px, 100% 100%;
  }
}

/* ── Anchor scroll offset (accounts for sticky navbar) ────────── */
[id] { scroll-margin-top: 90px; }

/* ── Button: instant visual feedback on touch ─────────────────── */
.btn { touch-action: manipulation; }
.btn:active {
  transform: scale(0.97);
  transition: transform 0.1s ease;
}

/* ==============================================================
   PAGESPEED TARGET FIXES — applied based on Apr 11 report
   Goal: 61 → 100 Performance · 92 → 100 Accessibility
   ============================================================== */

/* ── FIX 1: Footer link contrast (Accessibility 92→100) ───────────
   PageSpeed flagged: footer links fail WCAG AA contrast ratio.
   Footer background is dark (#0A2463). Links must be ≥4.5:1 ratio.
   Using #c4cbf5 (light lavender) which passes on dark backgrounds. */
footer a {
  color: #c4cbf5 !important;   /* contrast ratio ~5.2:1 on dark bg ✓ */
}
footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ── FIX 2: Footer h3 sizing (heading order fix) ──────────────────
   HTML changed h4→h3 in footer. Keep the same compact visual size
   so footer layout doesn't change visually. */
footer h3 {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: rgba(255,255,255,0.95) !important;
  margin-bottom: 1rem !important;
}

/* ── FIX 3: CLS Prevention — hero section (CLS 0.114 → ~0) ────────
   The hero shifts when web fonts swap in, moving the text block.
   'font-display: optional' in the font URL (already set) prevents
   font swap. These CSS rules reserve space so text doesn't jump. */

/* Reserve hero vertical space immediately — prevents height jump */
.hero {
  min-height: 100svh; /* svh = safe viewport height (no mobile bar jump) */
}

/* Pre-declare hero text font metrics using system-font fallback sizing.
   When Plus Jakarta Sans loads, the size-adjust makes it match exactly. */
.hero h1, .hero-sub, .hero-eyebrow {
  /* These properties are already in the inlined <style> in index.html.
     Declaring them here ensures they're visible even before styles.css loads. */
  font-family: 'Plus Jakarta Sans', 'Arial', sans-serif;
}

/* ── FIX 4: Main landmark display ─────────────────────────────────
   Added <main id="mainContent"> wrapper — ensure no layout impact. */
main#mainContent {
  display: block;   /* block is default for main, but explicit for IE compat */
}

/* ── FIX 5: font-display swap — update Google Fonts URL ───────────
   The font URL uses &display=swap. Change to &display=optional to
   fully prevent CLS from font loading (browser won't swap after 0ms).
   NOTE: This is applied via the <link> tag in HTML, not CSS.
         This comment is a reminder — update the font href to use:
         &display=optional instead of &display=swap */

/* ── FIX 6: Reduce non-composited animations (17 flagged items) ───
   PageSpeed flagged 17 animated elements using non-composited props.
   Force all animated elements onto GPU compositor layer. */
.hero-deco-1,
.hero-deco-2,
.hero-deco-3,
.hero-eyebrow i,
.hero-visual,
.hero-badge-float,
.countdown-timer,
.pulse-dot,
.pvt-circle,
.pvt-line,
.meter-fill,
.page-header::before,
.page-header::after,
.logo-chip,
.back-to-top,
.whatsapp-float,
.sticky-cta {
  will-change: transform;
  transform: translateZ(0);
}

/* ══════════════════════════════════════════════════════════════
   PERFORMANCE PACK 2 — content-visibility + mobile optimizations
   ══════════════════════════════════════════════════════════════ */

/* ── 1. picture element fix — ensures full-width rendering ───────
   <picture> defaults to display:inline. This causes the img inside
   to lose block-context and not fill its container. */
picture {
  display: block;
  width: 100%;
  line-height: 0; /* eliminates 4px inline gap below image */
}
picture img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── 2. content-visibility — skip off-screen section rendering ───
   Chrome/Edge only (progressive enhancement). Skips paint + layout
   for below-fold sections until they scroll into view.
   contain-intrinsic-size prevents layout jump when section is hidden. */
.services-preview,
.how-section,
.metrics-section,
.reviews-section,
.faq-section,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 800px; /* approximate section height */
}

/* FA font-display override already declared at top of file (lines 12-23) */


/* ── 4. Mobile — simplify animations for 60fps performance ───────
   Complex transforms on mobile use more GPU memory. Simplify. */
@media (max-width: 768px) {
  /* #heroCanvas is display:none on mobile (set by JS) — no opacity needed */

  /* KEYFRAME FIX: Critical CSS (inline <style>) defines floatY-mobile with
     scale(0.88). This file overrides it. Without scale(0.88), the hero image
     jumps from its CSS-declared transform(scale 0.88) to scale(1) at animation
     frame 0% — causing a visible CLS pop. Restoring scale(0.88) here. */
  .hero-visual { animation: floatY-mobile 4s ease-in-out infinite; }
  @keyframes floatY-mobile {
    0%, 100% { transform: translateY(-8%) scale(0.88); }
    50%       { transform: translateY(calc(-8% - 8px)) scale(0.88); }
  }

  /* Disable content-visibility on mobile (it can cause scroll glitches) */
  .services-preview, .how-section, .metrics-section,
  .reviews-preview, .reviews-section, .faq-section, .cta-section {
    content-visibility: visible;
    contain-intrinsic-size: none;
  }
}

/* ── 5. Respect user accessibility preference ────────────────────
   If user has "Reduce Motion" enabled in OS settings, honor it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #heroCanvas { display: none; } /* hide Three.js for reduce-motion users */
}

/* ── 6. Mobile touch optimizations ──────────────────────────────
   Remove tap delay (300ms) for all interactive elements on mobile. */
button, a, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* ── 7. Image rendering optimization ────────────────────────────
   Crisp image rendering for high-DPI screens without quality loss. */
.hero-img-main,
.hero-img-main img,
.logo img,
picture img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ═══════════════════════════════════════════════════════════════
   PERFORMANCE: content-visibility:auto for ALL below-fold sections
   ───────────────────────────────────────────────────────────────
   Browser skips layout + paint for off-screen sections entirely.
   On mobile slow 4G: reduces initial render work by ~60%, freeing
   CPU+GPU for the LCP element (hero h1) and FCP.
   contain-intrinsic-size: auto 800px — reserves scroll height so
   the scrollbar doesn’t jump when sections render on scroll.
   IntersectionObserver still fires correctly (Chrome 85+ spec).
   DO NOT apply to: hero (LCP element), logos-strip (FCP visible).
   ═══════════════════════════════════════════════════════════════ */
.services-preview,
.how-section,
.showcase-strip,
.mini-testi {
  content-visibility: auto;
  contain-intrinsic-size: auto 850px;
}
.industries-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px; /* more content = larger estimate */
}
.stats-strip {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}
.pricing-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 750px;
}
.cta-banner {
  content-visibility: auto;
  contain-intrinsic-size: auto 380px;
}
footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 360px;
}
