/* -- NO-HO Blog Styles (Light Theme) -- */
:root {
    --primary: #ffffff;
    --primary-soft: #f8f9fc;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --accent-light: #dbeafe;
    --accent-glow: rgba(37, 99, 235, 0.08);
    --surface: #f1f5f9;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --dark: #0f172a;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --border: rgba(37, 99, 235, 0.15);
    --border-light: #e2e8f0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-accent: 0 4px 24px rgba(37, 99, 235, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--primary); color: var(--text);
    line-height: 1.7; overflow-x: hidden;
}

/* -- NAV -- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 2rem; background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-light);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-size: 1.5rem; font-weight: 800;
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    font-weight: 500; transition: color 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
    background: var(--accent) !important; color: var(--white) !important;
    padding: 0.6rem 1.4rem; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 2px; background: var(--text); }

/* -- BLOG INDEX -- */
.blog-hero {
    padding: 8rem 2rem 3rem; text-align: center;
    background: var(--primary-soft);
}
.blog-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    letter-spacing: -1px; margin-bottom: 1rem; color: var(--dark);
}
.blog-hero h1 .hl {
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.blog-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.blog-grid {
    max-width: 1200px; margin: 0 auto; padding: 2rem 2rem 4rem;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem;
}

.blog-card {
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.4s; text-decoration: none; color: inherit;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.blog-card:hover {
    border-color: var(--accent); transform: translateY(-4px);
    box-shadow: var(--shadow-accent);
}
.card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.card-tag {
    display: inline-block; padding: 0.25rem 0.7rem; border-radius: 6px;
    background: var(--accent-light); color: var(--accent);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 0.8rem; width: fit-content;
}
.card-body h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; color: var(--dark); }
.card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.card-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.8rem; border-top: 1px solid var(--border-light);
    font-size: 0.8rem; color: var(--text-dim);
}
.read-more { color: var(--accent); font-weight: 600; }

/* -- ARTICLE PAGE -- */
.article-header {
    padding: 8rem 2rem 3rem; text-align: center; max-width: 800px; margin: 0 auto;
}
.article-header .card-tag { margin-bottom: 1.2rem; }
.article-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
    line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.5px;
    color: var(--dark);
}
.article-meta {
    color: var(--text-dim); font-size: 0.9rem;
    display: flex; justify-content: center; gap: 1.5rem;
}

.article-content {
    max-width: 750px; margin: 0 auto; padding: 0 2rem 4rem;
    font-size: 1.05rem; line-height: 1.9;
}
.article-content h2 {
    font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem;
    color: var(--dark); letter-spacing: -0.3px;
}
.article-content h3 {
    font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.8rem; color: var(--dark);
}
.article-content p { margin-bottom: 1.3rem; color: var(--text-muted); }
.article-content strong { color: var(--text); }
.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem; color: var(--text-muted);
}
.article-content li { margin-bottom: 0.5rem; }
.article-content blockquote {
    border-left: 3px solid var(--accent); padding: 1rem 1.5rem;
    margin: 1.5rem 0; background: var(--accent-glow); border-radius: 0 10px 10px 0;
    font-style: italic;
}
.article-content a { color: var(--accent); text-decoration: underline; }

/* -- CTA BOX IN ARTICLE -- */
.article-cta {
    max-width: 700px; margin: 2rem auto 4rem; padding: 2.5rem;
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius-lg); text-align: center;
    box-shadow: var(--shadow);
}
.article-cta h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--dark); }
.article-cta p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--accent); color: var(--white);
    padding: 0.9rem 1.8rem; border-radius: 10px; text-decoration: none;
    font-weight: 700; font-size: 1rem; transition: all 0.3s;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* -- FOOTER -- */
footer {
    padding: 3rem 2rem 2rem; border-top: 1px solid var(--border-light);
    background: var(--primary-soft);
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.8rem; color: var(--text-dim); }

/* -- RESPONSIVE -- */
@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); padding: 1.5rem; flex-direction: column;
        text-align: center; border-bottom: 1px solid var(--border-light);
        box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .blog-grid { grid-template-columns: 1fr; }
    .article-meta { flex-direction: column; gap: 0.5rem; }
}
