/* ==========================================================================
   BuildWithWebX — Master Stylesheet (Refined Visual System)
   Style: Premium Agency Aesthetic with Floating Navbar, Background Grid & Ambient Theme Glows
   Palette: Dark (#05050A, #020205), Purple (#7B2FF7), Blue (#3E7CFF), Cyan (#22D3EE), Gold (#FFC93C)
   Typography: Space Grotesk (Headings), Inter (Body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --bg-dark: #030308;
  --bg-darker: #010104;
  --bg-card: rgba(10, 14, 26, 0.76);
  --bg-card-hover: rgba(16, 24, 44, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-border: rgba(0, 178, 255, 0.15);
  --bg-glass-border-hover: rgba(0, 178, 255, 0.5);
  
  --accent-purple: #0066FF;
  --accent-blue: #0088FF;
  --accent-cyan: #00B2FF;
  --accent-gold: #FFC93C;
  --accent-gold-glow: rgba(255, 201, 60, 0.25);

  --text-white: #FFFFFF;
  --text-muted: #A0B2CE;
  --text-dark: #586C8A;

  --grad-primary: linear-gradient(135deg, #0066FF 0%, #0088FF 50%, #00B2FF 100%);
  --grad-btn: linear-gradient(135deg, #0055FF 0%, #00B2FF 100%);
  --grad-text: linear-gradient(135deg, #FFFFFF 40%, #00B2FF 100%);
  --grad-gold: linear-gradient(135deg, #FFE082 0%, #FFC93C 100%);
  --grad-border: linear-gradient(135deg, rgba(0, 102, 255, 0.5), rgba(0, 178, 255, 0.5));

  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.25, 1, 0.35, 1);
  --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-section: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);

  --nav-height: 68px;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: transparent;
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

section:not(#work), footer {
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(123, 47, 247, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

::selection {
  background: var(--accent-purple);
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Grid & Ambient Lighting Background System
   -------------------------------------------------------------------------- */
.page-grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background-color: #05050A;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* Subtle Accent Grid Overlay */
.page-grid-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(123, 47, 247, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 47, 247, 0.02) 1px, transparent 1px);
  background-size: 288px 288px;
  background-position: center top;
  pointer-events: none;
}

.ambient-glow-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Cinematic volumetric light rays from top-left */
.ambient-glow-beam {
  position: absolute;
  top: -20vh;
  left: -20vw;
  width: 150vw;
  height: 150vh;
  background: conic-gradient(
    from 105deg at 20% 20%, 
    transparent 0deg, 
    rgba(255, 255, 255, 0.03) 12deg, 
    transparent 25deg, 
    rgba(34, 211, 238, 0.04) 40deg, 
    transparent 55deg, 
    rgba(123, 47, 247, 0.025) 65deg, 
    transparent 80deg
  );
  filter: blur(55px);
  -webkit-mask-image: radial-gradient(ellipse at 20% 20%, black 10%, transparent 65%);
  mask-image: radial-gradient(ellipse at 20% 20%, black 10%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.25;
  animation: ambientFloat 22s ease-in-out infinite alternate;
}

.glow-blob-purple {
  top: 5%;
  left: 25%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.25) 0%, rgba(123, 47, 247, 0) 70%);
}

.glow-blob-cyan {
  top: 42%;
  right: -5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0) 70%);
  animation-delay: -6s;
}

.glow-blob-blue {
  bottom: 2%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(62, 124, 255, 0.22) 0%, rgba(62, 124, 255, 0) 70%);
  animation-delay: -12s;
}

@keyframes ambientFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 45px) scale(1.08); }
  100% { transform: translate(-25px, 25px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   4. Typography & Utility Classes
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: transform 0.8s var(--ease-cinematic);
  transform-origin: center;
}

.section-in-view .section-title::after {
  transform: translateX(-50%) scaleX(1);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 650px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #0066FF 40%, #0088FF 70%, #00B2FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: smoothGradientFlow 8s linear infinite alternate;
}

@keyframes smoothGradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--bg-glass-border-hover);
  box-shadow: 0 16px 45px rgba(123, 47, 247, 0.18), 0 0 25px rgba(34, 211, 238, 0.12);
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.4s var(--ease-cinematic);
  border: 1px solid transparent;
  outline: none;
  position: relative;
  text-decoration: none;
  user-select: none;
}

