/* ===============================================
   TECHNOLOGIES / HOW WE WORK PAGE STYLES
=============================================== */

/* --- Container Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

:root {
  --section-headline-size: 3.5rem;
  --section-headline-size-mobile: 2.5rem;
}

.text-gradient,
.accent {
  background: linear-gradient(90deg, #10b981, #06b6d4, #3b82f6, #10b981);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textGradientFlow 4s linear infinite, glowPulse 3s ease-in-out infinite;
  padding-bottom: 0.2em;
  /* Prevent descender clipping */
  line-height: 1.4;
}

/* Glass Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px 0 var(--shadow-soft);
  border-color: var(--primary-color);
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero Section (Illustrative Z-Pattern) --- */
.tech-hero {
  position: relative;
  padding: 0px 0 40px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}


.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.15;
  animation: floatBlob 20s infinite alternate linear;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--fg-600);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--fg-700);
  top: 50%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 100px) scale(1.2);
  }
}

.tech-hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  /* Changed from grid to block */
  text-align: center;
  /* Center align text */
  margin: 0 auto;
}

.tech-hero-content {
  margin: 0 auto;
  max-width: 800px;
  /* Constrain width for readability */
}

/* Hide the illustration container */
.tech-hero-comparison {
  display: none !important;
}

.tech-hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  /* Updated to match .hero-title-main */
  line-height: 1.2;
  font-weight: 800;
  /* Updated to match */
  color: var(--text-primary);
  /* Updated variable */
  letter-spacing: -0.04em;
  /* Added letter spacing */
  margin-bottom: 35px;
  /* Updated margin */
}



.tech-hero-content .sub-header {
  font-size: 1.20rem;
  /* Updated to match .hero-para-modern */
  color: var(--text-secondary);
  /* Updated variable */
  margin-bottom: 38px;
  /* Updated margin */
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  /* Added font weight */
}

.trust-badge {
  background: var(--bg-hover);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btns {
  margin-bottom: 0;
}

.trust-indicators {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  /* Center alignment */
}

/* Hero Illustration */
.illustrative-flow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.illustration-container {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 110%;
  max-width: 750px;
  position: relative;
}

.box-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.box-body {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.state-black .box-body {
  background: var(--fg-950);
  border: 4px solid var(--fg-700);
}

.mystery-vortex {
  width: 80px;
  height: 80px;
  background: conic-gradient(from 0deg, transparent, var(--fg-500), transparent);
  border-radius: 50%;
  filter: blur(15px);
  animation: rotateVortex 3s infinite linear;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -40px 0 0 -40px;
}

@keyframes rotateVortex {
  100% {
    transform: rotate(360deg);
  }
}

.state-glass .box-body.glass-morph {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}



.internal-logic {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
}

.path-line {
  height: 2px;
  background: rgba(59, 130, 246, 0.2);
  width: 80%;
}

.logic-nodes {
  position: absolute;
  inset: 0;
}

.logic-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--fg-400);
  border-radius: 50%;
}

.logic-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fg-950);
  color: var(--fg-50);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  opacity: 0;
  transition: 0.3s;
  white-space: nowrap;
  pointer-events: none;
}

.logic-node:hover::after {
  opacity: 1;
  bottom: 25px;
}

.logic-node:nth-child(1) {
  top: 25%;
  left: 15%;
}

.logic-node:nth-child(3) {
  top: 67%;
  left: 70%;
}

.logic-node:nth-child(2) {
  top: 45%;
  left: 40%;
}

.flow-bridge {
  flex: 0 0 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


.smart-nodes {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.node {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  top: -3px;
  animation: travelNode 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
}

.node-1 {
  animation-delay: 0s;
}

.node-2 {
  animation-delay: 1.2s;
}

.node-3 {
  animation-delay: 2.4s;
}

@keyframes travelNode {
  0% {
    left: -30px;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    left: 110px;
    opacity: 0;
  }
}













































/* --- System Hub Section (Technical Diagram Model) --- */
.system-hub-section {
  padding: 50px 0;
  background: var(--bg-secondary);
  position: relative;
  color: var(--fg-900);
}


.diagram-canvas {
  width: 100%;
  max-width: 1150px;
  margin: 80px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px;
}

.diagram-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.diagram-row.row-1 {
  margin-bottom: 30px;
}

.phase-box {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);
  z-index: 2;
  /* Ensures box is above the connector line */
}




.phase-box:hover {
  border-color: var(--primary-color);
  background: var(--bg-primary);
  box-shadow: 0 15px 45px 0 var(--shadow-soft);
  transform: translateY(-8px);
}



.phase-box .phase-label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  background: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 50px;
  width: fit-content;
}

