/* ===== BASE STYLES ===== */
:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== HEADER ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

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

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-graphic {
    font-size: 120px;
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* ===== SECTIONS ===== */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--primary);
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 80px 0;
}

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

.category-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
    position: relative;
}

.category-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

.category-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.category-arrow {
    font-size: 20px;
    color: var(--accent);
    font-weight: 600;
}

/* ===== FEATURED ===== */
.featured {
    padding: 80px 0;
    background: var(--white);
}

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

.featured-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    position: relative;
}

.featured-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.featured-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.featured-card h3 a:hover {
    color: var(--accent);
}

.featured-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.featured-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
}

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

/* ===== TRUST ===== */
.trust {
    padding: 80px 0;
}

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

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.trust-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.trust-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
}

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

.newsletter-box h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.newsletter-box p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 12px;
}

/* ===== AFFILIATE DISCLOSURE ===== */
.affiliate-disclosure {
    background: var(--bg);
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.affiliate-disclosure p {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
    margin-top: 16px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

/* ===== ADS ===== */
.ad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.ad-top {
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 32px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin: 32px 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.faq-section h2 {
    font-size: 24px;
    margin-bottom: 24px;
}

.faq-item {
    background: var(--bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.faq-item h4 {
    color: var(--primary);
    font-size: 17px;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text);
    line-height: 1.6;
}

/* ===== PRODUCT HIGHLIGHT ===== */
.product-highlight {
    background: var(--bg);
    border-left: 4px solid var(--accent);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.product-highlight p {
    margin-bottom: 8px;
}

.product-highlight strong {
    color: var(--primary);
}

.affiliate-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-top: 12px;
}

.affiliate-link:hover {
    text-decoration: underline;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    overflow-x: auto;
    margin: 24px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.comparison-table td:first-child {
    font-weight: 500;
}

/* ===== PRO TIP ===== */
.pro-tip {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.pro-tip h4 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 8px;
}

/* ===== RELATED GUIDES ===== */
.related-guides {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.related-guides h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
}

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

.related-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.2s;
}

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

.related-icon {
    font-size: 24px;
}

.related-card span:last-child {
    font-weight: 500;
    color: var(--primary);
}

/* ===== ARTICLE STYLES ===== */
.article-content {
    padding: 40px 0;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.guide-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.article-category {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 36px;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
}

.article-body {
    font-size: 17px;
    line-height: 1.8;
}

.article-body .lead {
    font-size: 20px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 24px;
}

.article-body h2 {
    font-size: 26px;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-body h3 {
    font-size: 20px;
    color: var(--primary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body h4 {
    font-size: 17px;
    color: var(--primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.article-body p {
    margin-bottom: 16px;
}

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

.article-body li {
    margin-bottom: 8px;
    list-style: disc;
}

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

.article-body strong {
    color: var(--primary);
}

.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border);
}

.author-box {
    background: var(--bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin: 40px 0;
}

.final-cta h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.final-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-graphic {
        display: none;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}