.btn:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad-btn);
  color: #ffffff;
  box-shadow: 0 4px 22px rgba(123, 47, 247, 0.45), 0 0 15px rgba(34, 211, 238, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #00B2FF 0%, #0088FF 50%, #0055FF 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-cinematic);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(34, 211, 238, 0.55), 0 0 25px rgba(123, 47, 247, 0.45);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-white);
  border: 1px solid var(--bg-glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.22);
}

.btn-secondary:active {
  transform: translateY(-1px);
}

.btn:disabled, .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. Cinematic Intro Splash / Gate
   -------------------------------------------------------------------------- */
#intro-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0.6s;
  overflow: hidden;
}

#intro-gate.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
  visibility: hidden;
}

.intro-glow-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 247, 0.35) 0%, rgba(34, 211, 238, 0.2) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.intro-controls {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.intro-skip-btn, .sound-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease-cinematic);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro-skip-btn:hover, .sound-toggle-btn:hover, .sound-toggle-btn.active {
  color: var(--text-white);
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.15);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.intro-skip-btn:focus-visible, .sound-toggle-btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   6. Floating Rounded Navbar Header
   -------------------------------------------------------------------------- */
#navbar {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1140px;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(15, 15, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-glass-border);
  border-radius: 999px;
  padding: 0 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(123, 47, 247, 0.08);
  transition: all 0.4s var(--ease-out);
  display: flex;
  align-items: center;
}

#navbar.scrolled {
  top: 0.85rem;
  background: rgba(10, 10, 18, 0.92);
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(34, 211, 238, 0.15);
}

.nav-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 32px; /* Slightly taller for PNG clarity */
  width: auto;
  max-width: 160px; /* Prevents overflow on mobile */
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0, 178, 255, 0.45));
  transition: transform 0.35s var(--ease-out);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-out);
  position: relative;
  padding: 0.25rem 0.3rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: var(--grad-btn);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover::after {
  width: 80%;
}

.mobile-hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-glass-border);
  color: #fff;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.mobile-hamburger:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.08);
}

.mobile-hamburger:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Off-canvas Mobile Menu */
.offcanvas-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh;
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.offcanvas-menu.open {
  transform: translateX(0);
}

.offcanvas-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.offcanvas-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg);
}

.offcanvas-close:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.offcanvas-menu .nav-links-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.offcanvas-menu .nav-link-mobile {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-white);
  transition: color 0.3s;
}

.offcanvas-menu .nav-link-mobile:hover {
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   7. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
  background: rgba(123, 47, 247, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 1.85rem;
  box-shadow: 0 0 25px rgba(123, 47, 247, 0.25);
  animation: badgeGlow 3s infinite alternate ease-in-out;
}

@keyframes badgeGlow {
  0% { box-shadow: 0 0 15px rgba(123, 47, 247, 0.2); }
  100% { box-shadow: 0 0 28px rgba(34, 211, 238, 0.4); }
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
  flex-wrap: wrap;
}

/* Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--bg-glass-border);
  padding-top: 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-glass-border);
}

.trust-icon {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-section {
  padding: 4.5rem 0;
  position: relative;
}

/* Sticky Stacking Cards System (Idea 1) */
.services-stack-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  padding: 2.8rem 3rem;
  position: sticky;
  top: calc(110px + var(--stack-idx, 0) * 26px);
  z-index: calc(10 + var(--stack-idx, 0));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  border-radius: 24px;
  background: rgba(15, 15, 26, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--bg-glass-border);
  box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.6), 0 20px 45px rgba(0, 0, 0, 0.4);
  transform-origin: center top;
  transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  will-change: transform, filter;
}

/* Stacking Depth-of-Field State */
.service-card.is-stacked-behind {
  filter: brightness(0.68) blur(3px);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.8);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.2), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(34, 211, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Featured Service Card (Card 4) */
.service-card.featured {
  border: 1.5px solid var(--accent-gold);
  box-shadow: 0 0 35px var(--accent-gold-glow), 0 -12px 35px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, rgba(25, 25, 45, 0.95), rgba(15, 15, 26, 0.98));
}

