/* Base Styles */
:root {
    --primary-color: #0088cc;
    --secondary-color: #e74c3c;
    --text-color: #333;
    --light-text: #666;
    --background-color: #fff;
    --light-background: #f9f9f9;
    --border-color: #ddd;
    --success-color: #27ae60;
    --font-family: 'Source Sans Pro', sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 18px;
    background-color: var(--background-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #006699;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0.5em;
}

h2 {
    font-size: 2rem;
    margin-top: 1.5em;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1em;
}

p {
    margin-bottom: 1em;
}

ul, ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

/* Header Styles */
.site-header {
    background-color: #e60000;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 40px;
}

.advertorial-label {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Article Header */
.article-header {
    text-align: center;
    margin: 2em 0 3em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-header h1 {
    color: var(--secondary-color);
    font-size: 2.8rem;
    margin-bottom: 0.3em;
}

.article-header h2 {
    color: var(--light-text);
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5em;
}

.article-meta {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 2em;
}

.article-meta .author {
    margin-right: 15px;
}

/* Content Sections */
.content {
    padding: 2em 0 4em;
}

section {
    margin-bottom: 4em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--border-color);
}

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

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #444;
}

/* Opening Narrative */
.story-container {
    display: flex;
    gap: 30px;
    margin-bottom: 2em;
    align-items: flex-start;
}

.story-image {
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.story-content {
    flex: 1;
}

.expert-quote {
    background-color: var(--light-background);
    padding: 2em;
    border-left: 4px solid var(--primary-color);
    margin: 2em 0;
    font-style: italic;
}

.expert-quote cite {
    display: block;
    margin-top: 1em;
    font-style: normal;
    font-weight: 600;
}

/* Two Column Layout */
.two-column {
    display: flex;
    gap: 40px;
    margin: 2em 0;
}

.two-column > div {
    flex: 1;
}

/* Infographic */
.infographic {
    margin: 3em 0;
    text-align: center;
}

.full-width-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 0.5em;
    text-align: center;
}

/* Timeline */
.timeline {
    margin: 3em 0;
    position: relative;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 120px;
    width: 4px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2em;
    padding-left: 160px;
}

.timeline-date {
    position: absolute;
    left: 0;
    width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-content {
    background-color: var(--light-background);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-image {
    margin-top: 1em;
    border-radius: 6px;
}

/* Inline Quote */
.inline-quote {
    font-style: italic;
    padding: 1em 2em;
    border-left: 3px solid var(--border-color);
    margin: 1.5em 0;
    background-color: rgba(0, 0, 0, 0.02);
}

.inline-quote cite {
    display: block;
    margin-top: 0.5em;
    font-style: normal;
    font-weight: 600;
    font-size: 0.9em;
}

/* Case Study */
.case-study {
    background-color: var(--light-background);
    padding: 2em;
    border-radius: 8px;
    margin: 3em 0;
}

.case-study-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.case-study-image {
    width: 300px;
    border-radius: 8px;
}

/* Product Information */
.product-overview {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 2em 0;
}

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

.product-image {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-description {
    flex: 1;
}

/* Testimonials */
.testimonial-story {
    display: flex;
    gap: 30px;
    margin-bottom: 3em;
    align-items: flex-start;
}

.testimonial-story.reverse {
    flex-direction: row-reverse;
}

.testimonial-image {
    width: 250px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
}

.testimonial-meta {
    color: var(--light-text);
    margin-bottom: 1em;
}

.rating {
    margin-top: 1em;
}

.stars {
    color: #f39c12;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.verified-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 10px;
    vertical-align: middle;
}

.trust-indicators {
    margin-top: 3em;
    text-align: center;
}

.trustpilot {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-background);
    padding: 1em 2em;
    border-radius: 8px;
}

.trustpilot-logo {
    height: 40px;
    margin-right: 20px;
}

.rating-stars {
    color: #00b67a;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Expert Panel */
.expert-panel {
    margin: 2em 0;
}

.expert {
    display: flex;
    gap: 30px;
    margin-bottom: 2em;
    padding-bottom: 2em;
    border-bottom: 1px solid var(--border-color);
}

.expert:last-child {
    border-bottom: none;
}

.expert-image {
    width: 150px;
    border-radius: 50%;
}

.expert-content {
    flex: 1;
}

.expert-name {
    color: var(--light-text);
    margin-bottom: 1em;
}

.research-references {
    background-color: var(--light-background);
    padding: 1.5em;
    border-radius: 8px;
    margin-top: 2em;
}

/* Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 2em 0;
}

.resource-card {
    background-color: var(--light-background);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.resource-link {
    display: inline-block;
    margin-top: 1em;
    font-weight: 600;
}

/* Call to Action */
.soft-cta {
    background-color: var(--light-background);
    padding: 3em;
    border-radius: 12px;
    text-align: center;
    margin: 3em 0;
}

.cta-text {
    max-width: 800px;
    margin: 0 auto 2em;
    font-size: 1.1rem;
}

.cta-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 3em;
}

.cta-option {
    flex: 1;
    max-width: 300px;
    background-color: white;
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 1em;
    width: 100%;
}

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

.button.primary:hover {
    background-color: #006699;
}

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

.button.secondary:hover {
    background-color: #f0f8ff;
}

.region-selector {
    margin-top: 3em;
}

.region-dropdown {
    max-width: 400px;
    margin: 1em auto 0;
}

.region-dropdown select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-family);
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 3em 0 1em;
}

.footer-content {
    display: flex;
    gap: 40px;
    margin-bottom: 2em;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1em;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5em;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    border-top: 1px solid #444;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .story-container, 
    .two-column, 
    .case-study-content, 
    .product-overview, 
    .testimonial-story,
    .testimonial-story.reverse,
    .expert,
    .footer-content {
        flex-direction: column;
    }
    
    .story-image, 
    .case-study-image, 
    .testimonial-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto 1.5em;
    }
    
    .timeline:before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-date {
        position: relative;
        left: auto;
        width: auto;
        text-align: left;
        margin-bottom: 0.5em;
        margin-left: -30px;
    }
    
    .cta-options {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-option {
        width: 100%;
        max-width: 400px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .article-header h2 {
        font-size: 1.2rem;
    }
    
    .soft-cta {
        padding: 2em 1.5em;
    }
}
