:root {
    --bg-dark: #0f172a;      /* Dark Slate Blue */
    --bg-med: #1e293b;       /* Medium Slate Blue */
    --bg-light: #334155;     /* Light Slate Blue */
    --primary-blue: #3b82f6;
    --primary-green: #10b981;
    --text-light: #e2e8f0;
    --text-med: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-med) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    animation: pulseBg 10s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.hero {
    position: relative;
    z-index: 1;
}

.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2), 0 8px 25px rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.dynamic-tagline {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-med);
    font-weight: 300;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tagline-text {
    opacity: 0;
    position: absolute;
    transition: all 0.8s ease-in-out;
    white-space: nowrap;
}

.tagline-text.active { opacity: 1; transform: translateY(0); }
.tagline-text.next { opacity: 0; transform: translateY(20px); }
.tagline-text.prev { opacity: 0; transform: translateY(-20px); }

.hero .description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: white;
    font-weight: 800;
}

/* Traffic Animation V2 */
.traffic-diagram-v2 {
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    min-height: 400px;
}

/* Diagram Columns */
.diagram-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.orchestrator-column {
    justify-content: center;
}

/* Diagram Nodes */
.diagram-node {
    background: linear-gradient(135deg, var(--bg-med) 0%, var(--bg-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    width: 200px;
}

.diagram-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.diagram-node .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px var(--primary-blue));
}

.diagram-node .label {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
    color: var(--text-med);
}

/* Provider specific styling */
.provider-node {
    width: 180px;
    padding: 1.5rem;
}

/* Animation Layer */
.animation-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 20;
}

/* Animated Dots */
.dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 1s ease-in-out;
    box-shadow: 0 0 8px, 0 0 12px;
    z-index: 25;
}

/* Make dots larger and more visible on mobile */
@media (max-width: 768px) {
    .dot {
        width: 16px;
        height: 16px;
        box-shadow: 0 0 12px, 0 0 20px;
    }
}

/* Force dots to be visible on mobile - override any conflicting rules */
@media (max-width: 768px) {
    .animation-layer .dot {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Dot color variations */
.dot-cache {
    background-color: var(--primary-green);
    box-shadow: 0 0 8px var(--primary-green), 0 0 12px var(--primary-green);
}

.dot-openai {
    background-color: var(--primary-blue);
    box-shadow: 0 0 8px var(--primary-blue), 0 0 12px var(--primary-blue);
}

.dot-anthropic {
    background-color: #8b5cf6;
    box-shadow: 0 0 8px #8b5cf6, 0 0 12px #8b5cf6;
}

.dot-google {
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b, 0 0 12px #f59e0b;
}

/* Traffic Legend V2 */
.traffic-legend-v2 {
    grid-column: 1 / -1; /* Span all columns */
    margin-top: 2rem;
    padding: 2rem;
    padding-top: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.traffic-legend-v2 .legend-item { 
    display: inline-flex; 
    align-items: center; 
    font-size: 0.9rem; 
    color: var(--text-med); 
}

.traffic-legend-v2 .legend-dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    margin-right: 0.5rem;
}

.legend-dot.cache-hit {
    background: var(--primary-green);
}

.legend-dot.openai-miss {
    background: var(--primary-blue);
}

.legend-dot.anthropic-miss {
    background: #8b5cf6;
}

.legend-dot.google-miss {
    background: #f59e0b;
}

/* Old Traffic Animation - Keep for now */
.traffic-diagram {
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid var(--border-color);
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.traffic-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0;
    position: relative;
    min-height: 200px;
}

.traffic-node {
    background: linear-gradient(135deg, var(--bg-med) 0%, var(--bg-light) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    flex: 1;
    max-width: 250px;
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.traffic-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.traffic-node .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 10px var(--primary-blue));
}

.traffic-node .label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    color: var(--text-med);
}

/* Traffic Paths */
.traffic-path {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    z-index: 1;
    border-radius: 2px;
    opacity: 0.3;
}

.send-line { top: 48%; left: 16.67%; width: 33.33%; }
.receive-line { top: 52%; left: 16.67%; width: 33.33%; }
.send-line-2 { top: 48%; left: 50%; width: 33.33%; }
.receive-line-2 { top: 52%; left: 50%; width: 33.33%; }

/* Old animated dots - removed duplicate .dot definition */

.dot-fast-send { background: var(--primary-green); color: var(--primary-green); animation: moveFastSend 1s infinite linear; top: 48%; transform: translateY(-4px); }
.dot-fast-receive { background: var(--primary-green); color: var(--primary-green); animation: moveFastReceive 1s infinite linear; top: 52%; transform: translateY(-4px); }
.dot-slow-send { background: var(--primary-blue); color: var(--primary-blue); animation: moveSlowSend 3s infinite linear; top: 48%; transform: translateY(-4px); }
.dot-slow-receive { background: #8b5cf6; color: #8b5cf6; animation: moveSlowReceive 6s infinite linear; top: 52%; transform: translateY(-4px); }

@keyframes moveFastSend { 0% { left: 16.67%; opacity: 1; } 100% { left: 50%; opacity: 0; } }
@keyframes moveFastReceive { 0% { left: 50%; opacity: 1; } 100% { left: 16.67%; opacity: 0; } }
@keyframes moveSlowSend { 0% { left: 50%; opacity: 1; } 100% { left: 83.33%; opacity: 0; } }
@keyframes moveSlowReceive { 0% { left: 83.33%; opacity: 0; } 20% { opacity: 1; } 100% { left: 50%; opacity: 0; } }

.traffic-legend {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.legend-item { display: inline-flex; align-items: center; margin: 0 2rem 1rem 0; font-size: 0.9rem; color: var(--text-med); }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 0.5rem; }

/* Feature Cards */
.features {
    background: var(--bg-dark);
    padding: 8rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.feature-card {
    padding: 3rem;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--bg-med), var(--bg-light));
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }
.feature-card h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-light); font-weight: 700; position: relative; z-index: 1; }
.feature-card p { color: var(--text-med); line-height: 1.8; font-size: 1.1rem; position: relative; z-index: 1; }

