:root {
  --accent: #60a5fa;
  --accent-2: #2563eb;
  --dark: #060c1a;
  --dark-alt: #0d1326;
  --mid: #374151;
  --light: #f0f4ff;
  --white: #ffffff;
  --text: #334155;
  --muted: #64748b;
  --border: rgba(11, 61, 145, 0.1);
  --shadow: 0 8px 32px rgba(11,61,145,0.10);
  --shadow-lg: 0 24px 64px rgba(11,61,145,0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; color: var(--dark); font-weight: 700; }

/* ── NAVBAR ── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all .35s ease; padding: 20px 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; font-family: 'Inter', sans-serif; }
#navbar .container { max-width: none; padding-left: 28px; padding-right: 28px; }
#navbar.scrolled { background: rgba(12,14,48,.72) !important; padding: 14px 0; box-shadow: 0 8px 28px rgba(0,0,0,.28); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.navbar-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: auto; height: 46px; max-width: 220px; display: block; object-fit: contain; flex-shrink: 0; }
.navbar-nav .nav-link { color: rgba(255,255,255,.85) !important; font-weight: 600; font-size: .9rem; letter-spacing: .2px; padding: 8px 14px !important; border-radius: 10px; transition: color .2s, background .2s; font-family: 'Inter', sans-serif; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }
#navbar .navbar-toggler i { color: #fff !important; }
.btn-nav { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff !important; padding: 10px 22px !important; border-radius: 999px !important; font-weight: 700 !important; font-size: .88rem !important; letter-spacing: .3px; transition: opacity .2s, transform .15s !important; white-space: nowrap; font-family: 'Inter', sans-serif; display: inline-flex; align-items: center; justify-content: center; }
.btn-nav:hover { opacity: .92; transform: translateY(-1px); }

/* ── SHARED ── */
.section-badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(0,194,255,0.1); color: var(--accent); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(0,194,255,.18); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── HERO ── */
#page-hero {
  position: relative;
  padding: 120px 0 80px;
  background: #060c1a;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  opacity: .3;
}

/* Hide decorative elements */
.hero-glow { display: none; }
.hero-grid-bg { display: none; }
.hero-float-shapes { display: none; }
@keyframes heroShapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(6deg); }
}

/* Blog-style centered hero */
.blog-hero-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.blog-overline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 1px solid #93c5fd;
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.blog-overline span,
.blog-overline i {
  background: none;
  -webkit-text-fill-color: #1e3a8a;
  color: #1e3a8a;
}
.blog-overline i { font-size: .8rem; }
.blog-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  color: #fff;
}
.blog-title-accent {
  background: none;
  -webkit-text-fill-color: #2B6BE6;
  color: #2B6BE6;
}
.blog-desc {
  color: rgba(255,255,255,.6);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* Hero stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 20px 40px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
}

@media (max-width: 767px) {
  #page-hero { padding: 56px 0 40px; }
  .blog-title { font-size: clamp(1.6rem, 6vw, 2.4rem); white-space: normal !important; }
  .hero-shape { display: none; }
  .hero-stats { gap: 18px; padding: 14px 24px; }
  .hero-stat-num { font-size: 1.1rem; }
}

/* ── INSIGHTS SECTION ── */
#insights { padding: 82px 0; background: var(--light); }

/* ── BLOG FILTERS ── */
.blog-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.blog-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 340px;
}
.blog-search {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.blog-search::placeholder { color: #94a3b8; }
.blog-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,194,255,.1); }
.blog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: .92rem;
  pointer-events: none;
}
.blog-category-select {
  padding: 12px 36px 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color .2s, box-shadow .2s;
}
.blog-category-select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,194,255,.1); }