.featured-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--grad-gold);
  color: #000;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   9. Why A Website Matters (Interactive Orbit Diagram)
   -------------------------------------------------------------------------- */
.orbit-section {
  padding: 4.5rem 0;
  position: relative;
}

.orbit-container {
  display: none;
}

/* --------------------------------------------------------------------------
   9. Why A Website Matters (Responsive Radial Diagram)
   -------------------------------------------------------------------------- */
.radial-node-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.radial-diagram {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.svg-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1.5px;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
}

.svg-line.active {
  stroke: var(--accent-cyan);
  stroke-width: 2.5px;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.6));
}

.radial-center-node {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 50px rgba(123, 47, 247, 0.6), 0 0 20px rgba(34, 211, 238, 0.4);
  z-index: 5;
}

.radial-center-glow {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px dashed rgba(34, 211, 238, 0.4);
  animation: spinSlow 30s linear infinite;
}

.radial-satellite-node {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), border-color 0.3s, box-shadow 0.3s, background 0.3s;
  z-index: 6;
  transform: translate(-50%, -50%);
}

.radial-satellite-node[data-index="0"] { top: 15%; left: 50%; }
.radial-satellite-node[data-index="1"] { top: 39.2%; left: 83.3%; }
.radial-satellite-node[data-index="2"] { top: 78.3%; left: 70.5%; }
.radial-satellite-node[data-index="3"] { top: 78.3%; left: 29.5%; }
.radial-satellite-node[data-index="4"] { top: 39.2%; left: 16.7%; }

.radial-satellite-node:hover, .radial-satellite-node.active {
  transform: translate(-50%, -50%) scale(1.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
  background: rgba(25, 25, 45, 0.95);
}

.satellite-label {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
  background: rgba(5, 5, 10, 0.88);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--bg-glass-border);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 7;
}

.radial-satellite-node.active .satellite-label {
  opacity: 1;
  visibility: visible;
}

.radial-info-card {
  width: 100%;
  max-width: 600px;
  padding: 1.5rem 2rem;
  background: rgba(25, 25, 45, 0.9);
  border: 1px solid var(--accent-cyan);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s, transform 0.3s;
}

.radial-info-card h4 {
  color: var(--accent-cyan);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.radial-info-card p {
  color: var(--text-white);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.radial-info-card .metric-text {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

.tap-hint-bubble {
  display: inline-block;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  animation: pulseHint 2s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .radial-diagram {
    max-width: 320px;
    margin-bottom: 2rem;
  }
  .radial-satellite-node {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  .radial-center-node {
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
  }
  .satellite-label {
    /* Hide label on very small screens to avoid overlaps completely */
    display: none;
  }
}

/* --------------------------------------------------------------------------
   10. About / Founder Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: 4.5rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-quote-box {
  padding: 3rem;
  position: relative;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute;
  top: 1rem; left: 1.5rem;
  opacity: 0.4;
}

.quote-text {
  font-size: 1.15rem;
  color: var(--text-white);
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.founder-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.founder-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. Work / Portfolio Showreel (Standard Grid Layout & Lightbox)
   -------------------------------------------------------------------------- */
.work-section {
  padding: 5.5rem 0;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

/* Row 1: 3 cards (2 columns each) */
.projects-grid .project-card:nth-child(1),
.projects-grid .project-card:nth-child(2),
.projects-grid .project-card:nth-child(3) {
  grid-column: span 2;
}

/* Row 2: 2 cards (2 columns each, centered in 6-column grid) */
.projects-grid .project-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.projects-grid .project-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.project-card {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card-watermark-num {
  position: absolute;
  top: -15px;
  right: 15px;
  font-family: var(--font-heading);
  font-size: 6.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 45px rgba(34, 211, 238, 0.18);
}

.project-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: rgba(10, 15, 25, 0.8);
}

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb {
  transform: scale(1.05);
}

.project-info {
  padding: 1.5rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-preview-link:hover {
  background: var(--accent-cyan);
  color: #030712;
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.45);
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 800px;
  width: 90%;
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: rotate(90deg) scale(1.1);
}

.lightbox-close:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.lightbox-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.lightbox-body {
  padding: 2rem;
}

/* --------------------------------------------------------------------------
   12. Process Section
   -------------------------------------------------------------------------- */
.process-section {
  padding: 4.5rem 0;
  position: relative;
}

.process-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}

.process-progress-bar {
  position: absolute;
  top: 36px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--bg-glass-border);
  z-index: 1;
}

.process-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-btn);
  transition: width 0.6s var(--ease-out);
}

.process-step-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem 1rem;
}