/* Cost Calculator */
.calculator-section {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.calculator-container {
    background: linear-gradient(135deg, var(--bg-med) 0%, var(--bg-light) 100%);
    border-radius: 20px;
    padding: 4rem;
    color: white;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.calculator-content { position: relative; z-index: 1; }
.calculator-title { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 700; text-align: center; }
.calculator-subtitle { text-align: center; font-size: 1.2rem; color: var(--text-med); margin-bottom: 3rem; }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.calculator-inputs { display: flex; flex-direction: column; gap: 2rem; }
.input-group { display: flex; flex-direction: column; }
.input-group label { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-light); }
.input-group input, .input-group select { padding: 1rem; border-radius: 12px; border: 2px solid #475569; background: rgba(0, 0, 0, 0.2); color: white; font-size: 1.1rem; transition: all 0.3s ease; appearance: none; }
.input-group select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 0.75rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; }
.input-group select option { background: var(--bg-med); color: white; }
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--primary-blue); background: rgba(0, 0, 0, 0.3); }

.calculator-results { background: rgba(0, 0, 0, 0.2); border-radius: 15px; padding: 2rem; backdrop-filter: blur(10px); border: 1px solid var(--border-color); }
.result-item { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.result-item:last-child { border-bottom: none; }
.result-label { font-size: 1.1rem; color: var(--text-med); }
.result-value { font-size: 1.3rem; font-weight: 700; font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace; }
.savings { color: var(--primary-green); text-shadow: 0 0 8px var(--primary-green); }
.performance { color: var(--primary-blue); text-shadow: 0 0 8px var(--primary-blue); }
.result-divider { 
    height: 1px; 
    background: var(--border-color); 
    margin: 1rem 0; 
    opacity: 0.5; 
}

/* Email Signup */
.signup-section { background: var(--bg-dark); padding: 8rem 0; text-align: center; }
.signup-container { max-width: 700px; margin: 0 auto; }
.signup-title { font-size: 3.5rem; margin-bottom: 1.5rem; font-weight: 800; color: white; }
.signup-subtitle { font-size: 1.4rem; margin-bottom: 3rem; color: var(--text-med); line-height: 1.7; }

.signup-form { background: linear-gradient(135deg, var(--bg-med), var(--bg-light)); padding: 4rem; border-radius: 25px; box-shadow: 0 25px 50px rgba(0,0,0,0.3); border: 1px solid var(--border-color); }
.form-group { margin-bottom: 2rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.8rem; font-weight: 600; color: var(--text-light); font-size: 1.1rem; }
.form-group input, .form-group select { width: 100%; padding: 1.2rem; border: 2px solid #475569; border-radius: 12px; font-size: 1.1rem; background: rgba(0,0,0,0.2); color: white; transition: all 0.3s ease; appearance: none; }
.form-group select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-position: right 0.75rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; padding-right: 2.5rem; }
.form-group select option { background: var(--bg-med); color: white; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2); }

.submit-btn { background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%); color: white; padding: 1.2rem 3rem; border: none; border-radius: 12px; font-size: 1.2rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3); }
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4); }

/* Footer */
footer { background: var(--bg-dark); color: white; padding: 4rem 0; text-align: center; border-top: 1px solid var(--border-color); }

/* Mobile-specific styles for traffic diagram */
.mobile-path { display: none; }
.dot-mobile { display: none; }

