/* ============================================
   Not No - Global Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --bg: #FAFBFC;
    --bg-alt: #FFFFFF;
    --surface: #FFFFFF;
    --surface-hover: #F8F9FA;
    --surface-alt: #F1F3F5;
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --primary-soft: rgba(79, 70, 229, 0.08);
    --primary-hover: #4338CA;
    --primary-gradient: linear-gradient(135deg, #4F46E5, #7C3AED);
    --accent: #F59E0B;
    --accent-soft: rgba(245, 158, 11, 0.1);
    --text: #111827;
    --text-secondary: #6B7280;
    --text-tertiary: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --danger: #EF4444;
    --success: #10B981;
    --info: #3B82F6;

    /* Typography */
    --font: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --nav-height: 64px;
    --container-max: 1200px;
    --container-narrow: 800px;
    --section-gap: 80px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
    --bg: #0F0F14;
    --bg-alt: #16161D;
    --surface: #1C1C27;
    --surface-hover: #252535;
    --surface-alt: #22222F;
    --primary: #818CF8;
    --primary-light: #A5B4FC;
    --primary-soft: rgba(129, 140, 248, 0.12);
    --primary-hover: #A5B4FC;
    --primary-gradient: linear-gradient(135deg, #818CF8, #A78BFA);
    --accent: #FBBF24;
    --accent-soft: rgba(251, 191, 36, 0.12);
    --text: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-tertiary: #6B7280;
    --border: #2D2D3D;
    --border-light: #1F1F2E;
    --danger: #F87171;
    --success: #34D399;
    --info: #60A5FA;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(129, 140, 248, 0.2);
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background var(--transition), color var(--transition);
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

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

.container--narrow {
    max-width: var(--container-narrow);
}

/* ===== Navigation ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 251, 252, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    height: var(--nav-height);
    transition: background var(--transition), border-color var(--transition);
}

[data-theme="dark"] .nav {
    background: rgba(15, 15, 20, 0.85);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 900;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav__link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.nav__link:hover {
    color: var(--text);
    background: var(--surface-alt);
}

.nav__link.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.nav__theme-btn:hover {
    background: var(--surface-alt);
    transform: scale(1.05);
}

/* Mobile Menu */
.nav__menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav__menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px;
        box-shadow: var(--shadow-md);
    }

    .nav__links.open {
        display: flex;
    }

    .nav__link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav__menu-btn {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background: radial-gradient(ellipse, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
    animation: fadeInUp 0.6s ease both;
}

.hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero__title .gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: -0.3px;
    text-decoration: none;
}

.btn--primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    color: white;
}

.btn--secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--secondary:hover {
    background: var(--surface-alt);
    transform: translateY(-1px);
    color: var(--text);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* ===== Cards ===== */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.card--flat {
    box-shadow: none;
}

.card--flat:hover {
    box-shadow: var(--shadow);
}

/* ===== Section ===== */
.section {
    padding: 60px 0;
}

.section__header {
    margin-bottom: 40px;
}

.section__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section__desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ===== Blog Grid ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

.blog-card__thumb {
    width: 100%;
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.blog-card__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1));
}

.blog-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card__category {
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: fit-content;
}

.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-tertiary);
}

/* ===== Tools Grid ===== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.tool-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.tool-card__title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.tool-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== Article / Blog Post ===== */
.article {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.article__header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article__category {
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.article__title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

.article__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.article__content {
    font-size: 16.5px;
    line-height: 1.9;
    color: var(--text);
}

.article__content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 48px 0 16px;
    letter-spacing: -0.5px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-soft);
}

.article__content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 12px;
    letter-spacing: -0.3px;
}

.article__content p {
    margin-bottom: 20px;
}

.article__content ul, .article__content ol {
    margin: 16px 0 24px 24px;
}

.article__content li {
    margin-bottom: 10px;
}

.article__content blockquote {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 500;
    color: var(--text-secondary);
}

.article__content strong {
    color: var(--text);
    font-weight: 700;
}

.article__content .tip-box {
    background: var(--accent-soft);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
}

.article__content .tip-box strong {
    color: var(--accent);
}

.article__content .info-box {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 24px 0;
}

/* Article Navigation */
.article__nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article__nav-link {
    flex: 1;
    padding: 20px;
    background: var(--surface-alt);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

.article__nav-link:hover {
    background: var(--primary-soft);
    color: inherit;
}

.article__nav-link--next {
    text-align: right;
}

.article__nav-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 600;
    margin-bottom: 4px;
}

.article__nav-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-top: 80px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer__brand {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer__brand-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__bottom {
    max-width: var(--container-max);
    margin: 32px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
}

/* ===== Page Header ===== */
.page-header {
    padding: 48px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(79, 70, 229, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.page-header__title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-header__desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    text-decoration: none;
    font-family: var(--font);
}

.pagination__btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination__btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== Legal Pages ===== */
.legal {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.legal h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
}

.legal .updated {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.legal h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
}

.legal h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.legal p {
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal ul, .legal ol {
    margin: 12px 0 20px 24px;
    color: var(--text-secondary);
    font-size: 15.5px;
    line-height: 1.8;
}

.legal li {
    margin-bottom: 8px;
}

/* ===== Contact Form ===== */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    color: var(--text);
    transition: all var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

/* ===== Stats ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.stat-card__number {
    font-size: 36px;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card__label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== Feature Cards ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-glow);
}

.feature-card__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.feature-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
    padding: 16px 0;
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb__sep {
    font-size: 11px;
}

/* ===== Table of Contents ===== */
.toc {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 24px 0 36px;
}

.toc__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc__list li {
    margin-bottom: 8px;
}

.toc__list a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.toc__list a:hover {
    color: var(--primary);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-4 { margin-top: 16px; }
.mb-8 { margin-bottom: 32px; }
.gap-sm { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