.step-number-node {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--bg-glass-border);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  transition: all 0.4s var(--ease-out);
}

.process-step-card:hover .step-number-node {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.4);
  background: var(--grad-btn);
  color: #fff;
}

.step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. Pricing Section
   -------------------------------------------------------------------------- */
.pricing-section {
  padding: 4.5rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

.pricing-card.popular {
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.2);
  transform: scale(1.05);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-btn);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier-name {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.tier-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.tier-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-item .check-icon {
  color: var(--accent-cyan);
}



/* --------------------------------------------------------------------------
   14. Testimonials / Results
   -------------------------------------------------------------------------- */
.testimonials-section {
  padding: 4.5rem 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
}

.stars-row {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 4.5rem 0;
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
  gap: 1rem;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: -4px;
  border-radius: 4px;
}

.faq-item:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.faq-item.active {
  border-color: rgba(34, 211, 238, 0.5);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-cinematic), color 0.3s;
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.4s;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-wa-cta {
  margin-top: 3rem;
  text-align: center;
}

.faq-wa-cta a {
  transition: color 0.3s var(--ease-out), opacity 0.3s;
}

.faq-wa-cta a:hover {
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   16. Contact Section & Form
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 4.5rem 0;
  position: relative;
}

.contact-form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  color: var(--text-white);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bg-glass-border);
  border-radius: 12px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.form-select option {
  background: var(--bg-darker);
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.trust-microcopy {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* --------------------------------------------------------------------------
   17. Footer & Floating FAB
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--bg-glass-border);
  padding: 3rem 0 1rem 0;
  background: rgba(2, 2, 5, 0.85);
  backdrop-filter: blur(12px);
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  z-index: 900;
  transition: transform 0.35s var(--ease-cinematic), box-shadow 0.35s var(--ease-cinematic);
  animation: fabPulse 3s infinite ease-in-out;
}

.whatsapp-fab:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab:active {
  transform: scale(1.05);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 4px;
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   18. Awwwards-Level Motion Suite & Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Section-Level Fluid Motion */
section, footer {
  position: relative;
  transition: opacity 1.2s var(--ease-cinematic), transform 1.2s var(--ease-cinematic), filter 1.2s var(--ease-cinematic);
  will-change: opacity, transform, filter;
}

.section-reveal {
  opacity: 0.15;
  transform: translateY(40px) scale(0.982);
  filter: blur(6px);
}

.section-reveal.section-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* Scroll-Reveal Base Utilities */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 1.1s var(--ease-cinematic), transform 1.1s var(--ease-cinematic), filter 1.1s var(--ease-cinematic);
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic), filter 1s var(--ease-cinematic);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic), filter 1s var(--ease-cinematic);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic), filter 1s var(--ease-cinematic);
}

.reveal-slide-right {
  opacity: 0;
  transform: translateX(40px);
  filter: blur(6px);
  will-change: transform, opacity, filter;
  transition: opacity 1s var(--ease-cinematic), transform 1s var(--ease-cinematic), filter 1s var(--ease-cinematic);
}

/* Active State */
.reveal-on-scroll.is-visible,
.reveal-fade-up.is-visible,
.reveal-scale.is-visible,
.reveal-slide-left.is-visible,
.reveal-slide-right.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  filter: blur(0px);
}

/* Organic Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.34s; }
.delay-4 { transition-delay: 0.46s; }
.delay-5 { transition-delay: 0.58s; }
.delay-6 { transition-delay: 0.7s; }

/* Micro-Interactions */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.08), transparent);
  transition: transform 0.8s var(--ease-cinematic);
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover::after {
  transform: translateX(200%);
}

/* --------------------------------------------------------------------------
   Premium Contact Card (Redesign)
   -------------------------------------------------------------------------- */
