/* =====================================================
   GODIGITAL – PREMIUM LANDING PAGE STYLES
   Edit colours, gradients, spacing and motion in :root below.
   ===================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand colours (taken from the GoDigital logo) */
  --gd-electric: #0061ff;
  --gd-royal: #1e5bff;
  --gd-cyan: #00c6ff;
  --gd-ice: #7fd8ff;
  --gd-purple: #7a3cff;

  /* Neutrals */
  --gd-bg: #050b1f;
  --gd-bg-2: #0a1636;
  --gd-text: #e8f0ff;
  --gd-muted: #9fb0d4;
  --gd-line: rgba(127, 216, 255, 0.16);

  /* Gradients */
  --grad-main: linear-gradient(135deg, #0061ff 0%, #00c6ff 100%);
  --grad-deep: linear-gradient(135deg, #0b2cff 0%, #1e5bff 100%);
  --grad-purple: linear-gradient(135deg, #1e5bff 0%, #7a3cff 100%);
  --grad-cyan: linear-gradient(135deg, #00e0ff 0%, #0061ff 100%);
  --grad-whatsapp: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --grad-border: conic-gradient(from var(--angle), transparent 0 55%, #00c6ff, #0061ff, #7a3cff, transparent 90%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-blur: 14px;
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

  /* Spacing and shape */
  --radius-lg: 24px;
  --radius-md: 16px;
  --section-pad: 6.5rem;

  /* Motion (set --motion-speed to 0s to disable motion globally) */
  --motion-speed: 0.6s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* Animated gradient border needs an animatable angle */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- 2. BASE ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(1200px 700px at 85% -10%, #0b2a6b 0%, transparent 60%),
              radial-gradient(900px 600px at -10% 30%, #0a1c4d 0%, transparent 55%),
              var(--gd-bg);
  background-attachment: fixed;
  color: var(--gd-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

a { color: var(--gd-ice); text-decoration: none; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--gd-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.section-pad { padding: var(--section-pad) 0; position: relative; }

/* Scroll-reveal (only hidden when JavaScript is running) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--motion-speed) var(--ease-out), transform var(--motion-speed) var(--ease-out);
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Placeholder style for copy that still needs to be pasted in */
.content-pending {
  color: var(--gd-muted);
  font-style: italic;
  opacity: 0.8;
  border: 1px dashed rgba(127, 216, 255, 0.3);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  display: inline-block;
}
.content-pending.mx-auto { display: block; }

/* ---------- 3. BACKGROUND (orbs + particles) ---------- */
#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  will-change: transform;
}
.orb-1 { width: 420px; height: 420px; background: #0061ff; top: -120px; left: -120px; animation: drift 22s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; background: #00c6ff; top: 35%; right: -140px; opacity: 0.3; animation: drift 26s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 320px; height: 320px; background: #7a3cff; bottom: -100px; left: 30%; opacity: 0.25; animation: drift 30s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.12); }
}

/* ---------- 4. HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 0.6rem 0;
  transition: background var(--motion-speed) var(--ease-out), box-shadow var(--motion-speed) var(--ease-out), padding var(--motion-speed) var(--ease-out);
  background: rgba(5, 11, 31, 0.18);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 11, 31, 0.82);
  border-bottom-color: var(--gd-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0;
}

.brand-logo {
  width: 58px;
  height: auto;
  transition: width var(--motion-speed) var(--ease-out);
  filter: drop-shadow(0 0 14px rgba(0, 198, 255, 0.35));
}
.site-header.scrolled .brand-logo { width: 46px; }

.navbar .nav-link {
  color: #cfdcf7;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem !important;
  position: relative;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
  border-radius: 2px;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible { color: #fff; }
.navbar .nav-link:hover::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; font-size: 0.9rem; padding: 0.6rem 1.1rem; }

/* Animated hamburger (turns into an X when open) */
.nav-hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gd-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none !important;
}
.nav-hamburger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #fff, var(--gd-ice));
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease, top 0.35s var(--ease-out);
}
.nav-hamburger span:nth-child(1) { top: 13px; }
.nav-hamburger span:nth-child(2) { top: 20px; }
.nav-hamburger span:nth-child(3) { top: 27px; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn i { vertical-align: -0.1em; }
.btn:hover { transform: translateY(-2px); }

.btn-gradient {
  background: var(--grad-main);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(0, 114, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gradient:hover,
.btn-gradient:focus-visible {
  background: var(--grad-main);
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(0, 198, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline-gradient {
  background: rgba(0, 97, 255, 0.08);
  color: var(--gd-ice);
  border: 1px solid rgba(0, 198, 255, 0.45);
}
.btn-outline-gradient:hover,
.btn-outline-gradient:focus-visible {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 198, 255, 0.35);
}

.btn-whatsapp {
  background: var(--grad-whatsapp);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.5);
}

.glow-cta { animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 114, 255, 0.35); }
  50%      { box-shadow: 0 10px 44px rgba(0, 198, 255, 0.65), 0 0 0 6px rgba(0, 198, 255, 0.08); }
}

/* ---------- 6. GLASS CARDS + ANIMATED GRADIENT BORDER ---------- */
.glass-card,
.glass-panel {
  position: relative;
  isolation: isolate;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}
.glass-card { padding: 1.75rem; display: flex; flex-direction: column; }
.glass-panel { padding: clamp(1.75rem, 4vw, 3rem); }

/* The animated gradient border */
.glass-card::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--grad-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  z-index: -1;
  animation: spinBorder 7s linear infinite;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0, 97, 255, 0.25);
}
.glass-card:hover::before { opacity: 1; }

@keyframes spinBorder {
  to { --angle: 360deg; }
}

/* Icon badges */
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: #fff;
  background: var(--grad-main);
  box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}
.service-icon-lg { width: 76px; height: 76px; font-size: 2rem; }

/* Service cards */
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--gd-muted); }
.service-card .btn { margin-top: 1.25rem; }

/* ---------- 7. TYPOGRAPHY + SECTION HEADS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gd-ice);
  background: rgba(0, 97, 255, 0.12);
  border: 1px solid rgba(0, 198, 255, 0.3);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.08;
  background: linear-gradient(120deg, #ffffff 0%, #bfeaff 35%, #3d8bff 75%, #00c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-copy p {
  color: var(--gd-muted);
  font-size: 1.02rem;
  margin-bottom: 1rem;
}
.hero-copy p:last-child { color: #d9e6ff; font-weight: 600; margin-bottom: 0; }

.hero-actions { margin-top: 2rem; }

.section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3.25rem;
}
.section-head .content-pending { margin-top: 1rem; }

.section-title {
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.section-head .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: 4px;
  background: var(--grad-main);
  box-shadow: 0 0 18px rgba(0, 198, 255, 0.6);
}
.service-detail .section-title::after { display: none; }

/* ---------- 8. HERO VISUAL (3D-inspired floating elements) ---------- */
.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  perspective: 1000px;
}

.hero-logo-float {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(260px, 52%);
  transform: translate(-50%, -50%);
  animation: floatCentered 7s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(0, 198, 255, 0.45)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
}
.hero-logo-float img { width: 100%; }

.ui-card {
  position: absolute;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(10, 22, 54, 0.6);
  border: 1px solid rgba(127, 216, 255, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 97, 255, 0.15);
  color: #dbe8ff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.ui-card i { font-size: 1.25rem; color: var(--gd-cyan); }

.ui-card-dashboard {
  top: 2%;
  left: 8%;
  width: 230px;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}
.ui-card-dashboard small { color: var(--gd-muted); font-weight: 500; font-size: 0.78rem; }
.ui-card-head { display: flex; gap: 6px; }
.ui-card-head .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.ui-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.ui-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: var(--grad-cyan);
  opacity: 0.85;
}

.ui-card-workflow { top: 44%; right: 6%; }
.ui-card-crm      { bottom: 14%; left: 10%; }
.ui-card-payroll  { top: 10%; right: 6%; }

/* Floating UI cards (use the independent "translate" property so they never clash with JS transforms) */
.float-a { animation: floatCard 6s ease-in-out infinite; }
.float-b { animation: floatCard 8s ease-in-out infinite 0.8s; }
.float-c { animation: floatCard 7s ease-in-out infinite 1.6s; }
.float-d { animation: floatCard 9s ease-in-out infinite 0.4s; }

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

/* Centre logo floats in place */
@keyframes floatCentered {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50%      { transform: translate(-50%, -50%) translateY(-16px) rotate(2deg); }
}

/* ---------- 9. TECH CARDS ---------- */
.tech-card { align-items: center; text-align: center; }
.tech-card .tech-icon {
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 16px rgba(0, 198, 255, 0.3));
  transition: transform 0.4s var(--ease-out);
}
.tech-card:hover .tech-icon { transform: scale(1.12) translateY(-3px); }
.tech-card h3 { margin-bottom: 0.5rem; }
.tech-card p { color: var(--gd-muted); margin-bottom: 0; }

