@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-dark: #050814;
  --bg-darker: #02040a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --cyan-primary: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.4);
  --cyan-light: #22d3ee;
  
  --blue-primary: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  
  --yellow-accent: #eab308;
  --green-accent: #10b981;
  --purple-accent: #8b5cf6;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, .logo, .step-num { font-family: 'Outfit', sans-serif; }
.text-cyan { color: var(--cyan-light); }

/* --- Glow Orbs --- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.5;
  animation: float 10s infinite alternate ease-in-out;
}
.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--blue-glow); }
.glow-2 { top: 40%; right: -20%; width: 60vw; height: 60vw; background: var(--cyan-glow); animation-delay: -5s; }
.glow-3 { bottom: -10%; left: 20%; width: 40vw; height: 40vw; background: rgba(139, 92, 246, 0.2); }

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.1); }
}

/* --- Top Nav --- */
.top-nav {
  position: fixed;
  top: 0; width: 100%;
  padding: 1.25rem 0;
  background: rgba(5, 8, 20, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--cyan-primary); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .35rem; cursor: pointer; }
.nav-dropdown > a .fa-chevron-down { font-size: .7rem; transition: var(--transition); }
.nav-dropdown:hover > a .fa-chevron-down { transform: rotate(180deg); }
.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(8, 12, 28, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: .75rem;
  padding-top: 1.25rem;  /* ponte invisível — cobre o gap até o link */
  margin-top: -0.5rem;   /* sobe levemente para cobrir o gap */
  min-width: 230px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  z-index: 200;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.nav-dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.dropdown-menu a {
  padding: .65rem 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(255,255,255,.05); color: var(--cyan-light); }
.dropdown-menu a i { width: 16px; text-align: center; color: var(--cyan-primary); font-size: .85rem; }
.dropdown-divider { border: none; border-top: 1px solid var(--glass-border); margin: .4rem 0; }

/* WhatsApp button */
.btn-whatsapp {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: .9rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.4); }

.btn-outline {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}
.btn-outline:hover { background: var(--glass-bg); border-color: var(--cyan-primary); color: var(--cyan-light); }

/* --- Hero Section --- */
.hero {
  padding: 12rem 2rem 6rem;
  max-width: 1200px; margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  min-height: 100vh;
}
.hero-content { flex: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cyan-light);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--cyan-light), var(--blue-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eas-statement {
  font-size: 1.25rem; font-weight: 400; color: var(--text-main); margin-bottom: 1.5rem;
  border-left: 4px solid var(--cyan-primary); padding-left: 1.5rem;
}
.hero-subtext { color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-subtext p { margin-bottom: 1rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-button {
  padding: 1rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: var(--transition);
}
.cta-button.primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--cyan-primary));
  color: #fff; box-shadow: 0 10px 25px var(--blue-glow);
}
.cta-button.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px var(--cyan-glow); }
.cta-button.secondary { background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-main); }
.cta-button.secondary:hover { background: rgba(255,255,255,0.1); }

/* --- Dashboard Mockup --- */
.hero-image-abstract { flex: 1; display: flex; justify-content: center; }
.hero-feature-img {
  width: 100%; max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
  transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
  transition: var(--transition);
}
.hero-feature-img:hover { transform: perspective(1000px) rotateY(0deg) rotateX(0deg); }

/* --- Mobile Menu Toggle --- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-main);
  z-index: 2005;
  padding: 0.5rem;
  transition: var(--transition);
}

/* --- Main Sections --- */
main { max-width: 1200px; margin: 0 auto; padding: 0 2rem 4rem; }
.mega-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--glass-border);
}
.mega-section:last-child { border-bottom: none; }
.mega-section.transparent { background: transparent; }
.section-header { margin-bottom: 3rem; max-width: 800px; }
.section-header.center { margin: 0 auto 3rem; text-align: center; }
.icon-wrapper {
  width: 64px; height: 64px; border-radius: 20px;
  background: rgba(6, 182, 212, 0.1); border: 1px solid var(--cyan-glow);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--cyan-light);
  margin-bottom: 1.5rem;
}
.icon-wrapper.accent-yellow { background: rgba(234, 179, 8, 0.1); border-color: rgba(234, 179, 8, 0.3); color: var(--yellow-accent); }
.icon-wrapper.accent-green { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); margin: 0 auto 1.5rem; color: var(--green-accent); }
.icon-wrapper.accent-purple { background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.3); color: var(--purple-accent); }

