/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #334155;
  background-color: #ffffff;
}

h1, h2, h3, .hero-title, .footer-brand-name, .nav-link, .btn, .brand-name {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(14, 165, 233, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  background-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(14, 165, 233, 0.3);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.5);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Section Title */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0ea5e9;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 3rem;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 0.375rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: #0ea5e9;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0ea5e9;
  transition: width 0.2s ease;
}

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

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #334155;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Blobs */
.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  opacity: 0.06;
  fill: #0ea5e9;
}

.blob-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  animation: blob-morph 8s ease-in-out infinite alternate;
}

.blob-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
  animation: blob-morph 10s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 30%;
  animation: blob-morph 12s ease-in-out infinite alternate;
  animation-delay: -3s;
}

@keyframes blob-morph {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(30px, -30px) rotate(10deg) scale(1.05); }
  66% { transform: translate(-20px, 20px) rotate(-5deg) scale(0.95); }
  100% { transform: translate(10px, -10px) rotate(5deg) scale(1.02); }
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: -1px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-divider svg {
  animation: wave-flow 6s ease-in-out infinite;
}

@keyframes wave-flow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2%); }
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
  background: linear-gradient(90deg, #0ea5e9, #0284c7, #0ea5e9, #38bdf8);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn-whatsapp svg {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Brands */
.brands {
  padding: 5rem 0;
  background-color: #ffffff;
}

.brands-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 3rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.router-illustration {
  max-width: 100%;
  animation: float-gentle 5s ease-in-out infinite;
  overflow: visible;
}

.router-illustration img {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background-color: #f8fafc;
  border-radius: 0.75rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.brand-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.12), 0 0 0 1px rgba(14, 165, 233, 0.1);
  transform: translateY(-4px);
}

.brand-logo-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  transition: background 0.3s ease;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-wrap {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.brand-card:hover .brand-logo {
  filter: grayscale(0%) brightness(0) invert(1);
  opacity: 1;
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-align: center;
}

/* About */
.about {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  animation: float-gentle 6s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-highlights li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #334155;
}

.about-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: #0ea5e9;
  border-radius: 50%;
}

/* Contact */
.contact {
  padding: 5rem 0;
  background-color: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 3rem;
}

.contact-illustration {
  max-width: 100%;
  animation: float-gentle 6s ease-in-out infinite;
}

.contact-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-content {
  text-align: center;
}

.contact-header {
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  position: relative;
  display: block;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem 1.5rem 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(14, 165, 233, 0.18);
  border-color: #bae6fd;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.35);
  transform: rotate(-3deg);
  transition: transform 0.35s ease;
}

.contact-card:hover .contact-icon {
  transform: rotate(0deg) scale(1.08);
  animation: icon-bounce 0.6s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: rotate(0deg) scale(1.08); }
  25% { transform: rotate(0deg) scale(1.15) translateY(-4px); }
  50% { transform: rotate(0deg) scale(1.05) translateY(2px); }
  75% { transform: rotate(0deg) scale(1.12) translateY(-2px); }
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.contact-card span {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.contact-card:hover span {
  color: #0ea5e9;
}

.contact-cta {
  display: flex;
  justify-content: center;
}

.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 1rem;
  gap: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.5);
}

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

/* Footer */
.footer {
  background-color: #f8fafc;
  color: #475569;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.95rem;
  color: #475569;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #0ea5e9;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: #94a3b8;
  text-align: center;
}

.footer-biz-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #94a3b8;
  flex-wrap: wrap;
  justify-content: center;
}

.biz-divider {
  color: #cbd5e1;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.55);
}

@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
  .brands-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .router-illustration {
    max-width: 320px;
    margin: 0 auto;
    order: -1;
  }

  .contact-layout {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text .section-title {
    text-align: center;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-illustration {
    max-width: 400px;
    margin: 0 auto;
  }

  .contact-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-brand {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .brands,
  .about,
  .contact {
    padding: 3rem 0;
  }

  .router-illustration {
    max-width: 240px;
    margin-bottom: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  .blob-1 { width: 280px; height: 280px; top: -60px; right: -60px; }
  .blob-2 { width: 220px; height: 220px; bottom: -40px; left: -40px; }
  .blob-3 { width: 180px; height: 180px; }

  .wave-divider { height: 50px; }
}
