:root {
    --bg: #f4f6f9;
    --bg-elevated: #ffffff;
    --text: #0c0d0e;
    --text-muted: #5c6370;
    --border: rgba(12, 13, 14, 0.08);
    --accent: #2563eb;
    --accent-2: #7c3aed;
    --accent-soft: rgba(37, 99, 235, 0.12);
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(12, 13, 14, 0.04);
    --shadow-md: 0 8px 24px rgba(12, 13, 14, 0.06), 0 2px 8px rgba(12, 13, 14, 0.04);
    --shadow-hover: 0 16px 40px rgba(12, 13, 14, 0.1), 0 4px 12px rgba(37, 99, 235, 0.08);
    --header-h: 72px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius-sm);
}

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 200;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.35s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .inner {
    width: min(1200px, 100% - 2.5rem);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.brand-logo {
    width: auto;
    height: 38px;
    display: block;
    object-fit: contain;
}
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-desktop > a,
.nav-desktop .nav-trigger {
    text-decoration: none;
    padding: 0.45rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s, background 0.2s;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}
.nav-desktop > a:hover,
.nav-desktop .nav-trigger:hover,
.nav-desktop .nav-item.is-open .nav-trigger {
    color: var(--text);
    background: rgba(12, 13, 14, 0.04);
}
.nav-desktop > a.is-active,
.nav-desktop .nav-item.is-active > .nav-trigger {
    color: var(--accent);
    font-weight: 600;
}

.nav-item { position: relative; }
.nav-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 200px;
    padding: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
    z-index: 210;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
}
.nav-dropdown a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-dropdown a.is-active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(12, 13, 14, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 1rem 1.25rem 2rem;
    flex-direction: column;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    z-index: 199;
    overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile > a {
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text);
}
.nav-mobile > a.is-active { background: var(--accent-soft); color: var(--accent); }
.nav-mobile-group { margin-top: 0.25rem; }
.nav-mobile-group summary {
    padding: 0.75rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    list-style: none;
    border-radius: var(--radius-sm);
}
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group summary::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--text-muted);
}
.nav-mobile-group[open] summary::after { content: '−'; }
.nav-mobile-group a {
    display: block;
    padding: 0.65rem 1rem 0.65rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}
.nav-mobile-group a.is-active { color: var(--accent); font-weight: 600; background: var(--accent-soft); }
.nav-mobile-group a:hover { color: var(--text); background: rgba(12, 13, 14, 0.03); }

@media (max-width: 960px) {
    .nav-desktop { display: none; }
    .nav-toggle { display: flex; }
}

/* Hero (home) */
.hero {
    position: relative;
    min-height: min(88vh, 820px);
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 0%, rgba(124, 58, 237, 0.15), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(37, 99, 235, 0.12), transparent 50%),
        linear-gradient(180deg, #0c0d0e 0%, #16181c 45%, #1a1d22 100%);
    z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
}
.hero-copy { color: #fff; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 2px;
}
.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}
.hero h1 .grad {
    background: linear-gradient(120deg, #fff 0%, rgba(255,255,255,0.75) 50%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    margin: 0 0 2rem;
    font-size: clamp(1rem, 2vw, 1.12rem);
    color: rgba(255, 255, 255, 0.72);
    max-width: 34ch;
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline {
    background: var(--bg-elevated);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: rgba(37, 99, 235, 0.3); }

.hero-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    color: #fff;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
@media (max-width: 500px) { .hero-stats { grid-template-columns: 1fr; } }
.stat {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.stat strong { display: block; font-size: 1.35rem; font-weight: 800; }
.stat span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); }

/* Subpage hero */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 90% 0%, rgba(124, 58, 237, 0.12), transparent 50%),
        linear-gradient(180deg, #0c0d0e 0%, #16181c 100%);
    z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; color: #fff; }
.page-hero .eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.5rem;
}
.page-hero h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.page-hero .sub { margin: 0; color: rgba(255, 255, 255, 0.7); font-size: 1.05rem; }

.page-body { padding: 2.5rem 0 4.5rem; }
.page-body.narrow { max-width: 800px; margin-inline: auto; padding-left: 1.25rem; padding-right: 1.25rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head .label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.section-head h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.section-head p { margin: 0; color: var(--text-muted); font-size: 1.02rem; }

.bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
@media (max-width: 900px) { .bento { grid-template-columns: 1fr; } }
.bento-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.25s;
}
.bento-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.2);
}
.bento-card .icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 0.85rem;
    background: var(--accent-soft);
}
.bento-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 700; }
.bento-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); flex: 1; }
.bento-card .arrow {
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
}
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
@media (max-width: 900px) { .span-4, .span-6 { grid-column: span 1; } }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.card-tile {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card-tile:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--shadow-md);
}
.card-tile h3 { margin: 0 0 0.35rem; font-size: 1rem; font-weight: 700; }
.card-tile p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

.content-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}
.content-card h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.content-card p { margin: 0 0 1rem; color: var(--text-muted); }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { margin: 0; padding-left: 1.2rem; color: var(--text-muted); }
.content-card li { margin-bottom: 0.35rem; }

.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--accent), var(--accent-2)) 1;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.product-chip {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.92rem;
}
.product-chip .badge {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.3rem;
}
.spec-table {
    width: 100%;
    max-width: 720px;
    border-collapse: collapse;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.spec-table th {
    background: linear-gradient(135deg, #0c0d0e, #1e293b);
    color: #fff;
    font-weight: 600;
    width: 130px;
    font-size: 0.88rem;
}
.spec-table tr:last-child td { border-bottom: none; }
.gate-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gate-item {
    background: var(--accent-soft);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.notice-list a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text);
}
.notice-list a:hover { color: var(--accent); }
.notice-list .date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.contact-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}
.contact-item {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
}
.contact-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}
.contact-item a { color: var(--accent); font-weight: 600; text-decoration: none; }

.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}
.site-footer .inner {
    width: min(1200px, 100% - 2.5rem);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 768px) {
    .site-footer .inner { grid-template-columns: 1fr 1fr; }
}
.site-footer h4 {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}
.site-footer a:hover { color: var(--text); }
.site-footer .brand-foot {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.brand-foot-logo {
    width: auto;
    height: 32px;
    display: block;
    object-fit: contain;
}
.site-footer .copy {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 0;
}
.feature-item {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
}
.feature-item strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.feature-item span { font-size: 0.88rem; color: var(--text-muted); }

.breadcrumb {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.case-detail .case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.case-block { margin-bottom: 1.25rem; }
.case-block p { margin: 0; color: var(--text-muted); line-height: 1.65; }
.case-list {
    margin: 0;
    padding-left: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.case-list strong { color: var(--text); }
.case-back { margin-top: 2rem; }
.case-back a {
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.case-back a:hover { text-decoration: underline; }

.download-list .download-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}
.download-list .download-row:last-child { border-bottom: none; }
.download-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }
