/* INFINITY TECHNOLOGIES — VISUAL FOUNDATION */

.infinity-technologies-page {
  background:
    radial-gradient(ellipse at 50% -10%, #302511 0%, transparent 48%),
    var(--bg);
}

.infinity-technologies-page section[id] {
  scroll-margin-top: 90px;
}

/* HERO */

.tech-hero {
  position: relative;
  min-height: 610px;
  padding: 100px 0 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.tech-hero-content {
  max-width: 900px;
  margin: 45px auto;
  position: relative;
  z-index: 1;
}

.tech-hero-label,
.tech-status {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.tech-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -3px;
  margin: 25px 0;
}

.tech-hero-content > p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.tech-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.tech-hero-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* SECTION SPACING */

.tech-about,
.tech-domains,
.tech-projects,
.tech-development,
.tech-bridge,
.tech-prototypes,
.tech-documentation,
.tech-releases,
.tech-upcoming,
.tech-updates {
  padding-top: 75px;
  padding-bottom: 85px;
}

.tech-about h2,
.tech-domains h2,
.tech-projects h2,
.tech-development h2,
.tech-bridge h2,
.tech-prototypes h2,
.tech-documentation h2,
.tech-releases h2,
.tech-upcoming h2,
.tech-updates h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 18px 0;
}

.infinity-technologies-page .section-heading > p {
  max-width: 460px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.8;
}

/* ABOUT */
.infinity-technologies-page .tech-about .section-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  gap: 12px;
}

.tech-about .section-kicker {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}


.tech-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.tech-about-content > p {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.9;
  margin: 0 0 18px;
}

.tech-about-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(214,173,87,.09), transparent);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tech-about-note span,
.tech-open-scope > span {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.tech-about-note strong {
  color: var(--white);
  font-size: .92rem;
  line-height: 1.6;
}

/* TECHNOLOGY DOMAINS */

.tech-domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.tech-domain-card {
  position: relative;
  min-height: 225px;
  padding: 27px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform .25s ease, border-color .25s ease;
}

.tech-domain-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214,173,87,.55);
}

.tech-card-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--muted-2);
  font-size: .7rem;
  letter-spacing: 1px;
}

.tech-domain-symbol {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border: 1px solid rgba(214,173,87,.35);
  border-radius: 10px;
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tech-domain-card h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 11px;
}

.tech-domain-card p {
  color: var(--muted);
  font-size: .83rem;
  line-height: 1.75;
}

.tech-open-scope {
  margin-top: 22px;
  padding: 22px 25px;
  border: 1px solid rgba(214,173,87,.25);
  border-radius: 10px;
  background: rgba(214,173,87,.045);
}

.tech-open-scope p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.8;
}

/* SECTION HEADINGS */

.infinity-technologies-page .section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 30px;
}

.infinity-technologies-page .section-heading > div {
  max-width: 620px;
}

/* PROJECTS */

.tech-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tech-project-card {
  padding: 28px;
  background: linear-gradient(145deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .25s ease, transform .25s ease;
}

.tech-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(214,173,87,.5);
}

.tech-project-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.tech-project-category,
.tech-project-footer {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.tech-project-card h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.tech-project-card > p {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.tech-project-footer {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* DEVELOPMENT PROCESS */

.tech-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tech-process-card {
  min-height: 205px;
  padding: 22px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.tech-process-card > span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.tech-process-card h3 {
  margin: 25px 0 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
}

.tech-process-card p {
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.75;
}

/* RESEARCH BRIDGE */

.tech-bridge-content {
  padding: 55px 45px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at center, rgba(214,173,87,.10), transparent 70%),
    var(--panel);
}

.tech-bridge-content > p {
  max-width: 730px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.9;
}

.tech-bridge-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.tech-bridge-flow span {
  padding: 11px 15px;
  border: 1px solid rgba(214,173,87,.3);
  border-radius: 5px;
  color: var(--gold-bright);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tech-bridge-flow i {
  color: var(--gold);
  font-style: normal;
}

/* EMPTY STATES */
.tech-projects .tech-empty-state {
  margin-top: 28px;
}


.tech-empty-state {
  min-height: 220px;
  padding: 38px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(214,173,87,.045), transparent 55%),
    var(--panel);
  border: 1px dashed rgba(214,173,87,.27);
  border-radius: 12px;
}

.tech-empty-symbol {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(214,173,87,.35);
  border-radius: 50%;
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.tech-empty-state h3 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.tech-empty-state p {
  max-width: 550px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.tech-update-state {
  min-height: 190px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .tech-process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tech-domain-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .tech-hero {
    min-height: 560px;
    padding-top: 85px;
  }

  .tech-hero h1 {
    letter-spacing: -1.5px;
  }

  .tech-hero-footer {
    gap: 14px 20px;
    font-size: .58rem;
  }

  .tech-about,
  .tech-domains,
  .tech-projects,
  .tech-development,
  .tech-bridge,
  .tech-prototypes,
  .tech-documentation,
  .tech-releases,
  .tech-upcoming,
  .tech-updates {
    padding-top: 55px;
    padding-bottom: 60px;
  }

  .tech-domain-grid,
  .tech-project-grid {
    grid-template-columns: 1fr;
  }

  .tech-domain-card {
    min-height: 200px;
  }

  .tech-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-process-card {
    min-height: 190px;
  }

  .infinity-technologies-page .section-heading {
    display: block;
  }

  .infinity-technologies-page .section-heading > p {
    margin-top: 12px;
  }

  .tech-bridge-content {
    padding: 38px 20px;
  }

  .tech-bridge-flow {
    gap: 9px;
  }

  .tech-bridge-flow span {
    font-size: .57rem;
    padding: 9px 10px;
  }

  .tech-empty-state {
    min-height: 210px;
    padding: 30px 18px;
  }
}
