/* ========================================
   VIRALIZE — Premium Evolution
   Building on your existing foundation
   Dark, cinematic, minimal
   ======================================== */

:root {
  /* ----- Base ----- */
  --bg: #050505;
  --bg-card: #0d0d0d;
  --bg-card-hover: #141414;
  --bg-elevated: #111111;
  
  /* ----- Borders ----- */
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);
  --line-accent: rgba(255, 255, 255, 0.2);
  
  /* ----- Text ----- */
  --fg: #ffffff;
  --fg-muted: #8d8d8d;
  --fg-faint: #5a5a5a;
  
  /* ----- Accent (muted, sophisticated) ----- */
  --accent: #ffffff;
  --accent-dim: rgba(255, 255, 255, 0.04);
  --accent-ink: #050505;
  
  /* ----- WhatsApp (kept orange for recognizability) ----- */
  --wa: #25D366;
  
  /* ----- Layout ----- */
  --container: 1280px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  
  /* ----- Fonts (simplified) ----- */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SF Mono', 'Menlo', 'Monaco', monospace;
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain - preserving your idea but more refined */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ---------- UTILITY ---------- */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--fg-muted);
  display: inline-block;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  background: #e8e8e8;
  transform: scale(0.97);
  opacity: 1;
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--fg);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--fg);
  transform: scale(0.97);
  opacity: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- NAVIGATION ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.5s var(--ease);
}

header.scrolled {
  background: rgba(5, 5, 5, 0.9);
  padding: 4px 0;
}

header.hidden {
  transform: translateY(-100%);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  max-width: var(--container);
  margin: 0 auto;
}

@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  transition: opacity 0.3s ease;
}

.wordmark:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .wordmark {
    font-size: 1.2rem;
  }
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.nav-links a {
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--fg);
  opacity: 1;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.8rem;
}

.nav-cta .btn svg {
  width: 16px;
  height: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--fg);
  display: block;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:first-child {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:last-child {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- MOBILE NAV - Premium Animation ---------- */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: auto;
    min-width: 180px;
    max-width: 240px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 60px 36px 40px;
    transition: right 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.nav-open {
    right: 0;
  }

  /* Individual link animations */
  .nav-links li {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0s;
    list-style: none;
    width: 100%;
  }

  .nav-links.nav-open li {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  /* Staggered delay for each link */
  .nav-links.nav-open li:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.nav-open li:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.nav-open li:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.nav-open li:nth-child(4) { transition-delay: 0.2s; }

  .nav-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    padding: 14px 0;
    display: block;
    position: relative;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
  }

  /* Hover effect - subtle underline animation */
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-links a:hover {
    color: #ffffff;
    padding-left: 8px;
  }

  /* Last link has no border */
  .nav-links li:last-child a {
    border-bottom: none;
  }

  /* Hamburger animation when open */
  .menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    display: block;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 2px;
    transform-origin: center;
  }

  /* Overlay when menu is open */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: none;
}

/* Subtle radial glow - more refined than before */
.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 800px;
  height: 70%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 60%;
  max-width: 600px;
  opacity: 0.02;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  z-index: 2;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}

.hero-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-secondary {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.hero-secondary:hover {
  color: var(--fg);
  opacity: 1;
}

.hero-secondary svg {
  width: 18px;
  height: 18px;
}

.scroll-cue {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--fg-faint);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.scroll-cue .line {
  width: 50px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--fg);
  animation: slideLine 2.8s infinite ease-in-out;
}

@keyframes slideLine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Hero entrance animations */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFade 0.9s var(--ease) forwards;
}

.hero-anim.d1 { animation-delay: 0.05s; }
.hero-anim.d2 { animation-delay: 0.15s; }
.hero-anim.d3 { animation-delay: 0.3s; }
.hero-anim.d4 { animation-delay: 0.45s; }
.hero-anim.d5 { animation-delay: 0.6s; }

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 7vw, 3.8rem);
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-watermark {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }
}