.premium-contact-card {
  max-width: 500px;
  width: 100%;
  padding: 2.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 15, 25, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.premium-contact-card .eyebrow {
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: inline-block;
  position: relative;
  line-height: 1.2;
  font-size: 0.75rem;
  color: #0088FF;
  background: none;
  -webkit-text-fill-color: #0088FF;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.premium-contact-card .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.75rem;
  color: #FFFFFF;
}

.premium-contact-card .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #0088FF;
  border-radius: 2px;
}

.premium-contact-card .section-subtitle {
  margin-bottom: 1.5rem;
  max-width: 100%;
  line-height: 1.4;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-glow-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.15) 0%, rgba(0, 136, 255, 0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.premium-contact-card > *:not(.contact-glow-blob) {
  position: relative;
  z-index: 1;
}

.contact-buttons-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 0;
}

.contact-buttons-wrapper .pill-btn {
  width: 160px;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
}

.reply-time-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  color: var(--text-dark);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-dot-anim 2s infinite;
}

@keyframes pulse-dot-anim {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.pill-btn {
  border-radius: 999px;
  padding: 1.1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s var(--ease-cinematic);
}

.whatsapp-btn {
  background: rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
  color: #00B2FF;
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.15);
}

.whatsapp-btn:hover {
  background: rgba(0, 136, 255, 0.2);
  border-color: rgba(0, 136, 255, 0.5);
  color: #00B2FF;
  box-shadow: 0 0 25px rgba(0, 136, 255, 0.3);
  transform: translateY(-2px);
}

