
/* =========================================
   TECHNOLOGIES PAGE
========================================= */

:root {
  --tp-navy: #06162e;
  --tp-blue: #0798f5;
  --tp-cyan: #35d5ee;
  --tp-ink: #102c47;
  --tp-muted: #6e8298;
  --tp-line: #dce8f2;
  --tp-light: #f3f8fc;
}

.tp-intro-section,
.tp-explorer-section,
.tp-approach-section,
.tp-workflow-section,
.tp-cta-section {
  position: relative;
  overflow: hidden;
}

.tp-intro-section {
  padding: 105px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 40%, rgba(7,152,245,.15), transparent 35%),
    linear-gradient(125deg, #06162e, #0b2544);
}

.tp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tp-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tp-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.tp-intro-copy h2,
.tp-section-heading h2,
.tp-approach-copy h2 {
  margin: 18px 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  font-weight: 800;
}

.tp-intro-copy h2 em,
.tp-section-heading h2 em,
.tp-approach-copy h2 em {
  color: var(--tp-blue);
  font-style: normal;
}

.tp-intro-copy p {
  max-width: 540px;
  color: #b7c8d9;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.tp-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 23px;
  border-radius: 5px;
  background: var(--tp-blue);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}

.tp-primary-btn:hover {
  color: #fff;
  background: #087fd0;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(7,152,245,.25);
}

.tp-primary-btn i {
  transition: transform .3s ease;
}

.tp-primary-btn:hover i {
  transform: translateX(5px);
}

/* Ecosystem illustration */

.tp-ecosystem {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
}

.tp-orbit {
  position: absolute;
  border: 1px solid rgba(88,190,245,.2);
  border-radius: 50%;
  animation: tpOrbitPulse 5s ease-in-out infinite;
}

.tp-orbit-one {
  width: 48%;
  height: 48%;
}

.tp-orbit-two {
  width: 72%;
  height: 72%;
  border-style: dashed;
  animation-direction: reverse;
}

.tp-orbit-three {
  width: 94%;
  height: 94%;
  border-color: rgba(88,190,245,.12);
}

.tp-ecosystem-core {
  width: 135px;
  height: 135px;
  border: 1px solid rgba(53,213,238,.5);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  color: #fff;
  background: linear-gradient(145deg, #0d3c66, #071d39);
  box-shadow: 0 0 55px rgba(7,152,245,.25), inset 0 0 25px rgba(53,213,238,.12);
  z-index: 2;
}

.tp-ecosystem-core i {
  color: var(--tp-cyan);
  font-size: 35px;
}

.tp-ecosystem-core span {
  font-size: 11px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.3;
}

.tp-float-node {
  position: absolute;
  z-index: 3;
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(117,205,255,.28);
  border-radius: 17px;
  color: var(--tp-cyan);
  background: rgba(12,43,73,.95);
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
  font-size: 25px;
  animation: tpFloat 4s ease-in-out infinite;
}

.tp-node-html { top: 13%; left: 43%; color: #ff805e; }
.tp-node-react { top: 35%; right: 4%; animation-delay: -.8s; }
.tp-node-python { bottom: 15%; right: 22%; color: #ffd05b; animation-delay: -1.4s; }
.tp-node-database { bottom: 14%; left: 19%; animation-delay: -2s; }
.tp-node-cloud { top: 35%; left: 3%; animation-delay: -2.5s; }
.tp-node-js { top: 13%; right: 14%; color: #f7d84b; animation-delay: -1s; }

.tp-orbit-label {
  position: absolute;
  color: #9ab6d0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tp-label-one { top: 2%; left: 10%; }
.tp-label-two { right: 0; bottom: 33%; }
.tp-label-three { bottom: 2%; left: 40%; }

@keyframes tpFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-11px) rotate(4deg); }
}

@keyframes tpOrbitPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.025); }
}

/* Explorer */

.tp-explorer-section {
  padding: 100px 0 90px;
  background: #f5f9fd;
}

.tp-section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.tp-section-heading h2 {
  color: var(--tp-ink);
  font-size: clamp(32px, 4vw, 49px);
}

.tp-section-heading p {
  color: var(--tp-muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 610px;
}

.tp-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.tp-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d8e5f0;
  border-radius: 4px;
  padding: 12px 19px;
  background: #fff;
  color: #34516b;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: .25s ease;
}

