/* Notion UI Variables */
:root {
    --notion-bg: #ffffff;
    --notion-bg-secondary: #f7f6f3;
    --notion-bg-gray: #ebeced;
    --notion-bg-blue: #e7f3ff;
    --notion-bg-purple: #f3e8ff;
    --notion-bg-green: #e8f5e8;
    --notion-bg-yellow: #fef3c7;
    --notion-bg-red: #fecaca;
    --notion-bg-orange: #fed7aa;
    
    --notion-text-primary: #37352f;
    --notion-text-secondary: #787774;
    --notion-text-tertiary: #9b9a97;
    
    --notion-border: #e9e9e7;
    --notion-border-hover: #d3d2ce;
    
    --notion-shadow: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 2px 4px;
    --notion-shadow-hover: rgba(15, 15, 15, 0.1) 0px 0px 0px 1px, rgba(15, 15, 15, 0.2) 0px 4px 8px;
    
    --notion-radius: 6px;
    --notion-radius-large: 12px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: var(--notion-bg-secondary);
    color: var(--notion-text-primary);
    line-height: 1.5;
    font-size: 14px;
}

/* Notion UI Components */
.notion-bg { background-color: var(--notion-bg-secondary); }
.notion-bg-white { background-color: var(--notion-bg); }
.notion-bg-gray { background-color: var(--notion-bg-gray); }
.notion-bg-blue { background-color: var(--notion-bg-blue); }
.notion-bg-purple { background-color: var(--notion-bg-purple); }
.notion-bg-green { background-color: var(--notion-bg-green); }
.notion-bg-yellow { background-color: var(--notion-bg-yellow); }
.notion-bg-red { background-color: var(--notion-bg-red); }
.notion-bg-orange { background-color: var(--notion-bg-orange); }

.notion-text-primary { color: var(--notion-text-primary); }
.notion-text-secondary { color: var(--notion-text-secondary); }
.notion-text-tertiary { color: var(--notion-text-tertiary); }

.notion-border { border: 1px solid var(--notion-border); }
.notion-shadow { box-shadow: var(--notion-shadow); }
.notion-shadow-hover { box-shadow: var(--notion-shadow-hover); }
.notion-radius { border-radius: var(--notion-radius); }
.notion-radius-large { border-radius: var(--notion-radius-large); }

/* Header */
.notion-header {
    background-color: var(--notion-bg);
    border-bottom: 1px solid var(--notion-border);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
}

.notion-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.notion-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--notion-text-primary);
    font-weight: 600;
    font-size: 16px;
}

.notion-logo:hover {
    color: var(--notion-text-secondary);
}

.notion-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.notion-nav-link {
    color: var(--notion-text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: var(--notion-radius);
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.notion-nav-link:hover {
    background-color: var(--notion-bg-gray);
    color: var(--notion-text-primary);
}

.notion-nav-link.active {
    background-color: var(--notion-bg-blue);
    color: #2383e2;
}

/* Breadcrumbs */
.notion-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.notion-breadcrumb-item {
    color: var(--notion-text-tertiary);
    text-decoration: none;
}

.notion-breadcrumb-item:hover {
    color: var(--notion-text-secondary);
}

.notion-breadcrumb-separator {
    color: var(--notion-text-tertiary);
}

/* Page Header */
.notion-page-header {
    background-color: var(--notion-bg);
    border-bottom: 1px solid var(--notion-border);
    padding: 32px 24px;
}

.notion-page-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.notion-page-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.notion-page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--notion-text-primary);
}

.notion-page-subtitle {
    font-size: 16px;
    color: var(--notion-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Card Components */
.notion-card {
    background-color: var(--notion-bg);
    border: 1px solid var(--notion-border);
    border-radius: var(--notion-radius-large);
    padding: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.notion-card:hover {
    box-shadow: var(--notion-shadow-hover);
    border-color: var(--notion-border-hover);
}

.notion-card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--notion-radius);
    margin-bottom: 12px;
}

.notion-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--notion-text-primary);
}

.notion-card-subtitle {
    font-size: 14px;
    color: var(--notion-text-secondary);
    margin-bottom: 8px;
}

.notion-card-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.notion-badge-blue { background-color: var(--notion-bg-blue); color: #2383e2; }
.notion-badge-green { background-color: var(--notion-bg-green); color: #0f7b0f; }
.notion-badge-yellow { background-color: var(--notion-bg-yellow); color: #b45309; }
.notion-badge-red { background-color: var(--notion-bg-red); color: #b91c1c; }
.notion-badge-purple { background-color: var(--notion-bg-purple); color: #7c3aed; }
.notion-badge-orange { background-color: var(--notion-bg-orange); color: #ea580c; }

/* Grid Layout */
.notion-grid {
    display: grid;
    gap: 16px;
}

.notion-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.notion-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.notion-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.notion-grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

/* Container */
.notion-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

/* Stats */
.notion-stats {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.notion-stats-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.notion-stat {
    background-color: var(--notion-bg);
    border: 1px solid var(--notion-border);
    border-radius: var(--notion-radius-large);
    padding: 20px;
    text-align: center;
}

.notion-stat-icon {
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
}

.notion-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--notion-text-primary);
    margin-bottom: 4px;
}

.notion-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--notion-text-secondary);
    margin-bottom: 2px;
}

.notion-stat-description {
    font-size: 12px;
    color: var(--notion-text-tertiary);
}

/* Button */
.notion-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--notion-radius);
    border: 1px solid var(--notion-border);
    background-color: var(--notion-bg);
    color: var(--notion-text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.notion-button:hover {
    background-color: var(--notion-bg-gray);
    border-color: var(--notion-border-hover);
}

.notion-button-primary {
    background-color: #2383e2;
    color: white;
    border-color: #2383e2;
}

.notion-button-primary:hover {
    background-color: #1a6bb8;
    border-color: #1a6bb8;
}

/* Icons */
.notion-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .notion-header-container {
        padding: 0 16px;
    }
    
    .notion-nav {
        gap: 16px;
    }
    
    .notion-container {
        padding: 16px;
    }
    
    .notion-page-header {
        padding: 24px 16px;
    }
    
    .notion-page-title {
        font-size: 28px;
    }
    
    .notion-stats-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .notion-stats-4 {
        grid-template-columns: 1fr;
    }
    
    .notion-grid-3 {
        grid-template-columns: 1fr;
    }
} 