/* ==========================================================================
   NS Advanced Systems — VisionOS / iOS 26 Liquid Glass Visual System v2
   High-Craft Dark UI · Specular Optical Refraction · Interactive 3D Stages
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-canvas: #020306;
  --bg-deep: #050811;

  /* True Liquid Glass Material Tokens */
  --glass-bg: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.025) 45%,
    rgba(125, 211, 252, 0.04) 80%,
    rgba(255, 255, 255, 0.07) 100%
  );
  --glass-bg-elevated: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.035) 50%,
    rgba(196, 181, 253, 0.06) 100%
  );
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-bright: rgba(255, 255, 255, 0.28);
  --glass-specular-inner:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.38),
    inset 1px 0 0 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.06),
    inset 0 0 36px rgba(255, 255, 255, 0.03);
  --glass-shadow-deep:
    0 30px 80px -16px rgba(0, 0, 0, 0.82),
    0 0 1px 1px rgba(0, 0, 0, 0.6);
  --glass-blur: blur(40px) saturate(190%);

  /* Optical Accents */
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.18);
  --violet: #a855f7;
  --violet-soft: rgba(168, 85, 247, 0.18);
  --emerald: #34d399;
  --amber: #fbbf24;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(241, 245, 249, 0.72);
  --text-tertiary: rgba(148, 163, 184, 0.58);

  --container-max: 1200px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 9999px;

  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Interactive Optical Background Canvas & Caustic Light Field
   ========================================================================== */
.optical-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(56, 189, 248, 0.16), transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 35%, rgba(168, 85, 247, 0.12), transparent 65%),
    radial-gradient(ellipse 70% 60% at 15% 80%, rgba(14, 165, 233, 0.10), transparent 65%),
    #020306;
}

#optical-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

/* Subtle Architectural Perspective Grid Overlay */
.optical-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
}

.caustic-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.38;
  will-change: transform;
  animation: driftOrb 22s var(--ease-fluid) infinite alternate;
}

.caustic-orb-1 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.38), rgba(59, 130, 246, 0.04) 70%);
  top: -220px;
  left: 8%;
}

.caustic-orb-2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.30), rgba(99, 102, 241, 0.04) 70%);
  top: 22%;
  right: -140px;
  animation-duration: 28s;
  animation-delay: -7s;
}

.caustic-orb-3 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.18), transparent 70%);
  bottom: -160px;
  left: 24%;
  animation-duration: 25s;
  animation-delay: -12s;
}

@keyframes driftOrb {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(42px, -32px, 0) scale(1.08); }
  100% { transform: translate3d(-28px, 36px, 0) scale(0.94); }
}

/* ==========================================================================
   Sculpted Liquid Glass Material
   ========================================================================== */
.liquid-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow-deep), var(--glass-specular-inner);
  transition:
    transform 420ms var(--ease-fluid),
    border-color 320ms var(--ease-fluid),
    box-shadow 420ms var(--ease-fluid);
  overflow: hidden;
}

/* Specular Cursor Caustic Sheen */
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.14),
    rgba(56, 189, 248, 0.05) 35%,
    transparent 65%
  );
  opacity: 0;
  transition: opacity 350ms var(--ease-fluid);
  pointer-events: none;
  z-index: 0;
}

/* Top Optical Refraction Prism Line */
.liquid-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65) 35%,
    rgba(125, 211, 252, 0.8) 50%,
    rgba(196, 181, 253, 0.65) 65%,
    transparent
  );
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass:hover::before {
  opacity: 1;
}

.liquid-glass:hover {
  border-color: var(--glass-border-bright);
  box-shadow:
    0 36px 90px -16px rgba(0, 0, 0, 0.88),
    0 0 40px -10px rgba(56, 189, 248, 0.14),
    var(--glass-specular-inner);
}

.liquid-glass > * {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.75rem;
}

section {
  padding: 5.5rem 0;
}

