:root {
    /* Trust-focused color palette */
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --accent: #059669;
    --accent-light: #10b981;
    
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
    
    --max-width: 1200px;
    --content-width: 720px;
    --header-height: 72px;
    
    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    color: var(--primary);
}

.logo-accent {
    color: var(--accent);
}

.main-nav {
    display: flex;
    gap: var(--space-8);
}

.main-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section - Improved spacing */
.hero {
    padding: calc(var(--header-height) + var(--space-24)) 0 var(--space-24);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: var(--space-16);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent);
    padding: var(--space-2) var(--space-4);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-6);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.hero-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.hero-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.hero-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-4);
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Buttons - Improved touch targets */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    min-height: 48px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
}

/* Trust Bar */
.trust-bar {
    background: var(--bg-dark);
    padding: var(--space-5) 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-icon {
    color: var(--accent-light);
    font-weight: 700;
}

/* Section Styles - Improved spacing */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-10);
    text-align: center;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-10);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.view-all:hover {
    text-decoration: underline;
}

/* Topics Section - Improved card spacing */
.topics-section {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.topic-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.topic-card:hover {
    background: var(--bg-primary);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.topic-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

.topic-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.topic-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Articles Section - Improved list spacing */
.articles-section {
    padding: var(--space-24) 0;
    background: var(--bg-secondary);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.article-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all 0.2s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
    transform: translateY(-2px);
}

.article-meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    font-size: 0.875rem;
}

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

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

.article-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    line-height: 1.8;
    font-size: 1.05rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Newsletter Section - Improved spacing */
.newsletter-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.newsletter-content h2 {
    font-size: 2.25rem;
    margin-bottom: var(--space-4);
}

.newsletter-content > p {
    opacity: 0.9;
    margin-bottom: var(--space-8);
    font-size: 1.15rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-4) var(--space-5);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    outline: none;
    min-height: 48px;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form .btn {
    background: var(--accent);
    padding: var(--space-4) var(--space-8);
    min-height: 48px;
}

.newsletter-form .btn:hover {
    background: var(--accent-light);
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Footer - Improved spacing */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    max-width: 320px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: var(--space-12);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: var(--space-2);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-8);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.disclaimer {
    margin-top: var(--space-3);
    font-size: 0.8rem !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header - Improved spacing */
.page-header {
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

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

/* Content Sections - Improved spacing */
.content-section {
    padding: var(--space-16) 0;
}

.content-section.bg-alt {
    background: var(--bg-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-16);
}

/* Article Full Page - NEW STYLES for better readability */
.article-full {
    padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-24);
}

.article-header {
    text-align: center;
    max-width: var(--content-width);
    margin: 0 auto var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-light);
}

.article-header .article-meta {
    justify-content: center;
    margin-bottom: var(--space-4);
    font-size: 0.9rem;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Content - Optimized for readability */
.article-content {
    max-width: var(--content-width);
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-content .lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.article-content h2 {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    margin: var(--space-12) 0 var(--space-6);
    color: var(--text-primary);
    line-height: 1.3;
}

.article-content h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    margin: var(--space-10) 0 var(--space-4);
    color: var(--text-primary);
    line-height: 1.4;
}

.article-content p {
    margin-bottom: var(--space-6);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: var(--space-3);
    padding-left: var(--space-2);
}

.article-content li::marker {
    color: var(--text-muted);
}

/* Nested lists */
.article-content li > ul,
.article-content li > ol {
    margin-top: var(--space-3);
    margin-bottom: var(--space-3);
}

.article-content li > ul {
    list-style-type: circle;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--primary-dark);
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: var(--space-6);
    margin: var(--space-8) 0;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.15rem;
}

.article-content blockquote p {
    margin-bottom: 0;
}

.article-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: calc(var(--header-height) + var(--space-6));
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    border: 1px solid var(--border-light);
}

.sidebar-widget h4 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget li {
    margin-bottom: var(--space-3);
}

