/* ========================================
   Sentrix Design System v2.0
   Premium Dark SaaS — Authority & Conversion
   ======================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
/* JetBrains Mono는 base.html이 <link>로 병렬 로드. @import는 직렬이라 렌더 지연 -> 제거 (2026-09-04) */

:root {
    /* Core palette */
    --bg: #07090e;
    --bg-elevated: #0f1219;
    --bg-card: #111827;
    --bg-card-hover: #1a2236;
    --bg-glass: rgba(17, 24, 39, 0.6);

    /* Text hierarchy */
    --text: #f1f5f9;
    --text-sub: #94a3b8;
    --text-muted: #7d8ba0;

    /* Brand colors — Terminal Green (V1, 2026-04-23 디자인 이식) */
    --primary: #00ff9c;
    --primary-hover: #3affae;
    --primary-light: #7affc4;
    --primary-glow: rgba(0, 255, 156, 0.35);
    --primary-subtle: rgba(0, 255, 156, 0.08);
    --primary-text: #04110a;              /* 버튼/강조 배경 위 고대비 텍스트 */

    /* Accent spectrum */
    --accent-green: #10b981;
    --accent-green-glow: rgba(16, 185, 129, 0.2);
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-red-glow: rgba(239, 68, 68, 0.15);
    --accent-cyan: #4dd4ff;               /* 디자인 번들 info 톤 */
    /* 심각도 색 — 단일 진실원(같은 심각도=같은 색). 위치별 빨강/주황 난립 방지(#10) */
    --sev-critical: #ef4444;  --sev-critical-bg: rgba(239, 68, 68, 0.14);
    --sev-high: #f97316;      --sev-high-bg: rgba(249, 115, 22, 0.14);
    --sev-medium: #eab308;    --sev-medium-bg: rgba(234, 179, 8, 0.14);
    --sev-low: #94a3b8;       --sev-low-bg: rgba(148, 163, 184, 0.12);
    /* 등급 색 — 웹스캔/코드스캔/랜딩 공통(같은 등급=같은 색). B가 초록/파랑 갈리던 드리프트 방지(#13) */
    --grade-a: #22c55e;  --grade-b: #3b82f6;  --grade-c: #eab308;  --grade-d: #f97316;  --grade-f: #ef4444;
    --accent-purple: #a78bfa;

    /* Borders */
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-active: rgba(0, 255, 156, 0.4);

    /* Radius */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --shadow-glow-strong: 0 0 60px var(--primary-glow), 0 0 120px rgba(0, 255, 156, 0.12);
    --shadow-btn-primary: 0 0 0 1px rgba(0, 255, 156, 0.3), 0 8px 24px -8px rgba(0, 255, 156, 0.5);

    /* Motion */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Font */
    --font: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;

    /* Spacing scale (Phase 3 — 2026-04-18) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    /* OKLCH palette (Phase 3 — fallback 위 hex 유지) */
    color-scheme: dark;
}

/* Progressive enhancement — 브라우저 지원 시 OKLCH로 정밀 팔레트 */
@supports (color: oklch(0% 0 0)) {
    :root {
        --primary: oklch(89% 0.22 155);
        --primary-hover: oklch(94% 0.20 155);
        --primary-light: oklch(93% 0.16 155);
        --accent-green: oklch(70% 0.17 165);
        --accent-red: oklch(65% 0.22 25);
        --accent-orange: oklch(72% 0.17 60);
        --accent-cyan: oklch(82% 0.13 220);
        --accent-purple: oklch(72% 0.16 300);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* 한국형 줄바꿈 — 어절 단위 유지, 긴 영어 단어/URL은 안전 분리 */
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

/* 코드/URL/모노 영역은 break-all 우선 — body 규칙 무력화 */
code, pre, kbd, samp, .mono, .url, .break-all,
[data-break="all"], [class*="codebox"], [class*="-url"] {
    word-break: break-all;
    overflow-wrap: anywhere;
}

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

/* ========================================
   Navigation — Premium Glass
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 64px;
    border-bottom: 1px solid transparent;
    transition: transform var(--transition-slow), opacity var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow), background-color var(--transition-slow);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom-color: var(--border);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
    position: relative;
}

.logo-accent {
    color: var(--primary);
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.nav-links a {
    color: var(--text-sub);
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
    color: var(--text);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-cta {
    margin-left: 0.75rem;
}

.nav-cta .btn {
    padding: 0.45rem 1.25rem;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 9, 14, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;      /* center→flex-start: 항목 많을 때 위부터 채워 잘림 방지 */
    gap: 0.5rem;                       /* 1.25rem→0.5rem: 12개 항목 세로 확보 */
    padding: 5rem 0 2rem;             /* navbar(64px) 아래부터 시작 + 하단 여백 */
    overflow-y: auto;                  /* 짧은 화면에서 내부 스크롤 */
    -webkit-overflow-scrolling: touch; /* iOS 관성 스크롤 */
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    color: var(--text);
    font-size: 1.1rem;                 /* 1.3rem→1.1rem: 세로 공간 절약(패딩 유지로 터치타깃 ≥44px) */
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.mobile-nav a:hover {
    color: var(--primary-light);
    background: var(--primary-subtle);
}

.nav-spacer { height: 64px; }

/* ========================================
   Main Content
   ======================================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Hero Section — Impact First
   ======================================== */
.hero {
    text-align: left;
    padding: 6rem 2rem 4rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .hero { text-align: center; }
}

.hero-bg {
    position: relative;
    padding: 7rem 2rem 5rem;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 100%;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 255, 156, 0.15), transparent 70%),
        radial-gradient(ellipse 40% 30% at 30% 20%, rgba(77, 212, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 40% 30% at 70% 20%, rgba(0, 255, 156, 0.06), transparent 60%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: var(--primary-subtle);
    color: var(--primary-light);
    border: 1px solid rgba(0, 255, 156, 0.2);
    margin-bottom: 1.75rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.035em;
    color: var(--text);
}

.hero h1 .gradient-text {
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-sub);
    max-width: 560px;
    margin: 0 0 2.5rem;
    line-height: 1.75;
}
@media (max-width: 640px) {
    .hero p { margin: 0 auto 2.5rem; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}
@media (max-width: 640px) {
    .hero-buttons { justify-content: center; }
}

/* ========================================
   Stats / Trust Bar
   ======================================== */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 3rem 2rem;
    flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.stat-number .accent { color: var(--primary-light); }

.stat-label {
    font-size: 0.88rem;
    color: var(--text-sub);
    margin-top: 0.25rem;
}

/* ========================================
   Section Styling
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: var(--primary-subtle);
    border: 1px solid rgba(0, 255, 156, 0.15);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   Cards — Glass Morphism
   ======================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    border-color: var(--border-active);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 255, 156, 0.08), 0 0 0 1px rgba(0, 255, 156, 0.1);
    background: var(--bg-card-hover);
}

.card:hover::before { opacity: 1; }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: var(--primary-subtle);
    border: 1px solid rgba(0, 255, 156, 0.12);
}

.card-icon.green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.12);
}

.card-icon.orange {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.12);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin: 1rem 0;
    letter-spacing: -0.02em;
}

.card .price .currency {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
}

.card p {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.65;
}

.card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1.25rem;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

.card-link:hover {
    gap: 0.65rem;
    color: #c4b5fd;
}

.card-link .arrow { transition: transform var(--transition); }

/* ========================================
   Buttons — Magnetic & Premium
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--primary-text);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font);
    text-decoration: none;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-btn-primary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover {
    background: var(--primary-hover);
    color: var(--primary-text);
    box-shadow: 0 0 0 1px rgba(0,255,156,0.4), 0 12px 32px -6px rgba(0,255,156,0.55);
    transform: translateY(-2px);
}

.btn:hover::before { opacity: 1; }

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-lg {
    padding: 0.95rem 2.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
}

.btn-outline {
    background: transparent;
    color: var(--text-sub);
    border: 1px solid var(--border-light);
}

.btn-outline::before { display: none; }

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-light);
    padding: 0.5rem 1rem;
}

.btn-ghost::before { display: none; }

.btn-ghost:hover {
    background: var(--primary-subtle);
    box-shadow: none;
}

/* White variant for dark sections */
.btn-white {
    background: #ffffff;
    color: var(--bg);
    font-weight: 700;
}

.btn-white:hover {
    background: #f1f5f9;
    color: var(--bg);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

/* ========================================
   Grid
   ======================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ========================================
   Form Elements
   ======================================== */
input, textarea, select {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    font-size: 1rem;
    font-family: var(--font);
    margin-bottom: 1rem;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: var(--bg);
}

input[type="checkbox"]:focus-visible,
input[type="radio"]:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

input::placeholder { color: var(--text-muted); }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-sub);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.badge-blue  { background: rgba(77, 212, 255, 0.12); color: var(--accent-cyan); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.badge-red   { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.badge-yellow { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }

/* ========================================
   Result Box
   ======================================== */
.result-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 2rem;
}

/* ========================================
   Product Detail
   ======================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* ========================================
   CTA Banner — High Impact
   ======================================== */
.cta-banner {
    text-align: center;
    padding: 4.5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 156, 0.08) 0%, rgba(77, 212, 255, 0.05) 50%, rgba(0, 255, 156, 0.06) 100%);
    border: 1px solid rgba(0, 255, 156, 0.15);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(0, 255, 156, 0.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 156, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    letter-spacing: -0.03em;
}

.cta-banner p {
    color: var(--text-sub);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
}

.cta-banner .btn { position: relative; }

/* ========================================
   Feature Section
   ======================================== */
.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.feature-highlight.reverse { direction: rtl; }
.feature-highlight.reverse > * { direction: ltr; }

.feature-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.feature-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 156, 0.3), transparent);
}

