/* ═══════════════════════════════════════════════════════
   GDATA GROUP — technology.css
   Scope: Technology page (hero + future sections).
   ═══════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────
   0. SHARED LAYOUT
   ───────────────────────────────────────────────────── */
.tech-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 102px;
}

/* ─────────────────────────────────────────────────────
   1. HERO
   ───────────────────────────────────────────────────── */
.tech-hero {
  position: relative;
  padding: 110px 0 130px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 30%, rgba(13, 89, 242, 0.22) 0%, transparent 65%),
    linear-gradient(180deg, #00112B 0%, #000A1F 100%);
}

/* Subtle grid pattern */
.tech-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72, 153, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 153, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Moving glow halo — JS sets --x / --y to follow the cursor */
.tech-hero-glow {
  position: absolute;
  --x: 50%;
  --y: 35%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle 420px at var(--x) var(--y),
      rgba(72, 214, 255, 0.18) 0%,
      rgba(13, 89, 242, 0.18) 35%,
      transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: background-position .4s var(--ease);
}

.tech-hero .tech-container {
  position: relative;
  z-index: 1;
}

.tech-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow pill */
.tech-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(13, 89, 242, 0.18);
  border: 1px solid rgba(72, 214, 255, 0.35);
  color: #48D6FF;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.tech-eyebrow-pill i {
  font-size: 12px;
  filter: drop-shadow(0 0 6px rgba(72, 214, 255, 0.7));
}

/* Title */
.tech-hero-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.tech-hero-title span {
  display: block;
}

.tech-line-white {
  color: #FFFFFF;
}

.tech-line-accent {
  background: linear-gradient(90deg, #0D59F2 0%, #3D7FFF 55%, #48D6FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tech-hero-desc {
  max-width: 660px;
  margin: 0 auto 36px;
  color: #94A3B8;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

/* Actions */
.tech-hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tech-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-btn-primary {
  background: #0D59F2;
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(13, 89, 242, 0.45);
}

.tech-btn-primary:hover {
  background: #3D7FFF;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(13, 89, 242, 0.6);
}

.tech-btn-primary i {
  transition: transform var(--dur) var(--ease);
}

.tech-btn-primary:hover i {
  transform: translateX(4px);
}

.tech-btn-outline {
  background: rgba(0, 17, 43, 0.5);
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.18);
}

.tech-btn-outline:hover {
  border-color: rgba(72, 214, 255, 0.55);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────────────
   2. AI INFRASTRUCTURE R&D
   ───────────────────────────────────────────────────── */
.tech-ai {
  padding: 24px 0 110px;
}

.tech-ai-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}

.tech-ai-head-left {
  max-width: 640px;
}

.tech-ai-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}

.tech-ai-sub {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 14.5px;
  color: #94A3B8;
  line-height: 1.7;
  margin: 0;
  max-width: 540px;
}

/* Dots */
.tech-ai-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tech-dot {
  width: 22px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(72, 153, 255, 0.25);
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              width var(--dur) var(--ease);
}

.tech-dot:hover {
  background: rgba(72, 153, 255, 0.5);
}

.tech-dot.is-active {
  width: 36px;
  background: linear-gradient(90deg, #0D59F2 0%, #48D6FF 100%);
  box-shadow: 0 0 12px rgba(72, 214, 255, 0.45);
}

/* Grid */
.tech-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tech-ai-card {
  position: relative;
  padding: 28px 28px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, #001E45 0%, #001530 100%);
  border: 1px solid rgba(72, 153, 255, 0.18);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(72, 153, 255, 0.42);
  box-shadow: 0 22px 44px rgba(13, 89, 242, 0.25);
}

.tech-ai-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(13, 89, 242, 0.22);
  border: 1px solid rgba(72, 153, 255, 0.30);
  color: #48D6FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 28px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-ai-card:hover .tech-ai-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 89, 242, 0.35);
}

.tech-ai-name {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
  letter-spacing: 0;
}

.tech-ai-desc {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0 0 24px;
  flex: 1;
}

.tech-ai-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-ai-tags li {
  position: relative;
  padding-left: 18px;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #94A3B8;
}

.tech-ai-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #48D6FF;
  box-shadow: 0 0 8px rgba(72, 214, 255, 0.6);
}

/* ─────────────────────────────────────────────────────
   3. ADVANCED COOLING
   ───────────────────────────────────────────────────── */
.tech-cool {
  padding: 0 0 110px;
}

.tech-cool-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT — image card */
.tech-cool-media {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #00112B;
  border: 1px solid rgba(72, 153, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

.tech-cool-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) saturate(0.95);
}

/* Decorative fan / cooling ring */
.tech-cool-fan {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(160px, 38%, 240px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.tech-cool-fan-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.tech-cool-fan-ring--1 {
  border: 2px dashed rgba(72, 214, 255, 0.55);
  animation: tech-cool-spin 14s linear infinite;
  box-shadow:
    0 0 28px rgba(72, 214, 255, 0.35),
    inset 0 0 20px rgba(13, 89, 242, 0.35);
}

.tech-cool-fan-ring--2 {
  inset: 18%;
  border: 1px solid rgba(72, 214, 255, 0.40);
  animation: tech-cool-spin 22s linear infinite reverse;
}

.tech-cool-fan-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  height: 32%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(72, 214, 255, 0.28) 0%, rgba(13, 89, 242, 0.45) 55%, rgba(0, 17, 43, 0.95) 100%);
  border: 1.5px solid rgba(72, 214, 255, 0.6);
  box-shadow:
    0 0 0 4px rgba(13, 89, 242, 0.18),
    0 0 36px rgba(72, 214, 255, 0.45);
}