/* ---------- 10. SERVICE DETAIL SECTIONS ---------- */
.service-detail .glass-panel { padding: clamp(2rem, 4vw, 3.25rem); }
.service-detail p { color: var(--gd-muted); }
.service-detail .content-pending { margin-bottom: 1.5rem; }

/* ---------- 11. BUSINESS PROBLEMS TABLE ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--gd-line);
  box-shadow: var(--glass-shadow);
  padding: 1rem;
}
.table-wrap .content-pending { display: block; margin: 2rem auto; }

.gradient-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--gd-text);
  overflow: hidden;
  min-width: 520px;
}
.gradient-table thead th {
  background: var(--grad-main);
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 700;
  text-align: left;
}
.gradient-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gd-line);
  color: var(--gd-muted);
  vertical-align: top;
}
.gradient-table tbody tr:hover td { background: rgba(0, 97, 255, 0.08); color: #fff; }

/* ---------- 12. DEVELOPMENT PROCESS TIMELINE ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.25rem 1.5rem;
}
.timeline-step { position: relative; padding-top: 1rem; }
.step-num {
  position: absolute;
  top: 0;
  left: 1.25rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 22px rgba(0, 198, 255, 0.35);
}
.step-card { height: 100%; padding-top: 2rem; }
.step-icon {
  font-size: 1.9rem;
  color: var(--gd-cyan);
  margin-bottom: 0.9rem;
  filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.4));
}
.step-card h3 { margin-bottom: 0.6rem; }
.step-card p { color: var(--gd-muted); margin: 0; }

/* ---------- 13. FAQ ACCORDION ---------- */
.faq-accordion { max-width: 920px; margin: 0 auto; }
.faq-accordion .accordion-item {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--gd-line);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-accordion .accordion-item:hover { border-color: rgba(0, 198, 255, 0.45); }
.faq-accordion .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.28), rgba(0, 198, 255, 0.14));
  color: #fff;
  box-shadow: inset 4px 0 0 #00c6ff;
}
.faq-accordion .accordion-button::after {
  filter: invert(1) grayscale(100%) brightness(200%);
  transition: transform 0.35s var(--ease-out);
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.faq-accordion .accordion-body { color: var(--gd-muted); padding: 0 1.5rem 1.5rem; }
.faq-accordion .accordion-body.content-pending { display: block; margin: 0 1.5rem 1.5rem; }
.faq-accordion .accordion-collapse { transition: height 0.35s var(--ease-out); }

/* ---------- 14. FINAL CTA ---------- */
.final-cta-section { padding-bottom: 7rem; }
.final-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 97, 255, 0.28), rgba(122, 60, 255, 0.2), rgba(0, 198, 255, 0.2));
  border-color: rgba(127, 216, 255, 0.25);
}
.final-cta .section-title::after { margin-bottom: 0; }
.final-cta .content-pending { color: #dbe8ff; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.cta-orb-a { width: 260px; height: 260px; background: #00c6ff; top: -90px; left: -60px; }
.cta-orb-b { width: 300px; height: 300px; background: #7a3cff; bottom: -120px; right: -60px; animation-duration: 18s; }
.final-cta > *:not(.cta-orb) { position: relative; z-index: 1; }
.final-cta .cta-buttons { margin-top: 2rem; }

/* ---------- 15. FOOTER ---------- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gd-line);
  background: rgba(3, 7, 20, 0.7);
  color: var(--gd-muted);
}
.footer-logo { width: 96px; height: auto; filter: drop-shadow(0 0 18px rgba(0, 198, 255, 0.3)); }
.footer-link { color: var(--gd-ice); font-weight: 600; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.25rem; }
.footer-nav a { color: var(--gd-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: #fff; }
.copyright { margin-top: 2rem; font-size: 0.9rem; opacity: 0.8; }

/* ---------- 16. WHATSAPP CTAS ---------- */
/* Desktop floating button */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1040;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-whatsapp);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  animation: waPulse 2.4s ease-out infinite, waFloat 4s ease-in-out infinite;
}
.wa-float:hover,
.wa-float:focus-visible { color: #fff; transform: scale(1.08); }
.wa-float .wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  background: rgba(5, 11, 31, 0.92);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--gd-line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}
.wa-float:hover .wa-tooltip,
.wa-float:focus-visible .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 30px rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px rgba(37, 211, 102, 0.45); }
}
@keyframes waFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}

