* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0d12;
  --bg-card: #0f1419;
  --accent: #2E9CD1;
  --accent-hover: #51C4E7;
  --accent-green: #62B92D;
  --accent-green-hover: #94D34F;
  --text: #f5f5f5;
  --text-muted: #8b9aaa;
  --whatsapp: #25d366;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 13, 18, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 156, 209, 0.25);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 36px;
  width: auto;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 40%, rgba(46, 156, 209, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(46, 156, 209, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(46, 156, 209, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, #37840B 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-green-hover) 0%, var(--accent-green) 100%);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(139, 154, 170, 0.35);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  filter: brightness(1.1);
}

/* Highlights - Principais funcionalidades */
.highlights {
  padding: 4rem 0;
}

.highlights h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.highlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid rgba(46, 156, 209, 0.2);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
}

.highlight-topology .highlight-visual {
  order: 1;
}

.highlight-topology .highlight-content {
  order: 2;
}

.highlight-healthcheck .highlight-content {
  order: 1;
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(46, 156, 209, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.highlight-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: rgba(46, 156, 209, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.highlight-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.highlight-content > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.highlight-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.highlight-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
}

.alert-preview {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid rgba(46, 156, 209, 0.1);
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.alert-ok .alert-dot { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.alert-warn .alert-dot { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.alert-error .alert-dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

@media (max-width: 768px) {
  .highlight-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .highlight-topology .highlight-visual,
  .highlight-topology .highlight-content {
    order: unset;
  }
}

/* Features */
.features {
  padding: 4rem 0;
}

.features h2,
.demo h2,
.cta h2 {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(46, 156, 209, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(46, 156, 209, 0.15);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Demo */
.demo {
  padding: 4rem 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-card);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.demo-placeholder {
  border-radius: 12px;
  border: 1px dashed rgba(46, 156, 209, 0.3);
  background: var(--bg-card);
  padding: 4rem 2rem;
  text-align: center;
}

.demo-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.demo-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
  opacity: 0.6;
}

.demo-placeholder p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* CTA */
.cta {
  padding: 4rem 0;
  text-align: center;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.btn-email {
  background: var(--bg-card);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-email:hover {
  background: rgba(46, 156, 209, 0.15);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border: none;
}

.btn-instagram:hover {
  filter: brightness(1.15);
}

.btn-instagram svg {
  filter: brightness(0) invert(1);
}

/* Footer */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(46, 156, 209, 0.2);
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

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

/* Legal pages */
.legal-page {
  padding: 6rem 0 4rem;
}

.legal-page h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-page ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 640px) {
  .nav {
    gap: 1rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }
}