.tp-filter span {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #edf5fb;
  color: #54728d;
  font-size: 10px;
}

.tp-filter:hover,
.tp-filter.active {
  color: #fff;
  background: var(--tp-navy);
  border-color: var(--tp-navy);
  transform: translateY(-2px);
}

.tp-filter.active span {
  color: #fff;
  background: rgba(255,255,255,.18);
}

.tp-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.tp-tech-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 140px;
  padding: 23px;
  background: #fff;
  border: 1px solid #e2ebf3;
  border-radius: 7px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tp-tech-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--tp-blue);
  transition: height .3s ease;
}

.tp-tech-item:hover {
  transform: translateY(-6px);
  border-color: rgba(7,152,245,.4);
  box-shadow: 0 18px 38px rgba(12,44,73,.09);
}

.tp-tech-item:hover::before {
  height: 100%;
}

.tp-tech-item.tp-hidden {
  display: none;
}

.tp-tech-logo {
  width: 67px;
  height: 67px;
  flex: 0 0 67px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid #e6eef5;
  border-radius: 8px;
  background: #f7fafd;
  transition: transform .3s ease, background .3s ease;
}

.tp-tech-item:hover .tp-tech-logo {
  transform: rotate(-5deg) scale(1.05);
  background: #edf7ff;
}

.tp-tech-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tp-tech-meta {
  min-width: 0;
}

.tp-tech-meta > span {
  display: block;
  margin-bottom: 6px;
  color: var(--tp-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
}

.tp-tech-meta h3 {
  margin: 0 0 5px;
  color: var(--tp-ink);
  font-size: 19px;
  font-weight: 800;
}

.tp-tech-meta p {
  margin: 0;
  color: var(--tp-muted);
  font-size: 12px;
  line-height: 1.6;
}

.tp-tech-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #b4c7d8;
  font-size: 12px;
  transition: color .25s ease, transform .25s ease;
}

.tp-tech-item:hover .tp-tech-arrow {
  color: var(--tp-blue);
  transform: translate(3px,-3px);
}

.tp-results-line {
  margin-top: 28px;
  text-align: center;
  color: var(--tp-muted);
  font-size: 13px;
}

#tpEmptyMessage {
  color: #bd4c4c;
}

/* Approach */

.tp-approach-section {
  padding: 105px 0;
  background: #fff;
}

.tp-approach-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.tp-approach-visual {
  position: relative;
  padding: 25px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 15%, rgba(7,152,245,.16), transparent 35%),
    #edf5fb;
}

.tp-approach-panel {
  padding: 32px;
  border: 1px solid #d9e8f4;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(10,48,79,.1);
}