.email-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.email-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  #navbar {
    width: calc(100% - 2rem);
    top: 1rem;
    height: 62px;
    padding: 0 1rem;
  }

  .nav-links, .nav-cta { display: none; }
  .mobile-hamburger { display: flex; }

  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; }
  .about-grid { grid-template-columns: 1fr; }
  .process-stepper { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-progress-bar { display: none; }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .projects-grid .project-card:nth-child(1),
  .projects-grid .project-card:nth-child(2),
  .projects-grid .project-card:nth-child(3),
  .projects-grid .project-card:nth-child(4) {
    grid-column: span 1;
  }
  .projects-grid .project-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .services-section, .orbit-section, .about-section, .work-section, .process-section, .pricing-section, .testimonials-section, .faq-section, .contact-section {
    padding: 3rem 0;
  }
  
  .premium-contact-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  .premium-contact-card .section-title {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .contact-buttons-wrapper {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .contact-buttons-wrapper .pill-btn {
    width: 100%;
    max-width: 240px;
    margin: 0;
  }

  #navbar {
    width: calc(100% - 1.5rem);
    top: 0.75rem;
  }

  .page-grid-bg {
    background-size: 45px 45px;
  }

  .glow-blob {
    filter: blur(90px);
    opacity: 0.32;
  }

  .services-stack-container { gap: 1.5rem; }
  .service-card {
    padding: 1.8rem 1.4rem;
    top: calc(85px + var(--stack-idx, 0) * 18px);
  }
  
  /* About Section Mobile Fixes */
  .about-grid {
    gap: 2rem;
  }
  .about-quote-box {
    padding: 1.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  .stat-card {
    padding: 1.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .stat-number {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.35rem;
  }
  .stat-label {
    font-size: 0.75rem;
    line-height: 1.25;
    padding: 0 2px;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  
  /* Pricing Section Mobile Fixes */
  .pricing-grid {
    gap: 1.25rem;
    margin-top: 2rem;
  }
  .pricing-card {
    padding: 1.5rem;
  }
  .popular-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.75rem;
    top: -10px;
  }
  .tier-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .tier-price {
    font-size: 2.25rem;
    margin-bottom: 1rem;
  }
  .tier-price span {
    font-size: 0.8rem;
  }
  .feature-list {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  .feature-item {
    font-size: 0.85rem;
  }
  .pricing-card .btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  .orbit-container { height: 440px; }
  .central-node { width: 110px; height: 110px; font-size: 0.9rem; }
  .orbit-node { width: 50px; height: 50px; font-size: 1.1rem; }
  .node-label { display: none; }

  .process-stepper { grid-template-columns: 1fr; }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .projects-grid .project-card:nth-child(5) {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   19. Custom Fluid Cursor & Magnetic Aura System (Idea 3)
   -------------------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s var(--ease-out);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.cursor-follower {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(34, 211, 238, 0.6);
  background: rgba(34, 211, 238, 0.04);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background-color 0.35s, border-color 0.35s, border-radius 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  will-change: transform, width, height;
}

.cursor-text {
  font-size: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  opacity: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
  white-space: nowrap;
}

/* Cursor Hover States */
.cursor-follower.cursor-hover {
  width: 64px;
  height: 64px;
  border-color: var(--accent-purple);
  background: rgba(123, 47, 247, 0.15);
  box-shadow: 0 0 30px rgba(123, 47, 247, 0.35);
}

.cursor-follower.has-cursor-text {
  width: 90px;
  height: 90px;
  border-color: var(--accent-cyan);
  background: rgba(15, 15, 26, 0.9);
  box-shadow: 0 0 35px rgba(34, 211, 238, 0.4);
}

.cursor-follower.has-cursor-text .cursor-text {
  opacity: 1;
}

/* Magnetic Button Transition */
.btn, .brand-logo, .whatsapp-fab {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  will-change: transform;
}

/* Disable Custom Cursor on Touch Devices */
@media (hover: none) or (pointer: coarse) {
  .cursor-dot, .cursor-follower {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   21. Velocity-Driven Parallax & Glowing Wave Dividers (Idea 5)
   -------------------------------------------------------------------------- */
.section-divider-wave {
  width: 100%;
  height: 70px;
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0;
  pointer-events: none;
  z-index: 3;
  transform-origin: center center;
  transition: transform 0.3s var(--ease-out);
  will-change: transform;
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.4)) drop-shadow(0 0 10px rgba(123, 47, 247, 0.3));
}

.ambient-glow-beam {
  will-change: transform;
  transition: transform 0.3s var(--ease-out);
}

/* sphere-3d-wrapper removed */

/* --------------------------------------------------------------------------
   23. 4-Step Interactive Proposal Builder System (Idea 3)
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
  padding: 3rem;
  max-width: 920px;
  margin: 3rem auto 0 auto;
}

.wizard-header {
  margin-bottom: 2.5rem;
}

.wizard-steps-indicator {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  transition: all 0.35s var(--ease-out);
}

.step-badge.active {
  color: var(--accent-cyan);
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.25);
}

.step-badge.completed {
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.4);
}

.wizard-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 999px;
  transition: width 0.45s var(--ease-cinematic);
  box-shadow: 0 0 12px var(--accent-cyan);
}

.wizard-step {
  display: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.wizard-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.wizard-step-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: var(--text-white);
}

.wizard-step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.wizard-tiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.wizard-tile {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.wizard-tile:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.06);
}

.wizard-tile.active {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.25);
}

.tile-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.tile-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
}

.tile-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.tile-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.wizard-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.wizard-chip {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bg-glass-border);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

.wizard-chip input[type="checkbox"] {
  display: none;
}

.wizard-chip:hover {
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--text-white);
}

.wizard-chip.active {
  background: rgba(123, 47, 247, 0.15);
  border-color: var(--accent-purple);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(123, 47, 247, 0.3);
}

.wizard-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--bg-glass-border);
  padding-top: 2rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .wizard-tiles-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
  }
  .wizard-step-desc {
    margin-bottom: 1.25rem;
  }
  .wizard-controls {
    padding-top: 1rem;
    margin-top: 0;
  }
  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }
  .wizard-tile {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    row-gap: 0.2rem;
    padding: 0.85rem 1.15rem;
    align-items: center;
  }
  .wizard-tile .tile-icon {
    grid-row: 1 / span 2;
    grid-column: 1;
    font-size: 1.6rem;
    margin-bottom: 0;
  }
  .wizard-tile .tile-title {
    grid-row: 1;
    grid-column: 2;
    font-size: 0.95rem;
    align-self: flex-end;
  }
  .wizard-tile .tile-desc {
    grid-row: 2;
    grid-column: 2;
    font-size: 0.8rem;
    align-self: flex-start;
    line-height: 1.3;
  }
  .trust-microcopy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    font-size: 0.65rem;
    margin-top: 1rem;
    text-align: center;
    align-items: start;
  }
  .trust-microcopy span:not(.trust-bullet) {
    display: block;
    line-height: 1.3;
    padding: 0 0.1rem;
  }
  .trust-bullet {
    display: none;
  }
}
