/* ==========================================================================
   K-AI반도체 기술지원센터 — Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Namyangju';
  src: url('../fonts/NamyangjuGothic-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Namyangju';
  src: url('../fonts/NamyangjuGothic-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Namyangju';
  src: url('../fonts/NamyangjuGothic-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Namyangju';
  src: url('../fonts/NamyangjuGothic-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard Variable';
  src: url('../fonts/PretendardVariable.woff2') format('woff2-variations'),
       url('../fonts/PretendardVariable.woff2') format('woff2');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color tokens — pulled from the source poster's circuit-board palette */
  --bg: #05061a;
  --bg-1: #070a24;
  --panel: #0d1230;
  --panel-2: #121a40;
  --panel-border: rgba(140, 165, 255, 0.14);
  --accent-blue: #3b7dff;
  --accent-cyan: #4fe0ff;
  --accent-magenta: #ff3d8a;
  --text-hi: #f5f7ff;
  --text-mid: #b7c0e8;
  --text-low: #7c85ad;

  --font-display: 'Namyangju', 'Pretendard Variable', 'Pretendard', sans-serif;
  --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;

  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text-mid);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; border: none; background: none; cursor: pointer; }

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

::selection { background: var(--accent-blue); color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Background ambience — circuit grid + glow, fixed behind all sections */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 600px at 82% 8%, rgba(59,125,255,0.20), transparent 60%),
    radial-gradient(ellipse 700px 500px at 8% 45%, rgba(79,224,255,0.10), transparent 60%),
    radial-gradient(ellipse 800px 600px at 90% 85%, rgba(255,61,138,0.08), transparent 60%),
    var(--bg);
}
.bg-field::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,165,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,165,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black, transparent 75%);
}

/* Edge frame — echoes the poster's thin magenta border */
.edge-frame {
  position: fixed;
  inset: 10px;
  z-index: 40;
  pointer-events: none;
  border: 1px solid rgba(255,61,138,0.35);
  border-radius: 4px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(5,6,26,0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--panel-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-hi);
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-weight: 300;
  font-size: 10.5px;
  color: var(--text-low);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--panel-border);
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  position: relative;
  padding: 9px 18px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text-hi); background: rgba(255,255,255,0.06); }
.main-nav a.is-active { color: var(--text-hi); background: rgba(79,224,255,0.12); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-hi);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  /* 상하 패딩을 줄이거나 조정하면 모바일 등 작은 화면에서 덜 넘쳐납니다 */
  padding: 60px 0; 
  overflow: hidden;
  
  /* 핵심: 최소 높이를 화면 높이의 100%로 설정 */
  min-height: 100vh; 
  
  /* 내부 요소 중앙 정렬을 위한 Flexbox 설정 */
  display: flex;
  flex-direction: column; /* 요소를 위에서 아래로 흐르게 설정 */
  justify-content: center; /* 수직 방향(세로) 중앙 정렬 */
  align-items: center;     /* 수평 방향(가로) 중앙 정렬 */
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-copy {
  max-width: 620px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(59,125,255,0.08);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-cyan);
  margin-bottom: 26px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.05s forwards;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--text-hi);
  margin-bottom: 26px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent-cyan), var(--accent-blue) 65%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 span.line {
  display: block;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}
.hero h1 span.line:nth-child(1) { animation-delay: 0.12s; }
.hero h1 span.line:nth-child(2) { animation-delay: 0.22s; }
.hero h1 span.line:nth-child(3) { animation-delay: 0.32s; }
.hero h1 span.line:nth-child(4) { animation-delay: 0.42s; }

