/* ============================================
   RESET & VARIABLES
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #050810;
  color: #E2E8F0;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

:root {
  --bg: #050810;
  --bg-2: #0A0F1E;
  --bg-card: #0D1428;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(124,58,237,0.4);
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --purple: #7C3AED;
  --cyan: #06B6D4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 25px 50px rgba(0,0,0,0.4);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
/* Cursors only on real pointer devices (mouse/trackpad) */
@media (pointer: coarse) {
  .cursor, .cursor-follower { display: none; }
}

.cursor {
  width: 10px; height: 10px;
  background: var(--purple);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(124,58,237,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  will-change: transform;
}

/* ============================================
   LOADER
   ============================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.loader-logo-wrap { display: flex; align-items: center; justify-content: center; }

.loader-logo-img {
  width: 90px; height: 90px;
  border-radius: 22px;
  object-fit: cover;
  position: relative; z-index: 1;
  animation: logoReveal 1.2s ease-in-out 0.1s both;
  box-shadow: 0 0 50px rgba(124,58,237,0.65), 0 0 100px rgba(6,182,212,0.3);
}
@keyframes logoReveal {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
.loader-bar {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  animation: fillBar 1.8s ease forwards;
}
@keyframes fillBar { to { transform: scaleX(1); } }
.loader-label {
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(5,8,16,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(124,58,237,0.4);
  flex-shrink: 0;
}
.nav-brand span { color: var(--cyan); }
.nav-links {
  display: flex; gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; margin-left: 1.5rem; }
.btn-nav {
  padding: 0.55rem 1.4rem;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--purple), #5B21B6);
  color: #fff;
  font-size: 0.9rem; font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(124,58,237,0.5); }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
  width: 36px;
}
.hamburger span {
  display: block; height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex; flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
}
.hero-video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.82) contrast(1.2);
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: rgba(5,8,16,0.65);
  z-index: 0;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 2;
}
.orb-1 { width: 600px; height: 600px; top: -200px; left: -200px; background: rgba(124,58,237,0.15); animation: orbFloat 8s ease-in-out infinite; will-change: transform; }
.orb-2 { width: 500px; height: 500px; top: 30%; right: -150px; background: rgba(6,182,212,0.1); animation: orbFloat 10s ease-in-out infinite reverse; will-change: transform; }
.orb-3 { width: 400px; height: 400px; bottom: -100px; left: 40%; background: rgba(124,58,237,0.08); animation: orbFloat 12s ease-in-out infinite; will-change: transform; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
}
.hero-content { display: flex; flex-direction: column; gap: 1.75rem; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.25);
  color: #A78BFA;
  padding: 0.45rem 1.1rem;
  border-radius: 99px;
  font-size: 0.85rem; font-weight: 500;
  width: fit-content;
}
.tag-dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: tagPulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px #10B981;
}
@keyframes tagPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  display: flex; flex-direction: column;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-whatsapp, .btn-whatsapp-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #25D366;
  color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 99px;
  transition: var(--transition);
}
.btn-whatsapp:hover, .btn-whatsapp-hero:hover { background: #128C7E; transform: translateY(-2px); }
.btn-whatsapp-hero {
  padding: 0.9rem 1.75rem;
  box-shadow: 0 0 24px rgba(37,211,102,0.3);
}
.btn-whatsapp-hero:hover { box-shadow: 0 0 40px rgba(37,211,102,0.5); }

.btn-instagram-hero {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  padding: 0.9rem 1.75rem;
  border-radius: 99px;
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(131,58,180,0.3);
}
.btn-instagram-hero:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 0 40px rgba(131,58,180,0.5); }

.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
}
.hstat { display: block; flex-shrink: 0; }
.hstat strong { font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1; }
.hstat span { display: block; font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; margin-top: 0.2rem; }
.hstat-sep { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Browser Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.browser-mockup {
  width: 100%; max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  animation: mockFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes mockFloat {
  0%,100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-15px) rotate(-0.5deg); }
}
.browser-bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28CA42; }
.url-bar {
  flex: 1; margin-left: 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.browser-body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-hero-strip {
  height: 100px; border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  opacity: 0.7;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { opacity: 0.6; } 50% { opacity: 0.9; } }
.mock-row { display: flex; gap: 0.75rem; }
.mock-col { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-block {
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.mock-block.tall { width: 80px; height: 80px; flex-shrink: 0; }
.mock-block.short { flex: 1; height: 30px; }
.gradient-accent { background: linear-gradient(135deg, var(--purple), var(--cyan)) !important; }
.mock-cards { display: flex; gap: 0.75rem; }
.mock-card {
  flex: 1; height: 50px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  animation: cardPulse 2s ease-in-out infinite;
}
@keyframes cardPulse { 0%,100% { background: rgba(255,255,255,0.05); } 50% { background: rgba(124,58,237,0.15); } }
.mock-card:nth-child(2) { animation-delay: .3s; }
.mock-card:nth-child(3) { animation-delay: .6s; }

/* Floating badges */
.floating-badge {
  position: absolute;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(13,20,40,0.95);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.badge-1 { top: 5%; right: -5%; animation: badgeFloat1 4s ease-in-out infinite; will-change: transform; }
.badge-2 { bottom: 20%; left: -8%; animation: badgeFloat2 5s ease-in-out infinite; will-change: transform; }
.badge-3 { bottom: 5%; right: 5%; animation: badgeFloat1 6s ease-in-out infinite reverse; will-change: transform; }
@keyframes badgeFloat1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes badgeFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }


/* Reveal animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2,1,0.3,1), transform 0.7s cubic-bezier(0.2,1,0.3,1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: rgba(124,58,237,0.04);
}
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  will-change: transform;
}
.marquee-track span { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; letter-spacing: 0.05em; }
.marquee-track .sep { color: var(--purple); font-size: 0.7rem; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-2); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-head { text-align: center; margin-bottom: 4rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.section-tag {
  display: inline-flex; align-items: center;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  color: #A78BFA;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 540px; text-align: center; }

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06), transparent);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(124,58,237,0.15); }
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  border-color: rgba(124,58,237,0.4);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.05));
}
.card-feat-label {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 0.3rem 0.75rem; border-radius: 99px;
  letter-spacing: 0.05em;
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(124,58,237,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #A78BFA;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.service-card ul { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.25rem; }
.service-card ul li {
  font-size: 0.85rem; color: var(--text-muted);
  padding-left: 1.25rem; position: relative;
}
.service-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--purple); font-weight: 700; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: #A78BFA; font-size: 0.87rem; font-weight: 600;
  margin-top: auto;
  transition: var(--transition);
}
.service-link:hover { gap: 0.6rem; color: var(--cyan); }

/* ============================================
   PROCESSO
   ============================================ */
.process-steps {
  display: flex; flex-direction: column; gap: 0;
  position: relative; max-width: 800px; margin: 0 auto;
}
.process-line {
  position: absolute; left: 30px; top: 30px; bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
  opacity: 0.3;
}
.step {
  display: flex; gap: 2rem; align-items: flex-start;
  padding: 1.5rem 0 1.5rem 0;
}
.step-num {
  width: 60px; height: 60px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 2px solid rgba(124,58,237,0.4);
  border-radius: 50%;
  font-size: 0.85rem; font-weight: 800;
  color: #A78BFA;
  letter-spacing: 0.02em;
  z-index: 1;
  transition: var(--transition);
}
.step:hover .step-num {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 30px rgba(124,58,237,0.5);
}
.step-content { padding-top: 0.75rem; }
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-content p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; }

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.testi-stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 0.1em; }
.testi-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(124,58,237,0.3);
}
.testi-author strong { display: block; font-size: 0.92rem; font-weight: 700; }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 6rem 2rem;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.cta-orb-1 { width: 500px; height: 500px; top: -200px; left: -100px; background: rgba(124,58,237,0.12); }
.cta-orb-2 { width: 400px; height: 400px; bottom: -200px; right: -100px; background: rgba(6,182,212,0.08); }
.cta-inner {
  max-width: 700px; margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1;
}
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; }
.cta-inner p { color: var(--text-muted); font-size: 1rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links-group { display: flex; flex-direction: column; gap: 1rem; }
.footer-links-group strong { font-size: 0.87rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links-group a:hover { color: #A78BFA; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.84rem;
}

/* ============================================
   RESPONSIVE — TABLET (≤1100px)
   ============================================ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 500px; width: 100%; margin: 0 auto; }
  .hero-content { align-items: center; text-align: center; }
  .hero-desc { max-width: 100%; text-align: center; }
  .hero-tag { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================ */
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(5,8,16,0.97);
    backdrop-filter: blur(24px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
    z-index: 999;
    animation: slideDown 0.25s ease;
  }
  .nav-links.open a { padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-size: 1rem; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .nav-inner { padding: 0 1rem; }
  .nav-right { margin-left: auto; }

  #hero { padding: 6rem 1.25rem 4rem; min-height: 100vh; min-height: 100svh; }
  .hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }

  .badge-1 { display: none; }
  .badge-2 { left: 0; }

  .process-line { left: 25px; }
  .step-num { width: 50px; height: 50px; font-size: 0.78rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Performance: smaller orbs */
  .orb-1 { width: 280px; height: 280px; top: -80px; left: -80px; }
  .orb-2 { width: 240px; height: 240px; right: -60px; }
  .orb-3 { width: 200px; height: 200px; }
  .hero-orb { filter: blur(70px); animation-duration: 20s; }
  .badge-3 { display: none; }
  .hero-visual { max-width: 340px; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-actions { flex-wrap: wrap; justify-content: center; }
  .hero-stats { gap: 0.6rem; justify-content: center; }
  .hstat strong { font-size: 1.25rem; }
  .hstat span { font-size: 0.68rem; }
  .hstat-sep { height: 28px; }
  .floating-badge { display: none; }
  .section-title { font-size: clamp(1.7rem, 8vw, 2.5rem); }

  /* Hide decorative hero mockup on small phones */
  .hero-visual { display: none; }

  /* Tighten process steps */
  .step { gap: 1.25rem; }
  .step-content { padding-top: 0.4rem; }
  .step-content h3 { font-size: 1rem; }
  .step-content p { font-size: 0.88rem; }

  /* Tighten testimonial cards */
  .testi-card { padding: 1.4rem; }
  .testi-card p { font-size: 0.9rem; }

  /* Footer spacing */
  .footer-top { gap: 1.5rem; }
  .footer-links-group { gap: 0.75rem; }
}


/* ============================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Loader logo: skip animation entirely, show immediately */
  .loader-logo-img {
    animation: none !important;
    opacity: 1 !important;
  }
  /* Show content immediately — skip reveal animations */
  .reveal-up { opacity: 1 !important; transform: none !important; }
  /* Skip particle canvas */
  #hero-canvas { display: none; }
}
