  :root {
    --bg: #fafaf9;
    --bg-white: #ffffff;
    --text-primary: #0c0c0c;
    --text-secondary: #6b6b6b;
    --text-muted: #9a9a9a;
    --border: #e8e8e6;
    --border-light: #f0f0ee;
    --accent: #4f46e5;
    --accent-light: #eef2ff;
    --accent-glow: rgba(79, 70, 229, 0.08);
    --tag-bg: #f4f4f2;
    --heading-font-family: 'Clash Display', sans-serif;
    --para-font-family: 'Outfit', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: var(--para-font-family);
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-flex; vertical-align: middle;
  }
  .filled { font-variation-settings: 'FILL' 1; }

  /* Header */
  .header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    height: 64px;
    background: rgba(250,250,249,0.85);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
  }





  /* Header & nav basics */
.header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.header-inner { display:flex; justify-content:space-between; align-items:center; padding:12px 24px; }
.nav ul.menu { list-style:none; margin:0; padding:0; display:flex; gap:20px; }
.nav ul.menu li { position: relative; }

/* Links */
.menu-item > a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  display: inline-block;
  transition: color 0.2s;
}
.menu-item > a:hover { color: #4f46e5; }

/* Mega Menu panel */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content; /* adjust as needed */
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  border-radius: 22px;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Column inside mega menu */
.mega-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mega-column h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #4f46e5;
}
.mega-column a {
  text-decoration: none;
  color: #333;
  margin-bottom: 6px;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.mega-column a:hover { color: #4f46e5; }

/* Show on hover */
.menu-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 900px) {
  .nav ul.menu { flex-direction: column; gap: 0; }
  .mega-menu { position: static; width: 100%; flex-direction: column; padding: 15px; }
}






  
  .header.scrolled { height: 56px; box-shadow: 0 1px 20px rgba(0,0,0,0.04); }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; max-width: 1200px; padding: 0 24px;
  }
  .logo {
    font-weight: 800; font-size: 20px; letter-spacing: -0.04em;
    color: var(--text-primary); text-decoration: none;
    display: flex; align-items: center; gap: 8px;
  }
  .logo-mark {
    width: 28px; height: 28px; background: var(--text-primary); border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 14px; font-weight: 700;
  }
  .nav { display: flex; align-items: center; gap: 20px; }
  .nav a { font-size: 14px; color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.15s; }
  .nav a:hover, .nav a.active { color: var(--text-primary); }
  .nav a.active { font-weight: 600; }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .btn-ghost { font-size: 14px; font-weight: 500; color: var(--text-secondary); background: none; border: none; cursor: pointer; padding: 8px 12px; transition: color 0.15s; font-family: inherit; }
  .btn-ghost:hover { color: var(--text-primary); }
  .btn-primary { text-decoration: none; font-size: 14px; font-weight: 600; color: white; background: var(--text-primary); border: none; cursor: pointer; padding: 9px 20px; border-radius: 8px; transition: all 0.2s; font-family: inherit; }
  .btn-primary:hover { background: #4338ca; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(79,70,229,0.25); }
  .btn-secondary { font-size: 14px; font-weight: 600; color: var(--text-primary); background: var(--bg-white); border: 1px solid var(--border); cursor: pointer; padding: 9px 20px; border-radius: 8px; transition: all 0.2s; font-family: inherit; }
  .btn-secondary:hover { background: var(--bg); border-color: #ccc; }

  /* Hero */
  .hero { padding: 140px 24px 100px; text-align: center; position: relative; overflow: hidden; }
  .hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, var(--accent-glow) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(79,70,229,0.04) 0%, transparent 40%); pointer-events: none; }
  .hero-grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%); pointer-events: none; }
  .hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }
  .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 28px; animation: fadeUp 0.6s ease both; }
  .hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero h1 { font-family: var(--heading-font-family); font-size: clamp(40px, 7vw, 72px); font-weight: 650; line-height: 1.05; letter-spacing: -0.04em; color: var(--text-primary); margin-bottom: 24px; animation: fadeUp 0.6s 0.1s ease both; }
  .hero h1 em { font-family: var(--heading-font-family); font-weight: 600; color: var(--accent); }
  .hero p { font-size: 18px; line-height: 1.7; color: var(--text-secondary); max-width: 760px; margin: 0 auto 40px; animation: fadeUp 0.6s 0.2s ease both; }
  .hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
  .hero-cta .btn-primary { padding: 14px 32px; font-size: 15px; border-radius: 10px; }
  .hero-cta .btn-secondary { padding: 14px 32px; font-size: 15px; border-radius: 10px; }

  /* Stats */
  .stats-bar { max-width: 700px; margin: -60px auto 0; padding: 0 24px; position: relative; z-index: 2; animation: fadeUp 0.6s 0.4s ease both; }
  .stats-inner { display: flex; justify-content: center; gap: 48px; padding: 28px 40px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,0.03); }
  .stat { text-align: center; }
  .stat-value { font-family: var(--heading-font-family); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--accent); }
  .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }

  /* Sections */
  .section { padding: 80px 24px; }
  .section-alt { background: var(--bg-white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 16px; }
  .section-header-left { display: flex; align-items: center; gap: 12px; }
  .section-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--accent-light); color: var(--accent); }
  .section-title { font-family: var(--heading-font-family); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
  .section-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }
  .section-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
  .section-link:hover { gap: 8px; }

  /* Grids */
  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

  /* Card */
  .card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; background: var(--bg-white); transition: all 0.3s cubic-bezier(0.2,0,0,1); cursor: pointer; display: flex; flex-direction: column; gap: 12px; }
  .card-link{text-decoration: none !important; color: inherit !important;}
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(79,70,229,0.06); border-color: rgba(79,70,229,0.2); }
  .card .card-icon { width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; flex-shrink: 0; background: var(--accent-light); color: var(--accent); }
  .card-head { display: flex; align-items: flex-start; justify-content: space-between; }
  .card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
  .card p { font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
  .card .card-tags { margin-top: auto; display: flex; gap: 6px; flex-wrap: wrap; }
  .tag { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: var(--tag-bg); color: var(--text-muted); }
  .version-tag { font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--tag-bg); color: var(--text-secondary); }
  .version-tag.beta { background: var(--accent-light); color: var(--accent); }

  /* Dual Slider */
  .slider-section { padding: 80px 0; overflow: hidden; background: var(--text-primary); position: relative; }
  .slider-section::before, .slider-section::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
  .slider-section::before { left: 0; background: linear-gradient(to right, var(--text-primary), transparent); }
  .slider-section::after { right: 0; background: linear-gradient(to left, var(--text-primary), transparent); }
  .slider-header { text-align: center; margin-bottom: 48px; padding: 0 24px; position: relative; z-index: 3; }
  .slider-header h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin-bottom: 8px; }
  .slider-header p { font-size: 14px; color: rgba(255,255,255,0.45); }
  .slider-track-wrapper { position: relative; display: flex; flex-direction: column; gap: 18px; }
  .slider-row { display: flex; gap: 18px; width: max-content; }
  .slider-row.rtl { animation: slideRTL 40s linear infinite; }
  .slider-row.ltr { animation: slideLTR 58s linear infinite; }
  .slider-row:hover { animation-play-state: paused; }
  @keyframes slideRTL { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
  @keyframes slideLTR { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

  .slider-card { position: relative; flex-shrink: 0; width: 360px; border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 22px; background: rgba(255,255,255,0.03); transition: all 0.35s cubic-bezier(0.2,0,0,1); cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
  .slider-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.07); border-color: rgba(99,102,241,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
  .slider-card .s-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 2px; background: rgba(99,102,241,0.15); color: #a5b4fc; }
  .slider-card h3 { font-size: 14px; font-weight: 700; color: #fff; }
  .slider-card p { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.4); }
  .slider-card .card-tags { display: flex; gap: 6px; margin-top: auto; }
  .slider-card .tag { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); border: none; }

  /* Badge styling */
.s-badge {
  position: absolute;
  top: 12px;
  right: 12px; /* 👈 moved to right */
  z-index: 2;
}

.s-badge span {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4e4be9, #2b2d5c);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Optional hover effect */
.slider-card:hover .s-badge span {
  transform: scale(1.05);
  transition: 0.3s ease;
}

  /* CTA */
  .cta-section { padding: 100px 24px; text-align: center; background: var(--bg); position: relative; }
  .cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%); pointer-events: none; }
  .cta-inner { max-width: 580px; margin: 0 auto; position: relative; z-index: 1; }
  .cta-inner h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
  .cta-inner h2 em { font-style: italic; color: var(--accent); }
  .cta-inner p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }

  /* Footer */
  .footer { padding: 60px 24px; border-top: 1px solid var(--border); }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 40px; }
  .footer-brand p { font-size: 12px; color: var(--text-muted); margin-top: 12px; max-width: 280px; line-height: 1.6; }
  .footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
  .footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-primary); margin-bottom: 16px; }
  .footer-col a { display: block; font-size: 13px; color: var(--text-secondary); text-decoration: none; margin-bottom: 10px; transition: color 0.15s; }
  .footer-col a:hover { color: var(--accent); }

  @keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
    .stats-inner { flex-wrap: wrap; gap: 24px 40px; }
    .footer-links { gap: 32px; }
  }
  @media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
    .hero { padding: 130px 20px 70px; }
    .section { padding: 56px 20px; }
  }


  