/*
    Lapoworld Orbital Theme
    Adapted for Technical Repair Services
    Original framework by Tooplate
*/

/* LAPOWORLD - Void and Neon Technical Theme */

:root {
  --void: #050505;
  --violet: #8b5cf6;
  --cyan: #06b6d4;   
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ring-radius: 360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.aura {
  position: fixed;
  inset: -25%;
  background: radial-gradient(circle at 50% 44%, rgba(58, 28, 92, 0.6), rgba(24, 12, 46, 0.22) 34%, transparent 64%);
  z-index: 0;
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 34% 68%, rgba(139, 92, 246, 0.6), transparent),
    radial-gradient(1px 1px at 64% 82%, rgba(6, 182, 212, 0.5), transparent),
    radial-gradient(1px 1px at 88% 54%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 22% 88%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1px 1px at 50% 32%, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.14); }
}

/* ========================================== */
/* NAVIGATION BAR & FLEXBOX LAYOUT            */
/* ========================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 26px clamp(20px, 5vw, 64px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo { font-family: 'Space Grotesk', sans-serif; color: var(--white); }

.logo-text {
  display: inline-block;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 16px;
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
  margin-left: auto; /* Pushes the menu items to the right side */
  margin-right: 40px; /* Provides breathing room before the WhatsApp button */
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--faint);
  transition: color 0.5s var(--ease), text-shadow 0.5s var(--ease);
  position: relative;
  text-transform: uppercase;
}

.nav-links a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.5s var(--ease);
  box-shadow: 0 0 8px var(--cyan);
}

.nav-links a:hover {
  color: var(--white);
  text-shadow: 0 0 14px rgba(6, 182, 212, 0.7);
}
.nav-links a:hover::before { transform: translateY(-50%) scale(1); }

/* ========================================== */
/* STANDALONE WHATSAPP NAV BUTTON STYLES      */
/* ========================================== */

a.top-whatsapp-btn {
  background: #25D366 !important;
  border: 1px solid #1eb956 !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  margin-right: 10px !important;
  margin-left: 0 !important; /* Ensures it doesn't vacuum up flexbox space */
  text-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4) !important;
}

a.top-whatsapp-btn:hover {
  background: #1eb956 !important;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.7) !important;
  transform: translateY(-2px);
  color: #ffffff !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 80px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  letter-spacing: 3px;
  color: var(--dim);
  transition: color 0.4s var(--ease);
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ========================================== */
/* HERO & 3D RING MECHANICS                   */
/* ========================================== */

.hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.stage.dragging { cursor: grabbing; }
.stage.dragging .panel { cursor: grabbing; }

.parallax {
  position: relative;
  width: 1px; height: 1px;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
}

.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) translateZ(40px);
  text-align: center;
  width: 90vw;
  max-width: 760px;
  pointer-events: none;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 6px;
  color: var(--cyan);
  text-shadow: 0 0 16px rgba(6, 182, 212, 0.6);
  margin-bottom: 22px;
}
.hero-text h1 {
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 0 38px rgba(255, 255, 255, 0.28), 0 0 80px rgba(139, 92, 246, 0.32);
}
.hero-text p {
  margin-top: 26px;
  font-size: clamp(0.92rem, 2vw, 1.08rem);
  color: var(--dim);
  letter-spacing: 0.4px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.ring-tilt {
  position: absolute;
  top: 0; left: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX, -20deg)) scale3d(var(--zoom, 1), var(--zoom, 1), var(--zoom, 1));
  transition: transform 0.8s var(--ease);
}
.ring {
  position: absolute;
  top: 0; left: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.panel {
  position: absolute;
  top: 0; left: 0;
  width: 158px;
  height: 210px;
  margin-left: -79px;
  margin-top: -105px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 34px rgba(139, 92, 246, 0.16), 0 0 42px rgba(6, 182, 212, 0.1);
  transform: rotateY(var(--ry)) translateZ(var(--tz)) rotateZ(var(--rz)) scale(var(--s, 1));
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
  cursor: pointer;
}
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.5), rgba(6, 182, 212, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background 0.7s var(--ease), opacity 0.7s var(--ease);
}
.panel:hover {
  --s: 1.1;
  box-shadow: inset 0 0 44px rgba(139, 92, 246, 0.3), 0 0 60px rgba(6, 182, 212, 0.4);
}
.panel:hover::after {
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.95), rgba(6, 182, 212, 0.7));
}
.panel .p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--cyan);
}
.panel .p-label { font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.panel .p-meta { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 1px; color: var(--faint); }

.panel-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.panel-face--text {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 1;
}
.panel-face--image {
  overflow: hidden;
  opacity: 0;
  background: linear-gradient(140deg, #1a1030, #0a1f26);
}
.panel-face--image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1.08);
  transition: transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.045s);
}
.panel-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.08) 56%),
    linear-gradient(140deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.28));
  transition: opacity 0.6s var(--ease);
}
.panel:hover .panel-scrim { opacity: 0; }
.panel-cap {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 0 22px rgba(0, 0, 0, 0.7);
}

