@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #247ba0;
  --primary-hover: #1b5d7a;
  --primary-light: #eef7fc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --bg-main: #ffffff;
  --bg-sub: #f8fafc;
  --border: #e2e8f0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-lg: 0 18px 40px -20px rgba(36, 123, 160, .28);
  --transition: all .25s cubic-bezier(.4, 0, .2, 1);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--text-main); background: var(--bg-main); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav-container { height: 70px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo-wrapper { display: flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: -.03em; color: var(--primary); }
.logo-img, .footer-logo-img { width: 38px; height: 38px; object-fit: cover; background-color: var(--primary-light); border-radius: 50%; overflow: hidden; }
.logo-text { font-size: 1.2rem; white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--text-muted); font-size: .94rem; font-weight: 600; }
.nav-link:hover { color: var(--primary); }
.btn-nav-cta { padding: .5rem 1.15rem; border-radius: var(--radius-pill); color: #fff; background: var(--primary); font-size: .9rem; font-weight: 700; box-shadow: 0 4px 10px rgba(36,123,160,.2); }
.btn-nav-cta:hover { background: var(--primary-hover); transform: translateY(-1px); }
.menu-toggle { display: none; color: var(--text-main); border: 0; background: transparent; cursor: pointer; padding: .5rem; }
.menu-toggle svg { width: 24px; height: 24px; }

.hero-section { padding: 7.25rem 0 6.5rem; text-align: center; background: radial-gradient(circle at 82% 12%, rgba(36,123,160,.1), transparent 34%), radial-gradient(circle at 12% 90%, rgba(36,123,160,.05), transparent 30%); }
.hero-content { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.hero-badge, .section-label { color: var(--primary); font-size: .77rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.hero-badge { padding: .37rem .85rem; border-radius: var(--radius-pill); background: var(--primary-light); }
h1 { max-width: 760px; font-size: clamp(2.55rem, 6vw, 4.3rem); line-height: 1.1; letter-spacing: -.055em; }
h1 span { color: var(--primary); }
.hero-content p { max-width: 660px; color: var(--text-muted); font-size: 1.08rem; }

.featured-section { padding: 4.75rem 0 6rem; border-top: 1px solid var(--border); background: var(--bg-sub); }
.section-header { margin-bottom: 2rem; }
.section-header h2 { margin-top: .35rem; font-size: clamp(1.85rem, 4vw, 2.5rem); letter-spacing: -.04em; line-height: 1.2; }
.featured-card { display: grid; grid-template-columns: minmax(190px, .62fr) 1.5fr; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.featured-card:hover, .featured-card:focus-visible { border-color: #bfd8e4; box-shadow: var(--shadow-lg); }
.featured-card:focus-visible { outline: 3px solid rgba(36, 123, 160, .35); outline-offset: 3px; }
.featured-accent { display: grid; min-height: 290px; place-items: center; color: var(--primary); background: linear-gradient(145deg, #e7f5fb, #f8fcfe); }
.featured-accent img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { display: flex; flex-direction: column; align-items: flex-start; padding: 2.5rem; }
.post-meta { display: flex; gap: .55rem; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.featured-content h3 { max-width: 700px; margin: .95rem 0 1rem; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.25; letter-spacing: -.04em; }
.featured-content p { max-width: 680px; color: var(--text-muted); }
.post-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.75rem; color: var(--primary); font-size: .94rem; font-weight: 800; }
.post-link svg { width: 17px; height: 17px; transition: var(--transition); }
.featured-card:hover .post-link, .featured-card:focus-visible .post-link { color: var(--primary-hover); }
.featured-card:hover .post-link svg, .featured-card:focus-visible .post-link svg { transform: translateX(4px); }

.posts-section { padding: 4.75rem 0 6rem; background: var(--bg-main); }
.post-list { border-top: 1px solid var(--border); }
.post-row { display: flex; align-items: center; gap: 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.post-row:hover .post-row-title, .post-row:focus-visible .post-row-title { color: var(--primary-hover); }
.post-row:focus-visible { outline: 3px solid rgba(36, 123, 160, .35); outline-offset: 3px; }
.post-thumbnail { flex: 0 0 68px; width: 68px; height: 68px; border-radius: var(--radius-sm); object-fit: cover; }
.post-row-content { display: flex; flex: 1; min-width: 0; flex-direction: column; }
.post-row-title { color: var(--text-main); font-weight: 800; letter-spacing: -.02em; transition: var(--transition); }
.post-row-summary { margin-top: .2rem; color: var(--text-muted); font-size: .9rem; }
.post-row-arrow { flex: 0 0 auto; width: 19px; height: 19px; color: var(--primary); transition: var(--transition); }
.post-row:hover .post-row-arrow, .post-row:focus-visible .post-row-arrow { transform: translateX(4px); }

footer { border-top: 1px solid var(--border); padding: 2.15rem 0; color: var(--text-light); font-size: .85rem; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; gap: 1.3rem; color: var(--text-muted); font-weight: 700; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 767px) {
  .menu-toggle { display: block; }
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; width: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem 1.5rem; text-align: center; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
  .nav-menu.active { display: flex; }
  .nav-link { padding: .4rem 0; }
  .btn-nav-cta { padding: .7rem; }
  .hero-section { padding: 5rem 0 4.6rem; }
  .featured-section { padding: 3.75rem 0 4.5rem; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-accent { min-height: 145px; }
  .featured-content { padding: 1.75rem; }
  .post-row { gap: .9rem; }
  .post-thumbnail { flex-basis: 56px; width: 56px; height: 56px; }
  .post-row-summary { font-size: .84rem; }
  .footer-content { flex-direction: column; text-align: center; }
}