/* ==========================================================================
   Floating Liquid Glass Capsule Navigation
   ========================================================================== */
.nav-header {
  position: fixed;
  top: 1.35rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  pointer-events: none;
}

.nav-capsule {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 920px;
  padding: 0.58rem 0.7rem 0.58rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 22, 0.62);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.75),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.32);
  transition: all 350ms var(--ease-fluid);
}

.nav-header.scrolled .nav-capsule {
  background: rgba(5, 8, 16, 0.84);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-orb {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 55%, #c4b5fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020306;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: -0.04em;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 400;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: all 200ms ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: #020306;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.25);
  transition: transform 200ms var(--ease-fluid), box-shadow 200ms ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.38);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  top: 5.2rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 99;
  padding: 1.25rem;
  border-radius: 24px;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
}

.mobile-drawer a.active,
.mobile-drawer a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.88rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 320ms var(--ease-fluid);
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 220ms var(--ease-fluid);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-light {
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  color: #020306;
  box-shadow:
    0 12px 32px -6px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 #ffffff;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -6px rgba(255, 255, 255, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.065);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.28);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero & Spatial 3D Glass Stage (Home Page)
   ========================================================================== */
.hero {
  padding-top: 9.2rem;
  padding-bottom: 4rem;
}

.hero-inner {
  max-width: 840px;
  margin: 0 auto 4rem;
  text-align: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.hero-title span,
.page-title span {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  color: var(--text-secondary);
  max-width: 630px;
  margin: 0 auto 2.4rem;
  font-weight: 300;
  line-height: 1.65;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Panoramic Spatial 3D Stage */
.spatial-stage {
  perspective: 1400px;
  margin-top: 1rem;
}

.spatial-deck {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 1.35rem;
  align-items: stretch;
  transform-style: preserve-3d;
}

.spatial-panel {
  padding: 1.75rem;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--glass-bg-elevated);
}

.spatial-panel-center {
  transform: translateY(-14px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.9),
    0 0 60px -15px rgba(56, 189, 248, 0.2),
    var(--glass-specular-inner);
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulseGlow 2.4s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* Visual Artwork Containers inside Glass Panels */
.visual-canvas-box {
  position: relative;
  border-radius: 20px;
  background: rgba(2, 4, 10, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.25rem;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Scanning Laser Line for Vision HUD */
.scan-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), #ffffff, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--cyan);
  animation: scanSweep 3.8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes scanSweep {
  0% { top: 12%; opacity: 0.35; }
  50% { opacity: 0.95; }
  100% { top: 88%; opacity: 0.35; }
}

/* Garment Cards inside Kombinyapp Visual */
.garment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.garment-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  padding: 0.85rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 250ms var(--ease-fluid), border-color 250ms ease;
}

.garment-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.garment-svg {
  width: 44px;
  height: 44px;
  color: #ffffff;
  filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.25));
}

.garment-name {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  font-weight: 500;
}

.swatch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.swatch-dots {
  display: flex;
  gap: 0.4rem;
}

.swatch-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Animated Waveform Bars */
.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 68px;
  padding: 0 0.5rem;
}

.waveform-bars span {
  flex: 1;
  background: linear-gradient(180deg, #bae6fd 0%, #38bdf8 50%, rgba(168, 85, 247, 0.4) 100%);
  border-radius: 99px;
  animation: wavePulse 1.6s ease-in-out infinite alternate;
}

.waveform-bars span:nth-child(2n) { animation-duration: 1.1s; animation-delay: -0.4s; }
.waveform-bars span:nth-child(3n) { animation-duration: 1.9s; animation-delay: -0.8s; }
.waveform-bars span:nth-child(4n) { animation-duration: 1.3s; animation-delay: -0.2s; }

@keyframes wavePulse {
  0% { height: 18%; opacity: 0.45; }
  100% { height: 95%; opacity: 1; }
}

/* ==========================================================================
   Page Headers & Showcases
   ========================================================================== */
.page-header {
  padding-top: 9.5rem;
  padding-bottom: 2.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin-bottom: 1.1rem;
}

.page-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 640px;
  font-weight: 300;
  line-height: 1.65;
}

