@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;1,8..60,400&display=swap');

:root {
 --bg-primary: #06080d;
 --bg-secondary: #0d1017;
 --bg-card: #111620;
 --bg-card-hover: #161d2a;
 --text-primary: #e8ecf4;
 --text-secondary: #8892a4;
 --text-muted: #505a6e;
 --accent: #00c896;
 --accent-glow: rgba(0, 200, 150, 0.15);
 --accent-subtle: rgba(0, 200, 150, 0.08);
 --border: rgba(255, 255, 255, 0.06);
 --border-hover: rgba(255, 255, 255, 0.12);
 --gradient-1: linear-gradient(135deg, #00c896 0%, #0088ff 100%);
 --radius: 16px;
 --radius-sm: 8px;
 --font-display: 'Outfit', sans-serif;
 --font-body: 'Source Serif 4', Georgia, serif;
 --max-width: 1200px;
 --content-width: 720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.7; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
a { color: var(--accent); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--text-primary); }
::selection { background: var(--accent); color: var(--bg-primary); }
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: var(--gradient-1); z-index: 10000; transition: width 0.1s linear; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 2rem; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); background: rgba(6, 8, 13, 0.8); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text-primary); letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.5rem; }
.site-logo .logo-accent { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-family: var(--font-display); font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.3s ease; }
.site-nav a:hover { color: var(--text-primary); }
.hero { position: relative; padding: 10rem 2rem 5rem; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; animation: pulse-glow 8s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); } 50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); } }
.hero-tagline { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1.5rem; position: relative; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; color: var(--text-primary); max-width: 800px; margin: 0 auto 1.5rem; position: relative; }
.hero-description { font-family: var(--font-body); font-size: 1.15rem; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.8; position: relative; }
.content-section { max-width: var(--max-width); margin: 0 auto; padding: 3rem 2rem 6rem; }
.section-label { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.article-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient-1); opacity: 0; transition: opacity 0.4s ease; }
.article-card:hover { background: var(--bg-card-hover); border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-subtle); }
.article-card:hover::before { opacity: 1; }
.card-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.card-category { font-family: var(--font-display); font-size: 0.7rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; background: var(--accent-subtle); padding: 0.25rem 0.75rem; border-radius: 100px; }
.card-date { font-family: var(--font-display); font-size: 0.75rem; color: var(--text-muted); }
.card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 0.75rem; transition: color 0.3s ease; }
.article-card:hover .card-title { color: var(--accent); }
.card-excerpt { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; flex-grow: 1; margin-bottom: 1.5rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.card-reading-time { font-family: var(--font-display); font-size: 0.75rem; color: var(--text-muted); }
.card-arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: all 0.3s ease; }
.article-card:hover .card-arrow { background: var(--accent); border-color: var(--accent); color: var(--bg-primary); transform: translateX(2px); }
.article-header { padding: 8rem 2rem 3rem; text-align: center; position: relative; max-width: var(--content-width); margin: 0 auto; }
.article-header .card-category { margin-bottom: 1.5rem; display: inline-block; }
.article-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--text-primary); margin-bottom: 1.5rem; }
.article-meta-bar { display: flex; align-items: center; justify-content: center; gap: 2rem; font-family: var(--font-display); font-size: 0.8rem; color: var(--text-muted); }
.article-divider { width: 60px; height: 2px; background: var(--gradient-1); margin: 2.5rem auto; border-radius: 1px; }.article-body { max-width: var(--content-width); margin: 0 auto; padding: 0 2rem 6rem; }
.article-body h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-primary); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.article-body h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin: 2rem 0 0.75rem; }
.article-body p { margin-bottom: 1.5rem; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.85; }
.article-body strong { color: var(--text-primary); font-weight: 600; }
.article-body ul, .article-body ol { margin: 1.5rem 0; padding-left: 1.5rem; color: var(--text-secondary); }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--accent-subtle); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-secondary); }
.article-body code { font-size: 0.85em; background: var(--bg-card); padding: 0.2em 0.5em; border-radius: 4px; border: 1px solid var(--border); color: var(--accent); }
.article-body pre { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.5rem; margin: 2rem 0; overflow-x: auto; }
.article-body pre code { background: none; border: none; padding: 0; color: var(--text-secondary); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 200, 150, 0.3); }
.article-body a:hover { text-decoration-color: var(--accent); }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.tag { font-family: var(--font-display); font-size: 0.7rem; font-weight: 500; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em; transition: all 0.3s ease; }
.tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.site-footer { border-top: 1px solid var(--border); padding: 3rem 2rem; text-align: center; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-family: var(--font-display); font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-display); font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 768px) { .hero { padding: 8rem 1.5rem 3rem; } .hero h1 { font-size: 2rem; } .articles-grid { grid-template-columns: 1fr; } .content-section { padding: 2rem 1.5rem 4rem; } .article-card { padding: 1.5rem; } .article-header { padding: 7rem 1.5rem 2rem; } .article-body { padding: 0 1.5rem 4rem; } .footer-inner { flex-direction: column; gap: 1rem; } .site-nav { gap: 1rem; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero h1, .hero-tagline, .hero-description { animation: fade-in-up 0.8s ease forwards; }
.hero-tagline { animation-delay: 0.1s; opacity: 0; }
.hero h1 { animation-delay: 0.2s; opacity: 0; }
.hero-description { animation-delay: 0.4s; opacity: 0; }
.article-card { animation: fade-in-up 0.6s ease forwards; opacity: 0; }
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }

/* Table Styling */
.article-body table {
 width: 100%;
 border-collapse: collapse;
 margin: 1.5em 0;
 font-size: 0.95em;
}
.article-body th,
.article-body td {
 border: 1px solid var(--border-hover);
 padding: 0.6em 1em;
 text-align: left;
}
.article-body th {
 background: var(--bg-card);
 font-weight: 600;
 color: var(--text-primary);
}
.article-body tr:nth-child(even) {
 background: rgba(255,255,255,0.03);
}