/* Mobile fixed bottom bar (hidden on desktop) */
.wa-bar { display: none; }

/* ---------- 17. RESPONSIVE ---------- */

/* Tablet and below */
@media (max-width: 991.98px) {
  :root { --section-pad: 5rem; --header-h: 74px; }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(5, 11, 31, 0.96);
    border: 1px solid var(--gd-line);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .navbar-nav { gap: 0.25rem !important; margin: 0 !important; }
  .navbar .nav-link { padding: 0.75rem 0.5rem !important; font-size: 1.02rem; }
  .navbar .nav-link::after { display: none; }
  .nav-cta { width: 100%; margin-top: 1rem; justify-content: center; white-space: normal; }

  .hero { min-height: auto; padding-bottom: 4rem; }
  .hero-visual { min-height: 460px; margin-top: 1rem; }
}

/* Mobile */
@media (max-width: 767.98px) {
  :root { --section-pad: 4rem; --header-h: 68px; }

  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

  .site-header { padding: 0.45rem 0; }
  .brand-logo { width: 46px; }
  .site-header.scrolled .brand-logo { width: 40px; }

  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1.08rem; }
  .hero-copy p { font-size: 0.97rem; }
  .hero-actions .btn { width: 100%; }
  .eyebrow { font-size: 0.78rem; }

  .hero-visual { min-height: 380px; }
  .hero-logo-float { width: 170px; }
  .ui-card { font-size: 0.78rem; padding: 0.7rem 0.8rem; }
  .ui-card i { font-size: 1rem; }
  .ui-card-dashboard { width: 170px; top: 0; left: 0; }
  .ui-bars { height: 60px; }
  .ui-card-workflow { top: auto; bottom: 26%; right: 0; }
  .ui-card-crm { bottom: 0; left: 0; }
  .ui-card-payroll { top: auto; bottom: 46%; right: 0; display: none; }

  .glass-card { padding: 1.35rem; }
  .glass-panel { padding: 1.5rem; border-radius: 20px; }
  .service-detail .glass-panel { padding: 1.5rem; }
  .service-icon-lg { width: 64px; height: 64px; font-size: 1.7rem; }

  .section-head { margin-bottom: 2.25rem; }
  .final-cta-section { padding-bottom: 5rem; }
  .final-cta .cta-buttons .btn { width: 100%; }

  .faq-accordion .accordion-button { padding: 1rem 1.1rem; font-size: 0.98rem; }
  .faq-accordion .accordion-body,
  .faq-accordion .accordion-body.content-pending { padding: 0 1.1rem 1.1rem; margin: 0; }

  .timeline { grid-template-columns: 1fr; }

  .wa-float { display: none; }
  .wa-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 60px;
    padding: 0.9rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
    background: var(--grad-whatsapp);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 -10px 30px rgba(37, 211, 102, 0.35);
    animation: barPulse 2.6s ease-in-out infinite;
  }
  .wa-bar i { font-size: 1.5rem; }
  .wa-bar:hover, .wa-bar:focus-visible { color: #fff; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero-title { font-size: 1.9rem; }
  .hero-visual { min-height: 340px; }
}