.phase-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: var(--text-primary);
  line-height: 1.3;
}


.phase-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.phase-box ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  line-height: 1.4;
}


.phase-box ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.phase-box .quote {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  padding: 15px;
  background: var(--bg-hover);
  border-radius: 12px;
  border-left: 3px solid var(--primary-color);
}




/* Connectors */
.h-connector {
  flex: 0 0 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--fg-500);
  font-size: 1rem;
  position: relative;
}

.h-connector::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--border-color);
  z-index: 0;
}

/* Right side vertical connector for P3->P4 */
.v-connector-right {
  position: absolute;
  right: calc(16.5% - 20px);
  /* Aligned with center of the 3rd column box */
  top: 140px;
  /* Lengthened arrow */
  bottom: 140px;
  /* Lengthened arrow */
  width: 1px;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Placed behind phase boxes */
}

.v-connector-right::before,
.v-connector-right::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  left: -4.5px;
  box-shadow: 0 0 10px var(--primary-shadow);
}

.v-connector-right::before {
  top: 0;
}

.v-connector-right::after {
  bottom: 0;
}

.v-connector-right i {
  background: var(--bg-secondary);
  padding: 8px 0;
  color: var(--fg-500);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}




.h-connector i {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  padding: 0 5px;
}


.v-connector-wrap {
  display: flex;
  justify-content: center;
  height: 60px;
  position: relative;
}

.v-connector {
  width: 1px;
  height: 100%;
  background: var(--border-color);
  position: relative;
}

.v-connector.offset-right {
  margin-left: 33%;
}

.v-connector.offset-left {
  margin-right: 33%;
}

/* Hub Box */
.hub-box {
  flex: 0 0 auto;
  min-width: 500px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 45px;
  text-align: center;
  background: var(--bg-card);
  box-shadow: 0 20px 50px rgba(45, 90, 67, 0.08);
  position: relative;
  transition: all 0.4s ease;
}



.hub-box:hover {
  border-color: var(--primary-color);
  box-shadow: 0 25px 60px rgba(45, 90, 67, 0.12);
  transform: translateY(-5px);
}


.hub-box::before,
.hub-box::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border: 2px solid var(--primary-color);
  opacity: 0.5;
}

.hub-box::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hub-box::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.hub-label-top {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-500);
  margin-bottom: 10px;
  letter-spacing: 0.3em;
}

.hub-main-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}


.hub-sub-text {
  display: block;
  font-size: 1.1rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-weight: 500;
}







































/* Removed legacy amber focus styles */

/* --- Team Section --- */
.team-section {
  padding: 50px 0;
  background: var(--bg-secondary);
}

.team-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 0px;
  padding-bottom: 5px;
  /* Prevent descender clipping */
}

.team-title {
  line-height: 1.4;
  padding-bottom: 10px;
  /* Extra space for gradient text descent */
  display: block;
  /* Ensure block formatting context */
}

.team-constellation {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 60px 100px;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.team-constellation::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Brave */
}

.team-slider-container {
  position: relative;
  width: 100%;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.slider-nav-btn.prev {
  left: -40px;
}

.slider-nav-btn.next {
  right: -40px;
}

@media (max-width: 1250px) {
  .slider-nav-btn.prev {
    left: 0;
  }

  .slider-nav-btn.next {
    right: 0;
  }
}

@media (max-width: 768px) {
  .slider-nav-btn {
    display: none;
  }
}

.team-node {
  flex: 0 0 350px;
  scroll-snap-align: center;
  padding: 40px;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.4;
  filter: blur(2px);
  transform: scale(0.9);
}

.team-node.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.team-node .node-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  border: 1px solid var(--border-light);
  transition: 0.3s;
}

.team-node:hover .node-icon {
  background: var(--primary-gradient);
  color: white;
  transform: rotate(15deg);
}

















































/* --- Tech Stack Section --- */
.tech-stack-section {
  background: var(--bg-secondary);
  padding: 50px 20px;
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tech-container {
  max-width: 1100px;
  margin: auto;
}

.tech-heading {
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 60px;
  color: var(--fg-900);
}

.tech-heading span {
  color: var(--primary-color);
}

.tech-tabs {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: flex-start;
}

.tab-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 16px 20px;
  font-size: 1rem;
  border-radius: 100px;
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
  font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(145deg, #ffffff, #f0fdf4);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.tab-content-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-areas: "content";
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tab-content-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}



.tab-content {
  grid-area: content;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.tab-content.active {
  opacity: 1;
  visibility: visible;
  animation: fadeSlide 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tab-content h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.tab-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.tool-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.tool-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
  color: var(--text-secondary);
}

.tool-list li:last-child {
  border-bottom: none;
}

.tool-list li strong {
  color: var(--text-primary);
}

.trust-line {
  text-align: center;
  margin-top: 70px;
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}





























/* --- Final CTA --- */
.full-width-cta {
  padding: 60px 20px;
  text-align: center;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cta-heading {
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--fg-900);
}

.cta-heading .highlight {
  color: var(--fg-500);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.btn {
  padding: 16px 42px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: all 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.cta-primary {
  background: var(--primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3), 0 10px 25px rgba(59, 130, 246, 0.2);
}

.cta-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4), 0 15px 35px rgba(59, 130, 246, 0.3);
  filter: brightness(1.1);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary-color) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-secondary:hover {
  background: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.15);
}

/* --- Heading Utility --- */
.centered-header {
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--fg-900);
  max-width: 900px;
  margin-inline: auto;
}

