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

:root {
  --teal: #2bb5a0; --teal-mid: #4ecdc4; --sky: #29a8e0; --sky-light: #63c5ea;
  --grey-text: #4a5568; --grey-light: #f7f9fc; --white: #fff;
  --dark: #1a2332; --dark-mid: #243447;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--dark); overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 18px 60px; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(41,168,224,.12); box-shadow: 0 2px 20px rgba(41,168,224,.07); }
.nav-logo img { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 500; color: var(--dark-mid); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sky); }
.nav-cta { background: linear-gradient(135deg, var(--sky), var(--teal)); color: var(--white) !important; padding: 10px 24px; border-radius: 50px; font-weight: 600 !important; box-shadow: 0 4px 18px rgba(41,168,224,.3); }

/* HERO */
.blog-hero { background: linear-gradient(145deg, var(--dark) 0%, var(--dark-mid) 60%, #1a4a6a 100%); padding: 140px 60px 80px; text-align: center; position: relative; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(41,168,224,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(41,168,224,.06) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.blog-hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.blog-hero-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(41,168,224,.15); border: 1px solid rgba(41,168,224,.3); color: var(--sky-light); padding: 6px 16px; border-radius: 50px; font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.blog-hero h1 { font-family: 'Sora', sans-serif; font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: var(--white); letter-spacing: -.02em; margin-bottom: 20px; line-height: 1.08; }
.blog-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal-mid), var(--sky)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.blog-hero p { font-size: 18px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 560px; margin: 0 auto; }

/* FILTERS */
.blog-filters { background: var(--grey-light); border-bottom: 1px solid #e8f0f7; padding: 20px 60px; position: sticky; top: 84px; z-index: 100; }
.filters-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-btn { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 600; padding: 7px 18px; border-radius: 50px; border: 1.5px solid #d1e3f0; background: var(--white); color: var(--grey-text); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--sky); color: var(--sky); }
.filter-btn.active { background: linear-gradient(135deg, var(--sky), var(--teal)); color: var(--white); border-color: transparent; box-shadow: 0 4px 14px rgba(41,168,224,.3); }

/* MAIN GRID */
.blog-main { max-width: 1200px; margin: 0 auto; padding: 64px 60px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* FEATURED CARD */
.blog-featured-wrap { display: grid; grid-template-columns: 420px 1fr; min-height: 380px; border-radius: 24px; overflow: hidden; border: 1.5px solid #e8f0f7; transition: box-shadow .3s, border-color .3s; width: 100%; margin-bottom: 32px; }
.blog-featured-img { display: flex; align-items: center; justify-content: center; font-size: 96px; min-height: 380px; }
.blog-featured-body { padding: 48px 44px; background: var(--white); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.featured-label { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.blog-featured-body .blog-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.blog-featured-body h2 { font-family: 'Sora', sans-serif; font-size: clamp(22px, 2.5vw, 34px); font-weight: 800; color: var(--dark); margin-bottom: 14px; line-height: 1.2; letter-spacing: -.02em; }
.blog-featured-body p { font-size: 15px; color: var(--grey-text); line-height: 1.75; margin-bottom: 20px; }
.blog-tags-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.btn-blog { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, var(--sky), var(--teal)); color: var(--white); padding: 13px 28px; border-radius: 50px; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(41,168,224,.35); transition: transform .2s, box-shadow .2s; width: fit-content; }
.btn-blog:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(41,168,224,.45); }

/* REGULAR CARD */
.blog-card { background: var(--white); border: 1.5px solid #e8f0f7; border-radius: 24px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(41,168,224,.13); border-color: rgba(41,168,224,.3); }
.blog-card-hero { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 60px; }
.blog-card-body { padding: 24px; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-cat { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); background: rgba(41,168,224,.08); border: 1px solid rgba(41,168,224,.2); padding: 3px 10px; border-radius: 50px; }
.blog-date, .blog-read { font-size: 12px; color: #94a3b8; }
.blog-card h3 { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 10px; line-height: 1.3; letter-spacing: -.01em; }
.blog-card p { font-size: 14px; color: var(--grey-text); line-height: 1.65; }
.blog-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.blog-tag { font-size: 11px; font-weight: 500; padding: 3px 10px; border-radius: 50px; background: var(--grey-light); color: var(--grey-text); }
.blog-card-footer { padding: 16px 24px 24px; display: flex; align-items: center; gap: 6px; font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 600; color: var(--sky); }

/* EMPTY */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--grey-text); }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; }

/* FOOTER */
footer { background: var(--dark); padding: 48px 60px 28px; margin-top: 80px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-logo img { height: 44px; margin-bottom: 20px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.4); margin-bottom: 24px; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .blog-featured-wrap { grid-template-columns: 1fr; min-height: auto; }
  .blog-featured-img { min-height: 200px; font-size: 72px; }
  .blog-featured-body { padding: 32px 28px; }
}
@media (max-width: 900px) {
  nav { padding: 16px 24px; } .nav-links { display: none; }
  .blog-hero { padding: 110px 24px 60px; }
  .blog-filters { padding: 16px 24px; top: 80px; }
  .blog-main { padding: 40px 24px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  footer { padding: 40px 24px 24px; }
}
