/* ============================================================
   Dr.Kipper — 통합 스타일시트 (index / board / contact 공유)
   1) 디자인 토큰 & 공통      2) 홈 전용
   3) 공지사항 전용           4) 문의 전용
   ============================================================ */

/* ============================================================
   1) 디자인 토큰 & 공통
   ============================================================ */
:root {
    --brand: #0066cc;
    --brand-dark: #004a99;
    --brand-light: #3a8dff;
    --accent: #00c2a8;
    --accent-soft: #d7f5ef;
    --ink: #0f1c2e;
    --ink-soft: #465569;
    --ink-muted: #7a8699;
    --line: #e6ecf3;
    --bg: #ffffff;
    --bg-soft: #f5f9ff;
    --bg-tint: #eef5ff;
    --radius: 18px;
    --shadow-sm: 0 2px 8px rgba(15, 28, 46, .06);
    --shadow-md: 0 12px 34px rgba(15, 28, 46, .10);
    --shadow-lg: 0 28px 70px rgba(0, 74, 153, .16);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
        system-ui, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
section { position: relative; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ============ 버튼 ============ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 700; font-size: 1rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
    white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    color: #fff; box-shadow: 0 10px 26px rgba(0, 102, 204, .34);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 102, 204, .42); }
.btn-ghost {
    background: rgba(255,255,255,.85); color: var(--brand-dark);
    border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: var(--shadow-md); }
.btn-light:hover { transform: translateY(-3px); }

/* ============ 헤더 ============ */
header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(255,255,255,.86); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.04em; }
.logo .mark {
    width: 38px; height: 38px; border-radius: 11px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,102,204,.34);
}
.logo .mark svg { width: 22px; height: 22px; }
.logo b { color: var(--brand); }
.logo .mark + span span { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--ink-soft);
    transition: color .2s, background .2s; font-size: .98rem;
}
.nav-links a:hover { color: var(--brand); background: var(--bg-tint); }
.nav-links a.active { color: var(--brand); background: var(--bg-tint); }
.nav-cta { margin-left: 10px; padding: 11px 22px; font-size: .95rem; }
.nav-cta, .nav-cta.active { color: #fff; background: linear-gradient(135deg, var(--brand-light), var(--brand)); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 11px; background: #fff; cursor: pointer; }

/* ============ 섹션 공통 ============ */
.section { padding: 96px 0; }
.section.tint { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.eyebrow {
    display: inline-block; font-weight: 800; color: var(--brand); font-size: .9rem;
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.sec-head { max-width: 40em; margin-bottom: 54px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; }
.sec-head p { font-size: 1.1rem; color: var(--ink-soft); margin-top: 16px; }

/* ============ 서브페이지 공통 (공지사항 / 문의) ============ */
.page-hero { padding: 62px 0 46px; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 90% at 88% 0%, rgba(0,194,168,.12), transparent 62%),
        radial-gradient(60% 90% at 4% 0%, rgba(58,141,255,.14), transparent 60%),
        linear-gradient(180deg, var(--bg-soft), #fff);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.2; }
.page-hero h1 .grad { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .sub { font-size: 1.12rem; color: var(--ink-soft); margin-top: 14px; max-width: 46em; }
.page-body { padding: 40px 0 96px; }

/* ============ 폼 컨트롤 공통 ============ */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: #e5484d; margin-left: 3px; }
.field .hint { font-size: .84rem; color: var(--ink-muted); font-weight: 500; margin-top: 6px; }
.control {
    width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit; color: var(--ink);
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s; letter-spacing: -0.01em;
}
.control::placeholder { color: #aab4c2; }
.control:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(58,141,255,.14); }
textarea.control { min-height: 150px; resize: vertical; line-height: 1.6; }
select.control { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }

/* ============ 푸터 ============ */
footer { background: var(--ink); color: #b9c4d4; padding: 64px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .logo { color: #fff; margin-bottom: 16px; }
.foot-brand p { font-size: .95rem; max-width: 30em; }
.foot-col h5 { color:#fff; font-size:.98rem; font-weight:700; margin-bottom:16px; letter-spacing:-0.02em; }
.foot-col a, .foot-col p { display:block; font-size:.92rem; color:#9aa6b6; padding: 5px 0; transition: color .2s; }
.foot-col a:hover { color:#fff; }
.foot-bottom { display:flex; justify-content: space-between; align-items:center; gap:16px; flex-wrap:wrap; padding-top: 24px; font-size:.86rem; color:#7d8a9c; }
.foot-bottom .socials { display:flex; gap:10px; }
.foot-bottom .socials a { width:36px; height:36px; border-radius:10px; background: rgba(255,255,255,.06);
    display:grid; place-items:center; color:#b9c4d4; transition: background .2s, color .2s; }
.foot-bottom .socials a:hover { background: var(--brand); color:#fff; }

/* ============ 스크롤 등장 애니메이션 ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }

/* ============ 반응형 (공통) ============ */
@media (max-width: 940px) {
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 6px;
        position: absolute; top: 72px; left: 0; right: 0;
        background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
        padding: 16px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    }
    .nav-links.open a { padding: 12px 14px; }
    .nav-links.open .nav-cta { margin-left: 0; text-align: center; justify-content: center; margin-top: 6px; }
    .burger { display: grid; place-items: center; }
}
@media (max-width: 520px) {
    .section { padding: 70px 0; }
    .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
    .reveal { opacity:1; transform:none; }
    html { scroll-behavior: auto; }
}


/* ============================================================
   2) 홈 전용
   ============================================================ */
.hero { padding: 92px 0 100px; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 55% at 82% 8%, rgba(0,194,168,.14), transparent 60%),
        radial-gradient(70% 60% at 8% 0%, rgba(58,141,255,.16), transparent 58%),
        linear-gradient(180deg, var(--bg-soft), #fff 78%);
}
.hero::after {
    content: ""; position: absolute; z-index: -1; top: -180px; right: -160px;
    width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,102,204,.10), transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 700;
    color: var(--brand-dark); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 0 rgba(0,194,168,.55); animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,194,168,.5); }
    70% { box-shadow: 0 0 0 10px rgba(0,194,168,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,194,168,0); }
}
.hero h1 {
    font-size: clamp(2.35rem, 5vw, 3.6rem); line-height: 1.18; font-weight: 800;
    letter-spacing: -0.045em; margin-bottom: 22px;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--brand), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .item .num { font-size: 1.7rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.03em; }
.hero-trust .item .lbl { font-size: .88rem; color: var(--ink-muted); font-weight: 600; }

.hero-visual { position: relative; }
.device-card {
    background: #fff; border-radius: 26px; padding: 24px; box-shadow: var(--shadow-lg);
    border: 1px solid var(--line); position: relative; z-index: 2;
}
.device-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.device-top .u { display: flex; align-items: center; gap: 11px; }
.device-top .avatar {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--brand-light)); display: grid; place-items: center;
    color: #fff; font-weight: 800; font-size: 1rem;
}
.device-top .u b { font-size: .98rem; }
.device-top .u span { font-size: .8rem; color: var(--ink-muted); display: block; }
.device-top .live {
    font-size: .74rem; font-weight: 800; color: var(--accent); background: var(--accent-soft);
    padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
}
.device-top .live::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent); animation: pulse 2s infinite; }

.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.metric { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.metric .k { font-size: .78rem; color: var(--ink-muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.metric .v { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-top: 4px; }
.metric .v small { font-size: .85rem; font-weight: 700; color: var(--ink-muted); }
.metric.good .v { color: var(--accent); }
.metric.warn .v { color: #f0883e; }

.chart { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 8px; }
.chart .ch-head { display:flex; justify-content: space-between; font-size:.78rem; color: var(--ink-muted); font-weight:600; margin-bottom: 8px; }
.chart svg { width: 100%; height: 74px; }
.chart .line { fill: none; stroke: url(#lg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 620; stroke-dashoffset: 620; animation: draw 2.4s var(--ease) forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-chip {
    position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-chip small { display:block; font-size:.74rem; color: var(--ink-muted); font-weight:600; }
.chip-1 { top: -22px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.chip-2 { bottom: 34px; right: -30px; animation: floaty 5.6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.brandbar { padding: 26px 0; }
.brandbar .inner {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    padding: 22px 30px; border-radius: var(--radius);
    background: linear-gradient(120deg, #f0f7ff, #eafaf6);
    border: 1px solid var(--line); border-left: 5px solid var(--brand);
    box-shadow: var(--shadow-sm);
}
.brandbar .ic {
    flex: none; width: 46px; height: 46px; border-radius: 13px;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0,102,204,.28);
}
.brandbar p { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 0; }
.brandbar p b { color: var(--brand); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    position: relative; overflow: hidden;
}
.card::after {
    content:""; position:absolute; inset:0 0 auto 0; height:4px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card .ic {
    width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--brand); margin-bottom: 20px;
}
.card:nth-child(2) .ic { background: var(--accent-soft); color: #009683; }
.card:nth-child(3) .ic { background: #fff0e6; color: #f0883e; }
.card h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .99rem; }
.card ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.card ul li { font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; font-weight: 600; }
.card ul li::before { content:""; flex:none; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23009683' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
.step { position: relative; padding-top: 8px; }
.step .n {
    counter-increment: st; width: 52px; height: 52px; border-radius: 15px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--brand);
    margin-bottom: 18px; position: relative; z-index: 2;
}
.step .n::before { content: "0" counter(st); }
.step:not(:last-child)::after {
    content:""; position: absolute; top: 26px; left: 60px; right: -10px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}
.step h4 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.03em; }
.step p { font-size: .94rem; color: var(--ink-soft); }

.stats { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: 26px;
    padding: 50px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; box-shadow: var(--shadow-lg); }
.stat { text-align: center; }
.stat .big { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height:1; }
.stat .big span { color: #9fe9dc; }
.stat .cap { margin-top: 10px; font-size: .96rem; color: rgba(255,255,255,.82); font-weight: 600; }

.cta-band { text-align: center; padding: 84px 0; }
.cta-card {
    background:
        radial-gradient(60% 100% at 90% 0%, rgba(0,194,168,.28), transparent 60%),
        linear-gradient(120deg, var(--brand-dark), var(--brand));
    color:#fff; border-radius: 30px; padding: 66px 40px; box-shadow: var(--shadow-lg); position: relative; overflow:hidden;
}
.cta-card h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing:-0.04em; }
.cta-card p { font-size: 1.12rem; color: rgba(255,255,255,.85); margin: 16px auto 32px; max-width: 34em; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 46px; }
    .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .step:not(:last-child)::after { display:none; }
    .stats { grid-template-columns: 1fr 1fr; padding: 40px 26px; }
}
@media (max-width: 520px) {
    .steps, .stats { grid-template-columns: 1fr; }
    .hero { padding: 60px 0 70px; }
    .float-chip { display: none; }
    .brandbar .inner { padding: 18px 20px; }
    .brandbar p { font-size: 1rem; }
}


/* ============================================================
   3) 공지사항 전용
   ============================================================ */
.board-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
    padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); cursor: pointer;
    transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--brand-light); color: var(--brand); }
.tab.active { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(0,102,204,.28); }

.search-box { position: relative; }
.search-box input {
    width: 260px; max-width: 100%; padding: 12px 16px 12px 42px; font-size: .95rem; font-family: inherit;
    border: 1.5px solid var(--line); border-radius: 999px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.search-box input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgba(58,141,255,.14); }
.search-box svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); }

.board-count { font-size: .92rem; color: var(--ink-muted); font-weight: 600; margin-bottom: 12px; }
.board-count b { color: var(--brand); }

.notice-list { border-top: 2px solid var(--ink); }
.notice { border-bottom: 1px solid var(--line); transition: background .2s; }
.notice.pinned { background: linear-gradient(90deg, #f7fbff, #fff); }
.notice-head {
    display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px;
    padding: 20px 18px; cursor: pointer;
}
.notice-head:hover { background: var(--bg-soft); }
.tag {
    flex: none; font-size: .78rem; font-weight: 800; padding: 5px 11px; border-radius: 7px;
    white-space: nowrap; letter-spacing: -0.01em;
}
.tag.공지 { background: var(--bg-tint); color: var(--brand); }
.tag.업데이트 { background: var(--accent-soft); color: #009683; }
.tag.이벤트 { background: #fff0e6; color: #e07b1a; }
.tag.채용 { background: #f0ecff; color: #6b4ce0; }
.tag.언론보도 { background: #eef2f6; color: #4a5a6d; }

.notice-title { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; min-width: 0; }
.notice-title .txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin-badge { flex: none; font-size: .72rem; font-weight: 800; color: #e5484d; background: #fdecec; padding: 3px 8px; border-radius: 6px; }
.new-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #e5484d; color: #fff; font-size: .6rem; font-weight: 800; display: grid; place-items: center; }

.notice-meta { font-size: .88rem; color: var(--ink-muted); font-weight: 600; white-space: nowrap; }
.notice-chevron { color: var(--ink-muted); transition: transform .3s var(--ease); }
.notice.open .notice-chevron { transform: rotate(180deg); color: var(--brand); }

.notice-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.notice.open .notice-body { max-height: 640px; }
.notice-body-inner { padding: 4px 18px 28px; color: var(--ink-soft); font-size: 1rem; line-height: 1.8; border-top: 1px dashed var(--line); margin-top: -1px; }
.notice-body-inner p { margin-bottom: 12px; }
.notice-body-inner strong { color: var(--ink); }
.notice-body-inner .file {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px;
    background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
    font-size: .9rem; font-weight: 700; color: var(--brand);
}

.empty { text-align: center; padding: 70px 20px; color: var(--ink-muted); display: none; }
.empty svg { color: var(--line); margin-bottom: 14px; }
.empty b { display: block; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 6px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; }
.pagination a {
    min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center;
    border-radius: 10px; font-weight: 700; font-size: .95rem; color: var(--ink-soft);
    border: 1.5px solid var(--line); background: #fff; transition: all .2s;
}
.pagination a:hover { border-color: var(--brand-light); color: var(--brand); }
.pagination a.current { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent; }
.pagination a.nav-arrow svg { display: block; }

@media (max-width: 640px) {
    .board-toolbar { flex-direction: column; align-items: stretch; }
    .search-box input { width: 100%; }
    .notice-head { grid-template-columns: auto 1fr auto; gap: 10px 12px; padding: 16px 12px; }
    .notice-meta { grid-column: 2 / 4; font-size: .82rem; }
    .notice-title { font-size: .98rem; }
}


/* ============================================================
   4) 문의 전용
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }

.form-card {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 38px; box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.form-card .desc { color: var(--ink-soft); font-size: .98rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.type-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.type-chips input { position: absolute; opacity: 0; pointer-events: none; }
.type-chips label {
    display: inline-block; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
    background: #fff; border: 1.5px solid var(--line); color: var(--ink-soft); cursor: pointer;
    transition: all .2s var(--ease); margin: 0;
}
.type-chips label:hover { border-color: var(--brand-light); color: var(--brand); }
.type-chips input:checked + label {
    background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; border-color: transparent;
    box-shadow: 0 6px 14px rgba(0,102,204,.26);
}

.consent { display: flex; align-items: flex-start; gap: 11px; margin: 4px 0 24px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; }
.consent .box {
    flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line);
    background: #fff; display: grid; place-items: center; transition: all .2s; margin-top: 1px;
}
.consent .box svg { opacity: 0; transform: scale(.6); transition: all .2s; }
.consent input:checked + .box { background: var(--brand); border-color: var(--brand); }
.consent input:checked + .box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 4px rgba(58,141,255,.2); }
.consent .t { font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.consent .t a { color: var(--brand); font-weight: 700; text-decoration: underline; }

.submit-btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 16px; }

.err-msg { color: #e5484d; font-size: .84rem; font-weight: 600; margin-top: 6px; display: none; }
.field.invalid .control { border-color: #e5484d; }
.field.invalid .err-msg { display: block; }

.success { text-align: center; padding: 40px 20px; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.success .ic {
    width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--accent-soft); display: grid; place-items: center;
}
.success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.success p { color: var(--ink-soft); margin-bottom: 22px; }
.success .who { color: var(--brand); font-weight: 800; }

.info-card {
    background: linear-gradient(160deg, var(--brand-dark), var(--brand));
    color: #fff; border-radius: 22px; padding: 34px 30px; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.info-card::before {
    content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
    border-radius: 50%; background: radial-gradient(circle, rgba(0,194,168,.4), transparent 70%);
}
.info-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; position: relative; }
.info-card > p { color: rgba(255,255,255,.82); font-size: .95rem; margin-bottom: 26px; position: relative; }
.info-item { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); position: relative; }
.info-item .ic {
    flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14);
    display: grid; place-items: center; backdrop-filter: blur(4px);
}
.info-item .k { font-size: .8rem; color: rgba(255,255,255,.7); font-weight: 600; }
.info-item .v { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.info-item .v a:hover { text-decoration: underline; }

.map {
    margin-top: 20px; height: 200px; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,.22); background: var(--bg-soft); position: relative;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; position: relative;
    font-size: .88rem; font-weight: 700; color: #fff; opacity: .9; transition: opacity .2s;
}
.map-link:hover { opacity: 1; text-decoration: underline; }

.faq-section { margin-top: 34px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.faq-q svg { flex: none; color: var(--brand); transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner { padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.75; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .info-card { order: -1; }
}
@media (max-width: 560px) {
    .form-card { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
/* ============================================================
   2-B) 연동 기기 (Connected Devices) 전용
   ============================================================ */
.device-showcase { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; margin-bottom: 66px; }

/* 비주얼 */
.ds-visual { position: relative; }
.ds-stage {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; place-items: center;
    padding: 40px 28px 52px; border-radius: 28px;
    background: linear-gradient(160deg, #f0f7ff, #eafaf6);
    border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.ds-stage::before {
    content: ""; position: absolute; top: -80px; right: -70px; width: 260px; height: 260px;
    border-radius: 50%; background: radial-gradient(circle, rgba(0,194,168,.22), transparent 68%);
}
/* 클릭 시 확대되는 메인 제품컷 래퍼 (stacking context 생성 금지 → blend 유지) */
.ds-zoom {
    position: relative; display: block; width: min(360px, 94%); line-height: 0;
    padding: 0; border: 0; background: none; cursor: zoom-in;
}
/* 흰 배경 제품컷을 스테이지 그라데이션에 자연스럽게 녹임 */
.thermo-photo { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.ds-zoom-hint {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px; line-height: 1;
    padding: 6px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700;
    color: #fff; background: rgba(15,28,46,.72); backdrop-filter: blur(4px);
    opacity: 0; transform: translateY(-4px); transition: opacity .25s var(--ease), transform .25s var(--ease);
    pointer-events: none;
}
.ds-zoom:hover .ds-zoom-hint, .ds-zoom:focus-visible .ds-zoom-hint { opacity: 1; transform: none; }
.ds-zoom:focus-visible { outline: 3px solid rgba(58,141,255,.5); outline-offset: 4px; border-radius: 12px; }

/* 썸네일 */
.ds-thumbs { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }
.ds-thumb {
    width: 76px; height: 76px; flex: none; padding: 7px; border-radius: 14px;
    background: #fff; border: 2px solid var(--line); cursor: pointer; display: grid; place-items: center;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.ds-thumb img { width: 100%; height: 100%; object-fit: contain; }
.ds-thumb:hover { border-color: var(--brand-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ds-thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,102,204,.14); }
.ds-thumb:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,102,204,.22); }

/* 라이트박스 */
.lightbox {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 5vw;
    background: rgba(8,15,26,.82); backdrop-filter: blur(6px);
    opacity: 0; animation: lbfade .25s var(--ease) forwards;
}
.lightbox[hidden] { display: none; }
@keyframes lbfade { to { opacity: 1; } }
.lb-img {
    max-width: min(760px, 92vw); max-height: 86vh; width: auto; height: auto;
    border-radius: 18px; background: #fff; box-shadow: 0 40px 90px rgba(0,0,0,.5);
    animation: lbzoom .28s var(--ease);
}
@keyframes lbzoom { from { transform: scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }
.lb-close {
    position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%;
    border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
    display: grid; place-items: center; transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.28); }
.lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (hover: none) { .ds-zoom-hint { opacity: 1; transform: none; } }

.ds-sync {
    position: absolute; left: 0; right: 0; bottom: 22px;
    margin-inline: auto; width: max-content; max-width: calc(100% - 40px);
    z-index: 2; display: flex; align-items: center; gap: 11px; white-space: nowrap;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 11px 16px; box-shadow: var(--shadow-md); font-weight: 700; font-size: .9rem;
    animation: floaty 5s ease-in-out infinite;
}
.ds-sync-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--accent), var(--brand-light)); }
.ds-sync small { display: block; font-size: .74rem; color: var(--ink-muted); font-weight: 600; }

/* 정보 */
.ds-brand { display: inline-block; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    font-size: .82rem; color: var(--brand); background: var(--bg-tint);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.ds-info h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; }
.ds-lead { color: var(--ink-soft); font-size: 1.06rem; margin: 14px 0 22px; max-width: 34em; }
.ds-spec { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.ds-spec li { position: relative; padding-left: 32px; font-size: .98rem; color: var(--ink-soft); line-height: 1.6; }
.ds-spec li b { color: var(--ink); font-weight: 700; }
.ds-spec li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23009683' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat; }
.ds-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 주요 기능 타일 */
.dev-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 76px; }
.dev-tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.dev-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.dev-tile .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    background: var(--bg-tint); color: var(--brand); margin-bottom: 16px; }
.dev-tile:nth-child(2) .ic { background: var(--accent-soft); color: #009683; }
.dev-tile:nth-child(3) .ic { background: #fff0e6; color: #f0883e; }
.dev-tile:nth-child(4) .ic { background: #f0ecff; color: #6b4ce0; }
.dev-tile h4 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.dev-tile p { font-size: .92rem; color: var(--ink-soft); }

/* 사용 방법 */
.use-block { scroll-margin-top: 90px; }
.use-block .sec-head { margin-bottom: 44px; }

/* 주의사항 노트 */
.dev-note {
    display: flex; align-items: flex-start; gap: 18px; margin-top: 40px;
    padding: 22px 26px; border-radius: var(--radius);
    background: linear-gradient(120deg, #fff6ec, #fff0e6);
    border: 1px solid #ffe1c7; border-left: 5px solid #f0883e;
}
.dev-note .note-ic { flex: none; width: 44px; height: 44px; border-radius: 13px;
    background: linear-gradient(135deg, #f7a44f, #f0883e); display: grid; place-items: center;
    box-shadow: 0 8px 18px rgba(240,136,62,.28); }
.dev-note .note-body b { display: block; font-size: 1.02rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.dev-note .note-body p { font-size: .96rem; color: var(--ink-soft); line-height: 1.7; }
.dev-note code { font-family: "Pretendard Variable", Pretendard, monospace; font-weight: 800; color: #d1730f;
    background: #ffe6cf; padding: 1px 7px; border-radius: 6px; font-size: .9em; letter-spacing: .01em; }
.dev-disclaimer { margin-top: 18px; font-size: .86rem; color: var(--ink-muted); text-align: center; }

@media (max-width: 940px) {
    .device-showcase { grid-template-columns: 1fr; gap: 36px; margin-bottom: 52px; }
    .ds-visual { max-width: 460px; margin-inline: auto; width: 100%; }
    .dev-grid { grid-template-columns: 1fr 1fr; margin-bottom: 56px; }
}
@media (max-width: 520px) {
    .dev-grid { grid-template-columns: 1fr; }
    .dev-note { flex-direction: column; gap: 12px; padding: 20px; }
    .ds-sync { font-size: .82rem; }
}


/* ============================================================
   2-C) 사용 방법 영상 모달
   ============================================================ */
.videobox {
    position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 4vw;
    background: rgba(8,15,26,.86); backdrop-filter: blur(6px);
    opacity: 0; animation: lbfade .25s var(--ease) forwards;
}
.videobox[hidden] { display: none; }
.videobox-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.videobox-frame {
    aspect-ratio: 9 / 16; height: min(78vh, 640px); max-width: 92vw;
    border-radius: 22px; overflow: hidden; background: #000;
    box-shadow: 0 40px 90px rgba(0,0,0,.5); animation: lbzoom .28s var(--ease);
}
.videobox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.videobox-yt { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: .96rem; opacity: .92; }
.videobox-yt:hover { text-decoration: underline; opacity: 1; }


/* ============================================================
   2-D) 제품 상세 페이지 (/products/:slug)
   ============================================================ */
.product-hero { padding: 38px 0 54px; }
.product-top { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: start; margin-top: 6px; }
.product-gallery .ds-stage { padding: 34px 26px 40px; }

.product-summary { padding-top: 4px; }
.product-summary h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.22; margin: 8px 0 10px; }
.product-sub { color: var(--ink-soft); font-size: 1.02rem; font-weight: 700; }
.product-tagline { color: var(--ink-soft); font-size: 1.04rem; margin-top: 12px; max-width: 34em; }
.product-highlights { list-style: none; display: grid; gap: 9px; margin: 22px 0 26px; }
.product-highlights li { position: relative; padding-left: 28px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.product-highlights li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23009683' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.buy-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.price-now { font-size: 1.28rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -0.02em; }
.price-ref { font-size: .9rem; color: var(--ink-muted); font-weight: 600; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-btn[disabled] { opacity: .6; cursor: not-allowed; box-shadow: none; }
.buy-btn[disabled]:hover { transform: none; box-shadow: none; }
.buy-btn .soon { font-size: .76rem; font-weight: 700; background: rgba(255,255,255,.3); padding: 2px 8px; border-radius: 999px; }
.buy-inquiry { display: inline-block; margin-top: 15px; font-weight: 700; color: var(--brand); font-size: .95rem; }
.buy-inquiry:hover { text-decoration: underline; }

.prod-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 34px; }
.prod-feat { display: flex; gap: 14px; align-items: flex-start; padding: 4px 0; }
.pf-check { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
    background: var(--accent-soft); color: #009683; margin-top: 2px; }
.pf-body h3 { font-size: 1.08rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 5px; }
.pf-body p { font-size: .95rem; color: var(--ink-soft); }

.usevideo-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 42px; }
.usevideo-cta span { color: var(--ink-muted); font-weight: 600; font-size: .95rem; }

.spec-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: start; }
.spec-block h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: .96rem; vertical-align: top; }
.spec-table th { width: 36%; color: var(--ink-soft); font-weight: 700; }
.spec-table td { color: var(--ink); font-weight: 600; }
.box-list { list-style: none; display: grid; gap: 10px; }
.box-list li { position: relative; padding-left: 27px; font-size: .96rem; color: var(--ink); font-weight: 600; }
.box-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
    background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230066cc' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }

.notes-list { display: grid; gap: 12px; max-width: 60em; }
.note-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.note-row .note-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    background: linear-gradient(135deg, #f7a44f, #f0883e); box-shadow: 0 6px 14px rgba(240,136,62,.25); }
.note-row p { font-size: .96rem; color: var(--ink-soft); line-height: 1.7; }
.product-hero + .section .dev-disclaimer, .notes-list + .dev-disclaimer { text-align: left; margin-top: 18px; }

@media (max-width: 940px) {
    .product-top { grid-template-columns: 1fr; gap: 34px; }
    .product-gallery { max-width: 460px; margin-inline: auto; width: 100%; }
    .prod-feats { grid-template-columns: 1fr; }
    .spec-grid { grid-template-columns: 1fr; gap: 30px; }
}




/* ============================================================
   2-E) 연구성과 목록 / 상세 (/research)
   ============================================================ */
.tag.원저 { background: var(--bg-tint); color: var(--brand); }
.tag.리뷰, .tag.종설 { background: var(--accent-soft); color: #009683; }
.tag.발표, .tag.수상 { background: #fff0e6; color: #e07b1a; }

/* 목록 */
.research-list { display: grid; gap: 18px; }
.research-card {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.research-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.rc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rc-journal { font-size: .9rem; color: var(--ink-muted); font-weight: 600; }
.rc-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; margin-bottom: 8px; color: var(--ink); }
.rc-en { font-size: .9rem; color: var(--ink-muted); margin-bottom: 12px; line-height: 1.5; }
.rc-summary { color: var(--ink-soft); font-size: .98rem; line-height: 1.7; margin-bottom: 16px; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rc-authors { font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.rc-more { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--brand); font-size: .95rem; white-space: nowrap; }
.research-card:hover .rc-more { gap: 8px; }

/* 상세 */
.rd-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.3; margin: 6px 0 10px; }
.rd-en { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; max-width: 52em; }
.rd-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 22px; font-size: .95rem; color: var(--ink-soft); }
.rd-meta a { color: var(--brand); font-weight: 700; }
.rd-wrap { max-width: 860px; }
.rd-figure { margin-bottom: 30px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.rd-figure img { width: 100%; display: block; }
.rd-figure figcaption { padding: 10px 16px; font-size: .84rem; color: var(--ink-muted); background: var(--bg-soft); }
.rd-block { margin-bottom: 30px; }
.rd-block h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--brand); }
.rd-block p { color: var(--ink-soft); line-height: 1.8; font-size: 1rem; }
.rd-methods { list-style: none; display: grid; gap: 10px; }
.rd-methods li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 1rem; }
.rd-methods li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-light); }
.res-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.res-stat { background: linear-gradient(160deg, var(--bg-tint), #fff); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; }
.rs-num { font-size: 2.4rem; font-weight: 800; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.rs-label { margin-top: 10px; font-weight: 700; color: var(--ink); font-size: .98rem; }
.rs-note { margin-top: 4px; font-size: .85rem; color: var(--ink-muted); }
.rd-finding { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--accent-soft); }
.rd-finding svg { flex: none; color: #009683; margin-top: 2px; }
.rd-finding p { color: #0a6b5e; font-weight: 600; line-height: 1.7; font-size: .98rem; }
.rd-conclusion { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; border-radius: var(--radius); padding: 28px 30px; margin-bottom: 30px; }
.rd-conclusion h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.rd-conclusion p { line-height: 1.8; color: rgba(255,255,255,.92); }
.rd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 520px) { .res-stats { grid-template-columns: 1fr; } }

/* 연구성과 — 그래피컬 초록 강조 */
.rc-thumb { margin: -6px 0 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.rc-thumb img { width: 100%; height: 168px; object-fit: cover; object-position: center top; display: block; }
.rd-figure-hero { margin-bottom: 34px; }
.rd-figure-bar { background: var(--brand); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: -0.01em; padding: 9px 16px; }

/* 홈 — 최신 연구성과 */
.home-research-card {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; max-width: 980px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.home-research-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.hrc-media { background: var(--bg-soft); border-right: 1px solid var(--line); min-height: 100%; }
.hrc-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: center top; display: block; }
.hrc-body { padding: 30px 34px; display: flex; flex-direction: column; }
.hrc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hrc-journal { font-size: .9rem; color: var(--ink-muted); font-weight: 600; }
.hrc-body h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.35; margin-bottom: 12px; color: var(--ink); }
.hrc-summary { color: var(--ink-soft); font-size: .97rem; line-height: 1.7; margin-bottom: 18px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hrc-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--brand); font-size: .96rem; }
.home-research-card:hover .hrc-more { gap: 9px; }
.home-research-actions { text-align: center; margin-top: 36px; }

@media (max-width: 760px) {
    .home-research-card { grid-template-columns: 1fr; }
    .hrc-media { border-right: none; border-bottom: 1px solid var(--line); }
    .hrc-media img { min-height: 180px; max-height: 260px; }
}
