/* INTROVE Official Tech Brand Stylesheet - Premium Sky & Royal Blue Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+KR:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  font-family: 'Noto Sans KR', 'Inter', sans-serif;
  color-scheme: dark;
  --color-brand-blue: #0284c7;
  --color-brand-sky: #38bdf8;
  --color-brand-cyan: #00F0FF;
  --bg-deep-blue: #09172c;
}

body {
  background: radial-gradient(circle at 50% 0%, #153358 0%, #0d213d 40%, #081629 100%);
  background-attachment: fixed;
  color: #f1f5f9;
  overflow-x: hidden;
  word-break: keep-all; /* 한글 단어 끊김 원천 방지 */
  text-wrap: pretty;    /* 마지막 줄 외톨이 단어(orphans) 자동 방지 */
}

h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  text-wrap: balance;   /* 제목 좌우 균형 배치 */
}

p {
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: pretty;    /* 문장 끝 1단어만 줄바꿈되는 현상(widows/orphans) 원천 방지 */
}

span, li, a, button, label {
  word-break: keep-all;
}

.break-keep {
  word-break: keep-all;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* Page Section View Transition */
.page-section {
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.page-section.active-view {
  display: block;
  animation: viewFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar for Spec Tables & Page */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0c1e38;
}

::-webkit-scrollbar-thumb {
  background: #0ea5e9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Blue Glassmorphism Panels */
.glass-panel {
  background: linear-gradient(135deg, rgba(17, 40, 75, 0.82) 0%, rgba(12, 28, 54, 0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 8px 32px 0 rgba(4, 15, 30, 0.4);
}

.glass-panel:hover {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.25);
}

/* Inner Device Stage Container */
.device-stage {
  background: linear-gradient(180deg, rgba(9, 23, 44, 0.95) 0%, rgba(13, 33, 62, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* Tech Glow Accents */
.cyan-glow {
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
}

.cyan-text-glow {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.65);
}

.glow-pill {
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

/* Hero Carousel Fade Motion */
.hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
  transform: translateY(8px);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

/* Global Network Pulse Pin Animation */
.map-pin {
  position: relative;
}

.map-pin::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50%;
  background-color: rgba(56, 189, 248, 0.8);
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Mega Menu Dropdown Smooth Transition */
.group:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(180deg, #102747 0%, #0c1e38 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Tech Grid Line Overlay with Sky-Blue tint */
.tech-grid-bg {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.07) 1px, transparent 1px);
}

/* Top Glow Line for Sections */
.section-top-glow {
  position: relative;
}
.section-top-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.5) 50%, transparent 100%);
}

/* Sticky Column for Mobile Tables */
@media (max-width: 768px) {
  .sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #0d223f;
    box-shadow: 3px 0 10px rgba(0, 0, 0, 0.5);
  }
}
