/* Basic styling for evcc-online website */

:root {
    --primary: #1a73e8;
    --secondary: #34a853;
    --text: #202124;
    --text-light: #5f6368;
    --bg: #f5f6f7;
    --bg-light: #eceef0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

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

/* Header & Navigation */
header {
    background: var(--bg);
    border-bottom: 1px solid #e8eaed;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

nav ul a:hover {
    color: var(--primary);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)), url('/static/solar-hero.jpg');
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 1.5rem 0 2.5rem 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
}

.hero-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero .btn-primary {
    background: white;
    color: var(--primary);
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero .btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

/* Value Proposition Section */
.value-prop {
    padding: 4rem 0;
    background: var(--bg);
}

.value-prop h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.subtitle {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.value-prop-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.value-prop-screenshot {
    flex: 1;
    min-width: 0;
}

.value-prop-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.value-prop-benefits {
    flex: 1;
    min-width: 0;
}

.value-prop-benefits h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.value-prop-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-prop-benefits li {
    font-size: 1.15rem;
    padding: 1.25rem 1.5rem;
    padding-left: 3rem;
    color: var(--text);
    line-height: 1.6;
    background: #f8fafb;
    border-left: 4px solid var(--secondary);
    border-radius: 8px;
    position: relative;
}

.value-prop-benefits li::before {
    content: "✓";
    position: absolute;
    left: 1.25rem;
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .value-prop-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .price-unit {
        display: block;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        margin: 1.25rem 0 2rem 0;
    }
    
    .hero-feature-item {
        font-size: 1rem;
    }
    
    .hero-icon {
        width: 42px;
        height: 42px;
    }
    
    .whatsapp-section h2 {
        font-size: 1.5rem;
    }
    
    .whatsapp-text {
        font-size: 1rem;
    }
    
    .chat-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-whatsapp,
    .btn-signal,
    .btn-email {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .email-address {
        font-size: 0.85rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-light);
}

/* Pricing Teaser Section */
.pricing-teaser {
    padding: 4rem 0;
    background: var(--bg);
    text-align: center;
}

.pricing-teaser h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.price-highlight {
    margin: 2rem 0;
}

.price-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.price-amount span {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
}

.trial-badge {
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 500;
    margin: 1rem 0 2rem 0;
}

/* CTA Secondary Section */
.cta-secondary {
    padding: 4rem 0;
    background: var(--primary);
    color: white;
    text-align: center;
}

.cta-secondary h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-secondary p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-secondary .btn-primary {
    background: white;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Pricing Page */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.pricing-plan {
    padding: 4rem 0;
    background: var(--bg-light);
}

.plan-card {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
}

.plan-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price .currency {
    font-size: 2rem;
    font-weight: 600;
}

.price .amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
}

.price .period {
    font-size: 1.25rem;
    color: var(--text-light);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--bg-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.trial-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.trial-info h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.trial-info p {
    color: var(--text-light);
    margin: 0;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.pricing-faq {
    padding: 4rem 0;
    background: white;
}

.pricing-faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Compatibility Section */
.compatibility-section {
    padding: 4rem 0;
    background: white;
}

.compatibility-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.compatibility-section .subtitle {
    text-align: center;
}

.compatibility-grid {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.compatibility-grid > * {
    flex: 1 1 400px;
}

.compatibility-card {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.compatibility-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.compatibility-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

/* WhatsApp Section */
.whatsapp-section {
    padding: 4rem 0;
    background: var(--bg);
    text-align: center;
}

.whatsapp-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.whatsapp-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.chat-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: #25D366;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-signal {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: #3A76F0;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #3A76F0;
}

.btn-signal:hover {
    background: #2E5FC7;
    border-color: #2E5FC7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 118, 240, 0.3);
}

.btn-signal svg {
    flex-shrink: 0;
}

.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2rem;
    background: var(--text);
    color: white;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    border: 2px solid var(--text);
    position: relative;
    cursor: default;
}

.btn-email svg {
    flex-shrink: 0;
}

.email-address {
    user-select: all;
    cursor: text;
    font-family: monospace;
    font-size: 0.95rem;
    padding: 0.2rem 0;
    display: inline-block;
}

.copy-email-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 4px;
    padding: 0.35rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    margin-left: 0.25rem;
}

.copy-email-btn:hover {
    background: rgba(255,255,255,0.3);
}

.copy-email-btn svg {
    width: 16px;
    height: 16px;
    color: white;
}

.whatsapp-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Signup Page */
.signup-hero {
    background: var(--bg-light);
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.signup-hero h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.signup-hero .lead {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.signup-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.signup-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e8eaed;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.signup-benefits {
    border-top: 2px solid var(--bg-light);
    padding-top: 2rem;
}

.signup-benefits h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.signup-benefits ul {
    list-style: none;
    padding: 0;
}

.signup-benefits li {
    padding: 0.5rem 0;
    color: var(--text);
}

.signup-success {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.signup-success h1 {
    color: var(--secondary);
    margin-bottom: 2rem;
}

.success-message {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.success-message .lead {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.early-stage-notice {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.early-stage-notice h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.early-stage-notice p {
    color: var(--text);
    margin-bottom: 1rem;
}

.early-stage-notice p:last-child {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--text);
    color: white;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer p {
    opacity: 0.8;
    margin: 0;
    margin-top: 0.5rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.7;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

/* Landing Page Specific Styles */
.landing-page .hero {
    padding: 5rem 0;
}

/* Feature Cards (landing page benefits) */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.landing-page .hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.landing-page .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.landing-page .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Benefits Section */
.landing-page .benefits {
    padding: 4rem 0;
    background: white;
}

.landing-page .benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

/* How It Works Section */
.landing-page .how-it-works {
    padding: 4rem 0;
    background: var(--bg);
}

.landing-page .how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--evcc-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* evcc Info Section */
.evcc-info {
    padding: 4rem 0;
    background: white;
}

.evcc-info h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.evcc-info-content {
    max-width: 800px;
    margin: 0 auto;
}

.evcc-info-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.evcc-info-content a {
    color: var(--evcc-blue);
    text-decoration: none;
}

.evcc-info-content a:hover {
    text-decoration: underline;
}

/* Responsive adjustments for landing pages */
@media (max-width: 768px) {
    .landing-page .hero h1 {
        font-size: 2rem;
    }
    
    .landing-page .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

/* Algorithm Explainer Page */
.algorithm-explainer .content-section {
    padding: 4rem 0;
    background: white;
}

.explainer-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.explainer-content .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.explainer-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.explainer-content p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.explainer-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.explainer-content li {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.explainer-content hr {
    border: none;
    border-top: 2px solid var(--bg-light);
    margin: 3rem 0;
}

/* Blog Styles */
.blog-hero {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.blog-hero .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.lang-toggle a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.lang-toggle a:hover {
    color: var(--primary);
}

.lang-toggle a.active {
    color: var(--primary);
}

.blog-list {
    padding: 3rem 0;
    background: white;
}

.blog-post-preview {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--bg-light);
}

.blog-post-preview:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.blog-post-preview h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-post-preview h2 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-preview h2 a:hover {
    color: var(--primary);
}

.blog-post-preview .excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Individual Blog Post */
.blog-post {
    padding: 3rem 0;
    background: white;
}

.post-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.post-header .lang-toggle {
    margin-bottom: 1.5rem;
}

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

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 0;
    color: var(--text);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
}

.post-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.post-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content a {
    color: var(--primary);
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* Blog post tables */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border-radius: 8px;
}

.post-content thead {
    background: #f5f6f7;
    color: var(--text);
}

.post-content th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.post-content th:last-child {
    border-right: none;
}

.post-content td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bg-light);
    border-right: 1px solid var(--bg-light);
}

.post-content td:last-child {
    border-right: none;
}

.post-content tbody tr {
    background: white;
    transition: background-color 0.2s;
}

.post-content tbody tr:hover {
    background: #fafbfc;
}

.post-content tbody tr:last-child td {
    border-bottom: none;
}

/* Make table scrollable on small screens */
@media (max-width: 768px) {
    .post-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        font-size: 0.85rem;
    }
    
    .post-content th,
    .post-content td {
        padding: 0.75rem 1rem;
    }
}

.post-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
}

.back-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    /* Mobile Footer */
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact {
        margin-bottom: 0.5rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        gap: 0;
        border-bottom: 1px solid #e8eaed;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e8eaed;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 20px;
        width: 100%;
    }
    
    nav .container {
        position: relative;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .blog-post-preview h2 {
        font-size: 1.5rem;
    }
    
    /* Mobile Compatibility Section */
    .compatibility-section h2 {
        font-size: 2rem;
    }
}

