/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: hsl(210, 33%, 98%);
  --fg: hsl(215, 30%, 18%);
  --card: hsl(0, 0%, 100%);
  --card-fg: hsl(215, 30%, 18%);
  --primary: hsl(217, 91%, 55%);
  --primary-fg: hsl(0, 0%, 100%);
  --secondary: hsl(210, 40%, 94%);
  --secondary-fg: hsl(215, 30%, 18%);
  --muted: hsl(210, 25%, 95%);
  --muted-fg: hsl(215, 15%, 50%);
  --accent: hsl(199, 89%, 48%);
  --border: hsl(214, 25%, 90%);
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(135deg, hsl(217,91%,55%) 0%, hsl(199,89%,48%) 50%, hsl(190,80%,55%) 100%);
  --surface-glass: hsla(210, 33%, 98%, 0.8);
  --shadow-card: 0 1px 3px hsla(215,30%,18%,0.06), 0 8px 24px hsla(215,30%,18%,0.04);
  --shadow-card-hover: 0 4px 12px hsla(217,91%,55%,0.15), 0 16px 40px hsla(215,30%,18%,0.08);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

.dark {
  --bg: hsl(220, 20%, 6%);
  --fg: hsl(210, 20%, 90%);
  --card: hsl(220, 18%, 10%);
  --card-fg: hsl(210, 20%, 90%);
  --primary: hsl(217, 91%, 60%);
  --secondary: hsl(220, 15%, 18%);
  --secondary-fg: hsl(210, 20%, 90%);
  --muted: hsl(220, 15%, 15%);
  --muted-fg: hsl(215, 15%, 55%);
  --accent: hsl(199, 89%, 48%);
  --border: hsl(220, 15%, 18%);
  --hero-gradient: linear-gradient(135deg, hsl(217,91%,50%) 0%, hsl(199,89%,42%) 50%, hsl(190,80%,45%) 100%);
  --surface-glass: hsla(220, 20%, 8%, 0.85);
  --shadow-card: 0 1px 3px hsla(0,0%,0%,0.2), 0 8px 24px hsla(0,0%,0%,0.15);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: 0.875rem;
  padding: 10px 20px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: all 0.2s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-secondary { background: var(--secondary); color: var(--secondary-fg); font-weight: 600; }
.btn-secondary:hover { filter: brightness(0.95); }
.btn-outline { border-color: var(--border); color: var(--fg); background: transparent; }
.btn-outline:hover { background: var(--muted); }
.btn-outline-light { border-color: hsla(0,0%,100%,0.3); color: var(--primary-fg); background: transparent; }
.btn-outline-light:hover { background: hsla(0,0%,100%,0.1); }
.btn-ghost { background: transparent; color: var(--muted-fg); }
.btn-ghost:hover { color: var(--fg); }
.btn-sm { padding: 6px 16px; font-size: 0.8125rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--surface-glass); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 768px) { .navbar-inner { height: 80px; } }

.logo-link { display: flex; align-items: center; gap: 8px; }
.logo-img { width: 36px; height: 36px; object-fit: contain; }
.logo-text { font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; color: var(--fg); }

.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); transition: color 0.2s; }
.nav-desktop a:hover { color: var(--primary); }
.nav-buttons-desktop { display: none; align-items: center; gap: 12px; }
@media (min-width: 768px) {
  .nav-desktop, .nav-buttons-desktop { display: flex; }
  .hamburger { display: none !important; }
}

.hamburger {
  display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--fg); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none; flex-direction: column; gap: 12px;
  padding: 16px 2rem; background: var(--card); border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 0.875rem; font-weight: 500; color: var(--muted-fg); padding: 8px 0; }
.nav-mobile a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero { position: relative; padding: 128px 0 80px; overflow: hidden; }
.hero-office-bg { position: absolute; inset: 0; background: url('office-bg.jpg') center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: var(--bg); opacity: 0.85; }
.hero-content { position: relative; }
.hero-center { max-width: 768px; margin: 0 auto; text-align: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 9999px;
  background: hsla(217,91%,55%,0.1); color: var(--primary);
  font-size: 0.875rem; font-weight: 500; margin-bottom: 24px;
}

.hero-title {
  font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 24px;
}
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }

.text-gradient {
  background: var(--hero-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle { font-size: 1.125rem; color: var(--muted-fg); max-width: 640px; margin: 0 auto 40px; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.hero-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 640px) { .hero-buttons { flex-direction: row; justify-content: center; } }

.hide-mobile { display: none; }
@media (min-width: 640px) { .hide-mobile { display: block; } }

/* Stats */
.stats-grid { margin-top: 80px; display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 640px; margin-left: auto; margin-right: auto; }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow-card);
}
.stat-card svg { color: var(--primary); }
.stat-value { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--fg); }
.stat-label { font-size: 0.875rem; color: var(--muted-fg); text-align: center; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }
.section-alt { background: hsla(210,40%,94%,0.5); }
.dark .section-alt { background: hsla(220,15%,18%,0.5); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag { display: block; font-size: 0.875rem; font-weight: 500; color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-header h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 16px; }
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }
.section-header p { font-size: 1.125rem; color: var(--muted-fg); }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  padding: 32px; border-radius: 1rem; background: var(--card); box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.service-icon {
  width: 48px; height: 48px; border-radius: 0.75rem;
  background: hsla(217,91%,55%,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* Features */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  display: flex; gap: 20px; padding: 32px; border-radius: 1rem;
  background: var(--card); box-shadow: var(--shadow-card);
}
.feature-icon-wrap {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 1rem;
  background: var(--hero-gradient); color: var(--primary-fg);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 4px; }
.feature-card p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: 12px; }
.feature-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  color: var(--primary); background: hsla(217,91%,55%,0.1);
  padding: 4px 12px; border-radius: 9999px;
}

/* Process */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { text-align: center; }
.process-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 1rem;
  background: hsla(217,91%,55%,0.1); color: var(--primary);
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 20px;
}
.process-step h3 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--muted-fg); }

/* CTA */
.cta-box {
  position: relative; border-radius: 1.5rem; background: var(--hero-gradient);
  padding: 48px; text-align: center; overflow: hidden;
}
@media (min-width: 768px) { .cta-box { padding: 80px; } }
.cta-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, hsla(199,89%,48%,0.3), transparent 60%);
}
.cta-content { position: relative; }
.cta-content h2 { font-size: 1.875rem; font-weight: 700; color: var(--primary-fg); margin-bottom: 16px; }
@media (min-width: 768px) { .cta-content h2 { font-size: 3rem; } }
.cta-content > p { color: hsla(0,0%,100%,0.8); font-size: 1.125rem; max-width: 576px; margin: 0 auto 32px; }
.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--card); }
.footer .container { padding-top: 64px; padding-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; margin-top: 16px; }
.footer h4 { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 0.875rem; color: var(--muted-fg); transition: color 0.2s; }
.footer ul a:hover { color: var(--primary); }
.contact-list li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted-fg); }
.contact-list svg { color: var(--primary); flex-shrink: 0; }
.footer-bottom {
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border);
  text-align: center; font-size: 0.875rem; color: var(--muted-fg);
}

/* ===== ANIMATIONS ===== */
.animate-up {
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.animate-up:nth-child(2) { animation-delay: 0.1s; }
.animate-up:nth-child(3) { animation-delay: 0.2s; }
.animate-up:nth-child(4) { animation-delay: 0.3s; }

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

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.2s;
  animation: scaleIn 0.4s ease 1s both;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes scaleIn { from { transform: scale(0); } to { transform: scale(1); } }
