/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors using HSL format */
    --primary: 213 89% 54%; /* #2563eb */
    --primary-dark: 213 89% 44%; /* #1d4ed8 */
    --secondary: 142 71% 45%; /* #10b981 */
    --warning: 38 92% 50%; /* #f59e0b */
    --danger: 0 84% 60%; /* #ef4444 */
    --background: 210 11% 98%; /* #f8fafc */
    --surface: 0 0% 100%; /* #ffffff */
    --text-primary: 222 84% 5%; /* #0f172a */
    --text-secondary: 215 25% 27%; /* #374151 */
    --text-muted: 215 16% 47%; /* #6b7280 */
    --border: 214 32% 91%; /* #e2e8f0 */
    --border-light: 214 20% 93%; /* #e5e7eb */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-primary));
    background-color: hsl(var(--background));
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: hsl(var(--text-secondary));
}

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

a:hover {
    color: hsl(var(--primary-dark));
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

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

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--primary) / 0.3);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--primary));
    border: 2px solid hsl(var(--primary));
}

.btn-outline:hover {
    background-color: hsl(var(--primary));
    color: white;
}

.btn-secondary {
    background-color: hsl(var(--text-muted));
    color: white;
}

.btn-secondary:hover {
    background-color: hsl(var(--text-secondary));
    color: white;
}

/* Navigation */
.navbar {
    background-color: hsl(var(--surface));
    box-shadow: 0 2px 10px hsl(var(--text-primary) / 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--text-primary));
}

.nav-logo:hover {
    color: hsl(var(--primary));
}

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

.nav-menu a {
    color: hsl(var(--text-secondary));
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: hsl(var(--text-primary));
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--surface)) 100%);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--text-primary));
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: hsl(var(--text-secondary));
}

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

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

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

.bg-light {
    background-color: hsl(var(--background));
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsl(var(--text-primary) / 0.1);
}

.card-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
    background-color: hsl(var(--surface));
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px hsl(var(--text-primary) / 0.15);
}

.service-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.service-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: hsl(var(--text-secondary));
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(var(--secondary));
    font-weight: bold;
}

/* Review Cards */
.review-card {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
    height: 100%;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.reviewer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border));
}

.reviewer strong {
    color: hsl(var(--text-primary));
    display: block;
}

.reviewer span {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    margin-top: 2rem;
}

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

.form-group input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
    text-align: left;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 2px;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    padding: 8px;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 8px;
}

.contact-item h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
}

.contact-form .form-group {
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: 500;
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
}

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

/* Footer */
.footer {
    background-color: hsl(var(--text-primary));
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
}

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

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

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

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: hsl(var(--text-secondary));
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: hsl(var(--primary));
}

.footer-bottom {
    border-top: 1px solid hsl(var(--text-secondary));
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--surface));
    border-top: 1px solid hsl(var(--border));
    box-shadow: 0 -4px 12px hsl(var(--text-primary) / 0.1);
    padding: 1.5rem;
    z-index: 1001;
    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: 2rem;
    flex-wrap: wrap;
}

.cookie-content h3 {
    margin: 0;
    color: hsl(var(--text-primary));
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

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

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 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: 1002;
}

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

.modal-content {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 24px;
    cursor: pointer;
    color: hsl(var(--text-muted));
}

.close:hover {
    color: hsl(var(--text-primary));
}

.cookie-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid hsl(var(--border));
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category h3 {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-primary));
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    float: right;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: hsl(var(--primary));
}

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

input:disabled + .slider {
    background-color: #b0b0b0;
    cursor: not-allowed;
}

/* Blog Styles */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--surface)) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.page-header p {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    max-width: 600px;
    margin: 0 auto;
}

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

.blog-card {
    background-color: hsl(var(--surface));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px hsl(var(--text-primary) / 0.1);
}

.blog-card.featured {
    grid-column: 1 / -1;
    flex-direction: row;
    min-height: 300px;
}

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

.featured .blog-image {
    width: 50%;
    height: auto;
}

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

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-date {
    color: hsl(var(--text-muted));
}

.blog-category {
    color: hsl(var(--primary));
    font-weight: 500;
}

.blog-content h2,
.blog-content h3 {
    margin-bottom: 0.5rem;
}

.blog-content h2 a,
.blog-content h3 a {
    color: hsl(var(--text-primary));
    text-decoration: none;
}

.blog-content h2 a:hover,
.blog-content h3 a:hover {
    color: hsl(var(--primary));
}

