
:root {
  --bg: #091426;
  --bg-alt: #0c1d3a;
  --card: #10264b;
  --blue: #247bfa;
  --cyan: #55bbff;
  --white: #f4f8ff;
  --muted: #a8bfdf;
  --border: #244f89;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

.container {
  width: min(1150px, 92%);
  margin: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 16, 37, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}


.logo-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #42b5ff;
  filter: drop-shadow(0 0 8px rgba(36, 123, 250, 0.4));
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}


.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text strong {
  font-size: 25px;
  letter-spacing: 2px;
}

.logo-text small,
.footer small {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 12px;
  color: var(--white);
  cursor: pointer;
  font-size: 25px;
}

.hero {
  padding: 95px 0;
  background:
    radial-gradient(ellipse at 85% 45%, #1151ae55, transparent 50%),
    linear-gradient(135deg, #071126, #0b2350);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 65px;
  align-items: center;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 4.4vw, 55px);
  line-height: 1.15;
  margin: 20px 0;
}

h1 span,
h2 span {
  color: var(--cyan);
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  max-width: 570px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 23px;
  border-radius: 9px;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(120deg, #1686fb, #52c5ff);
  color: #06152c;
}

.btn-outline {
  border: 1px solid var(--cyan);
  color: var(--white);
}

.hero-visual {
  background: linear-gradient(145deg, #153767, #0b1934);
  border: 1px solid #367bcb;
  padding: 25px;
  border-radius: 19px;
  box-shadow: 0 20px 80px #0077ff22;
}

.visual-header {
  display: flex;
  justify-content: space-between;
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 25px;
}

.visual-status {
  color: #77d9ff;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visual-card {
  padding: 22px 8px;
  background: #193b6c;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.visual-card span {
  color: var(--cyan);
  font-size: 30px;
}

.visual-card strong {
  font-size: 12px;
}

.visual-bars {
  margin-top: 25px;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 65px;
}

.visual-bars div {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #49bdff, #1261cb);
}

.visual-bars div:nth-child(1) { height: 45%; }
.visual-bars div:nth-child(2) { height: 90%; }
.visual-bars div:nth-child(3) { height: 65%; }

.section {
  padding: 85px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  text-align: center;
  font-size: clamp(27px, 3vw, 38px);
  margin-bottom: 10px;
}

.section-description {
  text-align: center;
  color: var(--muted);
  margin-bottom: 35px;
}

.cards {
  display: grid;
  gap: 20px;
}

.three-columns {
  grid-template-columns: repeat(3, 1fr);
}

.four-columns {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 25px;
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.card-icon,
.demo-icon {
  font-size: 42px;
  color: var(--cyan);
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
}

.demo-card {
  display: flex;
  flex-direction: column;
}

.demo-pending {
  display: inline-block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 55px;
}

.about-symbol {
  font-size: 170px;
  font-weight: 900;
  text-align: center;
  color: var(--cyan);
  background: linear-gradient(145deg, #102d5c, #0b1830);
  border-radius: 20px;
  border: 1px solid var(--border);
  text-shadow: 0 0 45px #138cff88;
}

.about h2 {
  text-align: left;
}

.about p {
  color: var(--muted);
  margin: 15px 0;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  color: #c6e5ff;
  font-size: 14px;
}

.contact-section {
  padding-top: 30px;
}

.contact-box {
  padding: 40px;
  background: linear-gradient(100deg, #102954, #123b80);
  border: 1px solid #367bcb;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-box h2 {
  text-align: left;
  font-size: 27px;
}

.contact-box p {
  color: var(--muted);
}

.footer {
  padding: 30px 0;
  background: #061020;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content div {
  display: flex;
  flex-direction: column;
}

.footer-content strong {
  letter-spacing: 2px;
  font-size: 24px;
}

.footer-content p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero-content,
  .about {
    grid-template-columns: 1fr;
  }

  .three-columns,
  .four-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    max-width: 600px;
    width: 100%;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #091426;
    padding: 25px;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 35px;
  }

  .section {
    padding: 60px 0;
  }

  .three-columns,
  .four-columns,
  .about-features {
    grid-template-columns: 1fr;
  }

  .visual-card {
    padding: 14px 5px;
  }

  .visual-card strong {
    font-size: 10px;
  }

  .contact-box,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-box {
    padding: 25px;
  }

  .logo-text strong {
    font-size: 20px;
  }

  .logo-text small {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .card {
    transition: none;
  }
}

.about-symbol svg {
  width: min(230px, 75%);
  height: auto;
  color: #42b5ff;
}


/* ===================================
   DANAC V1.2 - WHATSAPP
=================================== */

/* Botón de la barra superior */

.nav-whatsapp {
  background: linear-gradient(120deg, #1686fb, #52c5ff);
  color: #06152c;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-links .nav-whatsapp:hover {
  color: #06152c;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(36, 123, 250, 0.35);
}

/* Botón de contacto principal */

.btn-whatsapp {
  background: linear-gradient(120deg, #1686fb, #52c5ff);
  color: #06152c;
  text-align: center;
  white-space: nowrap;
}

/* Ajuste para celulares */

@media (max-width: 560px) {
  .btn-whatsapp {
    width: 100%;
    white-space: normal;
  }
}


/* DANAC V1.3 - ACCESO A DEMOSTRACIONES */

.demo-link {
  margin-top: auto;
  text-align: center;
  font-size: 13px;
  padding: 11px 14px;
}
