/* Reset y Variables */
:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c2a;
    --accent-color: #6b9f3d;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    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-dark);
    background-color: var(--bg-white);
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Offers Banner */
.offers-banner {
    background-color: var(--warning-color);
    padding: 1rem 0;
    text-align: center;
}

.offer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.offer-badge {
    font-weight: bold;
    font-size: 1.1rem;
}

.offer-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

.offer-link:hover {
    text-decoration: underline;
}

/* Ranking Section */
.ranking-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Product Cards */
.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    flex-shrink: 0;
    width: 300px;
    min-width: 300px;
    text-align: center;
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-card.winner {
    border: 3px solid var(--success-color);
    background: linear-gradient(to bottom, #ffffff 0%, #f0f8f0 100%);
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
}

.product-main {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.product-info {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Evita que el contenido se desborde */
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.product-badge.winner-badge {
    background-color: var(--success-color);
    font-size: 1.1rem;
}

.badge-number {
    font-size: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-name {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.product-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.product-score {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    font-size: 1rem;
}

.product-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    order: 3;
}

.product-cta {
    order: 4;
    width: 100%;
    text-align: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.benefit-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.cta-button.secondary {
    background-color: var(--text-light);
}

.cta-button.secondary:hover {
    background-color: var(--text-dark);
}

.product-cta {
    text-align: center;
}

/* Special Offer Section */
.special-offer-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
}

.special-offer-card {
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 3px solid var(--warning-color);
    max-width: 1000px;
    margin: 0 auto;
}

.offer-badge-special {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.offer-content {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: center;
}

.offer-image-container {
    flex: 0 0 300px;
    max-width: 300px;
}

.offer-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.offer-info {
    flex: 1;
}

.offer-title {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.offer-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1.2rem;
}

.price-new {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
}

.price-discount {
    background-color: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
}

.offer-features {
    margin-bottom: 1.5rem;
}

.offer-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.offer-features li {
    color: var(--text-dark);
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.offer-cta {
    margin-top: 1.5rem;
}

/* Popular Offers */
.popular-offers {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offer-card-large {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.offer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offer-card-large h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.offer-card-large p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.offer-code {
    display: block;
    background-color: var(--warning-color);
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Experts Section */
.experts-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expert-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.expert-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.expert-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

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

/* Methodology Section */
.methodology-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.methodology-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

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

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

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.blog-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    margin-top: 0.5rem;
}

.blog-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 900px;
    margin: 2rem auto 0;
}

.faq-item {
    background-color: var(--bg-light);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    margin: 0;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.faq-answer ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background-color: var(--warning-color);
    color: var(--text-dark);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #ffd54f;
}

.newsletter-message {
    margin-top: 1rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .product-header {
        flex-direction: column;
        gap: 1rem;
    }

    .product-main {
        flex-direction: column;
    }

    .product-image-container {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .product-image {
        max-width: 250px;
    }

    .product-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .offer-content {
        flex-direction: column;
    }

    .offer-image-container {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .offer-features ul {
        grid-template-columns: 1fr;
    }

    .offer-content {
        flex-direction: column;
    }

    .offer-image-container {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .offer-features ul {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2a 100%);
    color: white;
    padding: 3rem 0 2rem;
}

.back-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
    transition: color 0.3s;
}

.back-link:hover {
    color: white;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-category {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.article-content {
    padding: 3rem 0;
    background-color: var(--bg-white);
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-body h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.article-body h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-body h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

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

.article-body li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.article-body a:hover {
    color: var(--secondary-color);
}

.matcha-type-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.matcha-type-card.ceremonial {
    border-left-color: var(--success-color);
}

.matcha-type-card.barista {
    border-left-color: var(--accent-color);
}

.matcha-type-card.culinario {
    border-left-color: var(--warning-color);
}

.matcha-type-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.matcha-type-card ul {
    margin-top: 1rem;
}

.matcha-type-card li {
    margin-bottom: 0.5rem;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:hover {
    background-color: var(--bg-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.choosing-guide {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.choosing-guide h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.choosing-guide h3:first-child {
    margin-top: 0;
}

.quality-tips {
    background-color: #f0f8f0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--success-color);
}

.quality-tips h3 {
    color: var(--success-color);
    margin-top: 0;
}

.article-cta {
    text-align: center;
    margin: 3rem 0 2rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.article-cta .cta-button {
    background-color: var(--primary-color);
    color: #ffffff !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(45, 80, 22, 0.2);
}

.article-cta .cta-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

.article-cta .cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(45, 80, 22, 0.2);
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-body h2 {
        font-size: 1.75rem;
    }

    .article-body h3 {
        font-size: 1.3rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Additional Article Styles */
.tools-section {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.tools-section .note {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.tools-section .note.attention {
    background-color: #e7f3ff;
    border-left: 4px solid #2196F3;
    margin-top: 1rem;
}

.preparation-steps {
    margin: 2rem 0;
}

.preparation-steps h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.preparation-steps h3:first-child {
    margin-top: 0;
}

.modern-preparations {
    margin: 2rem 0;
}

.recipe-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent-color);
}

.recipe-card h4 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.recipe-card h4:first-child {
    margin-top: 0;
}

.recipe-card .tip {
    background-color: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-style: italic;
}

.other-recipes {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.other-recipes h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.other-recipes h4:first-child {
    margin-top: 0;
}

/* Benefit Section Styles */
.benefit-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.benefit-section h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.source-note {
    background-color: #f0f8f0;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-style: italic;
}

.source-section {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0 2rem;
}

.source-section h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.source-section .disclaimer {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Legal Page Styles */
.legal-page {
    padding: 3rem 0;
    background-color: var(--bg-white);
}

.legal-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    justify-content: center;
}

.legal-nav a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}

.legal-nav a:hover {
    background-color: var(--primary-color);
    color: white;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-section h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

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

.methodology-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.methodology-item h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.methodology-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.legal-update {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }

    .legal-nav {
        flex-direction: column;
    }

    .legal-nav a {
        text-align: center;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.25rem;
    }

    .methodology-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-name {
        font-size: 1.5rem;
    }
}

