:root {
    --primary: #0a1628;
    --secondary: #1a2d4a;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-dark: #1d4ed8;
    --gradient-1: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0f2027 100%);
    --gradient-2: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --bg: #0a1628;
    --bg-card: #0f1f33;
    --bg-card-hover: #132744;
    --border: rgba(59, 130, 246, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
header {
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 28px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover { color: var(--accent-light); }

/* Hero */
.hero {
    background: var(--gradient-1);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    color: var(--text-light);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero .stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero .stat {
    text-align: center;
}

.hero .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
}

.hero .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-light);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

/* Section */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.section-subtitle {
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: auto;
}

.blog-card .read-more {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.blog-card .read-more:hover { color: var(--accent); }

/* Article Page */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 24px;
}

.article-page .article-header {
    margin-bottom: 40px;
}

.article-page .article-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.article-page h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-page .article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-page .article-featured-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.article-page h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--accent-light);
}

.article-page h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 28px 0 12px;
}

.article-page p {
    margin-bottom: 18px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-page ul, .article-page ol {
    margin: 16px 0 24px;
    padding-left: 24px;
    color: var(--text-light);
    line-height: 1.8;
}

.article-page li { margin-bottom: 8px; }

.article-page .highlight-box {
    background: rgba(59, 130, 246, 0.08);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
}

.article-page .highlight-box p { margin-bottom: 0; }

.article-page .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.article-page .compare-table th,
.article-page .compare-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-page .compare-table th {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    font-weight: 600;
}

.article-page .compare-table tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.article-page .pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0;
}

.article-page .pros, .article-page .cons {
    padding: 20px;
    border-radius: var(--radius-sm);
}

.article-page .pros {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.article-page .cons {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.article-page .pros h4, .article-page .cons h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.article-page .pros h4 { color: #34d399; }
.article-page .cons h4 { color: #f87171; }

.article-page .pros li, .article-page .cons li {
    margin-bottom: 6px;
}

/* AdSense */
.adsense-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 24px;
    min-height: 90px;
    background: rgba(59, 130, 246, 0.03);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
}

.adsense-inline {
    margin: 30px 0;
    min-height: 90px;
    background: rgba(59, 130, 246, 0.03);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border);
}

/* Related Articles */
.related-articles {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 24px;
}

.related-articles h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

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

.related-card h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.related-card .related-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-light);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--gradient-3);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    margin-top: 60px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

footer .copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero { padding: 70px 0 50px; }
    .cards-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
    .article-page h1 { font-size: 1.7rem; }
    .article-page .pros-cons { grid-template-columns: 1fr; }
    header .container { flex-direction: column; gap: 12px; }
    nav a { margin: 0 12px; }
    .hero .stats { gap: 24px; }
    .blog-card { flex-direction: column; }
    .blog-card-img { width: 100%; height: 200px; }
    footer .container { flex-direction: column; text-align: center; }
    footer .footer-links a { margin: 0 12px; }
}
