:root {
  --bg: #0b0f14;
  --bg-soft: #101722;
  --surface: rgba(17, 24, 35, 0.72);
  --surface-strong: #121a25;
  --graphite: #1b2532;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e7eef6;
  --text-muted: #9db0c4;
  --accent: #39f2a8;
  --accent-soft: rgba(57, 242, 168, 0.16);
  --radius: 18px;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

#particles,
.bg-grid,
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#particles {
  z-index: -3;
}

.bg-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, #000 32%, transparent 100%);
}

.bg-glow {
  z-index: -1;
  border-radius: 999px;
  filter: blur(86px);
  opacity: 0.22;
}

.bg-glow-1 {
  width: 390px;
  height: 390px;
  top: 2%;
  left: -120px;
  background: #39f2a8;
}

.bg-glow-2 {
  width: 450px;
  height: 450px;
  right: -180px;
  bottom: -220px;
  background: #2f7cff;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 94px 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.4rem);
  max-width: 20ch;
}

.subtitle {
  margin-top: 18px;
  color: var(--text-muted);
  max-width: 62ch;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(9px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(10px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.brand-logo-header {
  max-height: 68px;
}

.brand-logo-footer {
  max-height: 78px;
}

.menu {
  display: flex;
  gap: 20px;
}

.menu a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.mobile-menu {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #76efbf);
  color: #072215;
  box-shadow: 0 8px 30px rgba(57, 242, 168, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(57, 242, 168, 0.34);
}

.btn-outline,
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover,
.btn-ghost:hover {
  border-color: rgba(57, 242, 168, 0.52);
  box-shadow: 0 0 0 4px rgba(57, 242, 168, 0.08);
}

.hero {
  padding-top: 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mockup-shell {
  padding: 14px;
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-topbar span:nth-child(1) {
  background: #fc6f6f;
}

.mockup-topbar span:nth-child(2) {
  background: #ffd56d;
}

.mockup-topbar span:nth-child(3) {
  background: #72fdb8;
}

.mockup-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.kpi p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.kpi strong {
  font-size: 1.16rem;
}

.chart {
  position: relative;
  grid-column: span 3;
  height: 132px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(57, 242, 168, 0.2), rgba(57, 242, 168, 0.02)),
    linear-gradient(120deg, rgba(47, 124, 255, 0.18), rgba(47, 124, 255, 0.03));
  overflow: hidden;
}

.chart::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  animation: scan 5.5s linear infinite;
}

@keyframes scan {
  to {
    transform: translateX(100%);
  }
}

.mockup-table {
  grid-column: span 3;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.mockup-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.mockup-table div:last-child {
  border-bottom: 0;
}

.mockup-table span {
  color: var(--text-muted);
}

.ok {
  color: #75f7be;
}

.warn {
  color: #ffc978;
}

.section-head {
  margin-bottom: 24px;
}

.about-box {
  padding: 24px;
  color: var(--text-muted);
  display: grid;
  gap: 12px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(57, 242, 168, 0.45);
}

.card i {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pillar {
  padding: 18px 14px;
  font-weight: 600;
  text-align: center;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.screen {
  min-height: 160px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 8%, rgba(57, 242, 168, 0.12), transparent 42%);
  pointer-events: none;
}

.screen p {
  color: var(--text-muted);
  margin-top: 8px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 18px;
  text-align: center;
}

.metric strong {
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.metric span {
  color: var(--accent);
  font-size: 1.2rem;
}

.metric p {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 0.9rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cta {
  min-height: 78px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: all 0.22s ease;
}

.cta i {
  width: 22px;
  height: 22px;
}

.cta-whats:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 242, 168, 0.55);
  box-shadow: 0 0 28px rgba(57, 242, 168, 0.2);
}

.cta-insta:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 119, 255, 0.58);
  box-shadow: 0 0 28px rgba(197, 119, 255, 0.17);
}

.footer {
  border-top: 1px solid var(--line);
  background: #090d12;
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.footer-slogan {
  margin-top: 8px;
  color: var(--text-muted);
}

.footer-links,
.footer-social {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--text);
}

.footer-copy {
  margin-top: 20px;
  color: #7f93a6;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu {
    width: min(1180px, 92%);
    margin: 0 auto 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(12, 17, 25, 0.94);
    padding: 8px;
    display: none;
    grid-template-columns: 1fr;
  }

  .mobile-menu.open {
    display: grid;
  }

  .mobile-menu a {
    color: var(--text-muted);
    padding: 10px;
    border-radius: 10px;
  }

  .mobile-menu a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 72px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .brand-logo-header {
    max-height: 56px;
  }

  .brand-logo-footer {
    max-height: 66px;
  }

  .cards-grid,
  .pillars,
  .platform-grid,
  .metrics,
  .contact-actions,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