.mega-section h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
.section-lead { font-size: 1.125rem; color: var(--text-muted); font-weight: 400; line-height: 1.8; }
.mb-4 { margin-bottom: 3rem; }
.mt-3 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Grid Features (Glass Cards) --- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.glass-card {
  background: var(--glass-bg); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
}
.glass-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-icon { font-size: 2.5rem; color: var(--cyan-light); margin-bottom: 1.5rem; display: block; }
.feature-icon.yellow { color: var(--yellow-accent); }
.feature-icon.purple { color: var(--purple-accent); }
.glass-card.border-yellow:hover { border-color: rgba(234, 179, 8, 0.4); }

.glass-card h3, .glass-card h4 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; line-height: 1.3; }
.glass-card p { color: var(--text-muted); margin-bottom: 1rem; }
.glass-card p:last-child { margin-bottom: 0; }

/* --- Steps Grid --- */
.steps-container h3 { text-align: center; font-size: 2rem; margin-bottom: 3rem; }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; position: relative; }
.step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  border-top: 1px solid var(--glass-border); padding: 2rem; border-radius: var(--radius-md);
  text-align: center;
}
.step-num { font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.05); margin-bottom: -1rem; display: block; }
.step-card h4 { font-size: 1.25rem; color: var(--cyan-light); margin-bottom: 1rem; }
.step-card p { color: var(--text-muted); }

/* --- Benefits Content Blocks --- */
.benefits-article { display: flex; flex-direction: column; gap: 4rem; }
.benefit-block h3 { border-left: 3px solid var(--purple-accent); padding-left: 1rem; font-size: 1.75rem; color: #fff; margin-bottom: 1.5rem; }
.benefit-block p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- Callout Section --- */
.callout {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(6, 182, 212, 0.2); border-radius: var(--radius-lg); padding: 4rem; text-align: center;
}
.callout h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.callout p { color: var(--text-muted); max-width: 800px; margin: 0 auto 1.5rem; font-size: 1.125rem; }
.callout p.strong-text { color: #fff; font-weight: 500; }

/* --- Footer --- */
.site-footer { background: var(--bg-darker); padding: 5rem 2rem 2rem; border-top: 1px solid var(--glass-border); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); margin-top: 1rem; }
.footer-links h4, .footer-nap h4 { font-family: 'Outfit'; font-size: 1.25rem; margin-bottom: 1.5rem; color: #fff; }
.footer-links nav { display: flex; flex-direction: column; gap: 1rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan-light); transform: translateX(5px); }
.nap-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; color: var(--text-muted); }
.nap-detail i { color: var(--cyan-light); font-size: 1.25rem; margin-top: 0.25rem; }
.nap-detail strong { color: #fff; }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; text-align: center; color: var(--text-muted); font-size: 0.875rem; }

/* --- Responsiveness --- */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 10rem; height: auto; min-height: 100vh; }
  .hero-image-abstract { transform: none; margin-top: 3rem; }
  .hero-feature-img { transform: none; }
  .hero-feature-img:hover { transform: none; }
  .hero-actions { justify-content: center; }
  .eas-statement { border-left: none; border-top: 4px solid var(--cyan-primary); padding-left: 0; padding-top: 1.5rem; text-align: center; }
  .section-header { margin: 0 auto 3rem; text-align: center; }
  .icon-wrapper { margin: 0 auto 1.5rem; }
}

@media (max-width: 768px) {
  body.menu-open { overflow: hidden; }
  
  .hero h1 { font-size: 2.25rem; }
  .mega-section h2 { font-size: 1.75rem; }
  .callout { padding: 3rem 1.5rem; }
  
  /* Mobile Menu logic */
  .mobile-menu-btn { display: block; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%; /* Full screen for cleaner feel */
    height: 100vh;
    background: rgba(8, 12, 28, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.5rem;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .nav-dropdown { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none; /* JavaScript can handle toggle or just show them */
    flex-direction: column;
    align-items: center;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    padding-top: 0.5rem;
  }
  
  .nav-dropdown.open .dropdown-menu { display: flex; }
  
  .dropdown-menu a { font-size: 1.25rem; }
  
  .btn-whatsapp { width: 100%; justify-content: center; margin-top: 2rem; font-size: 1.1rem; }
}
