
/*
 * DISERC Phase 7 — Tech visual system
 * No animation definitions or animation JS are modified.
 */

/* Shared Tech navigation */
body.tech-page .subnav {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
  left: max(12px, calc((100vw - 1320px) / 2));
  margin-top: 10px;
  right: max(12px, calc((100vw - 1320px) / 2));
  width: auto;
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
  z-index: 100;
}

body.tech-page .subnav .nav-logo-img {
  height: 34px;
  width: auto;
}

body.tech-page .subnav-links {
  gap: 7px;
}

body.tech-page .subnav-links > a,
body.tech-page .language-toggle {
  border-radius: 10px;
  min-height: 38px;
  padding: 9px 11px;
}

body.tech-page .subnav-links > a[aria-current="page"] {
  background: var(--blue-soft);
  border: 1px solid var(--line-brand);
  color: var(--cyan);
}

/* Shared page header */
body.tech-page .app-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5,7,11,.98) 0%, rgba(5,7,11,.82) 52%, rgba(5,7,11,.60) 100%),
    radial-gradient(circle at 82% 22%, rgba(0,184,255,.12), transparent 30rem);
  border-bottom: 1px solid var(--line);
  min-height: clamp(520px, 66svh, 720px);
  overflow: hidden;
  padding-bottom: clamp(72px, 9vw, 130px);
  padding-top: 150px;
  position: relative;
}

body.tech-page .app-hero::after {
  background:
    linear-gradient(90deg, transparent, rgba(0,184,255,.08), transparent);
  content: "";
  height: 1px;
  left: 8%;
  opacity: .8;
  position: absolute;
  right: 8%;
  top: 54%;
}

body.tech-page .app-hero .contenedor {
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

body.tech-page .app-status {
  align-items: center;
  color: var(--cyan);
  display: inline-flex;
  font: 600 10px/1 var(--mono);
  gap: 9px;
  letter-spacing: .12em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

body.tech-page .app-status i {
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0,184,255,.55);
  display: block;
  height: 7px;
  width: 7px;
}

body.tech-page .app-hero h1 {
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  letter-spacing: -.065em;
  line-height: .94;
  margin: 0;
  max-width: 1000px;
}

body.tech-page .app-hero p {
  color: color-mix(in srgb, var(--muted) 94%, white);
  font-size: clamp(1rem, .88rem + .35vw, 1.18rem);
  line-height: 1.75;
  margin: 28px 0 0;
  max-width: 720px;
}

/* Tech landing */
body.tech-index .feature-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 0;
  overflow: hidden;
}

body.tech-index .feature-grid li {
  background:
    linear-gradient(145deg, rgba(0,184,255,.035), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  min-height: 118px;
  padding: 24px;
}

body.tech-index .feature-grid li:nth-child(5) {
  grid-column: span 2;
}

body.tech-index .feature-grid li:nth-child(6),
body.tech-index .feature-grid li:nth-child(7) {
  grid-column: span 1;
}

body.tech-index .feature-grid strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.35;
  max-width: 220px;
}

body.tech-index .seccion:nth-of-type(2) {
  padding-top: clamp(90px, 10vw, 145px);
}

body.tech-index .section-intro {
  margin-bottom: 34px;
}

body.tech-index .section-intro h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.9rem);
  letter-spacing: -.055em;
  line-height: 1;
  max-width: 850px;
}

body.tech-index .tech-products {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

body.tech-index .app-download-card {
  background:
    radial-gradient(circle at 85% 10%, rgba(0,184,255,.08), transparent 15rem),
    var(--surface);
  border: 1px solid var(--line) !important;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px;
  position: relative;
}

body.tech-index .app-download-card:nth-child(1),
body.tech-index .app-download-card:nth-child(2) {
  grid-column: span 6;
}

body.tech-index .app-download-card:nth-child(n+3) {
  grid-column: span 4;
}

body.tech-index .app-download-card::after {
  color: var(--cyan);
  content: "↗";
  font: 500 18px var(--mono);
  position: absolute;
  right: 25px;
  top: 25px;
}

body.tech-index .app-download-card h4 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.1rem + .55vw, 1.9rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-top: auto;
  max-width: 360px;
}

body.tech-index .app-download-card p {
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 430px;
}

body.tech-index .seccion:last-of-type {
  padding-bottom: clamp(100px, 12vw, 170px);
  padding-top: clamp(90px, 10vw, 140px);
}

body.tech-index .seccion:last-of-type .boton {
  border-radius: 12px;
  min-height: 50px;
  padding-inline: 22px;
}

/* Tech product detail */
body.tech-product .flush-top {
  padding-top: 0;
}

body.tech-product .feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, minmax(0,1fr));
  margin: 0;
}

body.tech-product .feature-grid li {
  background:
    linear-gradient(145deg, rgba(0,184,255,.045), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  grid-column: span 3;
  min-height: 170px;
  padding: 26px;
}

body.tech-product .feature-grid li strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.3;
}

body.tech-product .seccion:last-of-type {
  padding-bottom: clamp(100px, 12vw, 160px);
  padding-top: clamp(70px, 9vw, 120px);
}

body.tech-product .seccion:last-of-type .boton {
  border-radius: 12px;
  min-height: 50px;
  padding-inline: 22px;
}

/* Footer */
body.tech-page .pie {
  border-top: 1px solid var(--line);
}

/* Tablet */
@media (max-width: 980px) {
  body.tech-page .subnav {
    left: 10px;
    right: 10px;
  }

  body.tech-index .feature-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  body.tech-index .feature-grid li,
  body.tech-index .feature-grid li:nth-child(5),
  body.tech-index .feature-grid li:nth-child(6),
  body.tech-index .feature-grid li:nth-child(7) {
    grid-column: span 1;
  }

  body.tech-index .app-download-card:nth-child(1),
  body.tech-index .app-download-card:nth-child(2),
  body.tech-index .app-download-card:nth-child(n+3) {
    grid-column: span 6;
  }

  body.tech-product .feature-grid li {
    grid-column: span 6;
  }
}

/* Mobile */
@media (max-width: 700px) {
  body.tech-page .subnav {
    border-radius: 14px;
  }

  body.tech-page .app-hero {
    min-height: 540px;
    padding-bottom: 68px;
    padding-top: 125px;
  }

  body.tech-page .app-hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
  }

  body.tech-page .app-hero p {
    font-size: 1rem;
  }

  body.tech-index .feature-grid,
  body.tech-index .tech-products,
  body.tech-product .feature-grid {
    grid-template-columns: 1fr;
  }

  body.tech-index .feature-grid li,
  body.tech-index .feature-grid li:nth-child(5),
  body.tech-index .feature-grid li:nth-child(6),
  body.tech-index .feature-grid li:nth-child(7),
  body.tech-index .app-download-card:nth-child(1),
  body.tech-index .app-download-card:nth-child(2),
  body.tech-index .app-download-card:nth-child(n+3),
  body.tech-product .feature-grid li {
    grid-column: 1;
  }

  body.tech-index .app-download-card {
    min-height: 220px;
  }

  body.tech-index .app-download-card h4 {
    font-size: 1.5rem;
  }

  body.tech-product .feature-grid li {
    min-height: 130px;
  }
}