.hero-desc {
  font-size: 17.5px;
  font-weight: 400;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 38px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.5s forwards;
}
.mobile-break { display: none; }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.6s forwards;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  color: var(--text-hi);
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(79,224,255,0.4); transform: translateY(-2px); }
.btn-ghost svg { width: 16px; height: 16px; color: var(--accent-cyan); transition: transform 0.25s var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

.hero-meta {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.7s forwards;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
  flex: 1 1 0;
  min-width: 220px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.hero-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(79,224,255,0.35);
  background: rgba(255,255,255,0.07);
}
.hero-stat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(59,125,255,0.25), rgba(79,224,255,0.18));
  color: var(--accent-cyan);
}
.hero-stat-icon svg { width: 19px; height: 19px; }
.hero-stat-text {
  display: flex;
  flex-direction: column;
}
.hero-stat-text b {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1.2;
}
.hero-stat-text span {
  font-size: 12px;
  color: var(--text-mid);
}

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

/* --- Hero background (full-bleed poster photo, image covers the whole
   section; a left-to-right overlay keeps the copy readable) --- */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 0.15s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

.chip-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 44%;
  animation: chipDrift 16s ease-in-out infinite;
}
@keyframes chipDrift {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.04) translateY(-6px); }
}

/* Dark gradient so the headline stays legible over the photo, echoing the
   poster's own left-to-right fade into black */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(5,6,26,0.92) 24%, rgba(5,6,26,0.58) 44%, rgba(5,6,26,0.2) 64%, transparent 80%);
}

/* JS-spawned glints — small flashes of light that sweep across the chip
   artwork on the right, matching the poster's flickering circuit nodes */
.hero-glints {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-glint {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, var(--glint-color, var(--accent-cyan)) 45%, transparent 78%);
  filter: blur(0.5px);
  opacity: 0;
  animation: glintFlash 1.6s ease-out forwards;
}
@keyframes glintFlash {
  0% { opacity: 0; transform: scale(0.3); }
  18% { opacity: 1; transform: scale(1.1); }
  45% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.25); }
}

/* Sponsor / supporting-agency logos — centered strip at the bottom of the hero */
.hero-sponsors {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding: 0 24px;
  opacity: 0;
  animation: rise 0.7s var(--ease) 0.85s forwards;
}
.hero-sponsors img {
  height: 52px;
  width: auto;
  opacity: 0.92;
  filter: brightness(1.1);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.hero-sponsors img:hover { opacity: 1; transform: translateY(-2px); }

/* ==========================================================================
   Section shared
   ========================================================================== */
section { position: relative; padding: 108px 0; }
.section-head { margin-bottom: 52px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent-cyan);
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-mid);
  max-width: 560px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Icons/badges get an extra bouncy pop once their card becomes visible */
.problem-card .problem-icon,
.stair-step .stair-platform {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.5s var(--ease) 0.15s;
}
.reveal:not(.is-visible) .problem-icon,
.reveal:not(.is-visible) .stair-platform {
  opacity: 0;
  transform: scale(0.5);
}
.reveal.is-visible .problem-icon,
.reveal.is-visible .stair-platform {
  animation: iconPop 0.5s var(--ease) 0.2s both;
}
@keyframes iconPop {
  0% { opacity: 0; transform: scale(0.5); }
  70% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   Problems grid
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.problem-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-m);
  padding: 36px 22px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,224,255,0.35);
  box-shadow: 0 20px 40px rgba(5,6,26,0.5);
}
.problem-icon {
  width: 76px; height: 76px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease);
}
.problem-card:hover .problem-icon { transform: scale(1.08); }
.problem-icon img { width: 68px; height: 68px; object-fit: contain; }
.problem-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1.4;
  margin-bottom: 16px;
}
.problem-divider {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--panel-border);
  margin-bottom: 16px;
}
.problem-card p {
  font-size: 14px;
  color: var(--text-hi);
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   Process flow
   ========================================================================== */
.process-panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-l);
  padding: 56px 44px;
}
.stair-flow {
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.stair-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 6px;
}
.stair-platform {
  position: relative;
  width: 100%;
  max-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -14px;
  z-index: 2;
}
.stair-diamond {
  width: 100%;
  max-width: 130px;
  height: auto;
  position: relative;
  z-index: 2;
  display: block;
}
.stair-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 50px; height: 50px;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45));
}
.stair-icon img { width: 100%; height: 100%; object-fit: contain; }
.stair-riser {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--riser-h, 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 16px 20px;
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(79,224,255,0.1), transparent 70%),
    linear-gradient(180deg, rgba(18,26,64,0.9) 0%, rgba(9,12,36,0.96) 55%, rgba(5,6,26,0.98) 100%);
  border: 1px solid var(--panel-border);
  border-top: none;
  border-radius: 20px 20px 12px 12px;
  overflow: hidden;
}
.stair-riser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  opacity: 0.8;
}
.stair-riser::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 60%;
  height: 44%;
  transform: translateX(-50%);
  background-image:
    linear-gradient(rgba(140,165,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,165,255,0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, transparent, black 70%);
  pointer-events: none;
}
.stair-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-magenta);
  margin-bottom: 10px;
}
.stair-step p {
  font-size: 13px;
  color: var(--text-hi);
  font-weight: 300;
  line-height: 1.6;
  max-width: 180px;
}
.stair-arrow {
  flex: 0 0 auto;
  width: 44px;
  align-self: flex-end;
  color: var(--accent-cyan);
  opacity: 0.85;
}
.stair-arrow svg { width: 100%; height: 40px; display: block; filter: drop-shadow(0 0 4px rgba(79,224,255,0.5)); }

