/* Notion Style CSS - Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

.notion-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.notion-header {
    padding: 60px 0 40px 0;
    border-bottom: 1px solid #333333;
}

.header-content {
    text-align: left;
    position: relative;
}

.header-actions {
    position: absolute;
    top: 0;
    right: 0;
}

.cache-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.cache-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.cache-btn i {
    font-size: 14px;
}

.page-icon {
    font-size: 78px;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.page-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 16px;
    color: #b0b0b0;
    margin: 0;
}

/* Main Content */
.notion-main {
    padding: 40px 0;
}

/* Notion Blocks */
.notion-block {
    margin-bottom: 40px;
}

.block-title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.block-content {
    font-size: 16px;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Notion Table */
.notion-table {
    border: 1px solid #333333;
    border-radius: 6px;
    overflow: hidden;
    background: #2a2a2a;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 0.8fr 1fr;
    border-bottom: 1px solid #333333;
    transition: background-color 0.15s ease;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover:not(.table-header) {
    background-color: #3a3a3a;
}

.table-header {
    background-color: #3a3a3a;
    font-weight: 600;
    color: #b0b0b0;
    font-size: 14px;
}

.table-cell {
    padding: 12px 16px;
    border-right: 1px solid #333333;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.table-cell:last-child {
    border-right: none;
}

/* Project Info */
.project-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-icon {
    font-size: 18px;
}

.project-name {
    font-weight: 500;
    color: #ffffff;
}

.project-desc {
    font-size: 14px;
    color: #b0b0b0;
}

/* Tech Tags */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tech-tag {
    background-color: #4a4a4a;
    color: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Status Tags */
.status-tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-tag.completed {
    background-color: #e7f5e7;
    color: #0f7b0f;
}

.status-tag.in-progress {
    background-color: #fef3cd;
    color: #b45309;
}

.status-tag.planned {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 6px;
}

.action-btn {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #555555;
    background: #3a3a3a;
    color: #e0e0e0;
    transition: all 0.15s ease;
}

.action-btn:hover {
    background-color: #4a4a4a;
    border-color: #666666;
    transform: translateY(-1px);
}

.action-btn.secondary {
    color: #b0b0b0;
}

/* Add New Row */
.add-new {
    background-color: #2a2a2a;
    cursor: pointer;
}

.add-new:hover {
    background-color: #3a3a3a;
}

.add-project {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
    font-size: 14px;
}

.add-icon {
    font-size: 16px;
    color: #888888;
}

/* Learning List */
.learning-list {
    margin-top: 16px;
}

.learning-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 16px;
}

.learning-check {
    font-size: 16px;
    width: 20px;
}

.learning-text {
    color: #e0e0e0;
}

/* Ideas List */
.ideas-list {
    margin-top: 16px;
}

.idea-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
    font-size: 16px;
}

.idea-bullet {
    color: #888888;
    font-size: 20px;
    line-height: 1.2;
    margin-top: 2px;
}

.idea-text {
    color: #e0e0e0;
    flex: 1;
}

/* Contact Links */
.contact-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid #555555;
    transition: all 0.15s ease;
    font-size: 14px;
}

.contact-link:hover {
    background-color: #3a3a3a;
    border-color: #666666;
    transform: translateY(-1px);
}

.contact-link i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notion-container {
        padding: 0 16px;
    }
    
    .header-actions {
        position: static;
        margin-top: 15px;
    }
    
    .cache-btn {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-icon {
        font-size: 64px;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .table-cell {
        border-right: none;
        border-bottom: 1px solid #333333;
        padding: 8px 16px;
        min-height: auto;
    }
    
    .table-cell:last-child {
        border-bottom: none;
    }
    
    .table-header .table-cell {
        font-weight: 600;
        background-color: #3a3a3a;
    }
    
    .tech-tags {
        justify-content: flex-start;
    }
    
    .action-buttons {
        justify-content: flex-start;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .block-title {
        font-size: 20px;
    }
    
    .notion-main {
        padding: 30px 0;
    }
    
    .notion-header {
        padding: 40px 0 30px 0;
    }
}