.showcase-vessel {
  padding: 3.25rem;
  border-radius: var(--radius-xl);
  margin-bottom: 2.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.showcase-grid.reverse {
  grid-template-columns: 1fr 1fr;
}

.showcase-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.showcase-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 2rem;
  font-weight: 300;
}

.minimal-specs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 1.5rem;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.spec-key {
  color: var(--text-tertiary);
}

.spec-val {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

/* ==========================================================================
   Sculpted Device & Telemetry Frames
   ========================================================================== */
.device-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.device-frame {
  width: 100%;
  max-width: 390px;
  min-height: 460px;
  padding: 1.4rem;
  border-radius: 42px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(15, 23, 42, 0.65) 48%,
    rgba(56, 189, 248, 0.08) 100%
  );
  backdrop-filter: blur(44px) saturate(200%);
  -webkit-backdrop-filter: blur(44px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 40px 90px -20px rgba(0, 0, 0, 0.9),
    0 0 50px -12px rgba(56, 189, 248, 0.18),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.console-frame {
  width: 100%;
  min-height: 420px;
  padding: 1.65rem;
  border-radius: 30px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(6, 10, 20, 0.72) 55%,
    rgba(56, 189, 248, 0.07) 100%
  );
  backdrop-filter: blur(40px) saturate(190%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 36px 80px -20px rgba(0, 0, 0, 0.88),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.device-notch {
  width: 84px;
  height: 22px;
  border-radius: 99px;
  background: #020306;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.device-notch::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #38bdf8, #1e3a8a);
}

.device-screen-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: opacity 240ms ease, transform 240ms var(--ease-fluid);
}

.glass-widget {
  padding: 1.05rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.widget-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
}

.widget-heading {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--text-primary);
}

.widget-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.widget-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lens-switcher {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  gap: 0.25rem;
}

.lens-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 200ms var(--ease-fluid);
}

.lens-btn.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Bento Grids with Rich Visual Headers
   ========================================================================== */
.section-head {
  margin-bottom: 2.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.96rem;
  font-weight: 300;
  max-width: 440px;
}

.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 290px;
  text-decoration: none;
  color: inherit;
}

.bento-visual-banner {
  width: 100%;
  height: 128px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.14), rgba(2, 4, 10, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.45rem;
}

.bento-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 1.15rem;
  transition: gap 200ms ease;
}

.bento-card:hover .text-link {
  gap: 0.7rem;
  color: var(--cyan);
}

.text-link svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Contact Page & Interactive Radar Map
   ========================================================================== */
.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  padding: 2.5rem;
}

.card-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 220ms var(--ease-fluid);
}

.contact-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.contact-pill-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-pill-label {
  font-size: 0.74rem;
  color: var(--text-tertiary);
}

.contact-pill-val {
  font-size: 0.94rem;
  font-weight: 500;
}

.minimal-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.glass-input {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 200ms ease, background 200ms ease;
}

.glass-input::placeholder {
  color: var(--text-tertiary);
}

.glass-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Footer & Modal
   ========================================================================== */
.site-footer {
  padding: 3rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a,
.footer-legal-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-legal-btn:hover {
  color: var(--text-primary);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 3, 6, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-fluid);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-body p + p {
  margin-top: 0.85rem;
}

.glass-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 250;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-primary);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: all 350ms var(--ease-fluid);
}

.glass-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1024px) {
  .spatial-deck,
  .showcase-grid,
  .showcase-grid.reverse,
  .corporate-grid,
  .bento-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .spatial-panel-center {
    transform: none;
  }

  .showcase-vessel {
    padding: 2.25rem;
  }
}

@media (max-width: 720px) {
  section {
    padding: 3.75rem 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

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

  .showcase-vessel,
  .contact-card {
    padding: 1.65rem;
  }
}