.feature-mockup:hover {
    border-color: var(--border-active);
    box-shadow: var(--shadow-glow);
}

.mockup-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
}

.mockup-dot:first-child { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-content {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-sub);
    line-height: 1.8;
    border: 1px solid var(--border);
}

.mockup-content .highlight { color: var(--primary-light); }
.mockup-content .success { color: var(--accent-green); }
.mockup-content .warning { color: var(--accent-orange); }

/* ========================================
   Pricing Table — Conversion-Optimized
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition), color var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(0, 255, 156, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: var(--shadow-glow-strong);
}

.pricing-card.featured::before {
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    height: 2px;
}

.pricing-card.featured::after {
    content: 'BEST';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--primary-text);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.08em;
}

.pricing-tier {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-sub);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.pricing-card .btn { width: 100%; }

/* ========================================
   Footer — Authoritative
   ======================================== */
.footer {
    border-top: 1px solid var(--border);
    margin-top: 6rem;
    background: var(--bg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-sub);
    font-size: 0.88rem;
    line-height: 1.75;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-sub);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--primary-light); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ========================================
   Scroll Animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ========================================
   Glow Effects
   ======================================== */
@keyframes subtle-glow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================
   Divider
   ======================================== */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0 auto;
    max-width: 1200px;
}

/* ========================================
   Rescan CTA
   ======================================== */
.rescan-cta {
    text-align: center;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    margin: 1.5rem 0;
}
.rescan-cta h3 { color: #6ee7b7; font-size: 1rem; margin-bottom: 0.5rem; }
.rescan-cta p { color: var(--text-sub); font-size: 0.85rem; margin-bottom: 1rem; }

/* ========================================
   Utility Classes
   ======================================== */
.text-gradient {
    color: var(--primary-light);
    font-weight: 700;
}

.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

.glow-border {
    border: 1px solid var(--border-active);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-highlight { grid-template-columns: 1fr; gap: 2rem; }
    .feature-highlight.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .btn, .plan-btn, .scan-btn, .share-btn {
        min-height: 44px;
        min-width: 44px;
        font-size: 0.95rem;
    }

    body { font-size: 16px; }

    input[type="text"], input[type="email"] {
        font-size: 16px;
        min-height: 44px;
    }

    .navbar .logo { font-size: 1.1rem; }
    .navbar { padding: 0 1.25rem; }
    .nav-links, .nav-cta { display: none; }
    /* KO/EN 토글을 햄버거 왼쪽으로 밀착([로고]...[KO/EN][☰]). !important=base.html 인라인 margin-left 오버라이드 */
    .lang-toggle { margin-left: auto !important; margin-right: 0.25rem; }
    .hamburger { display: flex; }
    main { padding: 0 1.25rem; }
    /* 2026-09-04: KO/EN 토글이 약 24px로, 바로 옆 햄버거(44px)와 나란히 있어
       오탭이 나기 쉬웠다. 잘못 누르면 페이지가 통째로 영어로 바뀐다. */
    /* 버튼에 인라인 padding(4px 8px)이 박혀 있어 여기서 padding을 써도 먹지 않는다.
       min-height/min-width는 인라인에 없으므로 이것만으로 44px가 확보된다. */
    .lang-toggle button { min-height: 44px; min-width: 44px; }

    .hero { padding: 4rem 1rem 3rem; }
    .hero-bg { padding: 4rem 1rem 3rem; }
    .hero h1 { font-size: 1.85rem; }
    .hero p { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .stats-bar { gap: 2rem; }
    .stat-number { font-size: 2rem; }

    .grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
    .cta-banner { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .stats-bar { flex-direction: column; gap: 1.5rem; }
    .card { padding: 1.25rem; }
}

/* prefers-reduced-motion — 접근성 (2026-04-18 Impeccable Phase 2) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    html { scroll-behavior: auto; }
}

/* ========================================
   Terminal v1 이식 (2026-04-23)
   section-label · mono prefix
   ======================================== */
.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-weight: 500;
}
.section-label::before { content: "// "; }

/* 모노 강조 라벨 (ID, 버전, 스캐너명 등) */
.mono-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--text-sub);
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--primary-subtle);
}

/* 로고 dot — 디자인 번들 정체성 */
.logo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    margin-right: 8px;
    vertical-align: middle;
}