@keyframes barPulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.12); }
}

/* ---------- 18. ACCESSIBILITY: REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .glass-card:hover { transform: none; }
  #particle-canvas { display: none; }
}

/* ---------- 19. IMAGE CARDS + CONTENT BLOCKS (added with full copy) ---------- */
.section-lead {
  color: var(--gd-muted);
  font-size: 1.08rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.service-image-card {
  padding: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.service-image-card:hover,
.service-image-card:focus-visible { color: inherit; }
.service-image-card .card-img { overflow: hidden; border-bottom: 1px solid var(--gd-line); }
.service-image-card .card-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-out);
}
.service-image-card:hover .card-img img { transform: scale(1.06); }
.service-image-card .card-body { padding: 1.4rem 1.5rem 1.6rem; }
.service-image-card h3 { color: #fff; margin-bottom: 0.9rem; }
.card-link {
  color: var(--gd-cyan);
  font-weight: 600;
  font-size: 0.95rem;
}
.card-link i { transition: transform 0.3s var(--ease-out); display: inline-block; }
.service-image-card:hover .card-link i { transform: translateX(5px); }

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gd-line);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(0, 97, 255, 0.15);
}
.service-image img { display: block; width: 100%; height: auto; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.6rem 1.25rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--gd-muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-cyan);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.6);
}

.content-body p { color: var(--gd-muted); margin-bottom: 1rem; }
.content-body p:last-child { margin-bottom: 0; }

.industry-card { padding: 1.5rem; flex-direction: row; gap: 1rem; align-items: flex-start; }
.industry-card i {
  font-size: 1.5rem;
  color: var(--gd-cyan);
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.4));
}
.industry-card p { color: var(--gd-muted); margin: 0; }
.industry-card strong { color: #fff; }

.tech-card p { margin-bottom: 0; }
.service-detail p { color: var(--gd-muted); }
.final-cta-text { color: #dbe8ff; max-width: 820px; margin-bottom: 1rem; }

/* Hero: clear gap between text column and visual */
@media (min-width: 992px) {
  .hero-visual { min-height: 560px; }
}

@media (max-width: 767.98px) {
  .service-image-card .card-body { padding: 1.2rem; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ---------- 20. LAYOUT FIXES: GAPS, HEADER, HERO VISUAL, SECTION ILLUSTRATIONS ---------- */

/* Side gaps for every container (logo, text and cards no longer touch the screen edge) */
.container-xxl {
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

/* Header: logo left, CTA right, always visible */
.site-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0;
  padding-bottom: 0;
}
.site-header .navbar-brand { margin: 0; padding: 0; }
.nav-cta {
  white-space: nowrap;
  font-size: 0.92rem;
  padding: 0.65rem 1.25rem;
}

@media (max-width: 991.98px) {
  .nav-cta { width: auto; margin-top: 0; }
}
@media (max-width: 767.98px) {
  .site-header .navbar { gap: 0.75rem; }
  .brand-logo { width: 42px; }
  .site-header.scrolled .brand-logo { width: 38px; }
  .nav-cta {
    font-size: 0.78rem;
    padding: 0.55rem 0.85rem;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}

/* Hero visual: orbit rings, glowing logo core and floating cards */
.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1000px;
}
.hero-stage {
  position: absolute;
  inset: 0;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease-out);
  transform-style: preserve-3d;
}

.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(0, 198, 255, 0.35);
  transform: translate(-50%, -50%);
  animation: spinOrbit 40s linear infinite;
}
.hero-orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #00c6ff;
  box-shadow: 0 0 16px #00c6ff;
}
.orbit-1 { width: 66%; aspect-ratio: 1; }
.orbit-2 {
  width: 92%;
  aspect-ratio: 1;
  border-color: rgba(122, 60, 255, 0.4);
  animation-duration: 60s;
  animation-direction: reverse;
}
.orbit-2::after { background: #7a3cff; box-shadow: 0 0 16px #7a3cff; }

@keyframes spinOrbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(230px, 48%);
  transform: translate(-50%, -50%);
  animation: floatCentered 7s ease-in-out infinite;
  z-index: 2;
}
.hero-core::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.35) 0%, rgba(0, 97, 255, 0.12) 45%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
}
.hero-core img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 198, 255, 0.55)) drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.ui-card { z-index: 3; }
.ui-card-dashboard { top: 0; left: 0; }
.ui-card-workflow  { top: 40%; right: -2%; }
.ui-card-crm       { bottom: 6%; left: 4%; }
.ui-card-payroll   { top: 6%; right: 6%; }
.ui-card-api       { bottom: 10%; right: 8%; }
.float-e { animation: floatCard 8.5s ease-in-out infinite 1.2s; }

