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

html {
    scroll-behavior: smooth;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

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

a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5a67d8;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.btn-secondary {
    background-color: #edf2f7;
    color: #4a5568;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.btn-outline {
    background-color: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background-color: #667eea;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header and Navigation */
.header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    text-decoration: none;
}

.nav-brand .logo svg {
    color: #667eea;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    background-color: #f8fafc;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    color: #4a5568;
    font-weight: 500;
}

.about-visual svg {
    width: 100%;
    height: auto;
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-icon {
    color: #667eea;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.author-name {
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.author-title {
    color: #718096;
    font-size: 0.875rem;
    margin: 0;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
}

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

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: white;
}

.contact-details h3 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #4a5568;
    margin: 0;
}

/* Forms */
.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a202c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: #1a202c;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    color: #a0aec0;
}

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

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

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

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

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #2d3748;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #667eea;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Blog Styles */
.blog-section {
    padding: 4rem 0;
}

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

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.blog-card-header {
    padding: 2rem 2rem 1rem;
}

.blog-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.blog-icon svg {
    color: white;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #718096;
}

.blog-date::after {
    content: '•';
    margin-left: 1rem;
}

.blog-content {
    padding: 0 2rem 2rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-title a {
    color: #1a202c;
    text-decoration: none;
}

.blog-title a:hover {
    color: #667eea;
}

.blog-excerpt {
    color: #4a5568;
    margin-bottom: 1rem;
}

.blog-link {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
}

.blog-link:hover {
    color: #5a67d8;
}

/* Article Styles */
.article-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.article-meta {
    margin-bottom: 2rem;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 1rem;
    display: inline-block;
}

.breadcrumb:hover {
    color: white;
}

.article-info {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.article-date::after,
.article-category::after {
    content: '•';
    margin-left: 1rem;
}

.article-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.article-content {
    padding: 4rem 0;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.article-icon svg {
    color: #667eea;
}

.lead {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-body h2 {
    color: #1a202c;
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

.article-body h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.article-body h4 {
    color: #4a5568;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.article-body li strong {
    color: #1a202c;
}

.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin-top: 3rem;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Related Articles */
.related-articles {
    background-color: #f8fafc;
    padding: 3rem 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-card h3 {
    margin-bottom: 0.75rem;
}

.related-card h3 a {
    color: #1a202c;
    text-decoration: none;
    font-size: 1.125rem;
}

.related-card h3 a:hover {
    color: #667eea;
}

.related-card p {
    color: #4a5568;
    margin: 0;
    font-size: 0.875rem;
}

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

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

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-title {
    color: #1a202c;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.thank-you-additional h3 {
    color: #1a202c;
    margin-bottom: 2rem;
}

.next-steps {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon svg {
    color: white;
}

.step-content h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #4a5568;
    margin: 0;
}

/* Legal Pages */
.legal-content {
    padding: 4rem 0;
}

.legal-body {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-nav {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.legal-nav h3 {
    color: #1a202c;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    display: block;
    transition: color 0.3s ease;
}

.legal-nav a:hover {
    color: #667eea;
}

.legal-content-main {
    font-size: 1rem;
    line-height: 1.7;
}

.legal-content-main h2 {
    color: #1a202c;
    margin: 2.5rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.legal-content-main h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content-main h3 {
    color: #2d3748;
    margin: 2rem 0 1rem;
}

.legal-content-main h4 {
    color: #4a5568;
    margin: 1.5rem 0 0.75rem;
}

.legal-content-main ul,
.legal-content-main ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content-main li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.legal-content-main li strong {
    color: #1a202c;
}

.contact-info-legal {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.contact-info-legal h3 {
    color: #1a202c;
    margin-bottom: 1rem;
}

.contact-info-legal p {
    margin-bottom: 0.5rem;
}

.legal-footer-info {
    background: #e2e8f0;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.legal-footer-info p {
    margin-bottom: 0.25rem;
}

.legal-footer-info p:last-child {
    margin-bottom: 0;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1a202c;
}

.cookie-table td {
    color: #4a5568;
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-text h3 {
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: #4a5568;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    padding: 1rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #1a202c;
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #4a5568;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: #1a202c;
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
}

.cookie-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.cookie-switch input[type="checkbox"] {
    display: none;
}

.slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 24px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-switch input:checked + .slider {
    background: #667eea;
}

.cookie-switch input:checked + .slider::before {
    transform: translateX(26px);
}

.cookie-switch input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-info strong {
    color: #1a202c;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-info p {
    color: #4a5568;
    font-size: 0.875rem;
    margin: 0;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .newsletter-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .legal-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-nav {
        position: static;
        background: #f8fafc;
        padding: 1rem;
        border-radius: 0.5rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .article-title,
    .page-title {
        font-size: 2rem;
    }
    
    .article-subtitle,
    .page-subtitle {
        font-size: 1.125rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .next-steps {
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .hero-buttons,
    .newsletter,
    .article-cta,
    .related-articles {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    .article-content {
        padding: 1rem 0;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

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

/* Focus styles for keyboard navigation */
.btn:focus,
input:focus,
select:focus,
textarea:focus,
.nav-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-outline {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}