/* ---------- SECTIONS ---------- */
section {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section-head {
  max-width: 700px;
  margin-bottom: 64px;
}

.section-head h2 i {
  font-style: italic;
  color: var(--fg);
  font-weight: 300;
}

/* ---------- ABOUT ---------- */
.about {
  text-align: center;
  padding: 80px 0;
}

.about .statement {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.about .statement i {
  font-style: italic;
  color: var(--fg-muted);
  font-weight: 300;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 40px 32px;
  transition: all 0.5s var(--ease);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-weight: 500;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 100%;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 24px;
  }
}

/* ---------- PROCESS ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: var(--line-strong);
}

.process-step {
  position: relative;
  padding-right: 30px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-weight: 500;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  max-width: 300px;
}

@media (max-width: 768px) {
  .process {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process::before {
    display: none;
  }

  .process-step {
    padding-right: 0;
  }

  .process-step p {
    max-width: 100%;
  }
}

/* ---------- CLIENTS - Premium Marquee (Bigger Logos) ---------- */
.clients {
  padding: 120px 0;
}

.clients-marquee {
  overflow: hidden;
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.clients-track {
  display: flex;
  gap: 100px;
  width: max-content;
  animation: marqueeScroll 70s linear infinite;
}

.clients-track span {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.client-logo-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 80px;
  min-width: 160px;
  flex-shrink: 0;
}

.client-logo-item img {
  height: 65px;
  width: auto;
  max-width: 200px;
  max-height: 65px;
  object-fit: contain;
  filter: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.client-logo-item:hover img {
  opacity: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@media (max-width: 1024px) {
  .clients-track {
    gap: 70px;
  }
  
  .client-logo-item {
    height: 65px;
    min-width: 130px;
  }
  
  .client-logo-item img {
    height: 50px;
    max-width: 160px;
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  .clients {
    padding: 60px 0;
  }
  
  .clients-marquee {
    padding: 30px 0;
  }
  
  .clients-track {
    gap: 50px;
  }
  
  .clients-track span {
    font-size: 1.1rem;
  }
  
  .client-logo-item {
    height: 50px;
    min-width: 90px;
    padding: 0 12px;
  }
  
  .client-logo-item img {
    height: 36px;
    max-width: 110px;
    max-height: 36px;
  }
}
/* ---------- STATS ---------- */
.stats {
  padding: 80px 0;
  border-bottom: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--fg);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  color: var(--fg-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  border-bottom: none;
  padding: 120px 0;
}

.cta h2 {
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta h2 i {
  font-style: italic;
  font-weight: 300;
  color: var(--fg);
}

.cta p {
  max-width: 480px;
  margin: 0 auto 40px;
  color: var(--fg-muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-secondary-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-secondary-row a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.cta-secondary-row a:hover {
  color: var(--fg);
  opacity: 1;
}

.cta-secondary-row svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .cta {
    padding: 80px 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-secondary-row {
    gap: 20px;
  }
}

/* ---------- FOOTER ---------- */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-tag {
  color: var(--fg-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-cols {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 16px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.footer-col a.primary {
  color: var(--fg);
}

.footer-col a:hover {
  color: var(--fg);
  opacity: 1;
}

.footer-col svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- FOOTER SOCIAL SECTION ---------- */
.footer-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.social-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-faint);
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 24px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  color: var(--fg-muted);
}

.social-icons a:hover {
  border-color: var(--fg);
  color: var(--fg);
  transform: translateY(-2px);
  opacity: 1;
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

/* Email link styling */
.email-link {
  font-weight: 600 !important;
  color: var(--fg) !important;
}

.email-link:hover {
  color: var(--fg) !important;
  opacity: 0.7;
}

/* Footer bottom - simplified */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  color: var(--fg-faint);
  font-size: 0.8rem;
}

.footer-bottom span:last-child {
  color: var(--fg-faint);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.social-row {
  display: flex;
  gap: 16px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.social-row a:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
  opacity: 1;
}

.social-row svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-cols {
    gap: 40px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-tag {
    max-width: 100%;
  }

  .footer-social {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 24px 0;
  }

  .social-icons {
    gap: 16px;
  }

  .social-icons a {
    width: 44px;
    height: 44px;
  }
}

/* ---------- WHATSAPP FLOATING BUTTON - White Background ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: scale(0) rotate(10deg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-decoration: none;
}

.wa-float.show {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 48px rgba(255, 255, 255, 0.25);
}

.wa-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  /* Your black PNG will stay black on white background */
  filter: none;
  transition: transform 0.3s ease;
}

.wa-float:hover .wa-icon {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .wa-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .wa-icon {
    width: 24px;
    height: 24px;
  }
}
/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: all 0.8s var(--ease);
}

.reveal-scale.in {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.06s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.18s; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }

.stat:nth-child(1) { transition-delay: 0s; }
.stat:nth-child(2) { transition-delay: 0.08s; }
.stat:nth-child(3) { transition-delay: 0.16s; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--fg-muted);
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .clients-track {
    animation: none;
  }

  .scroll-cue .line::after {
    animation: none;
  }

  .reveal,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-anim {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- MARQUEE - Ultra Premium ---------- */
.marquee-band {
  background: transparent;
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.06);
  padding: 0 50px;
  display: inline-flex;
  align-items: center;
  transition: color 0.8s ease;
  user-select: none;
}

/* Very subtle hover - individual words light up slightly */
.marquee-track span:hover {
  color: rgba(255, 255, 255, 0.15);
}

/* Elegant dot separator */
.marquee-track span::after {
  content: "◆";
  font-size: 0.4rem;
  margin-left: 50px;
  color: rgba(255, 255, 255, 0.04);
}

/* Remove dot after last item */
.marquee-track span:last-child::after {
  display: none;
}

/* Super subtle edge fade - barely visible */
.marquee-band::before,
.marquee-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-band::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-band::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- CUSTOM CURSOR - The Glow ---------- */
* {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.08s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  transform: translate(-50%, -50%);
}

/* Glowing dot */
.custom-cursor .dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.2),
    0 0 60px rgba(255, 255, 255, 0.05);
}

/* Thin ring with glow */
.custom-cursor .ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.03);
}

/* Hover - expands with more glow */
.custom-cursor.hover .dot {
  width: 4px;
  height: 4px;
  box-shadow: 
    0 0 40px rgba(255, 255, 255, 0.4),
    0 0 80px rgba(255, 255, 255, 0.1);
}

.custom-cursor.hover .ring {
  width: 56px;
  height: 56px;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

/* Click - flash */
.custom-cursor.click .ring {
  transform: translate(-50%, -50%) scale(0.5);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 80px rgba(255, 255, 255, 0.15);
}

@media (hover: none) and (pointer: coarse) {
  * { cursor: auto !important; }
  .custom-cursor { display: none !important; }
}

/* ---------- PRINCIPLES ---------- */
.principles {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.principle-card {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.5s var(--ease);
}

.principle-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 16px;
}

.principle-card h3 {
  font-weight: 500;
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- COMMITMENT ---------- */
.commitment {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.commitment-content {
  max-width: 800px;
  margin: 0 auto;
}

.commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.commitment-item {
  padding: 40px 32px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.commitment-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 4vw, 4rem);
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}

.commitment-label {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.commitment-note {
  color: var(--fg-faint);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- CTA SECONDARY BUTTON ---------- */
.btn-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--fg);
  transform: scale(0.97);
  opacity: 1;
}

/* ---------- PROBLEM SECTION ---------- */
.problem {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
}

.problem-content h2 {
  margin-bottom: 40px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.problem-content h2 i {
  font-style: italic;
  color: var(--fg);
  font-weight: 300;
}

.problem-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.problem-point {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--fg-muted);
}

.problem-point p {
  margin: 0;
  color: var(--fg-muted);
}

.problem-icon {
  font-size: 0.8rem;
  color: var(--fg-faint);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.problem-point:last-child .problem-icon {
  color: var(--fg);
}

.problem-solution {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--fg);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .problem {
    padding: 60px 0;
  }

  .problem-point {
    font-size: 0.95rem;
  }
}/* ---------- CLIENTS - Logo Items (PNG - Original Colors) ---------- */
.client-logo-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 50px;
  min-width: 100px;
  flex-shrink: 0;
}

.client-logo-item img {
  height: 40px;
  width: auto;
  max-width: 120px;
  max-height: 40px;
  object-fit: contain;
  /* Original colors, no filter */
  filter: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.client-logo-item:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .client-logo-item {
    height: 40px;
    min-width: 70px;
    padding: 0 12px;
  }
  
  .client-logo-item img {
    height: 28px;
    max-width: 80px;
    max-height: 28px;
  }
}
/* ---------- CLIENTS - Premium Marquee (Bigger Logos) ---------- */
.clients {
  padding: 120px 0;
}

.clients-marquee {
  overflow: hidden;
  padding: 60px 0;  /* Increased vertical padding */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.clients-track {
  display: flex;
  gap: 120px;  /* More space between items */
  width: max-content;
  animation: marqueeScroll 70s linear infinite;
}

.clients-track span {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.client-logo-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 100px;  /* Taller container */
  min-width: 180px;  /* Wider container */
  flex-shrink: 0;
}

.client-logo-item img {
  height: 80px;  /* Much bigger logos */
  width: auto;
  max-width: 240px;  /* Wider max */
  max-height: 80px;
  object-fit: contain;
  filter: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.client-logo-item:hover img {
  opacity: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

/* Tablet */
@media (max-width: 1024px) {
  .clients-track {
    gap: 80px;
  }
  
  .client-logo-item {
    height: 80px;
    min-width: 140px;
  }
  
  .client-logo-item img {
    height: 60px;
    max-width: 180px;
    max-height: 60px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .clients {
    padding: 60px 0;
  }
  
  .clients-marquee {
    padding: 30px 0;
  }
  
  .clients-track {
    gap: 50px;
  }
  
  .clients-track span {
    font-size: 1.1rem;
  }
  
  .client-logo-item {
    height: 60px;
    min-width: 100px;
    padding: 0 12px;
  }
  
  .client-logo-item img {
    height: 45px;
    max-width: 130px;
    max-height: 45px;
  }
}
