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

html {
    scroll-behavior: smooth;
}

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

/* 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.3;
}

h1 {
    font-size: 2.5rem;
    color: #1a365d;
}

h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

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

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5aa0;
}

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

.btn-primary {
    background-color: #3182ce;
    color: white;
}

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

.btn-secondary {
    background-color: #718096;
    color: white;
}

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

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

.btn-outline:hover {
    background-color: #3182ce;
    color: white;
}

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

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

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

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

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

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

.nav-link {
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #3182ce;
    border-bottom-color: #3182ce;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #4a5568;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

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

.hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-graphic {
    text-align: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header-icon {
    width: 80px;
    height: 80px;
    margin-top: 1rem;
}

/* Article Header */
.article-header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 40px 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-link {
    color: #90cdf4;
    font-weight: 500;
}

.back-link:hover {
    color: white;
}

.article-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.article-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-icon {
    width: 60px;
    height: 60px;
    margin-top: 1rem;
}

/* Sections */
section {
    padding: 60px 0;
}

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

.section-intro h2 {
    margin-bottom: 1rem;
}

.section-intro p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: hue-rotate(200deg);
}

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

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

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

.content-text h2 {
    margin-bottom: 1.5rem;
}

.about-image,
.section-image {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

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

.course-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.course-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.course-card h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.course-card ul {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
}

.course-card li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.course-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3182ce;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
    filter: hue-rotate(200deg);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Testimonials */
.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: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3182ce;
}

.testimonial-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    filter: hue-rotate(200deg);
}

.testimonial-content blockquote {
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.7;
}

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

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

/* Statistics */
.statistics {
    background-color: #f7fafc;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3182ce;
    margin-bottom: 0.5rem;
}

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

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

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

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

.blog-image {
    padding: 2rem;
    text-align: center;
    background-color: #f7fafc;
}

.blog-icon {
    width: 60px;
    height: 60px;
}

.blog-content {
    padding: 2rem;
}

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

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

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

.blog-content h3 a:hover {
    color: #3182ce;
}

.blog-read-more {
    color: #3182ce;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.blog-read-more:hover {
    color: #2c5aa0;
}

/* Blog Article */
.blog-article {
    padding: 60px 0;
}

.blog-article .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.article-content {
    max-width: none;
}

.article-intro .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f7fafc;
    border-left: 4px solid #3182ce;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

.article-cta {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

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

.article-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Article Sidebar */
.article-sidebar {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-content h3 {
    margin-bottom: 1rem;
    color: #2d3748;
    font-size: 1.2rem;
}

.related-articles {
    margin-bottom: 2rem;
}

.related-article {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #2d3748;
    transition: background-color 0.3s ease;
}

.related-article:hover {
    background-color: #edf2f7;
    color: #3182ce;
}

.related-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

/* Forms */
.contact-form,
.newsletter-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    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: #3182ce;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.5;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.business-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.business-hours ul {
    list-style: none;
    margin: 1rem 0;
}

.business-hours li {
    padding: 0.25rem 0;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Newsletter */
.newsletter {
    background-color: #f7fafc;
}

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

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

.newsletter-form input {
    flex: 1;
}

/* Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.topic-card:hover {
    transform: translateY(-2px);
}

.topic-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-section {
    padding: 80px 0;
    text-align: center;
}

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

.success-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    filter: hue-rotate(100deg);
}

.thanks-message {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 3rem;
}

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

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

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.emergency-contact {
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.emergency-info {
    margin-top: 1rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.additional-resources {
    background-color: #f7fafc;
}

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

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

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

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

.legal-intro {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.legal-document h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.legal-document h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.legal-document ol,
.legal-document ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.contact-box {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-style: italic;
    color: #718096;
}

/* Cookie Policy Tables */
.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background-color: #4a5568;
    color: white;
    font-weight: 600;
}

.cookie-preferences {
    background-color: #e6fffa;
    border: 1px solid #38b2ac;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

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

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

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

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

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

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

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

/* Article-specific Styles */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
}

.stats-overview .stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-overview strong {
    font-size: 1.5rem;
    color: #3182ce;
    display: block;
    margin-bottom: 0.5rem;
}

.formula-box {
    background-color: #e6fffa;
    border: 2px solid #38b2ac;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.calculator-example {
    background-color: #f0fff4;
    border: 2px solid #48bb78;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-dates {
    background-color: #fffbeb;
    border: 2px solid #f6ad55;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.important-dates ul {
    list-style: none;
    margin: 1rem 0;
}

.important-dates li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #fed7aa;
}

.important-dates li:last-child {
    border-bottom: none;
}

.practical-tips {
    background-color: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.tips-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.tip-item h4 {
    margin-bottom: 0.5rem;
    color: #2d3748;
}

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

.success-stats h3 {
    color: white;
    margin-bottom: 2rem;
}

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

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Blog 4 specific styles */
.retirement-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.retirement-type {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3182ce;
}

.retirement-type h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

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

.category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category h4 {
    color: #3182ce;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.procedure-step {
    background-color: #f0fff4;
    border: 1px solid #48bb78;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.optimization-strategies {
    margin: 2rem 0;
}

.strategy {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3182ce;
}

.strategy h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.faq-section .faq-item {
    margin-bottom: 1.5rem;
}

.faq-section .faq-item h4 {
    color: #3182ce;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Features and modules */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.feature-card:hover {
    transform: translateY(-2px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-card ul {
    list-style: none;
    margin-top: 1rem;
}

.feature-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3182ce;
    font-weight: bold;
}

.modules-list {
    margin-top: 2rem;
}

.module-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.module-header {
    background-color: #3182ce;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.module-header h3 {
    color: white;
    margin: 0;
}

.module-content {
    padding: 2rem;
}

.module-content ul {
    margin-top: 1rem;
    list-style: none;
}

.module-content li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.module-content li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: #3182ce;
    font-weight: bold;
}

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

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

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border-color: #3182ce;
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.package-icon {
    width: 60px;
    height: 60px;
    margin: 1rem auto 1.5rem;
}

.package-card h3 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.package-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.package-card li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

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

.package-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: bold;
}

.package-card .btn {
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .blog-article .container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        margin-top: 3rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

    .profession-categories {
        grid-template-columns: 1fr;
    }

    .retirement-types {
        grid-template-columns: 1fr;
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        flex: 1;
        min-width: 0;
    }

    .section-intro h2 {
        font-size: 1.75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .footer,
    .article-sidebar,
    .article-cta {
        display: none;
    }

    .article-content {
        max-width: 100%;
    }

    .blog-article .container {
        grid-template-columns: 1fr;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1 {
        font-size: 18pt;
    }

    h2 {
        font-size: 16pt;
    }

    h3 {
        font-size: 14pt;
    }
}

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

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .article-sidebar {
        background-color: #2d3748;
        color: #e2e8f0;
    }

    .article-sidebar h3 {
        color: #e2e8f0;
    }

    .related-article {
        background-color: #4a5568;
        color: #e2e8f0;
    }

    .related-article:hover {
        background-color: #718096;
    }
}

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

    .btn-outline {
        border-width: 3px;
    }

    .service-card,
    .testimonial-card,
    .blog-card {
        border: 2px solid #333;
    }
}
