.crafty-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.crafty-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.crafty-header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 30px;
}

.crafty-header h1 {
    font-size: 3.5rem;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.crafty-header .subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
}

.crafty-header .dates {
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
    font-weight: 500;
}

.crafty-summary {
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
    border-left: 5px solid #4338ca;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.crafty-summary h2 {
    margin-top: 0;
    color: #312e81;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.summary-card {
    background: white;
    border-radius: 10px;
    border: 2px solid #e0e7ff;
    padding: 18px;
}

.summary-card h3 {
    margin-top: 0;
    color: #1e3a8a;
}

.summary-card ul {
    margin: 12px 0 0 18px;
    line-height: 1.6;
}

.toc {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 2px dashed #c7d2fe;
}

.toc h3 {
    margin-bottom: 12px;
    color: #3730a3;
}

.toc ul {
    margin: 0;
    padding-left: 18px;
    columns: 3;
    column-gap: 16px;
}

.toc li {
    padding: 4px 0;
}

.toc a {
    color: #1d4ed8;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

.eol-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #bae6fd;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 10px;
}

.stat-label {
    color: #475569;
    font-size: 1rem;
    line-height: 1.4;
}

.timeline {
    position: relative;
    padding-left: 40px;
    border-left: 3px solid #2a5298;
    margin: 30px 0;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -46px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2a5298;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #2a5298;
}

.timeline-date {
    font-weight: bold;
    color: #1e3c72;
    font-size: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.feature-badge {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #e0e7ff;
    text-align: center;
    font-weight: 500;
    color: #4f46e5;
}

.installer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.installer-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.innovation-box {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.innovation-box h3,
.innovation-box h4 {
    color: #1e3c72;
    margin-top: 0;
}

.reference-box {
    background: #f8fafc;
    border-left: 5px solid #0ea5e9;
    border-radius: 12px;
    padding: 24px;
    margin-top: 30px;
}

.reference-box h3 {
    margin-top: 0;
    color: #0369a1;
}

.reference-box ol {
    margin: 12px 0 0 20px;
    line-height: 1.75;
}

.reference-box a {
    color: #0f766e;
    text-decoration: none;
}

.reference-box a:hover {
    text-decoration: underline;
}

.code-box {
    background: #1a1a2e;
    color: #0ff;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-box .comment {
    color: #7f8c8d;
}

.code-box .keyword {
    color: #e74c3c;
    font-weight: bold;
}

.gpl-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 5px solid #22c55e;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.warning-box {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 5px solid #ef4444;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.info-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    margin: 25px 0;
}

.highlight-box {
    background: linear-gradient(135deg, #fff8dc 0%, #ffe4b5 100%);
    border: 3px solid #d4af37;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.evolution-callout {
    background: linear-gradient(135deg, #e0f2fe 0%, #f8fafc 100%);
    border-left: 5px solid #2563eb;
    border-radius: 16px;
    padding: 24px;
    margin: 30px 0;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.evolution-callout h3 {
    margin: 0 0 12px 0;
    color: #1d4ed8;
}

.evolution-callout p {
    margin: 0;
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.7;
}

.evolution-callout a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evolution-callout a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

h2 {
    color: #1e293b;
    border-bottom: 3px solid #2a5298;
    padding-bottom: 10px;
    margin-top: 30px;
}

h3 {
    color: #475569;
    margin-top: 25px;
}

ul.feature-list {
    line-height: 2;
    font-size: 1.05rem;
}

ul.feature-list li {
    padding: 5px 0;
}

.link-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px 5px;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
    transition: all 0.3s ease;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 60, 114, 0.4);
    color: white;
}

.link-button.secondary {
    background: white;
    color: #1e3c72;
    border: 2px solid #1e3c72;
}

.link-button.secondary:hover {
    background: #1e3c72;
    color: white;
}

.next-steps {
    background: linear-gradient(135deg, #f1f5f9 0%, #e0f2fe 100%);
    border-left: 5px solid #0ea5e9;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}

.next-steps h2 {
    border: none;
    padding: 0;
    margin-top: 0;
    color: #0f172a;
}

.next-steps ul {
    margin: 16px 0 0 20px;
    line-height: 1.8;
}

