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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
}

h2 {
    font-size: 2rem;
    color: #2c5aa0;
}

h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #6c757d;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.btn-primary:hover {
    background-color: #1e3d72;
    border-color: #1e3d72;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    color: #2c5aa0;
    border-color: #2c5aa0;
}

.btn-outline:hover {
    background-color: #2c5aa0;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

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

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 10px;
}

.cookie-content p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #6c757d;
}

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

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.cookie-category label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 10px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
}

.cookie-category p {
    margin-left: 24px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #2c5aa0;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: #f8f9fa;
    color: #2c5aa0;
}

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

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

/* Main Content */
main {
    margin-top: 80px;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.banner-text h1 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.banner-text .lead {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-svg {
    width: 100%;
    height: auto;
    max-width: 500px;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

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

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.about-stats {
    display: grid;
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 8px;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
}

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

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

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

.service-icon {
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 20px;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 24px;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 6px 0;
    color: #6c757d;
    border-bottom: 1px solid #f8f9fa;
}

.service-card li:last-child {
    border-bottom: none;
}

/* Testimonials Section */
.testimonials {
    background-color: #f8f9fa;
}

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

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial-content {
    margin-bottom: 30px;
}

.quote-icon {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-info h4 {
    margin-bottom: 5px;
    color: #2c5aa0;
}

.author-info p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

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

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-date {
    color: #6c757d;
}

.blog-category {
    color: #2c5aa0;
    font-weight: 500;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: #2c5aa0;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #1e3d72;
}

.blog-content p {
    color: #6c757d;
    margin-bottom: 20px;
}

.read-more {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: #1e3d72;
}

/* Blog Articles */
.blog-article {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.back-to-blog {
    background: none;
    border: none;
    color: #2c5aa0;
    font-size: 1rem;
    cursor: pointer;
    margin-bottom: 30px;
    padding: 8px 0;
}

.back-to-blog:hover {
    color: #1e3d72;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

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

.article-date {
    color: #6c757d;
}

.article-category {
    color: #2c5aa0;
    font-weight: 500;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.article-body h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
    color: #495057;
}

/* Subscription Section */
.subscription {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d72 100%);
    color: white;
}

.subscription .section-header h2,
.subscription .section-header p {
    color: white;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.subscription-info h3 {
    color: white;
    margin-bottom: 25px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.pricing {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.price-tag .price {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    display: block;
}

.price-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.subscription-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.legal-link {
    color: #2c5aa0;
    text-decoration: none;
}

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

.error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Legal Section */
.legal {
    background-color: #f8f9fa;
}

.legal-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.legal-tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    color: #6c757d;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.legal-tab.active,
.legal-tab:hover {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
}

.legal-content {
    display: none;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content.active {
    display: block;
}

.legal-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text h3:first-child {
    margin-top: 0;
}

.legal-text h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    color: #495057;
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-text li {
    margin-bottom: 8px;
    color: #495057;
}

.legal-text a {
    color: #2c5aa0;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #2c5aa0;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-brand svg {
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item svg {
    color: rgba(255,255,255,0.8);
    flex-shrink: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
}

.contact-item a:hover {
    color: rgba(255,255,255,0.8);
}

.contact-item address {
    font-style: normal;
    line-height: 1.4;
}

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

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

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

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

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

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

.footer-bottom-content {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-bottom-content p {
    margin-bottom: 5px;
}

/* Thanks Page */
.thanks-page {
    padding: 60px 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 140px);
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.thanks-icon {
    margin-bottom: 30px;
}

.thanks-content h1 {
    margin-bottom: 30px;
    color: #28a745;
}

.thanks-message {
    text-align: left;
    margin: 40px 0;
}

.next-steps {
    margin: 40px 0;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 30px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2c5aa0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 8px;
    color: #2c5aa0;
}

.step-content p {
    color: #6c757d;
    margin: 0;
}

.contact-info-box {
    background: #e3f2fd;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.contact-info-box h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.contact-info-box p {
    text-align: center;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-method a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.contact-method a:hover {
    text-decoration: underline;
}

.social-proof {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.social-proof h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c5aa0;
}

.testimonial-preview blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: #495057;
    text-align: center;
    margin-bottom: 15px;
}

.testimonial-preview cite {
    display: block;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .banner-text h1 {
        font-size: 2.2rem;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .subscription-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }
    
    .steps-list {
        gap: 20px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .article-content {
        padding: 40px 30px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .legal-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .legal-tab {
        flex: 1;
        min-width: 120px;
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .legal-content {
        padding: 30px 25px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .banner {
        padding: 80px 0;
    }
    
    .banner-text h1 {
        font-size: 1.8rem;
    }
    
    .banner-text .lead {
        font-size: 1.1rem;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .subscription-form {
        padding: 30px 20px;
    }
    
    .thanks-content {
        padding: 40px 25px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .modal,
    .footer {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    a {
        text-decoration: none;
    }
    
    .btn {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #333;
    }
}