.visuals-on .panel-face--text { opacity: 0; }
.visuals-on .panel-face--image { opacity: 1; }
.visuals-on .panel-face--image img { transform: scale(1); }

.hero-controls {
  position: absolute; right: clamp(18px, 4vw, 44px); bottom: clamp(80px, 12vh, 110px);
  z-index: 5; display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.ctrl { display: flex; align-items: center; gap: 10px; }
.ctrl-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 2px;
  color: var(--faint); text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.switch {
  position: relative; width: 44px; height: 24px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer; padding: 0;
  transition: background 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.switch .knob {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--dim);
  transition: transform 0.6s var(--ease), background 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.switch[aria-checked="true"] {
  background: linear-gradient(to right, var(--violet), var(--cyan));
  border-color: rgba(6, 182, 212, 0.8); box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}
.switch[aria-checked="true"] .knob {
  transform: translateX(20px); background: var(--white); box-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}
.switch:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.spacing {
  display: flex; gap: 3px; padding: 3px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}
.spacing-step {
  width: 26px; height: 22px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; border-radius: 18px; cursor: pointer;
  transition: background 0.5s var(--ease);
}
.spacing-step i {
  display: block; border-radius: 50%; background: var(--faint);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.spacing-step:nth-child(1) i { width: 5px; height: 5px; }
.spacing-step:nth-child(2) i { width: 8px; height: 8px; }
.spacing-step:nth-child(3) i { width: 11px; height: 11px; }
.spacing-step.is-active { background: rgba(6, 182, 212, 0.14); }
.spacing-step.is-active i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 3; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 3px;
  color: var(--faint); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue .line {
  width: 1px; height: 38px; background: linear-gradient(var(--cyan), transparent);
  animation: pulse-line 2.4s ease-in-out infinite;
}
@keyframes pulse-line { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ========================================== */
/* SECTIONS & CONTENT STRUCTURE               */
/* ========================================== */

.section {
  position: relative; z-index: 2; padding: clamp(90px, 14vh, 160px) clamp(20px, 6vw, 90px);
  max-width: 1240px; margin: 0 auto;
}
.section-head { margin-bottom: 64px; max-width: 800px; }
.section-head .eyebrow { text-align: left; margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.02em; text-shadow: 0 0 30px rgba(255, 255, 255, 0.16);
}
.section-head p { margin-top: 20px; color: var(--dim); font-size: 1.02rem; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  position: relative; padding: 40px 30px 36px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px); overflow: hidden; transition: transform 0.7s var(--ease), background 0.7s var(--ease);
}
.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan); box-shadow: 0 0 18px var(--cyan), 0 0 6px var(--cyan);
  animation: pulse-top 3.2s ease-in-out infinite;
}
.feature:nth-child(2)::before { animation-delay: 1s; }
.feature:nth-child(3)::before { animation-delay: 2s; }
@keyframes pulse-top { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.feature:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.05); }
.feature .f-index {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 2px;
  color: var(--violet); margin-bottom: 22px; text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
.feature h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.01em; }
.feature p { color: var(--dim); font-size: 0.94rem; line-height: 1.62; }

