:root {
      --bg:        #0d0d14;
  --bg2:       #13131f;
  --bg3:       #1a1a28;
  --textcolor: #6b7280;
  --heading:   #ffffff;
  --border:    #1e1e2e;
  --card-hover-border: #2a2a40;
  --open-btn-bg:    #1c1c2c;
  --open-btn-border:#2a2a40;
  --open-btn-color: #c9cbdb;
  --open-btn-hover-bg: #25253a;
  --input-bg:  #13131f;
  --input-border: #2a2a40;
  --input-color:  #e2e4ec;

}

.dark {
  
  --bg:        #f0f2f8;
  --bg2:       #ffffff;
  --bg3:       #e8eaf2;
  --textcolor: #6b7280;
  --heading:   #111827;
  --border:    #e2e6f0;
  --card-hover-border: #c7cde0;
  --open-btn-bg:    #f0f2f8;
  --open-btn-border:#d1d5e8;
  --open-btn-color: #374151;
  --open-btn-hover-bg: #e4e7f3;
  --input-bg:  #ffffff;
  --input-border: #d1d5e8;
  --input-color:  #111827;
}


*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--textcolor);
  margin: 0;
  min-height: 100vh;
  transition: background 0.2s, color 0.2s;
}

/* ── Navbar ── */
.site-nav {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
 
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 300;
  transition: background 0.2s, border-color 0.2s;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #00AAFE, #005CFB);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.nav-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--textcolor);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.14s, background 0.14s;
}
.nav-link:hover { color: var(--heading); background: var(--bg3); }
 
.nav-btn:hover { opacity: 0.88; color: #fff; }
.search-wrapper{
  position: relative;
 
}

.search-input{
  width: 100%;
  padding-right: 35px;
}

.clear-search {
    position: absolute;
    right: 18px;
    top: 48%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #777;
    display: none;
}
/* Theme button */
.theme-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--textcolor);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: 'Inter', sans-serif;
  margin-left: 8px;
}
.theme-btn:hover { color: var(--heading); }
.theme-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.14s;
}
 
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--textcolor);
  border-radius: 2px;
  transition: all 0.22s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


 
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 0.95rem; padding: 10px 0px; border-radius: 8px; color: var(--heading); }
.mobile-menu .nav-link:hover { background: var(--bg3); }
.mobile-menu .nav-btn { margin: 8px 0 0; text-align: center; padding: 11px 16px; font-size: 0.9rem; border-radius: 9px; display: block; }

