/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --winner-gold: #f59e0b;
    --winner-frame: #d1d5db;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.logo .health {
    color: var(--primary-color);
}

.tagline {
    font-size: 14px;
    color: var(--text-gray);
    font-style: italic;
}

.powered-by {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-style: italic;
}

.powered-by .which-logo {
    height: 24px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.header-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 60px 0 25px 0;
    margin-bottom: 0;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.author-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    width: 100%;
}

.hero-image {
    margin: 30px 0;
    text-align: center;
    width: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 30px;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
}

.test-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.badge-icon {
    background: var(--secondary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Article Content */
.article-content {
    background: var(--bg-white);
    padding: 20px 0 40px 0;
    margin-bottom: 40px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3;
}

.content-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--text-dark);
}

.content-section p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-section strong {
    color: var(--primary-color);
    font-weight: 700;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 30px;
}

.content-section li {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Product Comparison Cards */
.products-section {
    padding: 40px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
    color: var(--text-dark);
}

.product-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-areas: "left header" "left details";
    gap: 30px;
    align-items: start;
}

.product-card-header {
    grid-area: header;
}

.product-card-left {
    grid-area: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.product-image-container {
    text-align: center;
}

.product-card-details {
    grid-area: details;
}

.product-card.winner {
    border: 3px solid var(--winner-frame);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.product-image {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.product-cta-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 200px;
    margin-top: 10px;
}

.product-cta-button.primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.product-cta-button.secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image a {
    display: block;
    cursor: pointer;
}

.product-image a:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-card.winner .product-image {
    background: #f3f4f6;
    border: 2px solid var(--winner-frame);
}

.product-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.product-card.winner .product-number {
    background: linear-gradient(135deg, var(--winner-gold) 0%, #d97706 100%);
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-description {
    font-size: 19px;
    line-height: 1.9;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.product-tech {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-tech {
    font-size: 19px;
}

.product-tech strong {
    color: var(--primary-color);
    font-size: 19px;
}

.product-catch {
    background: #fef2f2;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    margin-bottom: 15px;
}

.product-catch {
    font-size: 19px;
}

.product-catch strong {
    color: #ef4444;
    font-size: 19px;
}

.product-verdict {
    background: #f0fdf4;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-card.winner .product-verdict {
    background: #fffbeb;
    border-left-color: var(--winner-gold);
}

/* Special Update Section */
.special-update {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid var(--winner-gold);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
}

.special-update h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.special-update p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.promise-list {
    text-align: left;
    max-width: 600px;
    margin: 30px auto;
    list-style: none;
    padding: 0;
}

.promise-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

.promise-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 24px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px 0;
    background: var(--bg-white);
    margin: 40px 0;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4), var(--shadow-lg);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.5), var(--shadow-xl);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-disclosure {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
}

.footer-disclosure p {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .product-card {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Wrapper becomes transparent so order is: header, image, details, CTA */
    .product-card-left {
        display: contents;
    }

    .product-card-header {
        order: 1;
    }

    .product-image-container {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-card-details {
        order: 3;
    }

    .product-card .product-cta-button {
        order: 4;
        align-self: center;
    }

    .product-number {
        margin-bottom: 0;
        width: fit-content;
    }

    .product-name {
        margin-bottom: 0;
    }

    .product-tech {
        margin-top: 0;
    }

    .product-description {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 20px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .powered-by {
        justify-content: center;
    }

    .header-meta {
        font-size: 14px;
    }

    .tagline {
        font-size: 16px;
    }

    .hero {
        padding: 40px 0;
    }

    .author-avatar-small {
        width: 28px;
        height: 28px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.3;
        color: var(--text-dark);
        letter-spacing: -0.3px;
        text-align: left;
    }

    .hero-image {
        margin: 25px 0;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 22px;
        line-height: 1.6;
        color: var(--text-dark);
        text-align: left;
    }

    .article-meta {
        font-size: 16px;
    }

    .content-section h2 {
        font-size: 32px;
        line-height: 1.4;
    }

    .content-section h3 {
        font-size: 26px;
    }

    .content-section p {
        font-size: 20px;
        line-height: 1.9;
    }

    .content-section li {
        font-size: 20px;
        line-height: 1.9;
    }

    .section-title {
        font-size: 32px;
    }

    .product-name {
        font-size: 26px;
    }

    .product-tech,
    .product-catch,
    .product-verdict {
        font-size: 19px;
    }

    .product-tech strong,
    .product-catch strong {
        font-size: 19px;
    }

    .product-card {
        padding: 25px;
    }

    .product-cta-button {
        font-size: 18px;
        padding: 14px 28px;
        max-width: 100%;
    }

    .special-update {
        padding: 30px;
    }

    .special-update h3 {
        font-size: 30px;
    }

    .special-update p {
        font-size: 20px;
    }

    .promise-list li {
        font-size: 20px;
    }

    .cta-button {
        font-size: 22px;
        padding: 22px 40px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 20px;
    }

    .container {
        padding: 0 15px;
    }

    .logo h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 16px;
    }

    .author-avatar-small {
        width: 26px;
        height: 26px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        color: var(--text-dark);
        letter-spacing: -0.2px;
        text-align: left;
    }

    .hero-image {
        margin: 20px 0;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 1.6;
        color: var(--text-dark);
        text-align: left;
    }

    .article-meta {
        font-size: 15px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .content-section h3 {
        font-size: 24px;
    }

    .content-section p {
        font-size: 20px;
    }

    .content-section li {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .product-name {
        font-size: 24px;
    }

    .product-tech,
    .product-catch,
    .product-verdict {
        font-size: 19px;
    }

    .special-update h3 {
        font-size: 26px;
    }

    .special-update p {
        font-size: 20px;
    }

    .promise-list li {
        font-size: 20px;
    }

    .cta-button {
        padding: 20px 35px;
        font-size: 22px;
    }
}