/* ========================================== */
/* TREE SCROLL ANIMATION                      */
/* ========================================== */

.tree-container {
  position: relative;
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 0;
}
.tree-trunk {
  position: absolute;
  top: 0; left: 50%;
  width: 4px; height: 100%;
  background: rgba(6, 182, 212, 0.1);
  transform: translateX(-50%);
  border-radius: 4px;
}
.tree-trunk-fill {
  position: absolute;
  top: 0; left: 0; width: 100%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan), 0 0 30px var(--violet);
  height: 0%; 
  border-radius: 4px;
  transition: height 0.1s ease-out;
}
.tree-branch {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  opacity: 0;
  transition: all 0.8s var(--ease);
}
.tree-branch.left {
  left: 0; text-align: right;
  transform: translateX(-50px);
}
.tree-branch.right {
  left: 50%; text-align: left;
  transform: translateX(50px);
}
.tree-branch.visible {
  opacity: 1;
  transform: translateX(0);
}
.tree-branch::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transition: width 0.6s var(--ease);
}
.tree-branch.left::after { right: 0; }
.tree-branch.right::after { left: 0; }

.branch-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 20px 25px;
  border-radius: 8px;
  display: inline-block;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.branch-content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
  border-color: var(--cyan);
}
.branch-content h4 { 
  color: var(--cyan); 
  margin-bottom: 8px; 
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}
.branch-content p { 
  font-size: 0.95rem; 
  color: var(--dim); 
  line-height: 1.5;
}

/* ========================================== */
/* MASSIVE CONTENT BLOCK STYLING              */
/* ========================================== */

.content-block {
  background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(30px, 5vw, 60px); border-radius: 12px; margin-bottom: 30px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.content-block h3 { color: var(--cyan); margin-top: 30px; margin-bottom: 20px; font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; }
.content-block h3:first-child { margin-top: 0; }
.content-block p { color: var(--dim); line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }
.content-block ul { color: var(--dim); line-height: 1.8; margin-left: 20px; margin-bottom: 20px; }

.ad-banner {
  width: 100%; border-radius: 12px; overflow: hidden; margin: 40px 0;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2); transition: transform 0.4s ease;
}
.ad-banner:hover { transform: scale(1.01); }
.ad-banner img { width: 100%; height: auto; display: block; }

