/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Main Content */
main {
    padding: 2rem 0;
}

article {
    background-color: var(--bg-color);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

strong {
    font-weight: 600;
    color: var(--text-color);
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Intro */
.intro {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.intro p {
    margin-bottom: 1rem;
}

.intro p:last-child {
    margin-bottom: 0;
}

/* Table of Contents */
.table-of-contents {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.table-of-contents h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: none;
}

.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.table-of-contents a:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

/* Cost Table */
.cost-table {
    margin: 2rem 0;
}

.cost-row {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.cost-type {
    font-weight: 600;
    color: var(--text-color);
}

.cost-amount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.cost-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

/* Highlight Section */
.highlight-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin: 3rem 0;
}

.highlight-section h2 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.highlight-section h3 {
    color: #ffffff;
}

.highlight-section p {
    color: rgba(255, 255, 255, 0.95);
}

/* Professionals Grid */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.professional-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.professional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.professional-card h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.25rem;
}

.professional-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* CTA Box */
.cta-box {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.cta-box p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cta-box p:last-child {
    margin-bottom: 0;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Info Note */
.info-note {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-note p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Partner Section */
.partner-section {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.partner-section h3 {
    color: #ffffff;
    margin-top: 0;
}

.partner-section p {
    color: rgba(255, 255, 255, 0.95);
}

.partner-section ul {
    list-style: none;
    padding-left: 0;
}

.partner-section li {
    color: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-section li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-item {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.faq-item h3 {
    color: var(--text-color);
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item p {
    margin-bottom: 0;
}

/* Conclusion */
.conclusion {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-top: 3rem;
}

/* Update Note */
.update-note {
    background-color: #fef3c7;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--warning-color);
    margin-top: 2rem;
}

.update-note p {
    margin-bottom: 0;
    color: #92400e;
}

/* Share Section */
.share-section {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 0.75rem;
    margin-top: 2rem;
}

.share-section h3 {
    margin-top: 0;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .cost-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .cost-amount {
        font-size: 1.25rem;
    }

    article {
        padding: 1rem;
    }

    .professionals-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .professionals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print Styles */
@media print {
    header, footer, .share-section, .nav-links, .cta-button {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    h1 {
        font-size: 24pt;
    }

    h2 {
        font-size: 18pt;
    }

    a {
        text-decoration: none;
        color: #000;
    }
}