.centered-subtitle {
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 80px;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .diagram-canvas {
    max-width: 900px;
  }

  .hub-box {
    min-width: 350px;
  }
}

@media (max-width: 968px) {
  .tech-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tech-hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-btns,
  .trust-indicators {
    justify-content: center;
  }

  .tech-heading,
  .cta-heading {
    font-size: 2.5rem;
  }

  .tech-tabs {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tab-buttons {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .tab-btn {
    white-space: nowrap;
    padding: 12px 18px;
  }

  /* Diagram Responsive */
  .diagram-row {
    flex-direction: column;
    gap: 20px;
  }

  .diagram-row.row-3 {
    flex-direction: column-reverse;
  }

  .h-connector {
    display: none;
  }

  .phase-box {
    width: 100%;
    min-height: auto;
  }

  .v-connector {
    height: 40px;
  }

  .diagram-canvas {
    gap: 20px;
  }

  /* Reset margin for mobile to ensure equal spacing */
  .diagram-row.row-1 {
    margin-bottom: 0;
  }

  /* Hide connectors to maintain perfect vertical rhythm of boxes */
  .v-connector-wrap,
  .v-connector-right {
    display: none;
  }

  .v-connector.offset-right,
  .v-connector.offset-left {
    margin: 0;
  }

}

@media (max-width: 768px) {
  .cta-heading {
    font-size: 2.4rem;
  }

  .centered-header {
    font-size: 2.5rem;
  }

  .hub-box {
    min-width: 100%;
    padding: 25px 15px;
  }

  .hub-main-text {
    font-size: 1.2rem;
  }
}

/* --- Mobile Support (max-width: 600px) --- */
@media (max-width: 600px) {
  .tech-hero {
    padding: 100px 0 60px;
  }

  .tech-hero-content h1 {
    font-size: 2rem;
  }

  .tech-hero-content .sub-header {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  /* Scale down the illustration */
  .illustration-container {
    transform: scale(0.7);
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .tech-hero-comparison {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
  }

  /* Typography Adjustments */
  .centered-header,
  .tech-heading,
  .cta-heading {
    font-size: 2rem;
  }

  .centered-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .phase-box {
    padding: 24px 20px;
  }

  .hub-box {
    padding: 30px 20px;
  }

  /* Team Grid Reset */
  .team-constellation {
    grid-template-columns: 1fr;
  }

  .team-node {
    padding: 25px;
  }

  /* Section Padding */
  .tech-stack-section,
  .full-width-cta,
  .system-hub-section {
    padding: 60px 15px;
  }

  .diagram-canvas {
    margin-top: 40px;
  }

  .cta-inner {
    padding: 30px 15px;
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: auto;
    white-space: nowrap;
    justify-content: center;
    padding: 14px 24px;
  }

  .tab-content-wrapper {
    padding: 24px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* --- Small Mobile Support (max-width: 350px) --- */
@media (max-width: 350px) {
  .tech-hero {
    padding: 80px 0 40px;
  }

  .tech-hero-content h1 {
    font-size: 1.7rem;
  }

  /* Hide the complex illustration on very small screens */
  .illustrative-flow {
    display: none;
  }

  .tech-heading,
  .cta-heading,
  .centered-header {
    font-size: 1.6rem;
  }

  .phase-box h3,
  .hub-main-text {
    font-size: 1.2rem;
  }

  .hub-box {
    min-width: unset;
    width: 100%;
  }

  /* Force single column for team */
  .team-constellation {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .team-node {
    width: 100%;
    box-sizing: border-box;
  }

  .tab-btn {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .trust-badge {
    width: 100%;
    justify-content: center;
  }

  .section-padding,
  .system-hub-section {
    padding: 50px 0;
  }

  .diagram-canvas {
    padding: 0 10px;
  }

  .tech-column:nth-child(3) {
    grid-column: span 1;
  }
}