.sidebar-widget a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.sidebar-widget a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    min-height: 48px;
}

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

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Author Card - Improved spacing */
.author-card {
    display: flex;
    gap: var(--space-6);
    align-items: flex-start;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-top: var(--space-12);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: var(--space-2);
    font-size: 1.15rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

/* Table of Contents */
.toc {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    border: 1px solid var(--border-light);
}

.toc h4 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: var(--space-2);
}

.toc a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.toc a:hover {
    color: var(--primary);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    background: var(--primary);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive - Improved for mobile */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-10);
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    :root {
        --space-24: 4rem;
        --space-20: 3.5rem;
        --space-16: 3rem;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-items {
        gap: var(--space-4);
        flex-direction: column;
        align-items: center;
    }
    
    .trust-item {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: var(--space-6);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .topic-card {
        padding: var(--space-6);
    }
    
    .articles-section {
        padding: var(--space-12) 0;
    }
    
    .article-card {
        padding: var(--space-6);
    }
    
    .article-card h3 {
        font-size: 1.25rem;
    }
    
    .article-excerpt {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .footer-links {
        gap: var(--space-8);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .article-full {
        padding: calc(var(--header-height) + var(--space-8)) 0 var(--space-12);
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-subtitle {
        font-size: 1.1rem;
    }
    
    .article-content {
        font-size: 1.05rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-6);
    }
    
    .author-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .container,
    .container-narrow {
        padding: 0 var(--space-4);
    }
    
    .hero h1 {
        font-size: 1.625rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: var(--space-1) var(--space-3);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .article-card {
        padding: var(--space-5);
    }
    
    .article-card h3 {
        font-size: 1.15rem;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--space-6);
    }
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-8) 0;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.data-table thead {
    background: var(--bg-secondary);
}

.data-table th,
.data-table td {
    padding: var(--space-4) var(--space-5);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.data-table th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
}

/* Example Box */
.example-box {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(5, 150, 105, 0.03) 100%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.example-box h4 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
    font-family: var(--font-sans);
}

.example-box ul {
    margin-bottom: var(--space-4);
}

.example-box li {
    margin-bottom: var(--space-2);
}

.example-box em {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.03) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.warning-box h4 {
    color: #dc2626;
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
    font-family: var(--font-sans);
}

.warning-box ul {
    margin-bottom: 0;
}

.warning-box li {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.warning-box li strong {
    color: #dc2626;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin: var(--space-12) 0;
    text-align: center;
    color: white;
}

.cta-box h3 {
    color: white !important;
    font-size: 1.5rem !important;
    margin-bottom: var(--space-4) !important;
    margin-top: 0 !important;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-6);
    font-size: 1.05rem;
}

.cta-box .btn-primary {
    background: white;
    color: var(--primary);
    display: inline-block;
}

.cta-box .btn-primary:hover {
    background: var(--bg-secondary);
    color: var(--primary-dark);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.08) 0%, rgba(30, 64, 175, 0.03) 100%);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.info-box h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
    font-family: var(--font-sans);
}

/* Tip Box */
.tip-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin: var(--space-8) 0;
}

.tip-box h4 {
    color: #d97706;
    font-size: 1.1rem;
    margin-bottom: var(--space-4);
    font-family: var(--font-sans);
}

/* Article Tags */
.article-tags {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-light);
}

.article-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.article-tag:hover {
    background: var(--primary);
    color: white;
}

/* Share buttons */
.share-section {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

.share-section h4 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-secondary);
}

.share-buttons {
    display: flex;
    gap: var(--space-3);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1.25rem;
}

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

/* Related Articles */
.related-articles {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

.related-articles h3 {
    font-size: 1.35rem;
    margin-bottom: var(--space-6);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.related-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.related-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.related-card .article-category {
    font-size: 0.8rem;
    margin-bottom: var(--space-2);
    display: block;
}

.related-card h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: var(--space-3);
    }
    
    .example-box,
    .warning-box,
    .info-box,
    .tip-box,
    .cta-box {
        padding: var(--space-5);
        margin: var(--space-6) 0;
    }
    
    .cta-box h3 {
        font-size: 1.25rem !important;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