/* ── BLOG CARD GRID ── */
#insights { padding: 60px 0 100px; background: var(--white); }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(11,61,145,.06);
  transition: transform .35s cubic-bezier(.25,.8,.25,1), box-shadow .35s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.25);
  overflow: hidden;
}
.ins-gradient--blue { background: linear-gradient(135deg, #060c1a, #0b2060, #0076cc); }
.ins-gradient--purple { background: linear-gradient(135deg, #060c1a, #22104a, #5e2dd6); }

.blog-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .4px;
}

.blog-card-body {
  padding: 22px 22px 26px;
}
.blog-card-date {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .3px;
}
.blog-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 10px;
  letter-spacing: -.2px;
  transition: color .25s;
}
.blog-card:hover .blog-card-body h3 { color: #2563eb; }

.blog-card-body p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  transition: gap .25s;
}
.blog-card-link:hover { gap: 14px; color: #1e3a8a; }
.blog-card-link i { font-size: .8rem; transition: transform .25s; }
.blog-card-link:hover i { transform: translateX(4px); }

/* no results */
.blog-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-size: 1rem;
}

@media (max-width: 991px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-filters { flex-direction: column; align-items: stretch; }
  .blog-search-wrap { max-width: none; }
}

/* ── SCROLL TOP ── */
.insight-card {
  overflow: hidden;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.insight-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 3rem;
}
.insight-one { background: linear-gradient(135deg, #060c1a, #0b2060, #0076cc); }
.insight-two { background: linear-gradient(135deg, #060c1a, #22104a, #5e2dd6); }
.insight-body { padding: 28px; }
.insight-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0,194,255,0.1);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid rgba(0,194,255,.18);
}
.insight-tag--purple {
  background: rgba(123,47,255,.08);
  color: var(--accent-2);
  border-color: rgba(123,47,255,.18);
}
.insight-body h2 {
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -.4px;
  margin-bottom: 12px;
  color: var(--dark);
}
.insight-body p {
  color: var(--muted);
  line-height: 1.8;
  font-size: .92rem;
  margin-bottom: 16px;
}
.insight-link,
.insight-body a {
  color: var(--accent);
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}
.insight-link:hover,
.insight-body a:hover {
  color: var(--accent-2);
  gap: 10px;
}

/* ── SCROLL TOP ── */
#scrollTop { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; cursor: pointer; z-index: 999; opacity: 0; transform: translateY(18px); transition: all .3s; border: none; box-shadow: 0 8px 24px rgba(0,194,255,.35); }
#scrollTop.visible { opacity: 1; transform: translateY(0); }
#scrollTop:hover { transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .navbar-collapse { background: rgba(10,12,45,.97); border-radius: 16px; margin-top: 10px; padding: 16px 20px; box-shadow: 0 16px 48px rgba(0,0,0,.4); }
}
@media (max-width: 767px) {
  #navbar { padding: 14px 0; background: rgba(12,14,48,.95); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
  #navbar .container { padding-left: 16px; padding-right: 16px; }
  .brand-logo { height: 34px; max-width: 150px; }
  body { padding-top: 78px; }
  #page-hero { padding: 48px 0 48px; }
}

/* -- NAV DROPDOWN -- */
.nav-dropdown { background: rgba(10,12,45,.97) !important; border: 1px solid rgba(0,194,255,.15) !important; border-radius: 12px !important; padding: 8px !important; min-width: 240px; box-shadow: 0 16px 40px rgba(0,0,0,.4) !important; margin-top: 8px !important; }
.nav-dropdown .dropdown-item { color: rgba(255,255,255,.8) !important; font-size: .88rem; font-weight: 500; padding: 10px 14px !important; border-radius: 8px; transition: background .2s, color .2s; }
.nav-dropdown .dropdown-item:hover, .nav-dropdown .dropdown-item:focus { background: rgba(0,194,255,.12) !important; color: #fff !important; }
.nav-dropdown .dropdown-item.active { background: rgba(0,194,255,.18) !important; color: #fff !important; }
.navbar-nav .dropdown-toggle::after { border-top-color: rgba(255,255,255,.7); vertical-align: .18em; }