.tp-panel-kicker {
  color: var(--tp-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.tp-approach-symbol {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  margin: 20px auto;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #0798f5, #075aa4);
  box-shadow: 0 10px 25px rgba(7,152,245,.22);
  font-size: 30px;
}

.tp-stack-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin-top: 9px;
  border: 1px solid #e4edf5;
  border-radius: 5px;
  color: #294963;
  background: #f8fbfe;
  font-size: 13px;
  font-weight: 700;
}

.tp-stack-line i {
  color: var(--tp-blue);
}

.tp-panel-foot {
  margin-top: 20px;
  color: #698197;
  font-size: 11px;
  text-align: center;
}

.tp-panel-foot i {
  color: #12a77b;
  margin-right: 5px;
}

.tp-visual-caption {
  margin-top: 16px;
  text-align: center;
  color: #68839b;
  font-size: 12px;
  letter-spacing: .5px;
}

.tp-approach-copy h2 {
  color: var(--tp-ink);
  font-size: clamp(32px, 4vw, 48px);
}

.tp-approach-copy > p {
  color: var(--tp-muted);
  font-size: 15px;
  line-height: 1.9;
}

.tp-principles {
  margin-top: 28px;
}

.tp-principles > div {
  display: flex;
  gap: 17px;
  padding: 16px 0;
  border-bottom: 1px solid #e7eef4;
}

.tp-principles > div > span {
  color: var(--tp-blue);
  font-size: 12px;
  font-weight: 800;
}

.tp-principles h3 {
  margin: 0 0 4px;
  color: var(--tp-ink);
  font-size: 15px;
}

.tp-principles p {
  margin: 0;
  color: var(--tp-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Workflow */

.tp-workflow-section {
  padding: 100px 0;
  background: #f3f8fc;
}

.tp-workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-top: 55px;
}

.tp-workflow::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: #c9dce9;
}

.tp-work-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.tp-step-number {
  display: block;
  margin-bottom: 15px;
  color: #8ba3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.tp-step-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid #d5e7f4;
  border-radius: 50%;
  background: #fff;
  color: var(--tp-blue);
  box-shadow: 0 8px 22px rgba(12,48,79,.07);
  font-size: 23px;
  transition: .3s ease;
}

.tp-work-step:hover .tp-step-icon {
  color: #fff;
  background: var(--tp-blue);
  border-color: var(--tp-blue);
  transform: translateY(-5px);
}

.tp-work-step h3 {
  color: var(--tp-ink);
  font-size: 17px;
  margin: 0 0 9px;
}

.tp-work-step p {
  color: var(--tp-muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}

/* CTA */

.tp-cta-section {
  padding: 95px 0;
  color: #fff;
  background: linear-gradient(120deg, #06162e, #0a2b4d);
}

.tp-cta-section .container {
  position: relative;
}

.tp-cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.tp-cta-content h2 {
  margin: 17px 0;
  font-size: clamp(35px, 5vw, 55px);
  font-weight: 800;
  letter-spacing: -1.5px;
}

.tp-cta-content p {
  max-width: 560px;
  margin: 0 auto 27px;
  color: #b7c9d9;
  font-size: 15px;
  line-height: 1.8;
}

.tp-cta-decoration {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(53,213,238,.13);
  border-radius: 50%;
  pointer-events: none;
}

.tp-cta-decoration-one {
  top: -65px;
  left: 0;
}

.tp-cta-decoration-two {
  right: 0;
  bottom: -70px;
  width: 180px;
  height: 180px;
}

/* Reveal animation */

.tp-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .7s ease, transform .7s ease;
}

.tp-reveal.tp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1050px) {
  .tp-intro-grid {
    gap: 35px;
  }

  .tp-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-approach-grid {
    gap: 45px;
  }
}

@media (max-width: 800px) {
  .tp-intro-section,
  .tp-approach-section {
    padding: 75px 0;
  }

  .tp-intro-grid,
  .tp-approach-grid {
    grid-template-columns: 1fr;
  }

  .tp-intro-copy {
    text-align: center;
  }

  .tp-intro-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .tp-intro-copy .tp-eyebrow {
    justify-content: center;
  }

  .tp-ecosystem {
    max-width: 400px;
  }

  .tp-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }

  .tp-workflow::before {
    display: none;
  }

  .tp-work-step:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .tp-intro-section {
    padding: 60px 0;
  }

  .tp-intro-copy h2 {
    font-size: 36px;
  }

  .tp-ecosystem {
    max-width: 330px;
  }

  .tp-ecosystem-core {
    width: 105px;
    height: 105px;
  }

  .tp-ecosystem-core i {
    font-size: 27px;
  }

  .tp-float-node {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 20px;
  }

  .tp-orbit-label {
    font-size: 8px;
  }

  .tp-explorer-section,
  .tp-workflow-section {
    padding: 70px 0;
  }

  .tp-section-heading {
    margin-bottom: 30px;
  }

  .tp-section-heading h2,
  .tp-approach-copy h2 {
    font-size: 34px;
  }

  .tp-filter-bar {
    gap: 7px;
  }

  .tp-filter {
    padding: 10px 12px;
    font-size: 11px;
  }

  .tp-tech-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .tp-tech-item {
    min-height: 115px;
    padding: 17px;
    gap: 14px;
  }

  .tp-tech-logo {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .tp-tech-meta h3 {
    font-size: 16px;
  }

  .tp-tech-meta p {
    font-size: 11px;
  }

  .tp-approach-visual {
    padding: 13px;
  }

  .tp-approach-panel {
    padding: 23px 17px;
  }

  .tp-workflow {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tp-work-step:last-child {
    grid-column: auto;
  }

  .tp-work-step {
    max-width: 300px;
    margin: auto;
  }

  .tp-cta-section {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-reveal,
  .tp-orbit,
  .tp-float-node,
  .tp-tech-item,
  .tp-step-icon {
    animation: none !important;
    transition: none !important;
  }

  .tp-reveal {
    opacity: 1;
    transform: none;
  }
}