.hero-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fd8ff;
  box-shadow: 0 0 14px #7fd8ff;
  opacity: 0.8;
  animation: floatCard 5s ease-in-out infinite;
}
.d1 { top: 14%; left: 44%; }
.d2 { bottom: 22%; left: 52%; animation-delay: 1s; }
.d3 { top: 58%; left: 6%; animation-delay: 2s; background: #7a3cff; box-shadow: 0 0 14px #7a3cff; }

/* Services intro: special highlighted panel */
.services-intro {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 3rem;
}
.services-intro .section-title::after { margin-bottom: 0; }
.services-intro::after {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-main);
  box-shadow: 0 0 24px rgba(0, 198, 255, 0.7);
}

/* Full service cards with image on top */
.service-full {
  padding: 0;
  overflow: hidden;
}
.service-full .service-img {
  overflow: hidden;
  border-bottom: 1px solid var(--gd-line);
}
.service-full .service-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease-out);
}
.service-full:hover .service-img img { transform: scale(1.05); }
.service-full .service-body {
  padding: 1.6rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-full h3 { color: #fff; margin-bottom: 0.85rem; }
.service-full p { color: var(--gd-muted); }
.service-full .feature-list { margin: 0.25rem 0 1rem; grid-template-columns: 1fr; }
.service-full .btn { margin-top: auto; align-self: flex-start; }

/* Illustration banners for each section */
.section-banner {
  max-width: 820px;
  margin: 0 auto 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gd-line);
  box-shadow: var(--glass-shadow), 0 0 40px rgba(0, 97, 255, 0.15);
}
.section-banner img { display: block; width: 100%; height: auto; }
.section-banner-inner { margin-bottom: 2rem; }
.section-banner-inner { margin-top: 0; }

@media (max-width: 991.98px) {
  .hero-visual { min-height: 480px; margin-top: 1rem; }
}
@media (max-width: 767.98px) {
  .hero-visual { min-height: 400px; }
  .hero-core { width: 40%; }
  .orbit-1 { width: 74%; }
  .orbit-2 { width: 100%; }
  .ui-card { font-size: 0.74rem; padding: 0.6rem 0.75rem; }
  .ui-card-dashboard { width: 160px; }
  .ui-card-workflow { top: auto; bottom: 22%; right: 0; }
  .ui-card-payroll { display: none; }
  .ui-card-api { bottom: 0; right: 0; }
  .ui-card-crm { bottom: 2%; left: 0; }
  .services-intro { margin-bottom: 2rem; }
  .section-banner { margin-bottom: 2rem; border-radius: 18px; }
}
