:root {
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  --gradient-start: #7b2ff7; /* roxo */
  --gradient-mid: #3b82f6;   /* azul */
  --gradient-end: #ff7a18;   /* laranja */
  --muted: #9aa4b2;
  --bg: #080612;
  --card-bg: rgba(255,255,255,0.03);
  --glass: rgba(255,255,255,0.04);
  --accent: #ffffff;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, rgba(7,6,18,1) 0%, rgba(12,10,25,1) 100%);
  color: var(--accent);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.4;
}

/* Container */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: linear-gradient(90deg, rgba(12,9,20,0.6), rgba(12,9,20,0.35));
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* Brand */
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(59,130,246,0.12);
  overflow: hidden;
}
.logo-placeholder img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  padding: 4px;
}
.brand-text h1 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--gradient-mid), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
}
.nav-list li a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  opacity: 0.95;
}
.nav-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}
.cta-whatsapp {
  background: linear-gradient(90deg, var(--gradient-mid), var(--gradient-end));
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 18px;
}

/* Hero */
.hero {
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(123,47,247,0.06), rgba(59,130,246,0.03));
  border-bottom: 1px solid rgba(255,255,255,0.02);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: center;
}
.hero-content h2 {
  font-size: 30px;
  margin: 0 0 12px;
}
.lead {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 56ch;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid));
  color: white;
  box-shadow: 0 8px 24px rgba(123,47,247,0.12);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent);
  background: transparent;
}

/* Device mockup */
.device-mockup {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.device-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* Badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.badge {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  background: var(--card-bg);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Novos badges */
.badge.smarttv {
  background: linear-gradient(90deg, #ff7a18, #ffb347);
  color: #fff;
}
.badge.tvbox {
  background: linear-gradient(90deg, #7b2ff7, #3b82f6);
  color: #fff;
}
.badge.pc {
  background: linear-gradient(90deg, #3b82f6, #2ecc71);
  color: #fff;
}

/* Sections */
.section {
  padding: 56px 0;
}
.section-title {
  font-size: 22px;
  margin: 0 0 18px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.feature-card i {
  color: var(--gradient-mid);
}

/* Footer */
.site-footer {
  padding: 28px 0 60px;
  border-top: 1px solid rgba(255,255,255,0.02);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.footer-about p { color: var(--muted); }
.socials a {
  color: var(--accent);
  margin-right: 8px;
  text-decoration: none;
  font-size: 18px;
}
.copyright {
  padding: 18px 0 40px;
  text-align: center;
  color: var(--muted);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(90deg, var(--gradient-mid), var(--gradient-end));
  color: white;
  z-index: 60;
  box-shadow: 0 10px 30px rgba(59,130,246,0.18);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.05);
}
/* Seção Screens */
.section-screens {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.03);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.screen {
  width: 100%;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.screen:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(59,130,246,0.25);
}

/* Modal aprimorado */
.image-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.image-modal.open {
  display: flex;
}
/* Vídeo responsivo e otimizado no hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35); /* escurece para destacar o texto */
}

/* Garante que o conteúdo fique sobre o vídeo */
.hero-grid,
.hero-content {
  position: relative;
  z-index: 2;
}

/* Melhora o contraste do texto sobre o vídeo */
.hero h2, .hero p, .hero .btn, .hero ul, .hero small {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

/* Responsivo */
@media (max-width: 720px) {
  .hero-video video {
    filter: brightness(0.4);
  }
}

.modal-inner {
  position: relative;
  max-width: 95%;
  max-height: 90%;
}

#modal-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: 0;
  color: white;
  font-size: 26px;
  cursor: pointer;
}


/* Responsividade aprimorada */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr 320px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 10px 0;
  }
  .logo-placeholder {
    width: 48px;
    height: 48px;
    margin-left: 4px; /* espaçamento lateral ajustado */
  }
  .brand-text h1 {
    font-size: 16px;
  }
  .nav-list {
    position: fixed;
    top: 70px;
    right: 12px;
    background: linear-gradient(180deg, rgba(8,7,18,0.95), rgba(12,10,25,0.95));
    backdrop-filter: blur(6px);
    padding: 12px;
    border-radius: 10px;
    flex-direction: column;
    display: none;
    gap: 10px;
  }
  .nav-list.open {
    display: flex;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .desktop-only {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-content h2 {
    font-size: 22px;
  }
  .device-mockup {
    max-width: 100%;
    margin: 0 auto;
  }
  .badges {
    justify-content: center;
  }
  .plan-card {
    min-width: 100%;
  }
}