.massive-cta-btn {
  display: inline-block; padding: 18px 40px; font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  border-radius: 6px; margin: 10px; transition: all 0.3s ease; text-decoration: none; cursor: pointer;
}
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
.btn-whatsapp:hover { background: #1eb956; box-shadow: 0 0 30px rgba(37, 211, 102, 0.6); transform: translateY(-3px); }
.btn-gmail { background: #EA4335; color: #fff; box-shadow: 0 0 15px rgba(234, 67, 53, 0.4); }
.btn-gmail:hover { background: #d6382b; box-shadow: 0 0 30px rgba(234, 67, 53, 0.6); transform: translateY(-3px); }

.footer {
  position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 60px 0 20px 0; background: rgba(0,0,0,0.6);
}

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========================================== */
/* RESPONSIVE MEDIA QUERIES                   */
/* ========================================== */

@media (max-width: 900px) { .features { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 720px) {
  .nav { padding: 16px 20px; } 
  .nav-links { display: none; } 
  .menu-toggle { display: flex; }
  
  /* Adjusted top WhatsApp button for mobile screens */
  a.top-whatsapp-btn {
    padding: 8px 14px !important;
    font-size: 11px !important;
    margin-right: 15px !important; /* Perfect spacing before the hamburger menu */
    margin-left: auto !important; /* Pushes button right since nav-links is hidden */
  }

  :root { --ring-radius: 220px; }
  .panel { width: 124px; height: 168px; margin-left: -62px; margin-top: -84px; }
  .ring-tilt { --tiltX: -14deg; margin-top: 15vh; }
  .hero-text { top: 20%; transform: translate(-50%, -50%) translateZ(40px); z-index: 10; width: 92vw; max-width: none; padding: 0; }
  .hero-text .eyebrow { font-size: 10px; letter-spacing: 2px; margin-bottom: 12px; white-space: nowrap; }
  .hero-text h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); line-height: 1.1; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.9); }
  .hero-text p { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); font-size: 0.95rem; margin-top: 16px; max-width: 100%; }
  
  /* Tree mobile alignment */
  .tree-trunk { left: 30px; }
  .tree-branch { width: 100%; padding: 20px 0 20px 60px; }
  .tree-branch.left, .tree-branch.right { left: 0; text-align: left; transform: translateX(30px); }
  .tree-branch.visible { transform: translateX(0); }
  .tree-branch.left::after, .tree-branch.right::after { left: 30px; right: auto; width: 30px; }
  .branch-content { display: block; width: 100%; }

  .footer-grid { flex-direction: column; text-align: center !important; }
  .footer-brand p { margin: 15px auto !important; }
  .massive-cta-btn { display: block; width: 100%; margin: 10px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .aura, .ring, .scroll-cue .line, .feature::before { animation: none; }
  .parallax { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========================================== */
/* LONG-FORM CONTENT, FAQS & ANIMATION UTILS  */
/* ========================================== */

/* Long-Form Typography & Containers */
.article-container { max-width: 900px; margin: 120px auto; padding: 0 24px; position: relative; z-index: 2; }
.article-container h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; margin-bottom: 20px; text-shadow: 0 0 30px rgba(139, 92, 246, 0.4); }
.article-container h2 { color: var(--cyan); margin: 60px 0 20px; font-size: 2.4rem; }
.article-container h3 { color: var(--violet); margin: 40px 0 15px; font-size: 1.8rem; }
.article-container p { color: var(--dim); font-size: 1.15rem; line-height: 1.85; margin-bottom: 24px; }
.article-container ul, .article-container ol { color: var(--dim); margin: 0 0 24px 24px; line-height: 1.8; font-size: 1.1rem; }
.article-container li { margin-bottom: 10px; }

/* Image Placements for Subpages */
.article-image { width: 100%; border-radius: 12px; margin: 40px 0; box-shadow: 0 0 40px rgba(6, 182, 212, 0.15); border: 1px solid rgba(255, 255, 255, 0.05); }

/* FAQ Accordion */
.faq-section { margin-top: 60px; background: rgba(255,255,255,0.02); padding: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; cursor: pointer; transition: background 0.3s ease; }
.faq-item:hover { background: rgba(255,255,255,0.01); }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-weight: 600; font-size: 1.2rem; color: var(--white); display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-family: 'JetBrains Mono', monospace; color: var(--cyan); font-size: 1.5rem; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--violet); }
.faq-answer { display: none; margin-top: 15px; color: var(--dim); line-height: 1.7; font-size: 1.05rem; }

/* Testimonial Cards */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 60px 0; }
.testimonial-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(6, 182, 212, 0.2); padding: 30px; border-radius: 12px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15); }
.testimonial-card .quote { font-style: italic; color: var(--dim); line-height: 1.6; margin-bottom: 20px; }
.testimonial-card .client-name { color: var(--cyan); font-weight: 700; font-size: 1.1rem; }
.testimonial-card .client-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--violet); margin-top: 5px; }

/* CSS Native Animations & Micro-interactions */
.gradient-text {
  background: linear-gradient(to right, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glitch-hover:hover {
  animation: glitch-skew 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
  color: var(--cyan);
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-10deg); }
  40% { transform: skew(10deg); }
  60% { transform: skew(-5deg); }
  80% { transform: skew(5deg); }
  100% { transform: skew(0deg); }
}

/* Skeleton Loading State Utility */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Custom Scrollbar for Long-form pages */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: rgba(6, 182, 212, 0.3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }
