*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-w: #ffffff;
  --bg-g: #ededed;
  --p-light: #bb65ff;
  --p-dark: #8258fb;
  --text: #111111;
  --text-muted: #555555;
  --border: rgba(130, 88, 251, 0.15);
  --font-main: 'Poppins', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--bg-w);
  color: var(--text);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--p-dark); background: linear-gradient(135deg, var(--p-dark), var(--p-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
p { line-height: 1.75; color: var(--text-muted); font-size: 1rem; font-weight: 300; }
a { text-decoration: none; color: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn-primary {
  display: inline-block;
  background: var(--text);
  color: var(--bg-w);
  padding: 16px 36px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--p-dark), var(--p-light));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(130, 88, 251, 0.3); }
.btn-primary.btn-large { padding: 20px 48px; font-size: 1rem; }

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--p-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}
.btn-ghost:hover { color: var(--p-light); transform: translateX(5px); }

.section { padding: 120px 8%; max-width: 1440px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-light);
  margin-bottom: 16px;
}
.section-header { margin-bottom: 72px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); color: var(--text); font-weight: 900; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 8%;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 16px 8%;
  border-bottom: 1px solid var(--bg-g);
}
.nav-logo { font-size: 1.8rem; font-weight: 900; color: var(--text); letter-spacing: -1px; }
.nav-logo span { color: var(--p-dark); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--p-dark); }
.hamburger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 28px; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--p-dark); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--p-dark); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 998;
  background: var(--bg-w);
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { list-style: none; text-align: center; }
.mobile-menu ul li { margin: 30px 0; }
.mobile-menu ul li a { font-size: clamp(2rem, 8vw, 3.5rem); color: var(--text); font-weight: 700; transition: color 0.3s; }
.mobile-menu ul li a:hover { color: var(--p-dark); }

.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 8% 100px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(130,88,251,0.08) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(187,101,255,0.08) 0%, transparent 50%);
}
.hero-bg-text {
  position: absolute;
  top: 50%; right: -5vw;
  transform: translateY(-50%);
  font-size: clamp(18vw, 25vw, 30rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--bg-g);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}
.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero-label {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--p-dark); margin-bottom: 24px; font-weight: 700;
  background: var(--bg-g); display: inline-block; padding: 6px 16px; border-radius: 50px;
}
.hero-title { font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 900; margin-bottom: 30px; line-height: 1.05; }
.hero-title em { display: block; }
.hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 500px; margin-bottom: 50px; line-height: 1.8; }
.hero-cta { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 40px; left: 8%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.scroll-line { width: 1.5px; height: 80px; background: linear-gradient(to bottom, var(--p-dark), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); opacity: 1; transform-origin: top; } 50% { transform: scaleY(0.3); opacity: 0.3; transform-origin: top; } }
.hero-scroll span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--p-dark); font-weight: 700; writing-mode: vertical-rl; }
.hero-badge { position: absolute; bottom: 40px; right: 8%; width: 140px; height: 140px; display: flex; align-items: center; justify-content: center; animation: rotateBadge 20s linear infinite; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-ring text { font-size: 11px; fill: var(--text); font-weight: 500; letter-spacing: 2px; }
.badge-icon { font-size: 1.8rem; color: var(--p-dark); position: relative; z-index: 1; }
@keyframes rotateBadge { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.marquee-wrap { overflow: hidden; background: var(--p-dark); padding: 20px 0; }
.marquee-track { display: flex; align-items: center; gap: 50px; width: max-content; animation: marqueeScroll 30s linear infinite; }
.marquee-track span { font-size: 1.2rem; font-weight: 500; color: var(--bg-w); white-space: nowrap; }
.marquee-track .dot { color: var(--p-light); font-size: 1rem; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.services { background: var(--bg-g); max-width: 100%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
.service-card { padding: 60px 50px; background: var(--bg-w); position: relative; transition: background 0.4s var(--ease), transform 0.3s var(--ease); z-index: 1; }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(130,88,251,0.03), rgba(187,101,255,0.03)); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-icon { transform: translateY(-5px); color: var(--p-light); }
.service-number { font-size: 0.8rem; font-weight: 700; color: var(--bg-g); font-family: monospace; font-size: 2rem; position: absolute; top: 40px; right: 40px; }
.service-icon { font-size: 2.5rem; color: var(--p-dark); margin-bottom: 24px; display: inline-block; transition: 0.4s var(--ease); }
.service-card h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.service-card p { margin-bottom: 30px; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: var(--p-dark); transition: gap 0.3s; }
.service-link:hover { gap: 15px; color: var(--p-light); }

.challenges { background: var(--bg-w); max-width: 100%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.challenges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }
.challenge-card { background: var(--bg-g); padding: 50px 40px; border-radius: 24px; text-align: center; border: 1px solid transparent; transition: 0.4s var(--ease); }
.challenge-card:hover { transform: translateY(-10px); background: var(--bg-w); border-color: var(--border); box-shadow: 0 20px 40px rgba(130,88,251,0.05); }
.challenge-icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: rgba(130,88,251,0.1); border-radius: 50%; color: var(--p-dark); font-size: 2.5rem; margin-bottom: 24px; transition: 0.4s var(--ease); }
.challenge-card:hover .challenge-icon { background: var(--p-dark); color: var(--bg-w); transform: scale(1.1); }
.challenge-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.challenge-card p { font-size: 0.95rem; color: var(--text-muted); }

.contact { background: var(--bg-g); max-width: 100%; padding: 100px 8%; }
.contact-inner { max-width: 800px; margin: 0 auto; text-align: center; background: var(--bg-w); padding: 60px 40px; border-radius: 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.contact-inner p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 40px; }
.contact-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-social { display: inline-flex; align-items: center; gap: 10px; padding: 16px 36px; border-radius: 50px; font-weight: 600; font-size: 1rem; color: #fff; transition: transform 0.3s, box-shadow 0.3s; }
.btn-whatsapp { background: #25D366; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }
.btn-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.btn-instagram:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(220, 39, 67, 0.3); }

.footer { background: var(--text); padding: 80px 8% 40px; color: var(--bg-w); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 40px; }
.footer-brand .nav-logo { color: var(--bg-w); }
.footer-brand .nav-logo span { color: var(--p-light); }
.footer-brand p { color: #888; margin-top: 16px; }

.footer-links, .footer-social { display: flex; flex-direction: column; gap: 16px; }
.footer-links { margin-left: auto; }

.footer-links a, .footer-social a { font-size: 0.95rem; color: #ccc; font-weight: 500; transition: color 0.3s, transform 0.3s; display: inline-block; }
.footer-links a:hover, .footer-social a:hover { color: var(--p-light); transform: translateX(5px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: #666; }

@media (max-width: 768px) {
  .section { padding: 80px 5%; }
  .hero { padding: 120px 5% 80px; }
  .hero-title { font-size: 3.2rem; }
  .hero-badge { display: none; }
  .hero-scroll { left: 5%; }
  .nav { padding: 20px 5%; }
  .nav.scrolled { padding: 15px 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .service-card { padding: 40px 30px; }
  .challenges-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 40px 20px; }
  .btn-social { width: 100%; justify-content: center; }
  .footer-links { margin-left: 0; }
}
