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

:root {
  --bg:        #080810;
  --bg-2:      #0d0d1a;
  --surface:   #12121f;
  --surface-2: #1a1a2e;
  --border:    rgba(255,255,255,.06);
  --primary:   #6366f1;
  --primary-h: #818cf8;
  --accent:    #22d3ee;
  --green:     #25d366;
  --text:      #e2e8f0;
  --muted:     #94a3b8;
  --radius:    14px;
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ──────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-h);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn--sm { padding: 8px 18px; font-size: .875rem; }
.btn--lg { padding: 15px 32px; font-size: 1rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,.35);
}
.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(99,102,241,.55);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
}

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8,8,16,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  color: var(--primary);
  font-size: 1.4rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(8,8,16,.97);
  border-top: 1px solid var(--border);
}

.nav__mobile a {
  padding: 16px 24px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.nav__mobile a:hover { color: var(--text); }
.nav__mobile.open { display: flex; }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -200px; left: -100px;
  animation: float1 8s ease-in-out infinite;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -100px; right: -150px;
  animation: float2 10s ease-in-out infinite;
}
.hero__orb--3 {
  width: 400px; height: 400px;
  background: #7c3aed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  animation: float1 12s ease-in-out infinite reverse;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(20px) scale(.95); }
}

.hero__content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  color: var(--primary-h);
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-h), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1s both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(4px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── SERVICES ────────────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--bg-2);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(99,102,241,.1);
}

.service-card--featured {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(34,211,238,.08));
  border-color: rgba(99,102,241,.35);
}

.service-card--featured:hover {
  box-shadow: 0 20px 60px rgba(99,102,241,.2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.service-card__icon {
  width: 48px; height: 48px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 24px; height: 24px;
  color: var(--primary-h);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.2);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ─── WHY US ──────────────────────────────────────── */
.why {
  padding: 120px 0;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.why__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why__check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-h);
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}

.why__list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 1rem;
}

.why__list p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

/* ─── AI GRAPHIC ──────────────────────────────────── */
.why__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-graphic {
  position: relative;
  width: 300px;
  height: 300px;
}

.ai-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  border: 1px solid;
  transition: transform .3s ease;
}

.ai-node:hover { transform: scale(1.1); }

.ai-node--center {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  border-color: transparent;
  font-size: 1.1rem;
  color: #fff;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(99,102,241,.5);
  z-index: 1;
  animation: centralPulse 3s ease-in-out infinite;
}

@keyframes centralPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(99,102,241,.5); }
  50% { box-shadow: 0 0 60px rgba(99,102,241,.8), 0 0 80px rgba(34,211,238,.2); }
}

.ai-node--1, .ai-node--2, .ai-node--3,
.ai-node--4, .ai-node--5, .ai-node--6 {
  width: 54px; height: 54px;
  font-size: .72rem;
  color: var(--muted);
  background: var(--surface-2);
  border-color: rgba(99,102,241,.25);
}

.ai-node--1 { top: 0;   left: 50%; transform: translateX(-50%); }
.ai-node--2 { top: 25%; right: 0;  }
.ai-node--3 { bottom: 25%; right: 0; }
.ai-node--4 { bottom: 0;  left: 50%; transform: translateX(-50%); }
.ai-node--5 { bottom: 25%; left: 0; }
.ai-node--6 { top: 25%; left: 0; }

/* ─── CONTACT ─────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--bg-2);
}

.contact__inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,.15), transparent 70%);
  pointer-events: none;
}

.contact__inner .section-title { margin-bottom: 16px; }

.contact__inner .section-sub {
  margin-bottom: 40px;
  line-height: 1.8;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(37,211,102,.3);
  flex-wrap: wrap;
  justify-content: center;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.45);
  background: #1ebe59;
}

.whatsapp-btn__icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
}

.whatsapp-btn__number {
  font-size: .85rem;
  font-weight: 500;
  opacity: .85;
  background: rgba(0,0,0,.15);
  padding: 2px 10px;
  border-radius: 999px;
}

.contact__note {
  margin-top: 20px;
  color: var(--muted);
  font-size: .85rem;
}

/* ─── FOOTER ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer__tagline {
  color: var(--muted);
  font-size: .88rem;
}

.footer__copy {
  color: var(--muted);
  font-size: .8rem;
  opacity: .6;
}

/* ─── WHATSAPP FAB ────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  z-index: 99;
  transition: var(--transition);
}

.wa-fab svg { width: 28px; height: 28px; }

.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero__stats { gap: 24px; }
  .stat__divider { display: none; }

  .services__grid { grid-template-columns: 1fr; }

  .why__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why__visual { order: -1; }

  .ai-graphic { width: 240px; height: 240px; }

  .ai-node--center { width: 64px; height: 64px; font-size: .95rem; }
  .ai-node--1, .ai-node--2, .ai-node--3,
  .ai-node--4, .ai-node--5, .ai-node--6 {
    width: 44px; height: 44px; font-size: .65rem;
  }

  .whatsapp-btn { padding: 14px 24px; font-size: .95rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .btn--lg { width: 100%; justify-content: center; }
}
