:root{
  --bg:#eef3f7;
  --surface:#f6f9fc;
  --card:#ffffff;
  --text:#18304a;
  --muted:#5b7187;
  --primary:#2452d6;
  --primary-dark:#0f2f72;
  --accent:#1ec8ef;
  --border:#d9e3ee;
  --shadow:0 14px 32px rgba(17,39,77,.12);
  --radius:18px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  background:linear-gradient(180deg,#f4f8fb 0%, #eaf1f7 100%);
  color:var(--text);
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
.container{width:min(calc(100% - 48px), var(--container)); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:blur(14px);
  background:linear-gradient(90deg, rgba(9,31,78,.96), rgba(43,101,223,.9));
  color:#fff;
  box-shadow:0 10px 30px rgba(8,26,63,.18);
}
.nav{
  min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{display:flex; align-items:center; gap:12px; font-size:2rem; font-weight:800; letter-spacing:-.03em}
.brand-mark{
  width:34px;height:34px;border-radius:10px;
  display:grid;place-items:center;background:rgba(255,255,255,.14); font-size:1.2rem
}
.menu{display:flex; gap:36px; font-weight:600}
.menu a{opacity:.86; padding:8px 0; border-bottom:2px solid transparent}
.menu a.active,.menu a:hover{opacity:1; border-color:#fff}
.nav-icons{display:flex; gap:18px; font-size:1.4rem}

.hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 30%, rgba(74,146,255,.32), transparent 30%),
    linear-gradient(100deg, #0b2558 0%, #153f8d 42%, #45b9ef 100%);
}
.hero-overlay{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size:44px 44px;
  opacity:.18;
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid; grid-template-columns:1.1fr .9fr;
  gap:28px; align-items:center;
  padding:56px 0 38px;
}
.hero-copy{color:#fff; padding:26px 0}
.eyebrow{
  display:inline-block; margin:0 0 10px; padding:8px 12px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22);
  border-radius:999px; font-size:.9rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase
}
.hero h1{
  margin:0 0 16px; font-size:clamp(2.3rem, 5vw, 4rem); line-height:1.03; letter-spacing:-.04em;
  max-width:720px;
}
.lead{max-width:640px; font-size:1.18rem; line-height:1.65; color:rgba(255,255,255,.88)}
.hero-actions{display:flex; gap:14px; margin-top:28px}
.hero-visual img{
  width:100%; border-radius:22px; box-shadow:0 24px 60px rgba(0,0,0,.26);
  border:1px solid rgba(255,255,255,.18);
}

.section{padding:42px 0}
.surface{background:rgba(255,255,255,.5); border-top:1px solid rgba(255,255,255,.5); border-bottom:1px solid var(--border)}
.section-head{margin-bottom:22px}
.section-head h2{margin:0 0 8px; font-size:2rem; letter-spacing:-.03em}
.section-head p{margin:0; color:var(--muted)}
.section-head.compact{margin-bottom:12px}
.section-head.compact h2{font-size:1.8rem}
.section-head h2 span{color:var(--primary)}
.section-head.light h2,.section-dark h3{color:#fff}

.grid-main{
  display:grid; grid-template-columns:1fr 310px; gap:28px; align-items:start;
}
.cards{display:grid; gap:22px}
.cards-3{grid-template-columns:repeat(3,1fr)}
.cards-2{grid-template-columns:repeat(2,1fr)}
.card{
  background:var(--card); border:1px solid rgba(207,219,232,.9);
  border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden;
}
.article-card img{height:170px; width:100%; object-fit:cover}
.card-body{padding:18px 18px 16px}
.card-body h3{margin:0 0 10px; font-size:1.55rem; letter-spacing:-.03em}
.card-body p{margin:0 0 16px; color:var(--muted); line-height:1.6}
.meta{display:flex; justify-content:space-between; align-items:center; gap:12px; color:#7a8c9d; font-size:.95rem}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:none; cursor:pointer; border-radius:12px; padding:14px 20px;
  font-weight:700; letter-spacing:-.01em;
}
.btn-primary{background:linear-gradient(135deg,var(--primary),#336bf0); color:#fff}
.btn-secondary{background:rgba(255,255,255,.13); color:#fff; border:1px solid rgba(255,255,255,.26)}
.btn-small{padding:11px 14px; border-radius:10px; background:linear-gradient(135deg,var(--primary),#3f76ee); color:#fff}
.btn-accent{background:linear-gradient(135deg,#ffbe20,#ffa614); color:#17324f; min-width:168px}

.topics .topic-list{padding:8px}
.topic-list a{
  display:block; padding:20px 18px; border-bottom:1px solid var(--border); font-weight:700; color:#28405e
}
.topic-list a:last-child{border-bottom:none}

.feature-card img{width:100%; height:260px; object-fit:cover}
.feature-card{padding:0}
.feature-card .section-head{padding:18px 20px 0}
.feature-bottom{
  padding:18px 20px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:20px
}
.feature-bottom p{margin:0; color:var(--muted); font-size:1.05rem}

.section-dark{
  background:linear-gradient(120deg,#102952,#1f4aa5 55%, #132c57);
  position:relative; overflow:hidden;
}
.section-dark::before,.section-dark::after{
  content:""; position:absolute; width:460px; height:460px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,.12), transparent 60%);
}
.section-dark::before{left:-180px; bottom:-220px}
.section-dark::after{right:-180px; top:-220px}
.videos{position:relative; z-index:1}
.video-card h3{margin:14px 0 0; font-size:1.35rem}
.video-thumb{position:relative}
.video-thumb img{
  width:100%; height:180px; object-fit:cover; border-radius:16px; border:1px solid rgba(255,255,255,.14)
}
.play{
  position:absolute; inset:0; display:grid; place-items:center; font-size:4.4rem; color:white;
  text-shadow:0 8px 20px rgba(0,0,0,.35)
}

.newsletter{
  background:linear-gradient(90deg,#17398c,#324ec7 60%, #2f57c8);
  color:#fff; border-radius:20px; padding:28px 28px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  box-shadow:0 18px 36px rgba(14,34,82,.2)
}
.newsletter h2{margin:0 0 6px; font-size:2rem}
.newsletter p{margin:0; color:rgba(255,255,255,.84)}
.newsletter-form{display:flex; gap:12px; width:min(100%, 620px)}
.newsletter-form input{
  flex:1; min-width:180px; border:none; outline:none; border-radius:12px;
  padding:16px 18px; font:inherit
}

.footer{
  padding:26px 0 34px;
  border-top:1px solid var(--border);
  background:rgba(255,255,255,.45)
}
.footer-grid{
  display:grid; grid-template-columns:repeat(3, auto) 1fr; align-items:center; gap:24px;
  color:#314b68; font-weight:600
}
.socials{justify-self:end; display:flex; gap:12px}
.socials span{
  width:40px; height:40px; border-radius:50%; display:grid; place-items:center;
  background:#1d5fd0; color:#fff; box-shadow:0 10px 20px rgba(29,95,208,.22)
}

@media (max-width: 1024px){
  .hero-grid,.grid-main,.cards-3,.cards-2,.newsletter{grid-template-columns:1fr; display:grid}
  .newsletter-form{width:100%}
  .topics{order:-1}
}
@media (max-width: 720px){
  .container{width:min(calc(100% - 28px), var(--container))}
  .nav{min-height:72px; flex-wrap:wrap; justify-content:center; padding:10px 0 14px}
  .brand{font-size:1.6rem}
  .menu{gap:18px; flex-wrap:wrap; justify-content:center}
  .hero-grid{padding:34px 0 30px}
  .hero-actions{flex-direction:column; align-items:flex-start}
  .card-body h3{font-size:1.25rem}
  .feature-bottom,.newsletter{display:block}
  .feature-bottom .btn,.newsletter-form .btn{margin-top:14px}
  .footer-grid{grid-template-columns:1fr 1fr; gap:14px}
  .socials{justify-self:start}
}
