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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.75rem;
    margin: 0;
    font-weight: 700;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
}

article {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-header h1 {
    color: #1a1a1a;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section:first-of-type {
    margin-top: 0;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Advantages/Disadvantages styling */
.advantages-disadvantages {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.advantages-disadvantages h4 {
    color: #1e40af;
    margin-top: 0;
    font-size: 1.125rem;
}

.advantages-disadvantages ul {
    margin-left: 1.5rem;
}

.advantages-disadvantages li {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

/* FAQ Section */
#faq {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #1e40af;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    margin-bottom: 0;
    color: #4b5563;
    font-size: 1rem;
}

/* Footer */
footer {
    background: #1f2937;
    color: #d1d5db;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    p, .lead {
        font-size: 1rem;
    }
    
    ul, ol {
        margin-left: 1.5rem;
    }
    
    .advantages-disadvantages {
        padding: 1rem;
    }
    
    #faq {
        padding: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.35rem;
    }
    
    .advantages-disadvantages ul,
    ul, ol {
        margin-left: 1rem;
    }
}

/* Print styles */
@media print {
    header, footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .advantages-disadvantages,
    .faq-item {
        page-break-inside: avoid;
    }
}

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

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: white;
        color: black;
    }
    
    a {
        color: #0000ee;
    }
    
    header {
        background: #000080;
    }
}