/* Ensure regular dots are visible by default */
.dot { display: block; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .dynamic-tagline { font-size: 1.4rem; }
    .section-title, .signup-title { font-size: 2.5rem; }
    .calculator-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    
    /* Reduce mobile spacing */
    header { padding: 4rem 0; }
    .how-it-works, .features, .signup-section { padding: 4rem 0; }
    .calculator-section { padding: 3rem 0; }
    .section-title { margin-bottom: 2rem; }
    .features-grid { gap: 2rem; margin: 2rem 0; }
    .calculator-container { margin: 1rem 0; padding: 3rem 2rem; }
    .traffic-diagram { margin: 2rem 0; }
    
    .traffic-flow { 
        flex-direction: column; 
        gap: 3rem; 
        align-items: center;
        min-height: 550px; /* Increased height for vertical flow */
    }
    .traffic-node {
        width: 280px;
        max-width: 280px;
        flex: none;
    }
    .traffic-path { display: none; }
    /* Keep .dot visible for JavaScript animation - only hide old CSS animated dots */
    .dot-fast-send, .dot-fast-receive, .dot-slow-send, .dot-slow-receive { display: none; }

    .mobile-path {
        display: block;
        width: 2px;
        height: 18%; /* Adjusted height */
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg, var(--primary-blue), var(--primary-green));
        opacity: 0.3;
    }
    .mobile-send-1 { top: 25%; }
    .mobile-receive-1 { top: 25%; left: calc(50% + 10px); }
    .mobile-send-2 { top: 58%; }
    .mobile-receive-2 { top: 58%; left: calc(50% + 10px); }

    .dot-mobile {
        display: block;
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        z-index: 2;
        box-shadow: 0 0 8px, 0 0 12px;
    }
    .dot-mobile-fast-send { background: var(--primary-green); color: var(--primary-green); animation: moveMobileFastSend 1s infinite linear; left: 50%; transform: translateX(-50%); }
    .dot-mobile-fast-receive { background: var(--primary-green); color: var(--primary-green); animation: moveMobileFastReceive 1s infinite linear; left: calc(50% + 10px); transform: translateX(-50%); }
    .dot-mobile-slow-send { background: var(--primary-blue); color: var(--primary-blue); animation: moveMobileSlowSend 3s infinite linear; left: 50%; transform: translateX(-50%); }
    .dot-mobile-slow-receive { background: #8b5cf6; color: #8b5cf6; animation: moveMobileSlowReceive 6s infinite linear; left: calc(50% + 10px); transform: translateX(-50%); }

    @keyframes moveMobileFastSend { 0% { top: 25%; opacity: 1; } 100% { top: 43%; opacity: 0; } }
    @keyframes moveMobileFastReceive { 0% { top: 43%; opacity: 1; } 100% { top: 25%; opacity: 0; } }
    @keyframes moveMobileSlowSend { 0% { top: 58%; opacity: 1; } 100% { top: 76%; opacity: 0; } }
    @keyframes moveMobileSlowReceive { 0% { top: 76%; opacity: 0; } 20% { opacity: 1; } 100% { top: 58%; opacity: 0; } }

    /* Traffic Diagram V2 Mobile Styles */
    .traffic-diagram-v2 {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem;
        min-height: auto;
    }
    
    .diagram-column {
        margin: 1rem 0;
    }
    
    .providers-column {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .diagram-node {
        width: 180px;
        padding: 1.5rem;
    }
    
    .provider-node {
        width: 140px;
        flex: 1;
        max-width: 140px;
    }
    
    .traffic-legend-v2 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.5rem;
    }
    
    .traffic-legend-v2 .legend-item {
        justify-content: flex-start;
    }

    .traffic-diagram { padding: 2rem; }
    .traffic-legend { text-align: left; }
    .legend-item { display: block; margin: 0 0 0.8rem 0; }
    .signup-form { padding: 2.5rem; }
    
    /* Fix calculator results spacing on mobile */
    .calculator-results { padding: 1.5rem; }
    .result-item { 
        flex-direction: column; 
        align-items: flex-start;
        padding: 0.8rem 0;
        gap: 0.3rem;
    }
    .result-label { 
        font-size: 0.95rem; 
        margin-bottom: 0.2rem;
    }
    .result-value { font-size: 1.2rem; }
}

/* Success and Error Messages */
.success-message, .error-message { padding: 1rem; border-radius: 12px; margin-bottom: 1rem; display: none; text-align: center; font-weight: 600; }
.success-message { background: linear-gradient(135deg, var(--primary-green) 0%, #059669 100%); color: white; box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3); }
.error-message { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); color: white; box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3); }

/* Blog specific styles */
.blog-list {
    background: var(--bg-dark);
    padding: 8rem 0;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.blog-post {
    background: linear-gradient(145deg, var(--bg-med), var(--bg-light));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.blog-post h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.blog-post .meta {
    color: var(--text-med);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-post .summary {
    color: var(--text-med);
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-green);
}

/* Single blog post */
.blog-single {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.blog-single article {
    background: linear-gradient(145deg, var(--bg-med), var(--bg-light));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.blog-single h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-single .meta {
    color: var(--text-med);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.blog-single .content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-single .content h2,
.blog-single .content h3,
.blog-single .content h4 {
    color: white;
    margin: 2rem 0 1rem 0;
}

.blog-single .content p {
    margin-bottom: 1.5rem;
}

.blog-single .content pre {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.blog-single .content code {
    background: var(--bg-dark);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}