/* ============================================
   INUS LABS - Clean Modern Design
   ============================================ */

/* ============================================
   1. ROOT VARIABLES
   ============================================ */
:root {
  --color-bg: #0a1628;
  --color-bg-light: #0f1f38;
  --color-bg-card: #132a4b;
  
  --color-accent: #2851DB;
  --color-accent-light: #3A95FF;
  --color-accent-teal: #4fd1c5;

  --color-text: #ffffff;
  --color-text-secondary: rgba(255, 255, 255, 0.85);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-dim: rgba(255, 255, 255, 0.55); /* Improved contrast for WCAG AA */

  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(58, 149, 255, 0.4);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.3s ease;

  /* Shiny CTA Variables */
  --shiny-cta-bg: #0a1628;
  --shiny-cta-bg-subtle: #132a4b;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: #3A95FF;
  --shiny-cta-highlight-subtle: #4fd1c5;
}

/* Shiny CTA @property definitions */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  /* Prevent horizontal scroll on mobile */
  max-width: 100vw;
}

/* Ensure no horizontal overflow at document level */
html {
  overflow-x: hidden;
  max-width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all var(--transition); }
button { font-family: inherit; border: none; background: none; cursor: pointer; transition: all var(--transition); }
ul, ol { list-style: none; }

/* ============================================
   3. NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition);
}

.site-nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav__inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav__logo .logo-icon {
  height: 36px;
  width: auto;
  color: #fff;
}

.site-nav__logo .logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-nav__menu {
  display: flex;
  gap: 48px;
}

.site-nav__link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.25s ease;
}

.site-nav__link:hover {
  color: var(--color-text);
}

.site-nav__link--active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text);
}

.site-nav__link--active:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Language Toggle Button - Shiny CTA Style */
.site-nav__lang-btn {
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
  transition: var(--btn-transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.site-nav__lang-btn::before,
.site-nav__lang-btn::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.site-nav__lang-btn:active {
  translate: 0 1px;
}

/* Dots pattern */
.site-nav__lang-btn::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    white calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.site-nav__lang-btn::after {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.lang-btn__text {
  z-index: 1;
  position: relative;
}

.lang-btn__text::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  --size: calc(100% + 1rem);
  width: var(--size);
  height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--btn-transition);
}

/* Animate */
.site-nav__lang-btn {
  --btn-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
}

.site-nav__lang-btn,
.site-nav__lang-btn::before,
.site-nav__lang-btn::after {
  animation: gradient-angle var(--duration) linear infinite,
    gradient-angle calc(var(--duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
}

.site-nav__lang-btn:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.site-nav__lang-btn:is(:hover, :focus-visible),
.site-nav__lang-btn:is(:hover, :focus-visible)::before,
.site-nav__lang-btn:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.site-nav__lang-btn:is(:hover, :focus-visible) .lang-btn__text::before {
  opacity: 1;
}

/* ============================================
   4. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero__title {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__line {
  display: block;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-indicator {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-accent-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  will-change: opacity, transform;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   5. SECTION BASE
   ============================================ */
.section {
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.section__header {
  margin-bottom: 60px;
}

.section__title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* ============================================
   6. SERVICES SECTION - 3D Data Center Visual
   ============================================ */
.section--services {
  --dc-cyan: #00d4ff;
  --dc-teal: #4fd1c5;
  --dc-blue: #0066cc;
  --dc-dark: #0d1b2a;
  --dc-glass: rgba(45, 45, 58, 0.6);
  --dc-glass-border: rgba(255, 255, 255, 0.1);
  
  position: relative;
  background: var(--color-bg);
  padding: 100px 60px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Watermark */
.services-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(10rem, 25vw, 20rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(0, 102, 153, 0.06);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* Vertical Light Streaks */
.light-streaks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.light-streak {
  position: absolute;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 212, 255, 0.15) 20%,
    rgba(0, 212, 255, 0.3) 50%,
    rgba(0, 212, 255, 0.15) 80%,
    transparent 100%
  );
  animation: streakPulse 4s ease-in-out infinite;
  will-change: opacity, transform;
}

.light-streak:nth-child(1) { left: 15%; animation-delay: 0s; }
.light-streak:nth-child(2) { left: 30%; animation-delay: 0.8s; }
.light-streak:nth-child(3) { left: 50%; animation-delay: 1.6s; }
.light-streak:nth-child(4) { left: 70%; animation-delay: 2.4s; }
.light-streak:nth-child(5) { left: 85%; animation-delay: 3.2s; }

@keyframes streakPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* Section Header */
.services-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 3rem;
}

/* Fluid Typography */
.fluid {
  --font-size-min: 16;
  --font-size-max: 20;
  --font-ratio-min: 1.2;
  --font-ratio-max: 1.33;
  --font-width-min: 375;
  --font-width-max: 1500;
  --font-level: 4.25;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.services-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, var(--dc-cyan) 50%, var(--dc-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Main Visual Container */
.services-visual-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  min-height: 500px;
}

/* Carousel Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--dc-glass-border);
  background: var(--dc-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav svg {
  width: 24px;
  height: 24px;
}

.carousel-nav--left {
  left: 0;
}

.carousel-nav--right {
  right: 0;
}

.carousel-nav:hover {
  border-color: var(--dc-cyan);
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav:hover svg {
  color: var(--dc-cyan);
}

/* 3D Data Center Visual */
.datacenter-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 380px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Glow Base */
.dc-glow-base {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, 
    rgba(0, 212, 255, 0.25) 0%, 
    rgba(79, 209, 197, 0.1) 40%, 
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
}

/* Floor Grid */
.dc-floor {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) rotateX(70deg);
  width: 450px;
  height: 180px;
  background-image: 
    linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  border: 1px solid rgba(0, 212, 255, 0.15);
}

/* Server Rack Styles */
.server-rack {
  position: absolute;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(-35deg);
}

.rack-left {
  left: 50px;
  bottom: 80px;
}

.rack-center {
  left: 50%;
  transform: translateX(-50%) rotateX(-15deg) rotateY(-35deg);
  bottom: 60px;
  z-index: 5;
}

.rack-right {
  right: 50px;
  bottom: 80px;
}

.rack-face {
  position: absolute;
  backface-visibility: hidden;
}

/* Rack Front Face */
.rack-front {
  width: 100px;
  height: 200px;
  background: linear-gradient(180deg, #1a2b3d 0%, #0f1922 100%);
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 212, 255, 0.1);
}

.rack-center .rack-front {
  width: 120px;
  height: 260px;
}

/* Rack Units */
.rack-unit {
  flex: 1;
  background: linear-gradient(90deg, #0d1520 0%, #162232 50%, #0d1520 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.rack-unit::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #1a3a4a;
  border-radius: 50%;
  box-shadow: 12px 0 0 #1a3a4a, 24px 0 0 #1a3a4a;
}

.rack-unit.active::before {
  background: var(--dc-cyan);
  box-shadow: 
    12px 0 0 var(--dc-teal),
    24px 0 0 var(--dc-cyan),
    0 0 8px var(--dc-cyan),
    12px 0 8px var(--dc-teal),
    24px 0 8px var(--dc-cyan);
  animation: blink 2s ease-in-out infinite;
}

.rack-unit.active::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--dc-cyan), transparent);
  animation: dataFlow 1.5s linear infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes dataFlow {
  0% { transform: translateY(-50%) translateX(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(-50%) translateX(20px); opacity: 0; }
}

/* Rack Side Face */
.rack-side {
  width: 50px;
  height: 200px;
  background: linear-gradient(180deg, #121d2b 0%, #0a1118 100%);
  border: 1px solid rgba(0, 212, 255, 0.1);
  transform: rotateY(90deg) translateZ(50px) translateX(-25px);
}

.rack-center .rack-side {
  height: 260px;
  transform: rotateY(90deg) translateZ(60px) translateX(-30px);
}

/* Rack Top Face */
.rack-top {
  width: 100px;
  height: 50px;
  background: linear-gradient(135deg, #1e3044 0%, #152232 100%);
  border: 1px solid rgba(0, 212, 255, 0.15);
  transform: rotateX(90deg) translateZ(100px) translateY(25px);
}

.rack-center .rack-top {
  width: 120px;
  transform: rotateX(90deg) translateZ(130px) translateY(25px);
}

/* Cooling Unit */
.cooling-unit {
  position: absolute;
  left: 20px;
  bottom: 60px;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(-35deg);
}

.cooling-face {
  position: absolute;
  backface-visibility: hidden;
}

.cooling-front {
  width: 60px;
  height: 120px;
  background: linear-gradient(180deg, #1a4a6e 0%, #0d2840 100%);
  border: 1px solid rgba(79, 209, 197, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  box-shadow: 0 0 30px rgba(79, 209, 197, 0.15);
}

.cooling-vent {
  flex: 1;
  background: repeating-linear-gradient(
    0deg,
    #0a1f30 0px,
    #0a1f30 3px,
    #1a4a6e 3px,
    #1a4a6e 6px
  );
  border-radius: 2px;
  position: relative;
}

.cooling-vent::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.1) 0%, transparent 100%);
  animation: coolFlow 2s ease-in-out infinite;
}

@keyframes coolFlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.cooling-side {
  width: 30px;
  height: 120px;
  background: linear-gradient(180deg, #0f3552 0%, #071a2a 100%);
  border: 1px solid rgba(79, 209, 197, 0.15);
  transform: rotateY(90deg) translateZ(15px) translateX(-15px);
}

.cooling-top {
  width: 60px;
  height: 30px;
  background: linear-gradient(135deg, #2a5a7a 0%, #1a4a6e 100%);
  border: 1px solid rgba(79, 209, 197, 0.2);
  transform: rotateX(90deg) translateZ(60px) translateY(15px);
}

.cooling-pipes {
  position: absolute;
  top: -20px;
  left: 10px;
}

.pipe {
  width: 8px;
  height: 30px;
  background: linear-gradient(90deg, #1a4a6e, #2a6a8e, #1a4a6e);
  border-radius: 4px;
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(79, 209, 197, 0.3);
}

/* Power Distribution Unit */
.power-unit {
  position: absolute;
  right: 20px;
  bottom: 60px;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(-35deg);
}

.power-face {
  position: absolute;
  backface-visibility: hidden;
}

.power-front {
  width: 50px;
  height: 100px;
  background: linear-gradient(180deg, #2a2a3a 0%, #1a1a28 100%);
  border: 1px solid rgba(255, 180, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px;
  box-shadow: 0 0 20px rgba(255, 180, 0, 0.1);
}

.power-indicator {
  width: 12px;
  height: 12px;
  background: #ffb400;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffb400, 0 0 20px rgba(255, 180, 0, 0.5);
  animation: powerPulse 1.5s ease-in-out infinite;
}

.power-indicator:nth-child(2) { animation-delay: 0.3s; }
.power-indicator:nth-child(3) { animation-delay: 0.6s; }

@keyframes powerPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.power-side {
  width: 25px;
  height: 100px;
  background: linear-gradient(180deg, #222232 0%, #151520 100%);
  border: 1px solid rgba(255, 180, 0, 0.1);
  transform: rotateY(90deg) translateZ(12.5px) translateX(-12.5px);
}

.power-top {
  width: 50px;
  height: 25px;
  background: linear-gradient(135deg, #3a3a4a 0%, #2a2a3a 100%);
  border: 1px solid rgba(255, 180, 0, 0.15);
  transform: rotateX(90deg) translateZ(50px) translateY(12.5px);
}

/* Data Flow Particles */
.data-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.data-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--dc-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--dc-cyan), 0 0 20px var(--dc-cyan);
  animation: particleFloat 3s ease-in-out infinite;
  will-change: opacity, transform;
}

.data-particles span:nth-child(1) { left: 30%; top: 40%; animation-delay: 0s; }
.data-particles span:nth-child(2) { left: 50%; top: 30%; animation-delay: 0.5s; }
.data-particles span:nth-child(3) { left: 70%; top: 50%; animation-delay: 1s; }
.data-particles span:nth-child(4) { left: 40%; top: 60%; animation-delay: 1.5s; }
.data-particles span:nth-child(5) { left: 60%; top: 35%; animation-delay: 2s; }
.data-particles span:nth-child(6) { left: 45%; top: 45%; animation-delay: 2.5s; }

@keyframes particleFloat {
  0%, 100% { 
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  20% {
    opacity: 1;
    transform: translateY(-20px) scale(1);
  }
  80% {
    opacity: 1;
    transform: translateY(-60px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-80px) scale(0.5);
  }
}

/* Floating Service Icons */
.floating-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: iconFloat 4s ease-in-out infinite;
}

.icon-inner {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dc-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--dc-glass-border);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.icon-inner svg {
  width: 28px;
  height: 28px;
  color: var(--dc-cyan);
  transition: all 0.3s ease;
}

.icon-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.floating-icon:hover .icon-inner {
  transform: scale(1.15);
  border-color: var(--dc-cyan);
  box-shadow: 
    0 8px 40px rgba(0, 212, 255, 0.3),
    0 0 60px rgba(0, 212, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-icon:hover .icon-inner svg {
  color: #fff;
  filter: drop-shadow(0 0 8px var(--dc-cyan));
}

.floating-icon:hover .icon-label {
  opacity: 1;
  transform: translateY(0);
  color: var(--dc-cyan);
}

/* Icon Positions */
.icon-cooling {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.icon-network {
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.icon-power {
  top: 10%;
  right: 15%;
  animation-delay: 1s;
}

.icon-dcim {
  bottom: 25%;
  left: 10%;
  animation-delay: 1.5s;
}

.icon-security {
  bottom: 20%;
  right: 10%;
  animation-delay: 2s;
}

.icon-ops {
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.5s;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.icon-network,
.icon-ops {
  animation-name: iconFloatCenter;
}

@keyframes iconFloatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* Service Description */
.service-description {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 2rem;
  min-height: 60px;
}

.service-desc-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   CRAFT OF UI SECTION (Data Center Cards)
   ============================================ */
.craft-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 4rem;
}

.craft-title {
  --font-level: 4.25;
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  background: linear-gradient(135deg, #fff 0%, #fff 40%, var(--dc-cyan) 70%, var(--dc-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.craft-intro {
  width: 74ch;
  max-width: calc(100% - 4rem);
  margin: 0 auto;
  text-wrap: balance;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .craft-intro {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Craft Cards Grid */
.craft-cards {
  --gap: 12px;
  --base: 60px;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.5s;
  --items: 6;
  
  display: grid;
  container-type: inline-size;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 6fr;
  gap: var(--gap);
  list-style-type: none;
  justify-content: center;
  padding: 0;
  height: 420px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  transition: grid-template-columns var(--speed) var(--easing);
  position: relative;
  z-index: 2;
}

.craft-cards li {
  background: var(--color-bg-card);
  position: relative;
  overflow: hidden;
  min-width: var(--base);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: border-color var(--speed) var(--easing);
  cursor: pointer;
}

.craft-cards li:hover {
  border-color: var(--color-border-hover);
}

/* Background image styling - always visible */
.craft-cards li > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-object-fit: cover;
  z-index: 1;
  filter: brightness(0.35);
  -webkit-filter: brightness(0.35);
  transition: filter var(--speed) var(--easing);
  -webkit-transition: -webkit-filter var(--speed) var(--easing);
  /* iOS Safari fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Title always visible - vertical rotation */
.craft-cards li > h3 {
  position: absolute;
  top: 50%;
  left: 20px;
  transform-origin: 0 0;
  transform: rotate(-90deg) translateX(-50%);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  margin: 0;
  color: var(--color-text);
  letter-spacing: 0.12em;
  z-index: 10;
}

/* Hide content when collapsed */
.craft-cards li article {
  opacity: 0;
  transition: opacity var(--speed) var(--easing);
}

/* Article container - positioned at bottom left */
.craft-cards article {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem;
  padding-left: 55px;
  z-index: 5;
}

/* Description text */
.craft-cards article p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
  margin: 0 0 1rem 0;
  max-width: 450px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Icon */
.craft-cards article svg {
  width: 24px;
  height: 24px;
  fill: none;
  color: var(--dc-cyan);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

/* Learn more link */
.craft-cards article a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.craft-cards article a:hover {
  color: var(--dc-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.craft-cards article a span {
  display: inline-block;
}

/* Active card styling */
.craft-cards [data-active='true'] {
  border-color: rgba(58, 149, 255, 0.4);
}

.craft-cards [data-active='true'] > img {
  filter: brightness(0.65);
  -webkit-filter: brightness(0.65);
}

.craft-cards [data-active='true'] article {
  opacity: 1;
  transition-delay: calc(var(--speed) * 0.2);
}

/* Tablet Responsive for Craft Cards */
@media (max-width: 1024px) {
  .craft-cards {
    height: 380px;
    max-width: calc(100% - 2rem);
  }
}

/* Touch-friendly link targets for craft cards */
@media (hover: none) and (pointer: coarse) {
  .craft-cards article a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin: -8px -16px;
  }
}

/* ============================================
   7. INFRASTRUCTURE SECTION - Glowing Orb Design
   ============================================ */
.section--system {
  --orb-cyan: #00d4ff;
  --orb-blue: #3A95FF;
  --orb-deep: #2851DB;
  
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}

/* Header with accent lines */
.infra-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.infra-header__line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orb-cyan), transparent);
}

.infra-header__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.infra-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* ============================================
   SPIRAL ANIMATION - Infrastructure
   ============================================ */

/* Custom property for spiral animation */
@property --spiral-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Spiral Container */
.spiral-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Spiral Text Elements */
.spiral {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  color: #e0ecef;
  font-family: var(--font-primary);
}

/* Spiral Animation Keyframes */
@keyframes spiralWave {
  0% {
    --spiral-angle: 0deg;
  }
  100% {
    --spiral-angle: 360deg;
  }
}

/* Individual Characters */
.spiral .character {
  font-size: 2.8rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: translateY(calc(sin(var(--spiral-angle)) * 100px)) scale(calc(cos(var(--spiral-angle)) * 0.5 + 0.5));
  animation: spiralWave 4s linear infinite;
  text-shadow: 
    0 0 20px var(--orb-cyan),
    0 0 40px var(--orb-blue),
    0 0 60px var(--orb-deep);
}

/* Responsive Spiral */
@media (max-width: 768px) {
  .spiral-container {
    min-height: 300px;
  }
  
  .spiral .character {
    font-size: 2rem;
  }
  
  .infra-header__title {
    font-size: 2rem;
  }
  
  .infra-header__line {
    width: 50px;
  }
}

@media (max-width: 490px) {
  .spiral .character {
    font-size: 1.6rem;
  }
}

/* ============================================
   8. ECOSYSTEM SECTION
   ============================================ */
.section--ecosystem {
  background: var(--color-bg-light);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ecosystem-card {
  padding: 40px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: all var(--transition);
}

.ecosystem-card:hover {
  border-color: var(--color-border-hover);
}

.ecosystem-card--large {
  cursor: pointer;
}

.ecosystem-card--large:hover {
  transform: translateY(-4px);
}

.ecosystem-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.ecosystem-card--small .ecosystem-card__title {
  font-size: 1.1rem;
}

.ecosystem-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.ecosystem-card--small .ecosystem-card__desc {
  font-size: 0.85rem;
}

/* ============================================
   9. PERFORMANCE CAROUSEL
   ============================================ */
.section--industry {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.industry-carousel {
  margin: 0 -60px;
  padding: 0 60px;
  overflow-x: auto;
  scrollbar-width: none;
}

.industry-carousel::-webkit-scrollbar {
  display: none;
}

.industry-track {
  display: flex;
  gap: 24px;
  padding-bottom: 20px;
}

.industry-card {
  flex: 0 0 220px;
  padding: 40px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.industry-card__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent-light);
}

.industry-card__label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ============================================
   10. NEWS SECTION
   ============================================ */
.section--news {
  background: var(--color-bg-light);
}

.section__header--news {
  margin-bottom: 40px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.news-tabs {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.news-tab {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}

.news-tab:hover,
.news-tab.active {
  color: var(--color-text);
}

.news-tab.active {
  border-color: var(--color-accent-light);
}

.news-featured {
  display: block;
  margin-bottom: 24px;
}

.news-featured__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition);
}

.news-featured:hover .news-featured__title {
  color: var(--color-accent-light);
}

.news-featured__date {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 12px;
}

.news-featured__link {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.news-featured:hover .news-featured__link {
  color: var(--color-accent-light);
}

.news-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-bg-card);
  border-radius: 8px;
  overflow: hidden;
}

.news-image-placeholder svg {
  width: 100%;
  height: 100%;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  display: block;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color var(--transition);
}

.news-item:hover .news-item__title {
  color: var(--color-accent-light);
}

.news-item__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-item__date {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.news-item__link {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.news-item:hover .news-item__link {
  color: var(--color-accent-light);
}

/* ============================================
   11. CONTACT SECTION
   ============================================ */
.section--career {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 100px 60px;
}

.career-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.career-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.career-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Shiny CTA Button */
.career-btn {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1.25rem 2.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background: linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-cta-highlight) var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
      transparent calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
}

.career-btn::before,
.career-btn::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.career-btn:active {
  translate: 0 1px;
}

/* Dots pattern */
.career-btn::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    white calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.career-btn::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.career-btn span {
  z-index: 1;
  position: relative;
}

.career-btn span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  --size: calc(100% + 1rem);
  width: var(--size);
  height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
  opacity: 0;
  z-index: -1;
}

/* Animate */
.career-btn {
  --btn-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--btn-transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.career-btn,
.career-btn::before,
.career-btn::after {
  animation: gradient-angle var(--duration) linear infinite,
    gradient-angle calc(var(--duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
}

.career-btn span::before {
  transition: opacity var(--btn-transition);
  animation: breathe calc(var(--duration) * 1.5) linear infinite;
}

.career-btn:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.career-btn:is(:hover, :focus-visible),
.career-btn:is(:hover, :focus-visible)::before,
.career-btn:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}

.career-btn:is(:hover, :focus-visible) span::before {
  opacity: 1;
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from, to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}

.career-btn__icon {
  width: 20px;
  height: 20px;
  z-index: 1;
}

.career-btn__icon svg {
  width: 100%;
  height: 100%;
}

.career-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.career-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem;
  font-weight: 500;
}

.career-link:hover {
  color: var(--color-accent-light);
}

.career-link svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.career-link:hover svg {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

/* ============================================
   12. FOOTER
   ============================================ */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 60px 40px;
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-icon {
  height: 32px;
  width: auto;
  color: #fff;
}

.footer__logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer__contact-item:hover {
  color: var(--color-text);
}

.footer__contact-label {
  color: var(--color-text-dim);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
}

.footer__social-link:hover {
  color: var(--color-accent-light);
  border-color: var(--color-accent-light);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* ============================================
   13. RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 80px 40px;
  }

  .site-nav__inner {
    padding: 0 40px;
  }

  .site-nav__menu {
    display: none;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .career-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer {
    padding: 40px;
  }

  .footer__main {
    flex-direction: column;
    gap: 40px;
  }

  .footer__brand {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* ---- NAVIGATION (768px) ---- */
  .site-nav {
    height: 64px;
  }

  .site-nav__inner {
    padding: 0 16px;
  }

  .site-nav__logo .logo-icon {
    height: 28px;
  }

  .site-nav__logo .logo-text {
    font-size: 0.95rem;
  }

  /* Language toggle - larger touch target */
  .site-nav__lang-btn {
    padding: 10px 24px;
  }

  /* ---- HERO (768px) ---- */
  .hero {
    min-height: 100vh;
    min-height: 100dvh; /* Use dynamic viewport height for mobile browsers */
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    padding: 0 16px;
  }

  .hero__scroll {
    bottom: 24px;
  }

  .scroll-indicator {
    height: 40px;
  }

  /* ---- SECTIONS BASE (768px) ---- */
  .section {
    padding: 60px 16px;
  }

  .section--services {
    padding: 60px 16px 80px;
    min-height: auto;
  }

  .section__title {
    font-size: 1.75rem;
  }

  /* ---- SERVICES / CRAFT CARDS (768px) ---- */
  .craft-header {
    margin-bottom: 2rem;
  }

  .craft-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    padding: 0 8px;
  }

  .craft-intro {
    width: 100%;
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0 16px;
    text-align: center;
    box-sizing: border-box;
  }

  .services-watermark {
    font-size: 4rem;
    opacity: 0.03;
  }

  .light-streaks {
    display: none;
  }

  /* Craft Cards - vertical stack layout */
  .craft-cards {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 16px;
    max-width: 100%;
  }

  .craft-cards li {
    min-height: 280px;
    border-radius: 16px;
  }

  /* Title positioning - horizontal on mobile */
  .craft-cards li > h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    transform: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  /* Always show content on mobile - no accordion */
  .craft-cards li article {
    opacity: 1;
  }

  .craft-cards li > img {
    filter: brightness(0.5);
    -webkit-filter: brightness(0.5);
  }

  .craft-cards article {
    padding: 20px;
    padding-top: 60px;
    justify-content: flex-end;
  }

  .craft-cards article p {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .craft-cards article svg {
    width: 20px;
    height: 20px;
  }

  .craft-cards article a {
    font-size: 0.85rem;
    padding: 8px 0;
    display: inline-block;
  }

  /* Services Visual Container */
  .services-visual-container {
    flex-direction: column;
    min-height: auto;
    padding: 1rem 0;
  }

  .datacenter-visual {
    width: 100%;
    max-width: 320px;
    height: 280px;
    margin: 0 auto;
  }

  .dc-glow-base {
    width: 280px;
    height: 140px;
  }

  .dc-floor {
    width: 300px;
    height: 120px;
  }

  .rack-front {
    width: 70px;
    height: 140px;
  }

  .rack-center .rack-front {
    width: 85px;
    height: 180px;
  }

  .rack-left,
  .rack-right {
    display: none;
  }

  .cooling-unit,
  .power-unit {
    transform: scale(0.7) rotateX(-15deg) rotateY(-35deg);
  }

  .cooling-unit {
    left: 10px;
    bottom: 40px;
  }

  .power-unit {
    right: 10px;
    bottom: 40px;
  }

  .floating-icons {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .floating-icon {
    position: static;
    transform: none !important;
    animation: none;
  }

  .icon-inner {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }

  .icon-inner svg {
    width: 22px;
    height: 22px;
  }

  .icon-label {
    opacity: 1;
    transform: none;
    font-size: 0.6rem;
  }

  .carousel-nav {
    display: none;
  }

  .service-description {
    margin-top: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* ---- ECOSYSTEM (768px) ---- */
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-card {
    padding: 24px;
  }

  /* ---- INDUSTRY CAROUSEL (768px) ---- */
  .industry-card {
    flex: 0 0 160px;
    padding: 24px 16px;
  }

  .industry-card__number {
    font-size: 2rem;
  }

  /* ---- CONTACT SECTION (768px) ---- */
  .section--career {
    padding: 60px 16px;
  }

  .career-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .career-title {
    font-size: 2rem;
  }

  .career-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .career-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Full-width CTA button */
  .career-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1rem 2rem;
  }

  .career-links {
    width: 100%;
  }

  .career-link {
    padding: 20px 0;
    font-size: 1rem;
  }

  /* ---- FOOTER (768px) ---- */
  .footer {
    padding: 40px 16px 32px;
  }

  .footer__main {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__logo {
    gap: 8px;
  }

  .footer__logo-icon {
    height: 28px;
  }

  .footer__logo-text {
    font-size: 1rem;
  }

  .footer__contact {
    gap: 12px;
  }

  .footer__contact-item {
    flex-direction: column;
    gap: 4px;
    font-size: 0.9rem;
  }

  .footer__bottom {
    padding-top: 24px;
  }

  .footer__copyright {
    font-size: 0.8rem;
  }
}

/* ============================================
   13.5 SMALL PHONES (480px and below)
   ============================================ */
@media (max-width: 480px) {
  /* ---- NAVIGATION (480px) ---- */
  .site-nav {
    height: 56px;
  }

  .site-nav__inner {
    padding: 0 12px;
  }

  .site-nav__logo .logo-icon {
    height: 24px;
  }

  .site-nav__logo .logo-text {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
  }

  .site-nav__lang-btn {
    padding: 8px 20px;
  }

  /* ---- HERO (480px) ---- */
  .hero__title {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.1;
  }

  .hero__line {
    padding: 0 8px;
  }

  /* ---- SECTIONS (480px) ---- */
  .section {
    padding: 48px 12px;
  }

  .section--services {
    padding: 48px 12px 64px;
  }

  .section__title {
    font-size: 1.5rem;
  }

  /* ---- CRAFT CARDS (480px) ---- */
  .craft-header {
    margin-bottom: 1.5rem;
  }

  .craft-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .craft-intro {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .craft-cards {
    gap: 12px;
  }

  .craft-cards li {
    min-height: 240px;
    border-radius: 12px;
  }

  .craft-cards li > h3 {
    top: 16px;
    left: 16px;
    font-size: 0.8rem;
  }

  .craft-cards article {
    padding: 16px;
    padding-top: 52px;
  }

  .craft-cards article p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .services-watermark {
    font-size: 3rem;
  }

  /* ---- CONTACT SECTION (480px) ---- */
  .section--career {
    padding: 48px 12px;
  }

  .career-layout {
    gap: 32px;
  }

  .career-title {
    font-size: 1.75rem;
  }

  .career-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .career-btn {
    width: 100%;
    max-width: none;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .career-link {
    padding: 16px 0;
    font-size: 0.95rem;
  }

  .career-link svg {
    width: 18px;
    height: 18px;
  }

  /* ---- FOOTER (480px) ---- */
  .footer {
    padding: 32px 12px 24px;
  }

  .footer__brand {
    gap: 16px;
  }

  .footer__contact-item {
    font-size: 0.85rem;
  }

  .footer__contact-value {
    word-break: break-all;
  }

  .footer__bottom {
    padding-top: 20px;
  }

  .footer__copyright {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* ---- ECOSYSTEM (480px) ---- */
  .ecosystem-card {
    padding: 20px;
  }

  .ecosystem-card__title {
    font-size: 1.25rem;
  }

  .ecosystem-card__desc {
    font-size: 0.85rem;
  }

  /* ---- INDUSTRY CAROUSEL (480px) ---- */
  .industry-card {
    flex: 0 0 140px;
    padding: 20px 12px;
  }

  .industry-card__number {
    font-size: 1.75rem;
  }

  .industry-card__label {
    font-size: 0.75rem;
  }

  /* ---- INFRASTRUCTURE / SPIRAL (480px) ---- */
  .spiral-container {
    min-height: 200px;
  }

  .spiral .character {
    font-size: 1.4rem;
  }

  .infra-header__title {
    font-size: 1.5rem;
  }

  .infra-header__line {
    width: 30px;
  }

  .infra-subtitle {
    font-size: 0.85rem;
    padding: 0 8px;
  }
}

/* ============================================
   14. UTILITIES
   ============================================ */
*:focus {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* Enhanced focus states for interactive elements */
.craft-cards li:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 4px;
  border-color: var(--color-accent-light);
}

.career-link:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 4px;
  color: var(--color-accent-light);
}

.footer__contact-item:focus-visible,
.footer__social-link:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 2px;
}

.lang-dropdown__item:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: -2px;
  background: rgba(58, 149, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-card);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

::selection {
  background: var(--color-accent);
  color: white;
}

/* ============================================
   15. PIXEL CARDS (Performance Section)
   ============================================ */
.pixel-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.pixel-card {
  position: relative;
  height: 320px;
  background: var(--color-bg-card);
  border-radius: 20px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pixel-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(0, 212, 255, 0.1);
}

.pixel-card pixel-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.8;
}

.pixel-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
}

.pixel-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 16px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.pixel-card:hover .pixel-card__icon {
  background: rgba(0, 212, 255, 0.2);
  border-color: rgba(0, 212, 255, 0.4);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.pixel-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--dc-cyan);
  fill: none;
  stroke-width: 1.5;
  transition: all 0.3s ease;
}

.pixel-card:hover .pixel-card__icon svg {
  stroke: #fff;
  filter: drop-shadow(0 0 8px var(--dc-cyan));
}

.pixel-card__value {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, var(--dc-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.pixel-card:hover .pixel-card__value {
  transform: scale(1.05);
}

.pixel-card__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.pixel-card:hover .pixel-card__label {
  color: var(--dc-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
  .pixel-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 24px;
  }
  
  .pixel-card {
    height: 280px;
  }
  
  .pixel-card__value {
    font-size: 2.5rem;
  }
}

@media (max-width: 600px) {
  .pixel-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px;
  }
  
  .pixel-card {
    height: 240px;
  }
  
  .pixel-card__value {
    font-size: 2.25rem;
  }
  
  .pixel-card__icon {
    width: 56px;
    height: 56px;
  }
  
  .pixel-card__icon svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================
   16. SAFARI/iOS SPECIFIC FIXES
   ============================================ */

/* Fix for Safari object-fit on absolutely positioned images */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari specific */
  .craft-cards li {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  .craft-cards li > img {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* Safari desktop and iOS - ensure images render */
@media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
    .craft-cards li > img {
      /* Force GPU layer for Safari */
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      will-change: transform, filter;
    }
    
    .craft-cards li {
      /* Ensure parent has proper stacking context */
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
  }
}

/* iOS viewport fix */
@supports (-webkit-overflow-scrolling: touch) {
  .craft-cards li > img {
    /* Prevent image from being clipped on iOS */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
  }
}

/* Fallback for older Safari versions */
.craft-cards li > img {
  /* Ensure image is always visible */
  opacity: 1;
  visibility: visible;
}
