/* Theme Colors - Applied via classes */
.theme-primary { color: #0066FF; }
.theme-primary-bg { background-color: #0066FF; }
.theme-dark { color: #1A1A2E; }
.theme-secondary { color: #4A4A68; }
.theme-muted { color: #8A8AA3; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.link-reset {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0066FF;
    color: white;
}

.btn-primary:hover {
    background-color: #0052CC;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: #1A1A2E;
    border: 2px solid #E5E7EB;
}

.btn-outline:hover {
    border-color: #0066FF;
    color: #0066FF;
}

.btn-white {
    background-color: white;
    color: #0066FF;
}

.btn-white:hover {
    background-color: #F8F9FC;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Blog Header */
.blog-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-header p {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Article */
.featured-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 48px;
}

.featured-content .article-category {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.featured-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-content h2 a {
    color: var(--text-primary);
}

.featured-content h2 a:hover {
    color: var(--primary-color);
}

.featured-content > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image .article-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.article-image {
    overflow: hidden;
}

.article-image .article-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image .article-img {
    transform: scale(1.05);
}

/* Articles Section */
.articles-section {
    padding: 60px 0 100px;
    background-color: var(--bg-white);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.article-image {
    background: var(--bg-light);
}

.article-content {
    padding: 24px;
}

.article-content .article-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.article-content h3 a {
    color: var(--text-primary);
}

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

.article-content > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.article-content .article-meta {
    margin-bottom: 0;
}

/* Article Page Styles */
.article-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
}

.article-header .container {
    max-width: 800px;
}

.article-header .article-category {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-header .article-meta {
    margin-bottom: 0;
}

.article-body {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.article-body .container {
    max-width: 800px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-body .info-box {
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 32px 0;
}

.article-body .info-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.article-body .info-box p {
    margin-bottom: 0;
    font-size: 15px;
}

.article-body .tip-box {
    background-color: #E8F5E9;
    border-left: 4px solid var(--secondary-color);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body .tip-box p {
    margin-bottom: 0;
    font-size: 15px;
}

.article-body .warning-box {
    background-color: #FFF3E0;
    border-left: 4px solid #FF9800;
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-body .warning-box p {
    margin-bottom: 0;
    font-size: 15px;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    margin-top: 60px;
}

.article-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    margin-top: 0;
}

.article-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.article-cta .btn {
    font-size: 17px;
    padding: 16px 36px;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.related-articles h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.related-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.related-card .article-category {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.related-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
}

.related-card h3 a {
    color: var(--text-primary);
}

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

.related-card .read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.related-card .read-more:hover {
    gap: 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background-color: #1A1A2E;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4,
.footer-cta h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

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

.footer-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 8px;
}

/* Legal Page Styles */
.page-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

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

.content-section {
    padding: 60px 0;
}

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

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
}

.legal-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content li {
    list-style: disc;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content address {
    font-style: normal;
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    line-height: 1.8;
}

.legal-content a {
    color: var(--primary-color);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

@media (max-width: 768px) {
    .navbar .container {
        height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .blog-header {
        padding: 100px 0 40px;
    }

    .blog-header h1 {
        font-size: 32px;
    }

    .featured-article {
        padding: 32px;
    }

    .featured-content h2 {
        font-size: 24px;
    }

    .article-header h1 {
        font-size: 28px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 20px;
    }

    .article-cta {
        padding: 32px 24px;
    }

    .article-cta h3 {
        font-size: 22px;
    }

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

    .cta-content h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}

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

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
}
