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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

ul {
    list-style: none;
}

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

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
}

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

.btn-tertiary:hover {
    background-color: #6c757d;
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    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;
    gap: 20px;
}

.cookie-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: white;
}

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

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

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.25rem;
    color: #007bff;
}

.logo-icon {
    width: 32px;
    height: 32px;
    stroke: #007bff;
    stroke-width: 2;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007bff;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 80px;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-button {
    background-color: #007bff;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.hero-graphic {
    display: flex;
    justify-content: center;
}

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

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #ffffff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.service-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    stroke: #007bff;
    stroke-width: 2;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: #555;
}

.about-features svg {
    width: 20px;
    height: 20px;
    stroke: #28a745;
    stroke-width: 2;
    flex-shrink: 0;
}

.about-graphic {
    display: flex;
    justify-content: center;
}

.about-graphic svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #ffffff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.quote-icon {
    width: 32px;
    height: 32px;
    stroke: #007bff;
    stroke-width: 2;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    stroke: #007bff;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    margin: 0;
    color: #555;
}

/* Subscription Section */
.subscription {
    padding: 80px 0;
    background-color: #007bff;
    color: white;
    text-align: center;
}

.subscription h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.subscription p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #6c757d;
    stroke-width: 2;
}

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submit-button {
    background-color: #28a745;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background-color: #ffffff;
}

.blog h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.blog-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-icon {
    width: 48px;
    height: 48px;
    stroke: #007bff;
    stroke-width: 2;
    margin-bottom: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-card p {
    margin-bottom: 1.5rem;
    color: #555;
}

.read-more {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
    stroke: white;
    stroke-width: 2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

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

.footer-social h4 {
    color: white;
    margin-bottom: 1rem;
}

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

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

.social-links a:hover {
    background-color: #007bff;
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    margin-top: 80px;
    background-color: #f8f9fa;
    text-align: center;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    stroke: #28a745;
    stroke-width: 2;
    margin-bottom: 2rem;
}

.thank-you h1 {
    color: #28a745;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.thank-you p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.next-steps {
    margin: 4rem 0;
}

.next-steps h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.step-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    stroke: #007bff;
    stroke-width: 2;
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
    margin-top: 80px;
    background-color: #ffffff;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.legal-icon {
    width: 32px;
    height: 32px;
    stroke: #007bff;
    stroke-width: 2;
    margin-bottom: 1rem;
}

.legal-section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h3 {
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

.legal-section ul {
    padding-left: 20px;
}

.legal-section li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #555;
}

.last-updated {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 15px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .service-card,
    .testimonial-card,
    .blog-card {
        padding: 20px;
    }
    
    .legal-section {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cta-button,
    .submit-button {
        display: none;
    }
    
    .hero {
        margin-top: 0;
        padding-top: 20px;
    }
    
    .legal-content {
        margin-top: 0;
        padding-top: 20px;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }
}

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

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .blog-card,
    .legal-section {
        border: 1px solid #333;
    }
}