@media (min-width: 1160px) {
  .stair-arrow { width: 56px; }
}
.process-num {
  display: inline-flex;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.process-num-cyan {
  color: var(--accent-cyan);
  background: rgba(79,224,255,0.12);
  border: 1px solid rgba(79,224,255,0.35);
}
.process-num-magenta {
  color: var(--accent-magenta);
  background: rgba(255,61,138,0.12);
  border: 1px solid rgba(255,61,138,0.35);
}
/* ==========================================================================
   Industries
   ========================================================================== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.industry-card {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  background-color: var(--panel-2);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.industry-card:hover { transform: translateY(-6px); border-color: rgba(79,224,255,0.4); }
.industry-card .ic-photo {
  width: 100%;
  height: 128px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  border-bottom: 2px solid var(--card-accent, var(--accent-blue));
}
.industry-card .ic-label {
  padding: 16px 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--panel-border);
}
.industry-card .ic-label h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.35;
}
.industry-card .ic-desc {
  padding: 12px 16px 18px;
  text-align: center;
  flex: 1;
}
.industry-card .ic-desc p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-hi);
  line-height: 1.65;
}

/* ==========================================================================
   Partners
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-card {
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-m);
  padding: 22px 18px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79,224,255,0.35);
  box-shadow: 0 20px 40px rgba(5,6,26,0.5);
}
.partner-logo {
  width: 100%;
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f7ff;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
}
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 12px;
}
.partner-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  opacity: 0.9;
}
.partner-icon img { width: 100%; height: 100%; object-fit: contain; }
.partner-card p {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-hi);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.partner-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s, background 0.25s;
}
.partner-link:hover {
  border-color: rgba(79,224,255,0.4);
  background: rgba(255,255,255,0.06);
}
.partner-link span {
  font-size: 11px;
  color: var(--accent-cyan);
  font-weight: 600;
}
.partner-link b {
  font-size: 12px;
  color: var(--text-hi);
  font-weight: 600;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: var(--radius-l);
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1440, #060a26 60%);
  border: 1px solid var(--panel-border);
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,125,255,0.28), transparent 70%);
  top: -220px; right: -140px;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,61,138,0.14), transparent 70%);
  bottom: -220px; left: -120px;
}
.cta-band .section-tag {
  position: relative; z-index: 1;
  display: inline-flex;
  margin-bottom: 18px;
}
.cta-band h2 {
  position: relative; z-index: 1;
  font-size: clamp(20px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 18px;
  line-height: 1.4;
}
.cta-band .cta-sub {
  position: relative; z-index: 1;
  font-size: 15px;
  color: var(--text-low);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.cta-contact-buttons {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.cta-contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  min-width: 260px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.cta-contact-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(79,224,255,0.4);
  background: rgba(255,255,255,0.08);
}
.cta-contact-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #04081c;
}
.cta-contact-icon svg { width: 22px; height: 22px; }
.cta-contact-btn b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  text-align: left;
}
.cta-contact-btn > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-contact-btn > span:last-child > span {
  font-size: 13.5px;
  color: var(--text-mid);
  text-align: left;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--panel-border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.footer-desc {
  font-size: 13px;
  color: var(--text-low);
  max-width: 340px;
  margin-top: 14px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 13px;
  color: var(--text-low);
  margin-bottom: 10px;
  font-weight: 300;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-contact {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.footer-contact svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  color: var(--accent-cyan);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
  font-size: 12px;
  color: var(--text-low);
  flex-wrap: wrap;
  gap: 12px;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--panel-border);
  color: var(--text-hi);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 45;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { border-color: var(--accent-cyan); color: var(--accent-cyan); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero { padding: 0; min-height: 0; display: block; }
  .hero .container { padding-top: 148px; padding-bottom: 90px; }
  .hero-copy { max-width: 560px; }
  .chip-photo { object-position: 62% 28%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(5,6,26,0.55) 28%, rgba(5,6,26,0.55) 68%, var(--bg) 100%),
      radial-gradient(ellipse 90% 60% at 50% 45%, rgba(5,6,26,0.35), transparent 70%);
  }

  .problems-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }

  .stair-flow { flex-wrap: wrap; align-items: flex-start; row-gap: 44px; }
  .stair-step { flex: 1 1 28%; }
  .stair-step[style] { --riser-h: 230px !important; }
  .stair-arrow { display: none; }

  .main-nav { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: flex; }

  .hero { text-align: left; }
  .hero-copy { margin: 0; padding-left: 10px; }
  .hero .container { padding-top: 116px; padding-bottom: 8px; }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); }
  .hero-desc { margin-left: 0; margin-right: auto; font-size: 14px; }
  .mobile-break { display: block; }
  .hero-actions { justify-content: flex-start; }

  .chip-photo {
    animation: none;
    transform: scale(1);
    object-position: 56% 93%;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(5,6,26,0.62) 22%, rgba(5,6,26,0.4) 55%, rgba(5,6,26,0.7) 100%),
      radial-gradient(ellipse 90% 55% at 50% 38%, rgba(5,6,26,0.3), transparent 70%);
  }

  .hero-meta { justify-content: flex-start; gap: 10px; flex-wrap: nowrap; margin-top: 64px;}


  .hero-stat { padding: 10px 12px; gap: 8px; border-radius: 12px; flex: 1 1 0; min-width: 0; }
  .hero-stat-icon { width: 28px; height: 28px; border-radius: 8px; }
  .hero-stat-icon svg { width: 14px; height: 14px; }
  .hero-stat-text b { font-size: 14px; }
  .hero-stat-text span { font-size: 10px; white-space: nowrap; }

  .hero-sponsors { position: static; bottom: auto; margin-top: 32px; margin-bottom: 44px; gap: 11px; }
  .hero-sponsors img { height: 34px; }

  section { padding: 76px 0; }
  .section-head p { margin-left: auto; margin-right: auto; }

  .problems-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stair-flow { flex-direction: column; align-items: center; row-gap: 36px; }
  .stair-step { flex: 1 1 auto; }
  .stair-step[style] { --riser-h: 220px !important; }
  .stair-platform, .stair-diamond { max-width: 130px; }
  .process-panel { padding: 40px 24px; }

  .cta-band { padding: 52px 24px; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 40px; }
}

@media (max-width: 420px) {
  .problems-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5,6,26,0.98);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-hi);
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hi);
}
.mobile-nav-close svg { width: 24px; height: 24px; }

.pc-break { display: block; }

@media (max-width: 1024px) {
  .pc-break { display: none; }
}
