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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

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

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: white;
}

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

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

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

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #4b5563;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0 4rem;
    margin-top: 4rem;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #111827;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-text {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Services Section */
.services {
    padding: 5rem 0;
}

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

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

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
}

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

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

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

.service-icon {
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background-color: #f9fafb;
    padding: 5rem 0;
}

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

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

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon {
    flex-shrink: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
}

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

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

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: #111827;
}

.author-info span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 4rem 0;
}

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

.newsletter-text h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: #dbeafe;
}

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

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

.form-disclaimer {
    font-size: 0.875rem;
    color: #dbeafe;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

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

.contact-icon {
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    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: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: #111827;
    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 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

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

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

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

.footer-section ul li a {
    color: white;
    transition: color 0.3s ease;
}

.footer-section ul li 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: #374151;
    color: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #2563eb;
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.legal-links a {
    color: white;
    font-size: 0.875rem;
}

.legal-links a:hover,
.legal-links a.active {
    color: white;
}

.footer p,
.footer span,
.footer .copyright {
    color: white;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0 4rem;
    margin-top: 4rem;
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 1rem;
}

.blog-articles {
    padding: 5rem 0;
}

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

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

.article-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

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

.article-content {
    padding: 1.5rem;
}

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

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

.article-category {
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

.article-content h2 {
    margin-bottom: 1rem;
}

.article-content h2 a {
    color: #111827;
    text-decoration: none;
}

.article-content h2 a:hover {
    color: #2563eb;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.read-more {
    color: #2563eb;
    font-weight: 500;
}

.reading-time {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Article Page Styles */
.article-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0 2rem;
    margin-top: 4rem;
}

.article-breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.article-breadcrumb a {
    color: #2563eb;
}

.article-header .article-meta {
    margin-bottom: 1rem;
}

.article-lead {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0;
}

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

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

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

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.highlight-box {
    background-color: #dbeafe;
    border-left: 4px solid #2563eb;
    padding: 1rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #1d4ed8;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.process-steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

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

.tip {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #22c55e;
}

.tip h3,
.tip h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #059669;
}

.cta-box {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    margin: 3rem 0;
}

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

.cta-box p {
    color: #dbeafe;
    margin-bottom: 1.5rem;
}

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

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: #2563eb;
}

/* Article Sidebar */
.article-sidebar {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.related-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-article {
    display: block;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-article:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.related-article h4 {
    color: #111827;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.related-article span {
    color: #6b7280;
    font-size: 0.8rem;
}

.contact-widget,
.calculator-widget,
.tools-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Budget Breakdown Styles */
.budget-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.budget-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.budget-percentage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.budget-description h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #111827;
}

.budget-description p {
    margin: 0;
    color: #6b7280;
}

/* Debt Types Styles */
.debt-types {
    display: grid;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.debt-type {
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid;
}

.debt-type.good-debt {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.debt-type.bad-debt {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.debt-icon {
    margin-bottom: 1rem;
}

.debt-type h3 {
    margin-bottom: 1rem;
    margin-top: 0;
}

.debt-type.good-debt h3 {
    color: #059669;
}

.debt-type.bad-debt h3 {
    color: #dc2626;
}

.debt-stats {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.stat-label {
    color: #6b7280;
}

.stat-value {
    font-weight: 600;
    color: #111827;
}

/* Gray Area Debts */
.gray-area-debts {
    margin: 1.5rem 0;
}

.gray-debt {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #f59e0b;
}

.gray-debt h3 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: #d97706;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pros h4 {
    color: #059669;
    margin-bottom: 0.5rem;
}

.cons h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.pros ul,
.cons ul {
    margin-left: 1rem;
}

/* Warning Signs */
.warning-signs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.warning-sign {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fef2f2;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
}

.warning-sign h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #dc2626;
}

/* Emergency Fund Styles */
.emergency-fund-sizes {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.fund-size {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
}

.fund-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 80px;
    background-color: #2563eb;
    color: white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.fund-description h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #111827;
}

.fund-situations {
    margin-top: 1rem;
}

.fund-situations span {
    font-weight: 600;
    color: #374151;
}

.fund-situations ul {
    margin-top: 0.5rem;
}

/* Build Steps */
.build-steps {
    margin: 2rem 0;
}

.build-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.mini-goals {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.mini-goal {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #22c55e;
}

.mini-goal h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #059669;
}

.saving-strategies {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.strategy {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
}

.strategy h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #374151;
}

.account-options {
    display: grid;
    gap: 1rem;
    margin: 1rem 0;
}

.account-type {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #22c55e;
}

.account-type.avoided {
    border-left-color: #ef4444;
}

.account-type h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.pros {
    color: #059669;
    font-size: 0.9rem;
    display: block;
    margin: 0.25rem 0;
}

/* Emergency Scenarios */
.emergency-scenarios {
    margin: 2rem 0;
}

.scenario-group {
    margin-bottom: 2rem;
}

.scenario-group h3 {
    margin-bottom: 1rem;
}

.scenario-list {
    display: grid;
    gap: 1rem;
}

.scenario {
    padding: 1rem;
    border-radius: 0.5rem;
}

.scenario-list.good .scenario {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
}

.scenario-list.bad .scenario {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
}

.scenario h4 {
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.scenario-list.good .scenario h4 {
    color: #059669;
}

.scenario-list.bad .scenario h4 {
    color: #dc2626;
}

/* Maintenance Tips */
.maintenance-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Mistakes */
.mistakes {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.mistake {
    background: #fef2f2;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
}

.mistake h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #dc2626;
}

/* Priority Strategy */
.priority-strategy {
    margin: 2rem 0;
}

.priority-step {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #2563eb;
}

.priority-step h3 {
    margin-bottom: 0.5rem;
    margin-top: 0;
    color: #1d4ed8;
}

/* Key Takeaways */
.key-takeaways {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.key-takeaways h3 {
    margin-bottom: 1rem;
    margin-top: 0;
    color: #1d4ed8;
}

/* Calculator Widget */
.calculator-simple {
    margin-top: 1rem;
}

.calculator-simple label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.calculator-simple input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

.calculator-result {
    margin-top: 1rem;
    padding: 1rem;
    background: #dbeafe;
    border-radius: 0.25rem;
}

.calculator-result p {
    margin: 0;
    font-size: 0.9rem;
}

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

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

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

.thank-you h1 {
    margin-bottom: 1rem;
    color: #111827;
}

.thank-you-message {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

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

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

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

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

.contact-reminder {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
}

.contact-reminder h3 {
    margin-bottom: 1.5rem;
}

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

.contact-option {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.contact-option strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #111827;
}

.contact-option p {
    margin: 0;
    color: #6b7280;
}

/* Legal Pages Styles */
.legal-page {
    padding: 6rem 0 4rem;
    margin-top: 4rem;
}

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

.legal-header h1 {
    margin-bottom: 1rem;
}

.last-updated {
    color: #6b7280;
    font-style: italic;
}

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

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #111827;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.legal-section h4 {
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.contact-info-legal {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
    margin: 1rem 0;
}

.purpose-list {
    margin: 1.5rem 0;
}

.purpose-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2563eb;
}

.purpose-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #1d4ed8;
}

.purpose-item p {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1rem;
}

.authority-contact {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

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

.right-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #22c55e;
}

.right-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #059669;
    font-size: 1rem;
}

.right-item p {
    margin: 0;
    font-size: 0.9rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.contact-method {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
}

.contact-method h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

.contact-method p {
    margin: 0;
    font-size: 0.9rem;
}

.company-info {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.definitions {
    margin: 1.5rem 0;
}

.definition {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #6b7280;
}

.definition h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

.definition p {
    margin: 0;
    font-size: 0.9rem;
}

/* Cookie Page Specific Styles */
.cookie-types {
    margin: 2rem 0;
}

.cookie-type {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #2563eb;
}

.cookie-type h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1d4ed8;
}

.cookie-necessity {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.cookie-necessity.essential {
    background-color: #dc2626;
    color: white;
}

.cookie-necessity.functional,
.cookie-necessity.analytics,
.cookie-necessity.marketing {
    background-color: #22c55e;
    color: white;
}

.cookie-details {
    margin-top: 1rem;
}

.cookie-details h4 {
    margin-bottom: 0.5rem;
    color: #374151;
}

.third-party-services {
    margin: 1.5rem 0;
}

.service {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.service h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

.cookie-duration {
    margin: 1.5rem 0;
}

.duration-type {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.duration-type h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #374151;
}

.cookie-settings-cta {
    text-align: center;
    margin: 2rem 0;
}

.browser-instructions {
    margin: 1.5rem 0;
}

.browser {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.browser h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

.consequences {
    margin: 2rem 0;
}

.consequence-type {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.consequence-type h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

.impact {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.impact.high {
    background-color: #dc2626;
    color: white;
}

.impact.medium {
    background-color: #f59e0b;
    color: white;
}

.impact.low {
    background-color: #22c55e;
    color: white;
}

.external-resources {
    margin: 1.5rem 0;
}

.resource {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.resource h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #374151;
}

/* Cookie Banner and Modal Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-text p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

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

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 1rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

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

.cookie-modal-header h2 {
    margin: 0;
    color: #111827;
}

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

.close-btn:hover {
    color: #374151;
}

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

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

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.cookie-toggle input {
    display: none;
}

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

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .toggle-slider {
    background: #2563eb;
}

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

.cookie-toggle input:disabled + .toggle-slider {
    background: #9ca3af;
    opacity: 0.6;
}

.cookie-info h4 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.cookie-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
    
    .hero-buttons,
    .cta-buttons,
    .thank-you-actions {
        flex-direction: column;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .saving-strategies {
        grid-template-columns: 1fr;
    }
    
    .build-step {
        flex-direction: column;
    }
    
    .budget-item {
        flex-direction: column;
        text-align: center;
    }
    
    .fund-size {
        flex-direction: column;
        text-align: center;
    }
    
    .tips-grid,
    .maintenance-tips {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 6rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .article-card {
        margin: 0 -0.5rem;
    }
    
    .step,
    .build-step {
        padding: 1rem;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-modal {
        padding: 0.5rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal,
    .cta-box,
    .article-sidebar {
        display: none !important;
    }
    
    .article-content {
        margin-top: 0;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    a {
        color: #111827 !important;
    }
    
    .highlight-box,
    .tip,
    .step,
    .build-step {
        border: 1px solid #d1d5db !important;
        background: white !important;
    }
}

/* Accessibility Improvements */
@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 Better Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .service-card,
    .testimonial-card,
    .article-card {
        border-width: 2px;
        border-color: #111827;
    }
}
