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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: #2c5282;
    transition: color 0.3s ease;
}

a:hover {
    color: #2a4d7a;
}

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

/* Buttons */
.btn-primary {
    background-color: #2c5282;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #2a4d7a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #2c5282;
    padding: 12px 24px;
    border: 2px solid #2c5282;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #2c5282;
    color: white;
    transform: translateY(-1px);
}

.btn-text {
    background: none;
    border: none;
    color: #2c5282;
    cursor: pointer;
    font-size: 16px;
    text-decoration: underline;
    padding: 8px 0;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #2c5282;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: #4a5568;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: #2c5282;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c5282;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    transition: all 0.3s ease;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 80px 0;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 20px;
    color: #4a5568;
    margin-bottom: 32px;
    line-height: 1.6;
}

.banner-image img {
    width: 100%;
    max-width: 500px;
}

/* Content Sections */
.about, .services, .process, .testimonials, .subscription {
    padding: 80px 0;
}

.about {
    background-color: #f7fafc;
}

.about h2, .services h2, .process h2, .testimonials h2, .subscription h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #2d3748;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 24px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat h3 {
    font-size: 32px;
    font-weight: 700;
    color: #2c5282;
    margin-bottom: 8px;
}

.stat p {
    color: #4a5568;
    font-size: 16px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
}

/* Process Steps */
.process {
    background-color: #f7fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: #2c5282;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 16px;
}

.step p {
    color: #4a5568;
    line-height: 1.6;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial img {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.testimonial p {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 16px;
}

.testimonial h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.testimonial span {
    color: #718096;
    font-size: 14px;
}

/* Subscription */
.subscription {
    background-color: #2c5282;
    color: white;
    text-align: center;
}

.subscription h2 {
    color: white;
}

.subscription p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.subscription-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscription-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
}

.subscription-form button {
    background-color: white;
    color: #2c5282;
    flex-shrink: 0;
}

.subscription-form button:hover {
    background-color: #f7fafc;
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 48px 0 24px;
}

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

.footer-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-section p, .footer-section li {
    color: #a0aec0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

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

.footer-section a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #4a5568;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #2c5282;
}

.social-links img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 24px;
    text-align: center;
    color: #a0aec0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2d3748;
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 14px;
}

/* Cookie Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1001;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 32px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #4a5568;
}

.close:hover {
    color: #2d3748;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.cookie-category p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Styles */
.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 24px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-content h2 a {
    color: #2d3748;
}

.article-content h2 a:hover {
    color: #2c5282;
}

.article-excerpt {
    color: #4a5568;
    margin-bottom: 16px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #718096;
}

.article-date, .article-category {
    background-color: #f7fafc;
    padding: 4px 8px;
    border-radius: 4px;
}

.read-more {
    color: #2c5282;
    font-weight: 500;
    font-size: 14px;
}

/* Article Page */
.article-page {
    padding: 40px 0 80px;
}

.article-header {
    margin-bottom: 40px;
}

.breadcrumb {
    margin-bottom: 16px;
    font-size: 14px;
    color: #718096;
}

.breadcrumb a {
    color: #2c5282;
}

.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
    line-height: 1.3;
}

.reading-time {
    background-color: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
}

.article-featured-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 40px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 32px 0 16px;
}

.article-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 24px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
    color: #4a5568;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
    color: #4a5568;
}

.article-content strong {
    color: #2d3748;
    font-weight: 600;
}

.article-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-share h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2d3748;
}

.social-share {
    display: flex;
    gap: 12px;
}

.social-share a {
    padding: 8px 16px;
    background-color: #f7fafc;
    border-radius: 6px;
    font-size: 14px;
    color: #2c5282;
    transition: background-color 0.3s ease;
}

.social-share a:hover {
    background-color: #e2e8f0;
}

.back-to-blog {
    font-size: 16px;
    color: #2c5282;
    font-weight: 500;
}

/* Thank You Page */
.thank-you {
    padding: 80px 0;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
}

.thank-you h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
}

.thank-you p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 24px;
    line-height: 1.6;
}

.thank-you-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

/* Legal Pages */
.legal-page {
    padding: 40px 0 80px;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.last-updated {
    color: #718096;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-page h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2d3748;
    margin: 40px 0 20px;
}

.legal-page h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2d3748;
    margin: 32px 0 16px;
}

.legal-page h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin: 24px 0 12px;
}

.legal-page p {
    margin-bottom: 16px;
    color: #4a5568;
    line-height: 1.7;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
    color: #4a5568;
    line-height: 1.6;
}

.legal-page strong {
    color: #2d3748;
    font-weight: 600;
}

/* Cookies Table */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cookies-table th {
    background-color: #f7fafc;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 1px solid #e2e8f0;
}

.cookies-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #4a5568;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .subscription-form {
        flex-direction: column;
    }
    
    .subscription-form input {
        min-width: auto;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cookies-table {
        font-size: 14px;
    }
    
    .modal-content {
        width: 95%;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .banner-text h1 {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .service-card, .testimonial {
        padding: 24px;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 12px 8px;
    }
    
    .modal-content {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header, .footer, .cookie-banner, .modal {
        display: none;
    }
    
    .article-page, .legal-page {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    
    .article-content img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #2c5282;
    outline-offset: 2px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}