@keyframes tech-cool-spin {
  to { transform: rotate(360deg); }
}

/* Live metric pill */
.tech-cool-badge {
  position: absolute;
  bottom: 64px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #0D59F2;
  border: 1px solid rgba(72, 214, 255, 0.55);
  color: #FFFFFF;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(13, 89, 242, 0.45);
}

.tech-cool-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48D6FF;
  box-shadow: 0 0 8px rgba(72, 214, 255, 0.9);
  animation: sol-dot-pulse 1.8s ease-in-out infinite;
}

/* PUE label */
.tech-cool-pue {
  position: absolute;
  left: 22px;
  bottom: 20px;
  margin: 0;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.tech-cool-pue span {
  color: #48D6FF;
}

/* RIGHT — copy */
.tech-cool-eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #48D6FF;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tech-cool-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.tech-cool-desc {
  color: #94A3B8;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 540px;
}

.tech-cool-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
}

@media (max-width: 640px) {
  .tech-cool-list {
    grid-template-columns: 1fr;
  }
}

.tech-cool-feat {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tech-cool-feat-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(13, 89, 242, 0.22);
  border: 1px solid rgba(72, 153, 255, 0.30);
  color: #48D6FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.tech-cool-feat-name {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: 0;
}

.tech-cool-feat-desc {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
  max-width: 480px;
}

.tech-cool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(72, 153, 255, 0.55);
  color: #48D6FF;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-cool-btn:hover {
  background: rgba(13, 89, 242, 0.18);
  color: #FFFFFF;
  border-color: rgba(72, 214, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(13, 89, 242, 0.35);
}

/* ─────────────────────────────────────────────────────
   4. SDx + ALLIANCES
   ───────────────────────────────────────────────────── */
.tech-sdx {
  padding: 0 0 110px;
}

.tech-sdx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* Shared column titles */
.tech-sdx-title,
.tech-alli-title {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 1.75rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

/* SDx — list rows */
.tech-sdx-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-sdx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #001E45 0%, #001530 100%);
  border: 1px solid rgba(72, 153, 255, 0.18);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-sdx-row:hover {
  transform: translateY(-2px);
  border-color: rgba(72, 153, 255, 0.42);
  box-shadow: 0 14px 32px rgba(13, 89, 242, 0.22);
}

.tech-sdx-row-info {
  min-width: 0;
}

.tech-sdx-row-name {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
  letter-spacing: 0;
}

.tech-sdx-row-desc {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 12.5px;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0;
}

.tech-sdx-row-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.tech-sdx-row:hover .tech-sdx-row-arrow {
  color: #FFFFFF;
  background: rgba(13, 89, 242, 0.25);
  transform: translateX(2px);
}

/* Alliances — copy */
.tech-alli-desc {
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0 0 22px;
  max-width: 480px;
}

/* Alliances — logo grid */
.tech-alli-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-alli-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #001E45 0%, #001530 100%);
  border: 1px solid rgba(72, 153, 255, 0.18);
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.tech-alli-card:hover {
  transform: translateY(-3px);
  border-color: rgba(72, 153, 255, 0.42);
  box-shadow: 0 18px 36px rgba(13, 89, 242, 0.22);
}

/* Logo chip — placeholder block until real SVG logos are supplied */
.tech-alli-logo {
  width: 150px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: "Space Grotesk", "Exo 2", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: linear-gradient(135deg, #0F4D3A 0%, #1A6B53 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tech-alli-logo--a { background: linear-gradient(135deg, #154D3A 0%, #1F7659 100%); }
.tech-alli-logo--b { background: linear-gradient(135deg, #1A5C45 0%, #237C5E 100%); }
.tech-alli-logo--c { background: linear-gradient(135deg, #195940 0%, #2B8D6A 100%); }
.tech-alli-logo--d { background: linear-gradient(135deg, #246B4F 0%, #3CA47B 100%); }

/* ─────────────────────────────────────────────────────
   5. RESPONSIVE
   ───────────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .tech-container {
    padding: 0 48px;
  }
}

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

@media (max-width: 991px) {
  .tech-container {
    padding: 0 32px;
  }

  .tech-hero {
    padding: 72px 0 88px;
  }

  .tech-ai {
    padding: 16px 0 80px;
  }

  .tech-ai-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .tech-cool {
    padding: 0 0 80px;
  }

  .tech-cool-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-cool-media {
    aspect-ratio: 16 / 10;
  }

  .tech-sdx {
    padding: 0 0 80px;
  }

  .tech-sdx-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 575px) {
  .tech-container {
    padding: 0 18px;
  }

  .tech-hero {
    padding: 56px 0 64px;
  }

  .tech-eyebrow-pill {
    font-size: 10.5px;
    padding: 6px 14px;
    margin-bottom: 22px;
  }

  .tech-hero-desc {
    margin-bottom: 28px;
  }

  .tech-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .tech-btn {
    width: 100%;
  }

  .tech-ai-grid {
    grid-template-columns: 1fr;
  }

  .tech-ai-card {
    min-height: auto;
    padding: 22px 22px 20px;
  }

  .tech-ai-icon {
    margin-bottom: 20px;
  }

  .tech-sdx-row {
    padding: 16px 18px;
  }

  .tech-alli-card {
    min-height: 84px;
  }
}
