.roast-hero-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.roast-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@@keyframes float {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100vw); }
}

.roast-visual-container {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roast-comparison-image {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.roast-comparison-image:hover {
    transform: scale(1.05);
}

.roast-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.roast-color-sample {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    border: 4px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.light-sample {
    background: linear-gradient(135deg, #D2B48C, #F4E4BC);
}

.medium-sample {
    background: linear-gradient(135deg, #8B4513, #A0522D);
}

.dark-sample {
    background: linear-gradient(135deg, #2F1B14, #1A0E0A);
}

/* Removed brown background - using new hybrid theme */

.science-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #8B4513;
}

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

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #8B4513;
    border-radius: 50%;
    border: 3px solid white;
}

.timeline-marker.crack {
    background: #CD853F;
    box-shadow: 0 0 10px rgba(205, 133, 63, 0.5);
}

.timeline-content {
    background: white;
    padding: 20px;
    border: 1px solid #e5e7eb;
    margin-left: 10px;
}

.dark .timeline-content {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pairing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Removed old pairing-card styles - using new border-based design */

.local-roasters-section {
    background: white;
}

.roaster-highlight {
    background: white;
    padding: 40px;
    border: 1px solid #e5e7eb;
    margin-top: 30px;
}

.dark .roaster-highlight {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark mode support */
.dark .bg-off-white {
    background-color: #111111 !important;
}

.dark .border-gray-200 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark .text-gray-500 {
    color: #6b7280 !important;
}

.dark .text-gray-400 {
    color: #6b7280 !important;
}

.dark .text-gray-600 {
    color: #9ca3af !important;
}

.text-swiss-red {
    color: #FF3B30 !important;
}

.font-grotesk {
    font-family: 'Inter', sans-serif !important;
}

.font-mono {
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
}

.font-sans {
    font-family: 'Inter', sans-serif !important;
}

@@media (max-width: 768px) {
    .grid.grid-cols-1.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }
    
    .roast-level-indicator {
        flex-direction: column;
        gap: 15px;
    }
    
    .roast-level {
        width: 60px;
        height: 60px;
    }
    
    .roast-label {
        font-size: 10px;
    }
}
