* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #f9fafb; color: #374151; line-height: 1.6; }

/* ── Navbar ── */
.navbar { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; height: 72px; }
.nav-brand img { height: 55px; width: auto; display: block; }
.nav-menu { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-menu a { color: #374151; text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 6px; font-size: 15px; transition: color 0.2s, background 0.2s; white-space: nowrap; }
.nav-menu a:hover { color: #1a56db; background: #eff6ff; }
.nav-cta-btn { background: #1a56db !important; color: #fff !important; border-radius: 8px !important; padding: 9px 18px !important; font-weight: 600 !important; }
.nav-cta-btn:hover { background: #1d4ed8 !important; color: #fff !important; }

/* ── Hero ── */
.hero { background: #fff; padding: 96px 24px 88px; border-bottom: 1px solid #e5e7eb; text-align: center; }
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-eyebrow { display: inline-block; background: #eff6ff; color: #1a56db; font-size: 13px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 24px; }
.hero h1 { font-size: 3rem; font-weight: 800; color: #0f172a; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: #1a56db; }
.hero p { font-size: 1.15rem; color: #6b7280; line-height: 1.75; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary { background: #1a56db; color: #fff; padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background 0.2s; display: inline-block; }
.btn-primary:hover { background: #1d4ed8; }
.btn-outline { background: transparent; color: #1a56db; border: 2px solid #1a56db; padding: 11px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.2s; display: inline-block; }
.btn-outline:hover { background: #eff6ff; }

/* ── Shared section styles ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: 2rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; color: #6b7280; max-width: 520px; margin: 0 auto; }

/* ── What We Do ── */
.what-section { background: #f3f4f6; padding: 80px 24px; }
.what-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.what-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; text-align: center; }
.what-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.what-card-body { padding: 28px 24px; }
.what-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }
.what-card h3 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.what-card p { font-size: 14px; color: #6b7280; line-height: 1.65; }

/* ── The Lab ── */
.lab-section { background: #0f172a; padding: 80px 24px; }
.lab-section .section-header h2 { color: #f9fafb; }
.lab-section .section-header p { color: #94a3b8; }
.lab-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lab-features { display: flex; flex-direction: column; gap: 24px; }
.lab-feature { display: flex; gap: 16px; align-items: flex-start; }
.lab-feature-icon { background: #1e293b; border-radius: 10px; padding: 12px; font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.lab-feature h4 { font-size: 15px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; }
.lab-feature p { font-size: 13px; color: #94a3b8; line-height: 1.55; }
.lab-cta { margin-top: 8px; }
.btn-white { background: #fff; color: #1a56db; padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 15px; display: inline-block; transition: background 0.2s; }
.btn-white:hover { background: #eff6ff; }
.lab-terminal { background: #1e293b; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.term-bar { background: #0f172a; padding: 10px 16px; display: flex; gap: 6px; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.term-body { padding: 20px 24px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.8; }
.t-prompt { color: #60a5fa; }
.t-cmd { color: #e2e8f0; }
.t-out { color: #86efac; }
.terminal-cursor { display: inline-block; width: 8px; height: 14px; background: #60a5fa; animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink { 50% { opacity: 0; } }

/* ── Learning Paths ── */
.paths-section { background: #fff; padding: 80px 24px; }
.paths-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.path-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px; transition: box-shadow 0.2s, transform 0.2s; }
.path-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.path-icon { font-size: 2.2rem; margin-bottom: 14px; }
.path-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.path-card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 24px; }
.path-btn { display: inline-block; font-size: 14px; font-weight: 600; color: #1a56db; text-decoration: none; padding: 9px 18px; border: 2px solid #1a56db; border-radius: 8px; transition: all 0.2s; }
.path-btn:hover { background: #1a56db; color: #fff; }

/* ── About ── */
.about-section { background: #f9fafb; padding: 80px 24px; }
.about-section.page { padding-top: 56px; }
.about-inner { max-width: 800px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.about-avatar { width: 160px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.about-text h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.about-text p { font-size: 15px; color: #6b7280; line-height: 1.75; margin-bottom: 16px; }
.about-links { display: flex; gap: 16px; flex-wrap: wrap; }
.about-link { font-size: 14px; font-weight: 600; color: #1a56db; text-decoration: none; }
.about-link:hover { text-decoration: underline; }

/* ── CTA Banner ── */
.cta-banner { background: #1a56db; padding: 72px 24px; text-align: center; }
.cta-banner h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }

/* ── Blog ── */
.blog-section { background: #fff; padding: 64px 24px 96px; }
.blog-header { max-width: 1100px; margin: 0 auto 48px; text-align: center; }
.blog-header h1 { font-size: 2.2rem; font-weight: 800; color: #0f172a; margin-bottom: 12px; }
.blog-header p { font-size: 1.05rem; color: #6b7280; }
.blog-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; text-decoration: none; display: block; transition: box-shadow 0.2s, transform 0.2s; }
.blog-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.blog-card-img { width: 100%; height: 160px; object-fit: cover; display: block; background: #e5e7eb; }
.blog-card-body { padding: 22px; }
.blog-card-category { display: inline-block; background: #eff6ff; color: #1a56db; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 12px; margin-bottom: 10px; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin-bottom: 12px; }
.blog-card-meta { font-size: 13px; color: #9ca3af; }
.blog-empty { text-align: center; color: #6b7280; padding: 48px 0; }

.blog-post { max-width: 720px; margin: 0 auto; padding: 56px 24px 96px; }
.blog-post-back { display: inline-block; margin-bottom: 24px; color: #1a56db; text-decoration: none; font-weight: 600; font-size: 14px; }
.blog-post-category { display: inline-block; background: #eff6ff; color: #1a56db; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 12px; margin-bottom: 16px; }
.blog-post h1 { font-size: 2.2rem; font-weight: 800; color: #0f172a; line-height: 1.2; margin-bottom: 16px; }
.blog-post-meta { color: #9ca3af; font-size: 14px; margin-bottom: 40px; }
.blog-post-cover { width: 100%; border-radius: 12px; margin-bottom: 40px; display: block; }
.blog-post-body { font-size: 16px; color: #374151; line-height: 1.85; }
.blog-post-body h2 { font-size: 1.5rem; font-weight: 700; color: #0f172a; margin: 40px 0 16px; }
.blog-post-body h3 { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin: 32px 0 12px; }
.blog-post-body p { margin-bottom: 20px; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 20px 24px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body a { color: #1a56db; }
.blog-post-body img { max-width: 100%; border-radius: 8px; margin: 24px 0; }
.blog-post-body pre { background: #0f172a; color: #e2e8f0; padding: 20px; border-radius: 8px; overflow-x: auto; margin-bottom: 20px; font-size: 14px; }
.blog-post-body code { font-family: 'Courier New', monospace; }
.blog-post-body :not(pre) > code { background: #f3f4f6; padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.blog-post-body blockquote { border-left: 3px solid #1a56db; padding-left: 16px; color: #6b7280; margin-bottom: 20px; }

/* ── Footer ── */
.site-footer { background: #0f172a; color: #9ca3af; }
.footer-top { padding: 56px 24px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-top: 12px; max-width: 260px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 6px; background: #1e293b; color: #9ca3af; text-decoration: none; transition: all 0.2s; }
.footer-social a:hover { background: #1a56db; color: #fff; }
.footer-col h4 { color: #f9fafb; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #9ca3af; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #f9fafb; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 24px; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #9ca3af; text-decoration: none; font-size: 13px; }
.footer-bottom-links a:hover { color: #f9fafb; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .what-grid { grid-template-columns: 1fr 1fr; }
    .lab-inner { grid-template-columns: 1fr; }
    .lab-terminal { display: none; }
    .paths-grid { grid-template-columns: 1fr 1fr; }
    .about-inner { grid-template-columns: 1fr; text-align: center; }
    .about-avatar { margin: 0 auto; }
    .about-links { justify-content: center; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .what-grid { grid-template-columns: 1fr; }
    .paths-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post h1 { font-size: 1.7rem; }
}