/* ── Hero ── */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 52px 20px 44px;
  text-align: center;
}
.hero {
    padding-top: 170px !important;
}
.hero h1 {
    font-size: 60px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
    line-height: 74px;
}
.hero h1 span {
  background: linear-gradient(90deg, #00AAFE, #005CFB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: var(--textcolor);
  margin: 0 0 24px;
}
.hero p {
    font-size: 18px;
    margin: 20px auto;
}
.search-wrap {
    max-width: 617px;
    margin: 0 auto;
    position: relative;
    margin-top: 24px;
    margin-bottom: 28px !important;
}
.search-icon {
    position: absolute;
    left: 23px;
    top: 49%;
    transform: translateY(-50%);
    color: var(--textcolor);
    font-size: 1rem;
    pointer-events: none;
    z-index: 9;
}
.search-input {
    width: 100%;
    padding: 16px 14px 16px 51px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--input-color);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 33px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-size: 16px;
}
.search-input::placeholder { color: #9ca3af; }
.dark .search-input::placeholder { color: #4b5563; }
.search-input:focus {
  border-color: #00AAFE;
  box-shadow: 0 0 0 3px rgba(124,95,245,.18);
}

/* ── Stats Bar ── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.stat-lbl { font-size: 0.72rem; color: var(--textcolor); margin-top: 2px; }

/* ── Filter Tabs ── */
.filter-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  position: sticky;
  top: 60px;
  z-index: 100;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar-inner { display: inline-flex; min-width: 100%; justify-content: center; }
.filter-btn {
  display: inline-block;
  padding: 13px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--textcolor);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.filter-btn:hover { color: var(--heading); }
.filter-btn.active { color: var(--heading); border-bottom-color: #00AAFE; font-weight: 600; }

/* ── Grid ── */
.main-content { max-width: 1200px; margin: 0 auto; padding: 32px 16px 60px; }
.section-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--textcolor);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── Card ── */
a.card-link-home {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
}
span.coming-soon-badge {
  font-size: 10px;
  background: rgba(239,68,68,0.12);
  color: #dc2626;
  padding: 4px 10px;
  font-weight: 600;
  border-radius: 30px;
  margin-left: auto;
}
.dark span.coming-soon-badge {
  background: rgb(255 63 63 / 18%);
  color: #ff7f7f;
}
.calc-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.calc-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.10);
  border-color: var(--card-hover-border);
  transform: translateY(-2px);
}
.dark .calc-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.45); }
.card-top { display: flex; align-items: flex-start; gap: 8px; }
.category-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.badge-finance    { background: rgba(37,99,235,0.12);  color: #2563eb; }
.badge-health     { background: rgba(22,163,74,0.12);  color: #16a34a; }
.badge-date       { background: rgba(147,51,234,0.12); color: #9333ea; }
.badge-salary     { background: rgba(234,88,12,0.12);  color: #ea580c; }
.badge-math       { background: rgba(202,138,4,0.12);  color: #b45309; }
.badge-time       { background: rgba(2,132,199,0.12);  color: #0284c7; }
.badge-conversion { background: rgba(225,29,72,0.12);  color: #e11d48; }

.dark .badge-finance    { background: rgba(37,99,235,0.18);  color: #60a5fa; }
.dark .badge-health     { background: rgba(22,163,74,0.18);  color: #4ade80; }
.dark .badge-date       { background: rgba(147,51,234,0.18); color: #c084fc; }
.dark .badge-salary     { background: rgba(234,88,12,0.18);  color: #fb923c; }
.dark .badge-math       { background: rgba(202,138,4,0.18);  color: #facc15; }
.dark .badge-time       { background: rgba(2,132,199,0.18);  color: #38bdf8; }
.dark .badge-conversion { background: rgba(225,29,72,0.18);  color: #fb7185; }

.calc-card h2 { font-size: 0.93rem; font-weight: 600; color: var(--heading); margin: 0; line-height: 1.3; }
.calc-card p  { font-size: 0.8rem; color: var(--textcolor); margin: 0; line-height: 1.5; flex-grow: 1; }
.open-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--open-btn-color);
  background: var(--open-btn-bg);
  border: 1px solid var(--open-btn-border);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.open-btn:hover {
  background: var(--open-btn-hover-bg);
  border-color: var(--card-hover-border);
  color: var(--heading);
}

/* No results */
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--textcolor);
  font-size: 0.95rem;
}
.no-results strong { display: block; font-size: 1.5rem; margin-bottom: 8px; }
.categories-section {
  padding: 80px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.categories-section::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,170,254,.06) 0%, transparent 70%);
  pointer-events: none;
}
.categories-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.cat-card {
    box-shadow: 0px 0px 10px #00000015;
}
.cat-card::after {
  content: '';
  position: absolute; bottom:0; left:0; right:0;
  height: 3px; border-radius: 0 0 18px 18px;
  opacity: 0; transition: opacity .22s;
}
.cat-card:hover { transform: translateY(-5px);   }
.dark .cat-card:hover {   }
.cat-card:hover::after  { opacity: 1; }
 
.cat-card::after        { background: var(--cat-color); }

.cat-finance    { --cat-color:#2563eb; --cat-bg:rgba(37,99,235,.08); }
.cat-health     { --cat-color:#16a34a; --cat-bg:rgba(22,163,74,.08); }
.cat-math       { --cat-color:#b45309; --cat-bg:rgba(202,138,4,.08); }
.cat-date       { --cat-color:#9333ea; --cat-bg:rgba(147,51,234,.08); }
.cat-salary     { --cat-color:#ea580c; --cat-bg:rgba(234,88,12,.08); }
.cat-time       { --cat-color:#0284c7; --cat-bg:rgba(2,132,199,.08); }
.cat-conversion { --cat-color:#e11d48; --cat-bg:rgba(225,29,72,.08); }

.cat-icon-wrap {
  width:48px; height:48px; border-radius:14px;
  background: var(--cat-bg);
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem; transition:transform .22s;
}
.cat-card:hover .cat-icon-wrap { transform: scale(1.1); }
.cat-name { font-size:1rem; font-weight:700; color:var(--heading); margin:0; }
.cat-desc { font-size:.78rem; color:var(--textcolor); line-height:1.5; margin:0; flex-grow:1; }
.cat-count {
     position:absolute; top:22px; right:20px;
  display:inline-flex; align-items:center; gap:4px;
  font-size:.72rem; font-weight:600; color:var(--cat-color);
  background:var(--cat-bg); padding:3px 10px; border-radius:20px;
  align-self:flex-start; margin-top:2px;
}
.cat-arrow {
 
  font-size:1rem; color:var(--border);
  transition:color .2s, transform .2s;
}
.cat-card:hover .cat-arrow { color:var(--cat-color); transform:translate(2px,-2px); }

 
/* ── Single Blog ── */
.single-blog { margin-top: 50px; }
.single-blog p,
.single-blog a,
.single-blog h2,
.single-blog h3,
.single-blog li { color: var(--textcolor); font-family: 'Inter', sans-serif; }
.single-blog h2 { font-size: 1.5rem; }
.single-blog h3 { font-size: 1.5rem; }
.single-blog a { font-weight: 700; }

.calc-card.hidden { display: none; }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes blobFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.08); }
  66%     { transform: translate(-25px,20px) scale(0.95); }
}
@keyframes blobFloat2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-35px,25px) scale(1.06); }
}
@keyframes blobFloat3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(25px,-20px) scale(1.04); }
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
@keyframes badgePulse {
  0%,100% {     box-shadow: 0 0 0 0 rgb(0 99 251 / 21%);}
  50%     { box-shadow: 0 0 0 8px rgba(124,95,245,0); }
}
@keyframes tagSlide {
  from { opacity:0; transform: translateY(14px); }
  to   { opacity:1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Scroll reveal */
.anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s cubic-bezier(.22,.68,0,1.2), transform 0.65s cubic-bezier(.22,.68,0,1.2);
}
.anim.visible { opacity: 1; transform: translateY(0); }
.anim.delay-1 { transition-delay: 0.1s; }
.anim.delay-2 { transition-delay: 0.2s; }
.anim.delay-3 { transition-delay: 0.3s; }
.anim.delay-4 { transition-delay: 0.4s; }
.anim.delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════
   HERO ENHANCED
══════════════════════════════════════ */
.hero {
  position: relative;
   
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 50%, var(--bg) 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  border-bottom: 1px solid var(--border);
  padding: 80px 20px 64px;
  text-align: center;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 420px; height: 420px;
  background: rgba(124,95,245,0.18);
  top: -120px; left: -80px;
  animation: blobFloat1 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 340px; height: 340px;
  background: rgba(236,72,153,0.14);
  top: -60px; right: -60px;
  animation: blobFloat2 13s ease-in-out infinite;
}
.hero-blob-3 {
  width: 260px; height: 260px;
  background: rgba(59,130,246,0.12);
  bottom: -80px; left: 50%;
  animation: blobFloat3 9s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
     background: var(--bg2);
     border: 1px solid rgb(0 169 254);
    color: var(--textcolor);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
  
  letter-spacing: 0.02em;
}
#calcList{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  list-style:none;
  padding:0;
  margin-top:8px;
  background: var(--bg2);
  border-radius:12px;
  overflow:hidden;
  display:none;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  z-index:999;
  max-height:300px;
  overflow-y:auto;
  border: 1px solid var(--border);
}

#calcList li{
  border-bottom: 1px solid var(--border);
  text-align: left !important;
}

#calcList li:last-child{
  border-bottom:none;
}

#calcList li a{
  display:block;
  padding:12px;
  text-decoration:none;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--textcolor);
}

#calcList li a:hover{
  background:#00aafe;
  color: #fff ;
}

.hide{
  display:none;
}

#noResult{
  padding:12px;
  text-align:center;
 color:#e2e4ec;
  display:none;
}
@keyframes impulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255,255,255,0.7);
    }

    70% {
        transform: scale(1.8);
        opacity: 0.6;
        box-shadow: 0 0 0 10px rgba(255,255,255,0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}
.hero-badge  span  {
    width: 5px;
    height: 5px;
    border-radius: 50%;
     animation: impulse 1.5s infinite;
}
.hero-title {
  font-size: clamp(1.8rem, 5.5vw, 3rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  line-height: 1.18;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero-title span {
  background: linear-gradient(90deg, #00AAFE, #005CFB, #00AAFE);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.hero-sub {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--textcolor);
  margin: 0 0 28px;
  line-height: 1.65;
  animation: fadeInUp 0.7s ease 0.2s both;
}
.search-wrap { animation: fadeInUp 0.7s ease 0.3s both; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.hero-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--textcolor);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
  animation: tagSlide 0.5s ease both;
  cursor: default;
}
.hero-tag:nth-child(1) { animation-delay: 0.4s; }
.hero-tag:nth-child(2) { animation-delay: 0.5s; }
.hero-tag:nth-child(3) { animation-delay: 0.6s; }
.hero-tag:nth-child(4) { animation-delay: 0.7s; }
.hero-tag:nth-child(5) { animation-delay: 0.8s; }
.hero-tag:nth-child(6) { animation-delay: 0.9s; }
.hero-tag:hover { border-color: #00AAFE; color: #00AAFE; transform: translateY(-2px); }

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00AAFE;
  background: rgba(124,95,245,0.1);
  border: 1px solid rgba(124,95,245,0.25);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--textcolor);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}
.section-header { text-align: center; margin-bottom: 40px; }

/* ══════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════ */
.about-section {
  padding: 80px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-desc {
  font-size: 0.97rem;
  color: var(--textcolor);
  line-height: 1.75;
  margin-bottom: 32px;
}
.about-stats {
  display: flex;
  gap: 32px;
}
.ab-stat { text-align: center; }
.ab-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  background: linear-gradient(135deg, #00AAFE, #005CFB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.ab-lbl { font-size: 0.75rem; color: var(--textcolor); font-weight: 500; }
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ab-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ab-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,95,245,0.4);
  box-shadow: 0 8px 24px rgba(124,95,245,0.08);
}
.ab-icon { font-size: 1.6rem; margin-bottom: 8px; }
.ab-card-title { font-size: 0.88rem; font-weight: 700; color: var(--heading); margin-bottom: 4px; }
.ab-card-desc { font-size: 0.78rem; color: var(--textcolor); line-height: 1.5; }

/* ══════════════════════════════════════
   MOST POPULAR SECTION
══════════════════════════════════════ */
.popular-section {
  padding: 80px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.popular-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,95,245,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.popular-inner { max-width: 1100px; margin: 0 auto; position: relative; }
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pop-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.pop-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00AAFE, #005CFB);
  opacity: 0;
  transition: opacity 0.22s;
}
a.cat-cnchor {
    font-size: 13px;
    text-decoration: none;
}
a.cat-cnchor:hover {
   color: var(--heading);
}
.pop-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-color: rgba(124,95,245,0.3); }
.dark .pop-card:hover {     box-shadow: 0 12px 40px rgb(0 0 0 / 9%); }
.pop-card:hover::before { opacity: 1; }
.pop-icon { font-size: 2rem; }
.pop-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 20px;
  align-self: flex-start;
  background: rgba(37,99,235,0.12); color: #2563eb;
}
.dark .pop-badge { background: rgba(37,99,235,0.18); color: #60a5fa; }
.pop-badge-health  { background: rgba(22,163,74,0.12)!important; color: #16a34a!important; }
.dark .pop-badge-health { background: rgba(22,163,74,0.18)!important; color: #4ade80!important; }
.pop-badge-math    { background: rgba(202,138,4,0.12)!important; color: #b45309!important; }
.dark .pop-badge-math   { background: rgba(202,138,4,0.18)!important; color: #facc15!important; }
.pop-badge-date    { background: rgba(147,51,234,0.12)!important; color: #9333ea!important; }
.dark .pop-badge-date   { background: rgba(147,51,234,0.18)!important; color: #c084fc!important; }
.pop-badge-salary  { background: rgba(234,88,12,0.12)!important; color: #ea580c!important; }
.dark .pop-badge-salary { background: rgba(234,88,12,0.18)!important; color: #fb923c!important; }
.pop-card h3 { font-size: 1rem; font-weight: 700; color: var(--heading); margin: 0; line-height: 1.3; }
.pop-card p  { font-size: 0.8rem; color: var(--textcolor); margin: 0; line-height: 1.5; flex-grow: 1; }
.pop-cta { font-size: 0.82rem; font-weight: 600; color: #00AAFE; margin-top: 4px; transition: gap 0.15s; }

/* ══════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════ */
.features-section {
  padding: 80px 20px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 0;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,95,245,0.35);
  box-shadow: 0 10px 32px rgba(124,95,245,0.1);
}
.feat-icon { font-size: 2rem; margin-bottom: 12px; }
.feat-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.feat-card p  { font-size: 0.8rem; color: var(--textcolor); line-height: 1.55; margin: 0; }

/* ══════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
══════════════════════════════════════ */
@media (max-width: 960px) {
  .about-inner  { grid-template-columns: 1fr; gap: 36px; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-section, .popular-section, .features-section { padding: 52px 16px; }
  .about-cards  { grid-template-columns: 1fr; }
  .about-stats  { gap: 20px; }
  .popular-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 16px 48px; }
  .hero-tags { gap: 6px; }
  .hero-blob-1 {
    display: none;
}
.hero-blob-2 {
    
    background: rgb(236 72 153 / 0%);
 
}
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar-inner { justify-content: flex-start; }
}
@media (max-width: 700px) {
    .hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
    line-height: 48px;
}
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 36px 16px 32px; }
  .stats-bar { gap: 20px; padding: 14px 16px; }
  .filter-btn { padding: 12px 14px; font-size: 0.82rem; }
  .blog-section-header { flex-direction: column; align-items: baseline !important; }
  .blog-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 520px) {
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }
   .categories-grid { grid-template-columns: 1fr; }
  .main-content { padding: 24px 12px 48px; }
  .calc-card { padding: 16px; }
  .stats-bar { gap: 16px; }
  .stat-num { font-size: 1rem; }
}
@media (max-width: 380px) {
 
  .hero { padding: 28px 14px 26px; }
}