.blog-content p {
    margin-bottom: 1rem;
    flex: 1;
}

.read-more {
    color: hsl(var(--primary));
    font-weight: 500;
    margin-top: auto;
}

.read-more:hover {
    color: hsl(var(--primary-dark));
}

.blog-newsletter {
    background-color: hsl(var(--primary) / 0.05);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.blog-newsletter h2 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.blog-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.blog-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    font-size: 1rem;
}

/* Article Styles */
.article {
    padding: 120px 0 60px;
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.article-date,
.article-read-time {
    color: hsl(var(--text-muted));
}

.article-category {
    color: hsl(var(--primary));
    font-weight: 500;
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.article-excerpt {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 2rem;
}

.article-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-info strong {
    color: hsl(var(--text-primary));
    display: block;
}

.author-info span {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    margin: 3rem 0 1.5rem;
    color: hsl(var(--text-primary));
    border-bottom: 2px solid hsl(var(--primary));
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin: 2rem 0 1rem;
    color: hsl(var(--text-primary));
}

.article-content h4 {
    margin: 1.5rem 0 0.5rem;
    color: hsl(var(--text-primary));
}

.article-content ul,
.article-content ol {
    margin: 1rem 0 1rem 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.article-image {
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px hsl(var(--text-primary) / 0.1);
}

.article-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Special Article Elements */
.highlight-box {
    background-color: hsl(var(--primary) / 0.05);
    border-left: 4px solid hsl(var(--primary));
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.tip-box {
    background-color: hsl(var(--secondary) / 0.05);
    border-left: 4px solid hsl(var(--secondary));
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background-color: hsl(var(--warning) / 0.05);
    border-left: 4px solid hsl(var(--warning));
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.alert-box {
    background-color: hsl(var(--danger) / 0.05);
    border-left: 4px solid hsl(var(--danger));
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.recommendation-box {
    background-color: hsl(210 60% 98%);
    border: 2px solid hsl(var(--primary));
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.call-to-action {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-dark)) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 3rem 0;
}

.call-to-action h3 {
    color: white;
    margin-bottom: 1rem;
}

.call-to-action p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.call-to-action .btn {
    background-color: white;
    color: hsl(var(--primary));
}

.call-to-action .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: hsl(var(--primary-dark));
}

/* Tables */
.comparison-table,
.cost-table,
.permissions-table,
.cookies-table,
.test-schedule,
.investment-table,
.iso-controls {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: hsl(var(--surface));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px hsl(var(--text-primary) / 0.1);
}

.comparison-table th,
.cost-table th,
.permissions-table th,
.cookies-table th,
.test-schedule th,
.investment-table th,
.iso-controls th {
    background-color: hsl(var(--primary));
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td,
.cost-table td,
.permissions-table td,
.cookies-table td,
.test-schedule td,
.investment-table td,
.iso-controls td {
    padding: 1rem;
    border-bottom: 1px solid hsl(var(--border));
    color: hsl(var(--text-secondary));
}

.comparison-table tr:last-child td,
.cost-table tr:last-child td,
.permissions-table tr:last-child td,
.cookies-table tr:last-child td,
.test-schedule tr:last-child td,
.investment-table tr:last-child td,
.iso-controls tr:last-child td {
    border-bottom: none;
}

/* Code blocks */
.code-block {
    background-color: hsl(220 13% 18%);
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block h5 {
    color: #d1d5db;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.code-block pre {
    margin: 0;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Summary boxes */
.summary-box {
    background-color: hsl(var(--surface));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.summary-box h3 {
    margin-bottom: 1rem;
    color: hsl(var(--text-primary));
}

.summary-checklist {
    background-color: hsl(var(--secondary) / 0.05);
    border: 1px solid hsl(var(--secondary));
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.summary-checklist h3 {
    color: hsl(var(--secondary));
    margin-bottom: 1rem;
}

.summary-checklist ul {
    list-style: none;
    padding: 0;
}

.summary-checklist li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: hsl(var(--text-secondary));
}

.summary-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: hsl(var(--secondary));
    font-weight: bold;
}

.key-recommendations {
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--secondary) / 0.05) 100%);
    border: 2px solid hsl(var(--primary));
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.key-recommendations h3 {
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

.security-checklist {
    columns: 2;
    column-gap: 2rem;
    margin: 2rem 0;
}

.security-checklist h4 {
    break-after: avoid;
    color: hsl(var(--text-primary));
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.security-checklist:first-child h4 {
    margin-top: 0;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 0 2rem;
    padding: 2rem 0;
    border-top: 1px solid hsl(var(--border));
}

.back-to-blog {
    color: hsl(var(--primary));
    font-weight: 500;
    text-decoration: none;
}

.back-to-blog:hover {
    color: hsl(var(--primary-dark));
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.share-link {
    color: hsl(var(--text-muted));
    font-size: 0.9rem;
    text-decoration: none;
}

.share-link:hover {
    color: hsl(var(--primary));
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
}

.related-articles h3 {
    margin-bottom: 2rem;
    color: hsl(var(--text-primary));
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background-color: hsl(var(--surface));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px hsl(var(--text-primary) / 0.1);
}

.related-card h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.related-card p {
    color: hsl(var(--text-secondary));
    font-size: 0.9rem;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    padding: 120px 0 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.last-updated {
    color: hsl(var(--text-muted));
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content h2 {
    color: hsl(var(--text-primary));
    margin: 3rem 0 1.5rem;
    border-bottom: 2px solid hsl(var(--primary));
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: hsl(var(--text-primary));
    margin: 2rem 0 1rem;
}

.legal-content h4 {
    color: hsl(var(--text-primary));
    margin: 1.5rem 0 0.5rem;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
}

.contact-box {
    background-color: hsl(var(--primary) / 0.05);
    border: 1px solid hsl(var(--primary));
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.legal-navigation {
    text-align: center;
    margin: 3rem 0;
}

/* Cookie Settings Panel */
.cookie-settings-panel {
    background-color: hsl(var(--surface));
    border: 2px solid hsl(var(--primary));
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.cookie-settings-panel h4 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-page {
    padding: 120px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

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

.thank-you-content h1 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
    font-size: 3rem;
}

.thank-you-subtitle {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 3rem;
}

.thank-you-details {
    margin: 3rem 0;
    text-align: left;
}

.thank-you-details h2 {
    text-align: center;
    color: hsl(var(--text-primary));
    margin-bottom: 2rem;
}

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

.step {
    background-color: hsl(var(--surface));
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px hsl(var(--text-primary) / 0.05);
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.newsletter-benefits {
    margin: 3rem 0;
    text-align: left;
}

.newsletter-benefits h2 {
    text-align: center;
    color: hsl(var(--text-primary));
    margin-bottom: 2rem;
}

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

.benefit {
    background-color: hsl(var(--surface));
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid hsl(var(--border));
    text-align: center;
}

.benefit-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.benefit h3 {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.benefit p {
    color: hsl(var(--text-secondary));
    font-size: 0.9rem;
    margin: 0;
}

.social-follow {
    margin: 3rem 0;
    text-align: center;
}

.social-follow h2 {
    color: hsl(var(--text-primary));
    margin-bottom: 1rem;
}

.social-follow p {
    color: hsl(var(--text-secondary));
    margin-bottom: 2rem;
}

.social-follow .social-links {
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background-color: hsl(var(--surface));
    border: 2px solid hsl(var(--border));
    border-radius: 8px;
    color: hsl(var(--text-primary));
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    border-color: hsl(var(--primary));
    color: hsl(var(--primary));
    transform: translateY(-2px);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-info {
    margin: 3rem 0;
    text-align: center;
}

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

.contact-info a {
    color: hsl(var(--primary));
    text-decoration: none;
}

.contact-info a:hover {
    color: hsl(var(--primary-dark));
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--surface));
        box-shadow: 0 4px 12px hsl(var(--text-primary) / 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 16px;
        border-radius: 6px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-graphic {
        order: -1;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        flex-direction: column;
    }
    
    .featured .blog-image {
        width: 100%;
        height: 200px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .security-checklist {
        columns: 1;
    }
    
    .step-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .social-follow .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-content h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .thank-you-content h1 {
        font-size: 1.75rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card,
    .service-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .modal,
    .social-links,
    .action-buttons,
    .article-navigation,
    .footer {
        display: none !important;
    }
    
    .article,
    .legal-page {
        padding: 0;
    }
    
    .article-content,
    .legal-content {
        max-width: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .card,
    .service-card,
    .highlight-box,
    .tip-box,
    .warning-box,
    .alert-box {
        border: 1px solid #ccc;
        box-shadow: none;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --border: 0 0% 0%;
        --border-light: 0 0% 20%;
    }
}
