/* 에드사이언 사이트 전체 스타일 — 형광 현미경 톤의 다크 테마 */
:root {
  --bg: #05070d;
  --bg-2: #0a0f1c;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .09);
  --text: #e9eef7;
  --muted: #93a0b8;
  --blue: #2f6bff;
  --cyan: #2de2ff;
  --green: #22e3a0;
  --magenta: #ff3fb4;
  --spectrum: linear-gradient(90deg, #7b5cff, #2f8bff, #22e3a0, #e8f53b, #ff8a2a, #ff2d55);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 애플 기기에서는 SF Pro·Apple SD Gothic Neo, 그 외에는 Pretendard */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, "Helvetica Neue", "Segoe UI", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }

.eyebrow {
  font-family: var(--font);
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.22; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 26px;
}
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 18px); max-width: 620px; }
.grad {
  background: var(--spectrum); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: flow 8s linear infinite;
}
@keyframes flow { to { background-position: 200% 0; } }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(45, 226, 255, .35); }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* 상단 메뉴 */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - 1180px) / 2));
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 13, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding-block: 12px; border-color: var(--line);
}
/* 공식 로고(어두운 배경용 흰 글자 버전) */
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; transition: height .4s; }
.nav.scrolled .brand img { height: 46px; }
.footer-logo { height: 44px; width: auto; opacity: .85; }
.menu { display: flex; gap: 34px; align-items: center; font-size: 15px; }
.menu a { position: relative; color: #cfd7e6; transition: color .2s; }
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.menu a:hover { color: #fff; }
.menu a:hover::after { transform: scaleX(1); }
.menu-cta { padding: 9px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); }
.menu-cta:hover { background: #fff; color: var(--bg) !important; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* 히어로 */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-inner { text-align: center; padding: 120px 16px 80px; max-width: 900px; text-shadow: 0 2px 30px rgba(0,0,0,.55); }

/* 형광 조직 사진: 채널 레이어를 겹쳐 두고 하나씩 보이게 전환 + 아주 느린 확대 */
.hero-media { position: absolute; inset: 0; z-index: -2; background: #000; animation: kenburns 40s ease-in-out infinite alternate; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-media img.on { opacity: 1; }
.hero-media img[data-k="green"] { filter: brightness(1.5); }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at center, rgba(0,0,0,.72), rgba(0,0,0,.28) 100%),
    linear-gradient(transparent 70%, var(--bg));
}
.hero-ch {
  position: absolute; left: max(16px, calc((100% - 1180px) / 2)); bottom: 30px;
  display: flex; gap: 16px; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.4);
}
.hero-ch span { display: inline-flex; align-items: center; gap: 6px; transition: color .6s; }
.hero-ch span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: .35; transition: opacity .6s, box-shadow .6s; }
.hero-ch span[data-k="merge"] { --c: #fff; }
.hero-ch span[data-k="orange"] { --c: #ffa000; }
.hero-ch span[data-k="green"] { --c: #22e36a; }
.hero-ch span[data-k="cyan"] { --c: #2fa8ff; }
.hero-ch span.on { color: #fff; }
.hero-ch span.on::before { opacity: 1; box-shadow: 0 0 10px var(--c); }
.hero-title {
  font-size: clamp(46px, 9vw, 112px); font-weight: 900; line-height: 1.08; letter-spacing: -.035em;
  margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-sub { color: #c4cde0; font-size: clamp(16px, 1.6vw, 19px); margin-bottom: 40px; }
.typer { font-family: var(--font); font-weight: 700; font-size: 1.25em; color: #fff; }
.caret {
  display: inline-block; width: 2px; height: 1.1em; margin-left: 4px; vertical-align: -3px;
  background: var(--cyan); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* 키워드 띠 */
.ticker {
  border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0;
  background: linear-gradient(90deg, var(--bg), transparent 15%, transparent 85%, var(--bg)), var(--bg-2);
}
.ticker-track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.ticker-track span {
  font-family: var(--font); font-size: clamp(20px, 2.6vw, 30px); font-weight: 500;
  padding: 0 28px; color: #5d6a84; white-space: nowrap;
}
.ticker-track span::before { content: "✦"; margin-right: 28px; color: var(--cyan); font-size: .6em; vertical-align: .3em; }
@keyframes slide { to { transform: translateX(-50%); } }

/* 회사소개 */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  padding: 30px 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--spectrum);
  transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s;
}
.stat.in::before { transform: scaleX(1); }
.stat b { display: block; font-family: var(--font); font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* 제품 카드 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); overflow: hidden;
  transform-style: preserve-3d; transition: border-color .3s, transform .2s ease-out;
  --mx: 50%; --my: 50%;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(45,226,255,.14), transparent 45%);
}
.card:hover { border-color: rgba(45,226,255,.35); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--font); font-size: 22px; margin: 22px 0 10px; }
.card p { color: var(--muted); font-size: 14.5px; min-height: 4.8em; }
.card a { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--cyan); }
/* 카드 어디를 눌러도 '자세히'와 같은 곳으로 이동 */
.card a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card { cursor: pointer; }
.card a:hover { text-decoration: underline; }
.card-art {
  height: 170px; border-radius: 14px; background: #03050a; border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; position: relative;
}

/* 카드 아트: 회전 디스크 */
.mini-disk { width: 130px; height: 130px; animation: spin 6s linear infinite; }
.card:hover .mini-disk { animation-duration: 1.2s; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 카드 아트: 필터휠 */
.wheel { width: 128px; height: 128px; border-radius: 50%; border: 2px solid #2a3348; position: relative; animation: spin 14s steps(6) infinite; }
.card:hover .wheel { animation-duration: 3s; }
.wheel i {
  position: absolute; width: 34px; height: 34px; border-radius: 50%; left: 47px; top: 47px;
  transform: rotate(calc(var(--i) * 60deg)) translateY(-40px);
  background: hsl(var(--c) 95% 58%); box-shadow: 0 0 22px hsl(var(--c) 95% 58% / .8);
}
.wheel i:nth-child(1) { --i: 0; --c: 265; }
.wheel i:nth-child(2) { --i: 1; --c: 210; }
.wheel i:nth-child(3) { --i: 2; --c: 155; }
.wheel i:nth-child(4) { --i: 3; --c: 60; }
.wheel i:nth-child(5) { --i: 4; --c: 25; }
.wheel i:nth-child(6) { --i: 5; --c: 350; }

/* 카드 아트: 센서 픽셀 */
.pixels { display: grid; grid-template-columns: repeat(16, 9px); gap: 2px; }
.pixels i { width: 9px; height: 9px; border-radius: 2px; background: #121a2b; transition: background .5s, box-shadow .5s; }
.pixels i.on { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* 카드 아트: 3D 스택 */
.stack { position: relative; width: 110px; height: 110px; transform: rotateX(58deg) rotateZ(-38deg); transform-style: preserve-3d; }
.stack i {
  position: absolute; inset: 0; border-radius: 10px;
  border: 1px solid hsl(var(--c) 90% 65% / .9);
  background: hsl(var(--c) 90% 60% / .12);
  animation: lift 3.2s var(--ease) infinite alternate;
  animation-delay: calc(var(--i) * .12s);
}
.stack i:nth-child(1) { --i: 0; --c: 190; }
.stack i:nth-child(2) { --i: 1; --c: 160; }
.stack i:nth-child(3) { --i: 2; --c: 130; }
.stack i:nth-child(4) { --i: 3; --c: 300; }
.stack i:nth-child(5) { --i: 4; --c: 330; }
@keyframes lift { from { transform: translateZ(0); } to { transform: translateZ(calc(var(--i) * 18px)); } }

/* 카드 아트: 스펙트럼 막대 */
.bars { display: flex; gap: 8px; align-items: flex-end; height: 110px; }
.bars i {
  width: 14px; border-radius: 7px 7px 2px 2px; height: 30%;
  background: hsl(var(--c) 95% 58%); box-shadow: 0 0 18px hsl(var(--c) 95% 58% / .7);
  animation: eq 1.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.37s);
}
.bars i:nth-child(1) { --i: 1; --c: 270; }
.bars i:nth-child(2) { --i: 2; --c: 235; }
.bars i:nth-child(3) { --i: 3; --c: 200; }
.bars i:nth-child(4) { --i: 4; --c: 160; }
.bars i:nth-child(5) { --i: 5; --c: 95; }
.bars i:nth-child(6) { --i: 6; --c: 55; }
.bars i:nth-child(7) { --i: 7; --c: 25; }
.bars i:nth-child(8) { --i: 8; --c: 355; }
@keyframes eq { from { height: 20%; } to { height: 100%; } }

/* 카드 아트: 슬라이드글라스 */
.slide-glass {
  width: 170px; height: 62px; border-radius: 6px; position: relative;
  background: linear-gradient(120deg, rgba(255,255,255,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.25); overflow: hidden;
}
.slide-glass::after {
  content: ""; position: absolute; inset: -20px auto -20px -60px; width: 40px; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shine 3s ease-in-out infinite;
}
@keyframes shine { to { left: 220px; } }
.slide-glass i { position: absolute; border-radius: 50%; filter: blur(.5px); animation: pulse 2.4s ease-in-out infinite; }
.slide-glass i:nth-child(1) { width: 22px; height: 18px; left: 40px; top: 20px; background: #c45bd6; box-shadow: 0 0 14px #c45bd6; }
.slide-glass i:nth-child(2) { width: 14px; height: 14px; left: 82px; top: 12px; background: #ff5c8a; animation-delay: .6s; }
.slide-glass i:nth-child(3) { width: 18px; height: 20px; left: 112px; top: 28px; background: #8d6bff; animation-delay: 1.2s; }
@keyframes pulse { 50% { transform: scale(1.25); opacity: .7; } }

/* 기능 소개 */
.feature { overflow: hidden; }
.feature.alt { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; color: #c4cde0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle, var(--green) 30%, transparent 70%); box-shadow: 0 0 12px var(--green);
}
.disk-stage { position: relative; aspect-ratio: 1; max-width: 520px; margin: auto; }
.big-disk { width: 100%; height: 100%; animation: spin 24s linear infinite; filter: drop-shadow(0 0 40px rgba(45,226,255,.15)); }
.beam {
  position: absolute; left: 50%; top: -10%; width: 3px; height: 60%; margin-left: 22%;
  background: linear-gradient(transparent, var(--green), transparent);
  filter: blur(1px); box-shadow: 0 0 24px 6px rgba(34,227,160,.45);
  animation: beam 2.2s ease-in-out infinite;
}
@keyframes beam { 50% { opacity: .35; } }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.specs div { padding: 18px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: center; }
.specs b { display: block; font-family: var(--font); font-size: 24px; }
.specs span { font-size: 12.5px; color: var(--muted); }

.qe { padding: 26px; border-radius: var(--radius); background: #03050a; border: 1px solid var(--line); }
.qe svg { width: 100%; height: auto; overflow: visible; }
.qe-grid line { stroke: rgba(255,255,255,.07); }
.qe-grid text { fill: #5d6a84; font: 11px var(--font); }
.qe-line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.qe-line.prime { stroke: var(--cyan); filter: drop-shadow(0 0 6px rgba(45,226,255,.7)); }
.qe-line.other { stroke: #ff9a3c; stroke-width: 2.5; opacity: .85; }
.qe figcaption { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 14px; }
.qe figcaption small { flex-basis: 100%; color: #5d6a84; font-size: 12px; }
.lg::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.lg.prime::before { background: var(--cyan); }
.lg.other::before { background: #ff9a3c; }

/* 응용분야 육각 타일 */
.hexes {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; width: 90%;
}
.hex {
  aspect-ratio: 1 / 1.1547; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center; text-align: center; position: relative; overflow: hidden;
  background: #04060b; cursor: default;
  transition: transform .4s var(--ease);
}
.hex:nth-child(n+6) { translate: calc(50% + 7px) -22%; }
.hex::before {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(circle at 30% 35%, hsl(var(--h) 95% 60% / .9) 0 6%, transparent 18%),
    radial-gradient(circle at 68% 60%, hsl(calc(var(--h) + 40) 95% 60% / .8) 0 5%, transparent 16%),
    radial-gradient(circle at 45% 75%, hsl(var(--h) 90% 55% / .6) 0 4%, transparent 14%),
    radial-gradient(circle at 50% 50%, hsl(var(--h) 90% 40% / .35), transparent 60%);
  filter: blur(6px); animation: drift 9s ease-in-out infinite alternate;
  opacity: .55; transition: opacity .4s;
}
.hex:hover { transform: scale(1.06); }
.hex:hover::before { opacity: 1; }
@keyframes drift { to { transform: rotate(60deg) scale(1.15); } }
.hex span { position: relative; font-family: var(--font); font-weight: 700; font-size: clamp(13px, 1.4vw, 18px); line-height: 1.3; padding: 10px; }
.hex small { font-family: var(--font); font-weight: 400; font-size: .72em; color: #c4cde0; }

/* 파트너 마키 */
.marquee { display: grid; gap: 16px; margin-top: 30px; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; width: max-content; animation: slide 60s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.chip {
  padding: 18px 30px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
  margin-right: 16px; /* gap 대신 margin: -50% 이동 시 이음매가 정확히 맞도록 */
  font-family: var(--font); font-weight: 500; font-size: 18px; white-space: nowrap; color: #b7c2d8;
  transition: color .3s, border-color .3s, background .3s;
}
.chip:hover { color: #fff; border-color: rgba(45,226,255,.5); background: rgba(45,226,255,.08); }

/* 소식 */
.news-list { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 90px 1fr 40px; gap: 20px; align-items: center;
  padding: 26px 8px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden;
}
.news-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(45,226,255,.08), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.news-item:hover::before { transform: scaleX(1); }
.news-item b { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; transition: transform .4s var(--ease); }
.news-item:hover b { transform: translateX(8px); }
.news-item i { font-style: normal; color: var(--cyan); transition: transform .4s var(--ease); }
.news-item:hover i { transform: translateX(6px); }
.tag { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-align: center; }

/* 문의 */
.contact { background: radial-gradient(ellipse at 20% 100%, rgba(47,107,255,.18), transparent 55%), radial-gradient(ellipse at 90% 0, rgba(255,63,180,.12), transparent 50%); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.contact .hero-cta { justify-content: flex-start; margin-top: 32px; }
.info { list-style: none; padding: 34px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); display: grid; gap: 22px; }
.info li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; font-size: 16px; }
.info span { font-family: var(--font); font-size: 12px; letter-spacing: .15em; color: var(--muted); padding-top: 4px; }
.info a:hover { color: var(--cyan); }
.map-link { display: block; margin-top: 6px; color: var(--cyan); font-size: 14px; }

.footer { border-top: 1px solid var(--line); padding: 34px 0; color: #5d6a84; font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* 반응형 */
@media (max-width: 960px) {
  .about-grid, .feature-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid.reverse .feature-visual { order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .hexes { grid-template-columns: repeat(3, 1fr); }
  .hexes { width: 100%; }
  .hex:nth-child(n+6) { translate: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .burger { display: block; z-index: 2; }
  .menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; font-size: 22px;
    background: rgba(5,7,13,.96); backdrop-filter: blur(12px);
    opacity: 0; pointer-events: none; transition: opacity .35s;
  }
  .menu.open { opacity: 1; pointer-events: auto; }
  /* backdrop-filter가 있으면 fixed 메뉴가 헤더 높이에 갇히므로 열릴 때 해제 */
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cards { grid-template-columns: 1fr; }
  .hexes { grid-template-columns: repeat(2, 1fr); }
  .hero-shade { background: rgba(0,0,0,.55); }
  .scroll-hint { display: none; }
  .news-item { grid-template-columns: 1fr 24px; gap: 8px 12px; }
  .news-item .tag { grid-column: 1 / -1; justify-self: start; }
  .info { padding: 24px; }
  .info li { grid-template-columns: 1fr; gap: 2px; }
  .footer .wrap { flex-direction: column; }
}

/* 움직임 줄이기 설정 존중 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ───────── 제품 페이지 ───────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu a[aria-current="page"] { color: #fff; }
.p-head { padding: 150px 0 50px; }
.p-head h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; margin-bottom: 22px; }
.p-search { display: block; margin-top: 34px; max-width: 520px; }
.p-search input {
  width: 100%; height: 54px; padding: 0 22px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  font: inherit; font-size: 16px; outline: none; transition: border-color .3s, background .3s;
}
.p-search input:focus { border-color: rgba(45,226,255,.5); background: rgba(255,255,255,.07); }

.p-tabs {
  position: sticky; top: 64px; z-index: 40; padding: 12px 0;
  background: rgba(5,7,13,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.p-tabs-in { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.p-tabs-in::-webkit-scrollbar { display: none; }
.p-tabs a {
  flex: none; padding: 8px 18px; border-radius: 999px; font-size: 14px; color: #b7c2d8;
  border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
}
.p-tabs a:hover { color: #fff; border-color: var(--line); }
.p-tabs a.on { background: #fff; color: var(--bg); }

.p-cat { padding: 90px 0 20px; scroll-margin-top: 120px; }
.p-cat-head { margin-bottom: 40px; }
.p-cat-head h2 { margin-bottom: 14px; }
.p-sub { margin-bottom: 56px; }
.p-sub h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .02em; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.p-card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.p-card:hover { transform: translateY(-6px); border-color: rgba(45,226,255,.35); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.p-img { aspect-ratio: 4 / 3; background: #f5f5f7; display: grid; place-items: center; overflow: hidden; }
.p-img img { width: 100%; height: 100%; box-sizing: border-box; padding: 9% 12%; object-fit: contain; transition: transform .6s var(--ease); }
.p-img img.cover, .d-main img.cover, .d-thumbs img.cover { padding: 0; object-fit: cover; }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-ph { font-size: 20px; font-weight: 700; color: #9aa3b5; letter-spacing: .04em; text-align: center; padding: 20px; }
.p-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.p-maker { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; margin-bottom: 6px; }
.p-badge { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.p-badge.new { background: var(--cyan); border-color: var(--cyan); color: var(--bg); }
.p-body h4 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.p-note { font-size: 12.5px; color: #8fd9ff; margin-bottom: 8px; }
.p-sum { font-size: 14.5px; color: #c4cde0; margin-bottom: 14px; }
.p-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.p-specs li { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: #b7c2d8; }
.p-act { margin-top: auto; display: flex; gap: 18px; font-size: 14px; font-weight: 600; }
.p-act a { color: var(--cyan); }
.p-act a:hover { text-decoration: underline; }
.p-empty { padding: 60px 0 120px; color: var(--muted); }
.p-empty a { color: var(--cyan); }

@media (max-width: 960px) { .p-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  /* 휴대폰: 사진을 줄인 2열 카드, 사양 항목은 숨기고 설명은 두 줄까지만 */
  .p-grid { gap: 12px; }
  .p-card { border-radius: 14px; }
  .p-img img { padding: 7% 8%; }
  .p-body { padding: 12px 12px 14px; }
  .p-maker { font-size: 11px; margin-bottom: 4px; }
  .p-badge { display: inline-block; margin: 2px 0 0; font-size: 10.5px; padding: 1px 6px; }
  .p-body h4 { font-size: 15px; margin-bottom: 6px; word-break: break-word; }
  .p-note { font-size: 11.5px; margin-bottom: 6px; }
  .p-sum { font-size: 12.5px; line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .p-specs { display: none; }
  .p-act { flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; }
  .p-tabs { top: 60px; }
  .p-head { padding-top: 120px; }
}

/* 메인 제품 섹션의 전체 보기 버튼 */
.more { margin-top: 40px; text-align: center; }

/* ───────── 제품 상세 페이지 ───────── */
.d-hero { padding: 120px 0 40px; }
.d-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.d-crumb a:hover { color: #fff; }
.d-crumb span { opacity: .6; }
.d-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.d-main { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #f5f5f7; overflow: hidden; display: grid; place-items: center; }
.d-main img { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; padding: 8% 10%; object-fit: contain; opacity: 0; transform: scale(.97); transition: opacity .8s ease, transform 1.2s var(--ease); }
.d-main img.on { opacity: 1; transform: none; }
.d-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.d-thumbs button { width: 76px; aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 12px; background: #f5f5f7; border: 2px solid transparent; cursor: pointer; opacity: .55; transition: opacity .3s, border-color .3s; }
.d-thumbs button img { width: 100%; height: 100%; box-sizing: border-box; padding: 10%; object-fit: contain; }
.d-thumbs button.on, .d-thumbs button:hover { opacity: 1; border-color: var(--cyan); }
.d-info h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 6px 0 12px; }
.d-tagline { font-size: clamp(17px, 1.6vw, 20px); color: #c4cde0; margin: 10px 0 26px; }
.d-key { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.d-key div { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.d-key dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.d-key dd { font-size: 15px; font-weight: 600; line-height: 1.4; }
.d-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.d-sheet { font-size: 14px; font-weight: 600; color: var(--cyan); margin-left: 6px; }
.d-sheet:hover { text-decoration: underline; }
.d-sec { padding: clamp(60px, 8vw, 100px) 0 0; }
.d-narrow > * { max-width: 880px; }
.d-text { color: #c4cde0; font-size: clamp(16px, 1.4vw, 18px); margin-bottom: 16px; }
.d-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
.d-feat { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.d-feat:hover { border-color: rgba(45,226,255,.35); transform: translateY(-4px); }
.d-num { font-size: 13px; font-weight: 700; background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.d-feat h3 { font-size: 18px; margin: 10px 0 8px; }
.d-feat p { font-size: 14.5px; color: var(--muted); }
.d-specs { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.d-specs th, .d-specs td { text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.d-specs th { width: 38%; font-weight: 500; color: var(--muted); padding-right: 20px; }
.d-specs tr { transition: background .3s; }
.d-specs tr:hover { background: rgba(255,255,255,.03); }
.d-small { font-size: 13px; color: #5d6a84; margin-top: 14px; }
.d-apps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.d-apps li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; }
.d-band .wrap { padding: clamp(40px, 6vw, 70px); border-radius: 28px; text-align: center;
  background: radial-gradient(ellipse at 20% 100%, rgba(47,107,255,.22), transparent 60%), radial-gradient(ellipse at 90% 0, rgba(255,63,180,.14), transparent 55%), var(--bg-2);
  border: 1px solid var(--line); }
.d-band .lead { margin: 0 auto 30px; }
.d-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; padding-bottom: 100px; }
.d-rel-item { display: block; padding: 14px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.d-rel-item:hover { transform: translateY(-4px); border-color: rgba(45,226,255,.35); }
.d-rel-item .p-img { border-radius: 12px; margin-bottom: 12px; }
.d-rel-item span { display: block; font-size: 12px; color: var(--muted); }
.d-rel-item b { font-size: 16px; }
.p-card .p-more { color: #fff; }
@media (max-width: 960px) {
  .d-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .d-feats, .d-rel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .d-feats, .d-rel, .d-key { grid-template-columns: 1fr; }
  .d-hero { padding-top: 100px; }
  .d-specs th { width: 42%; }
}

/* 상세 페이지가 있는 제품 카드는 카드 전체를 눌러도 상세로 이동 */
.p-card { position: relative; }
.p-card.has-detail { cursor: pointer; }
.p-card .stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card .p-act a:not(.stretch), .p-card h4 a, .p-card a.p-img { position: relative; z-index: 2; }
