 * { margin: 0; padding: 0; box-sizing: border-box; }
body{
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #000000;
  overflow-x: hidden;
}

/* =========================
   LIGHT THEME BASE (micro-dots)
   Works when body.dark-mode is NOT present
========================= */
body:not(.dark-mode){
  color: #0b0b0c;
  /* soft off-white + micro dots like your example */
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.085) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(#f3f3f5, #f3f3f5);
}

/* Animated Background */
.animated-bg{
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; background: #000000; overflow: hidden;
}

/* Light theme background layer */
body:not(.dark-mode) .animated-bg{
  background: transparent;
}

/* Grid overlay */
.grid-overlay{
  position: absolute; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove{ 0%{transform:translate(0,0)} 100%{transform:translate(50px,50px)} }

/* Light theme grid lines */
body:not(.dark-mode) .grid-overlay{
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
}

/* Orbs */
.gradient-orb{ position:absolute; border-radius:50%; filter:blur(80px); opacity:.3; animation: float 20s ease-in-out infinite; }
.orb-1{ width:500px; height:500px; background: radial-gradient(circle, #ffffff 0%, transparent 70%); top:-200px; left:-200px; animation-delay:0s; }
.orb-2{ width:400px; height:400px; background: radial-gradient(circle, #ffffff 0%, transparent 70%); bottom:-150px; right:-150px; animation-delay:5s; }
.orb-3{ width:300px; height:300px; background: radial-gradient(circle, #ffffff 0%, transparent 70%); top:50%; left:50%; animation-delay:10s; }

body:not(.dark-mode) .orb-1,
body:not(.dark-mode) .orb-2,
body:not(.dark-mode) .orb-3{
  opacity: .22;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(0,0,0,0.14) 0%, transparent 72%);
}

@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(50px,-50px) scale(1.1); }
  66%{ transform: translate(-50px,50px) scale(0.9); }
}

/* Particles */
.particle{
  position:absolute; width:2px; height:2px;
  background: rgba(255,255,255,0.5);
  border-radius:50%;
  animation: particleFloat 15s linear infinite;
}
body:not(.dark-mode) .particle{
  background: rgba(0,0,0,0.30);
}

@keyframes particleFloat{
  0%{ transform: translateY(100vh) translateX(0); opacity:0; }
  10%{ opacity:1; }
  90%{ opacity:1; }
  100%{ transform: translateY(-100vh) translateX(100px); opacity:0; }
}

/* Header & Navigation */
header{
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s;
}
header.scrolled{
  background: rgba(0,0,0,0.95);
  box-shadow: 0 5px 30px rgba(255,255,255,0.1);
}

/* Light header */
body:not(.dark-mode) header{
  background: rgba(243,243,245,0.78);
  border-bottom: 1px solid rgba(0,0,0,0.10);
  color: #0b0b0c;
}
body:not(.dark-mode) header.scrolled{
  background: rgba(243,243,245,0.92);
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.nav-container{
  max-width: 1400px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 0 2rem;
}

.logo{
  font-size:1.8rem;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:.5rem;
  letter-spacing:-1px;
  transition: transform .3s;
  user-select: none;
  cursor: pointer;
}
.logo:hover{ transform: scale(1.05); }
.logo i{ animation: pulse 2s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

nav ul{ display:flex; list-style:none; gap:2.5rem; }
nav a{
  color: rgba(255,255,255,0.8);
  text-decoration:none;
  font-weight:500;
  transition: all .3s;
  position:relative;
  padding:.5rem 0;
}
nav a::after{
  content:'';
  position:absolute;
  bottom:0; left:0;
  width:0; height:2px;
  background:white;
  transition: width .3s;
}
nav a:hover{ color:white; }
nav a:hover::after{ width:100%; }

/* Light nav links */
body:not(.dark-mode) nav a{
  color: rgba(0,0,0,0.70);
}
body:not(.dark-mode) nav a::after{
  background: #000;
}
body:not(.dark-mode) nav a:hover{
  color: rgba(0,0,0,0.96);
}

.mobile-menu{
  display:none;
  font-size:1.5rem;
  cursor:pointer;
  width: 44px; height: 44px;
  align-items:center; justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.mobile-menu:hover{ border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }

body:not(.dark-mode) .mobile-menu{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
}
body:not(.dark-mode) .mobile-menu:hover{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.05);
}

/* ========= SUB-NAV FIX ========= */
:root{ --header-h: 78px; }

/* ========= TOOLS SUB-NAV ========= */
.tools-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: var(--header-h);
  z-index: 999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.tools-open .tools-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.tools-subnav-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .65rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tools-subnav-inner::-webkit-scrollbar{ height: 6px; }
.tools-subnav-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.tools-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
}
.tools-pill:hover{
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.tools-pill.primary{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
}
.tools-pill .tag{
  font-size: .75rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
}

/* Light subnav */
body:not(.dark-mode) .tools-subnav{
  background: rgba(243,243,245,0.82);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
body:not(.dark-mode) .tools-subnav-inner::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.15);
}
body:not(.dark-mode) .tools-pill{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.80);
}
body:not(.dark-mode) .tools-pill:hover{
  color: rgba(0,0,0,0.95);
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .tools-pill.primary{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .tools-pill .tag{
  border: 1px solid rgba(0,0,0,0.16);
  color: rgba(0,0,0,0.60);
}

/* ========= NEWS SUB-NAV ========= */
.news-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: var(--header-h);
  z-index: 999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.news-open .news-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.news-subnav-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .65rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.news-subnav-inner::-webkit-scrollbar{ height: 6px; }
.news-subnav-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.news-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
}
.news-pill:hover{
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.news-pill.primary{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
}

body:not(.dark-mode) .news-subnav{
  background: rgba(243,243,245,0.82);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
body:not(.dark-mode) .news-subnav-inner::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.15);
}
body:not(.dark-mode) .news-pill{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.80);
}
body:not(.dark-mode) .news-pill:hover{
  color: rgba(0,0,0,0.95);
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .news-pill.primary{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.05);
}

/* ========= LEARN SUB-NAV ========= */
.learn-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: var(--header-h);
  z-index: 999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.learn-open .learn-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.learn-subnav-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .65rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.learn-subnav-inner::-webkit-scrollbar{ height: 6px; }
.learn-subnav-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.learn-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
  cursor: pointer;
}
.learn-pill:hover{
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.learn-pill.active{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
  color: #fff;
}

.learn-detail-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: calc(var(--header-h) + 54px);
  z-index: 998;
  background: rgba(0,0,0,0.66);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.learn-detail-open .learn-detail-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.learn-detail-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .55rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.learn-detail-inner::-webkit-scrollbar{ height: 6px; }
.learn-detail-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.learn-detail-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
}
.learn-detail-pill:hover{
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.learn-caption{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.70);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}

/* Light learn */
body:not(.dark-mode) .learn-subnav,
body:not(.dark-mode) .learn-detail-subnav{
  background: rgba(243,243,245,0.82);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
body:not(.dark-mode) .learn-subnav-inner::-webkit-scrollbar-thumb,
body:not(.dark-mode) .learn-detail-inner::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.15);
}
body:not(.dark-mode) .learn-pill,
body:not(.dark-mode) .learn-detail-pill{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.80);
}
body:not(.dark-mode) .learn-pill:hover,
body:not(.dark-mode) .learn-detail-pill:hover{
  color: rgba(0,0,0,0.95);
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .learn-pill.active{
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.95);
}
body:not(.dark-mode) .learn-caption{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  color: rgba(0,0,0,0.60);
}

/* ========= HOME SUB-NAV ========= */
.home-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: var(--header-h);
  z-index: 999;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.home-open .home-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.home-subnav-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .65rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.home-subnav-inner::-webkit-scrollbar{ height: 6px; }
.home-subnav-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.home-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
  cursor: pointer;
}
.home-pill:hover{
  color:#fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
.home-pill.primary{
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
}
.home-caption{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.70);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}

.home-detail-subnav{
  position: fixed;
  left: 0; right: 0; width: 100%;
  top: calc(var(--header-h) + 54px);
  z-index: 998;
  background: rgba(0,0,0,0.66);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
}
body.home-detail-open .home-detail-subnav{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.home-detail-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: .55rem 2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.home-detail-inner::-webkit-scrollbar{ height: 6px; }
.home-detail-inner::-webkit-scrollbar-thumb{ background: rgba(255,255,255,0.15); border-radius: 10px; }

.home-detail-pill{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  transition: all .25s ease;
}
.home-detail-pill:hover{
  color:#fff;
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* Light home */
body:not(.dark-mode) .home-subnav,
body:not(.dark-mode) .home-detail-subnav{
  background: rgba(243,243,245,0.82);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}
body:not(.dark-mode) .home-subnav-inner::-webkit-scrollbar-thumb,
body:not(.dark-mode) .home-detail-inner::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.15);
}
body:not(.dark-mode) .home-pill,
body:not(.dark-mode) .home-detail-pill{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.80);
}
body:not(.dark-mode) .home-pill:hover,
body:not(.dark-mode) .home-detail-pill:hover{
  color: rgba(0,0,0,0.95);
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .home-pill.primary{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.05);
}
body:not(.dark-mode) .home-caption{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  color: rgba(0,0,0,0.60);
}

/* ========= MOBILE DRAWER MENU (FIX) ========= */
.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.mobile-drawer{
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  z-index: 1500;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255,255,255,0.12);
  transform: translateX(102%);
  transition: transform .25s ease;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body.mobile-menu-open .mobile-overlay{
  opacity: 1;
  pointer-events: auto;
}
body.mobile-menu-open .mobile-drawer{
  transform: translateX(0);
}

/* Light drawer */
body:not(.dark-mode) .mobile-overlay{
  background: rgba(0,0,0,0.30);
}
body:not(.dark-mode) .mobile-drawer{
  background: rgba(243,243,245,0.92);
  border-left: 1px solid rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.92);
}

.mobile-drawer-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: .35rem .25rem;
}
.mobile-title{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight: 900;
  letter-spacing:-0.5px;
}
.mobile-close{
  width: 44px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
}
.mobile-close:hover{ border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.06); }

body:not(.dark-mode) .mobile-close{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.75);
}
body:not(.dark-mode) .mobile-close:hover{
  border-color: rgba(0,0,0,0.20);
  background: rgba(0,0,0,0.05);
  color: rgba(0,0,0,0.95);
}

.mobile-list{
  display:flex;
  flex-direction: column;
  gap: .75rem;
  padding: .25rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.m-accordion{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
body:not(.dark-mode) .m-accordion{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
}

.m-acc-btn{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 1rem 1rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}
body:not(.dark-mode) .m-acc-btn{
  color: rgba(0,0,0,0.92);
}
.m-acc-btn .left{
  display:flex;
  align-items:center;
  gap: .8rem;
}
.m-acc-btn i{ opacity: .9; }

.m-acc-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid rgba(255,255,255,0.10);
}
body:not(.dark-mode) .m-acc-panel{
  border-top: 1px solid rgba(0,0,0,0.10);
}
.m-accordion.open .m-acc-panel{
  max-height: 1200px;
}
.m-links{
  display:flex;
  flex-direction: column;
  padding: .6rem;
  gap: .45rem;
}
.m-link{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.88);
  text-decoration:none;
  font-weight: 700;
}
.m-link:hover{ border-color: rgba(255,255,255,0.20); background: rgba(0,0,0,0.45); color:#fff; }

body:not(.dark-mode) .m-link{
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.84);
}
body:not(.dark-mode) .m-link:hover{
  border-color: rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.80);
  color: rgba(0,0,0,0.95);
}

.m-link .left{
  display:flex;
  align-items:center;
  gap: .75rem;
  min-width: 0;
}
.m-link .left span{
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-single{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
body:not(.dark-mode) .m-single{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
}
.m-single a{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 1rem 1rem;
  color: rgba(255,255,255,0.92);
  text-decoration:none;
  font-weight: 800;
  font-size: 1.05rem;
}
body:not(.dark-mode) .m-single a{
  color: rgba(0,0,0,0.92);
}
.m-single a .left{ display:flex; align-items:center; gap: .8rem; }

/* Hero Section */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:2rem;
  position:relative;
}
.hero-content{ max-width: 900px; z-index: 1; }

.hero h1{
  font-size:5rem;
  margin-bottom:1.5rem;
  font-weight:900;
  letter-spacing:-3px;
  line-height:1.1;
  animation: fadeInUp 1s;
  background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

/* Light hero title like your example (black/gray) */
body:not(.dark-mode) .hero h1{
  background: linear-gradient(135deg, #000000 0%, #6c6c70 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.hero p{
  font-size:1.4rem;
  margin-bottom:3rem;
  opacity:.7;
  animation: fadeInUp 1s .2s backwards;
  line-height:1.8;
}
body:not(.dark-mode) .hero p{
  color: rgba(0,0,0,0.62);
  opacity: 1;
}

.cta-buttons{
  display:flex;
  gap:1.5rem;
  justify-content:center;
  flex-wrap:wrap;
  animation: fadeInUp 1s .4s backwards;
}

.btn{
  padding:1.2rem 3rem;
  border:none;
  border-radius:50px;
  font-size:1.1rem;
  font-weight:700;
  cursor:pointer;
  transition:all .3s;
  text-decoration:none;
  display:inline-block;
  position:relative;
  overflow:hidden;
}
.btn::before{
  content:'';
  position:absolute;
  top:50%; left:50%;
  width:0; height:0;
  border-radius:50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%,-50%);
  transition: width .6s, height .6s;
}
.btn:hover::before{ width:300px; height:300px; }
.btn span{ position:relative; z-index:1; }

.btn-primary{
  background:white;
  color:#000;
  box-shadow: 0 0 30px rgba(255,255,255,0.3);
}
.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,255,255,0.4);
}
.btn-secondary{
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-secondary:hover{
  background:white;
  color:#000;
  transform: translateY(-3px);
}

/* Light buttons */
body:not(.dark-mode) .btn-primary{
  background: #0b0b0c;
  color: #f3f3f5;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
}
body:not(.dark-mode) .btn-primary:hover{
  box-shadow: 0 18px 54px rgba(0,0,0,0.22);
}
body:not(.dark-mode) .btn-secondary{
  color: #0b0b0c;
  border: 2px solid rgba(0,0,0,0.85);
}
body:not(.dark-mode) .btn::before{
  background: rgba(0,0,0,0.10);
}

/* Features Section */
.features{
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.section-title{
  text-align:center;
  font-size:3.5rem;
  margin-bottom:4rem;
  font-weight:900;
  letter-spacing:-2px;
  animation: fadeInUp 1s;
}
body:not(.dark-mode) .section-title{
  color: rgba(0,0,0,0.92);
}

.feature-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap:2rem;
}

.feature-card{
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  padding:3rem;
  border-radius:20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all .4s;
  text-align:center;
  position:relative;
  overflow:hidden;
}
body:not(.dark-mode) .feature-card{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.10);
}
.feature-card::before{
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left .5s;
}
body:not(.dark-mode) .feature-card::before{
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}
.feature-card:hover::before{ left:100%; }
.feature-card:hover{
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(255,255,255,0.1);
}
body:not(.dark-mode) .feature-card:hover{
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.12);
}
.feature-icon{ font-size:3.5rem; margin-bottom:1.5rem; animation: float 3s ease-in-out infinite; }
body:not(.dark-mode) .feature-icon{ color: rgba(0,0,0,0.85); }
.feature-card h3{ font-size:1.8rem; margin-bottom:1rem; font-weight:700; }
body:not(.dark-mode) .feature-card h3{ color: rgba(0,0,0,0.92); }
.feature-card p{ color: rgba(255,255,255,0.6); line-height:1.8; font-size:1.05rem; }
body:not(.dark-mode) .feature-card p{ color: rgba(0,0,0,0.62); }

/* Learning Section */
.learning-section{
  background: rgba(255,255,255,0.02);
  padding: 8rem 2rem;
  position: relative;
}
body:not(.dark-mode) .learning-section{
  background: rgba(0,0,0,0.02);
}
.learning-section::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events:none;
}
body:not(.dark-mode) .learning-section::before{
  background:
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px);
}
.learning-container{
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.course-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap:2.5rem;
  margin-top:3rem;
}

.course-card{
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-radius:20px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all .4s;
}
body:not(.dark-mode) .course-card{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.10);
}
.course-card:hover{
  transform: scale(1.03) translateY(-10px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(255,255,255,0.15);
}
body:not(.dark-mode) .course-card:hover{
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.12);
}

.course-image{
  height:250px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:5rem;
  position:relative;
  overflow:hidden;
}
body:not(.dark-mode) .course-image{
  background: linear-gradient(135deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.02) 100%);
}
.course-image::before{
  content:'';
  position:absolute;
  width:200%;
  height:200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 3s infinite;
}
body:not(.dark-mode) .course-image::before{
  background: linear-gradient(45deg, transparent, rgba(0,0,0,0.06), transparent);
}
@keyframes shimmer{
  0%{ transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100%{ transform: translateX(100%) translateY(100%) rotate(45deg); }
}
.course-image i{ position:relative; z-index:1; animation: float 3s ease-in-out infinite; }

.course-content{ padding:2rem; }
.course-content h3{ font-size:1.8rem; margin-bottom:1rem; font-weight:700; }
body:not(.dark-mode) .course-content h3{ color: rgba(0,0,0,0.92); }

.course-badge{
  display:inline-block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color:white;
  padding:.4rem 1rem;
  border-radius:20px;
  font-size:.85rem;
  font-weight:600;
  margin-bottom:1rem;
  text-transform: uppercase;
  letter-spacing:1px;
}
body:not(.dark-mode) .course-badge{
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.75);
}

.course-content p{ color: rgba(255,255,255,0.6); line-height:1.8; margin-bottom:1.5rem; }
body:not(.dark-mode) .course-content p{ color: rgba(0,0,0,0.62); }

/* Tools Section */
.tools-section{
  padding: 8rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.tools-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:2rem;
}
.tool-item{
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  color:white;
  padding:3rem 2rem;
  border-radius:15px;
  text-align:center;
  cursor:pointer;
  transition: all .4s;
  position:relative;
  overflow:hidden;
}
body:not(.dark-mode) .tool-item{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.90);
}
.tool-item::after{
  content:'';
  position:absolute;
  top:50%; left:50%;
  width:0; height:0;
  background: rgba(255,255,255,0.1);
  border-radius:50%;
  transform: translate(-50%,-50%);
  transition: width .6s, height .6s;
}
body:not(.dark-mode) .tool-item::after{
  background: rgba(0,0,0,0.05);
}
.tool-item:hover::after{ width:500px; height:500px; }
.tool-item:hover{
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 20px 60px rgba(255,255,255,0.15);
}
body:not(.dark-mode) .tool-item:hover{
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 26px 70px rgba(0,0,0,0.12);
}
.tool-item i{
  font-size:3rem;
  margin-bottom:1rem;
  position:relative;
  z-index:1;
  animation: float 3s ease-in-out infinite;
}
body:not(.dark-mode) .tool-item i{ color: rgba(0,0,0,0.85); }
.tool-item h3{
  position:relative;
  z-index:1;
  font-size:1.3rem;
  font-weight:600;
}

/* Footer */
footer{
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
  color:white;
  padding:4rem 2rem 2rem;
}
body:not(.dark-mode) footer{
  background: rgba(243,243,245,0.92);
  border-top: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.90);
}

.footer-container{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap:3rem;
}
.footer-section h3{ margin-bottom:1.5rem; font-size:1.3rem; font-weight:700; }
.footer-section ul{ list-style:none; }
.footer-section a{
  color: rgba(255,255,255,0.6);
  text-decoration:none;
  display:block;
  padding:.5rem 0;
  transition: all .3s;
  position:relative;
  padding-left:0;
}
.footer-section a::before{
  content:'';
  position:absolute;
  left:0; top:50%;
  width:0; height:1px;
  background:white;
  transition: width .3s;
  transform: translateY(-50%);
}
.footer-section a:hover{ color:white; padding-left:20px; }
.footer-section a:hover::before{ width:15px; }

body:not(.dark-mode) .footer-section a{
  color: rgba(0,0,0,0.60);
}
body:not(.dark-mode) .footer-section a::before{
  background: rgba(0,0,0,0.92);
}
body:not(.dark-mode) .footer-section a:hover{
  color: rgba(0,0,0,0.92);
}

.copyright{
  text-align:center;
  padding-top:3rem;
  margin-top:3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size:.95rem;
}
body:not(.dark-mode) .copyright{
  border-top: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.45);
}

@keyframes fadeInUp{
  from{ opacity:0; transform: translateY(40px); }
  to{ opacity:1; transform: translateY(0); }
}

/* Scroll Indicator */
.scroll-indicator{
  position:absolute;
  bottom:30px;
  left:50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator i{ font-size:2rem; opacity:.5; }
body:not(.dark-mode) .scroll-indicator i{ color: rgba(0,0,0,0.55); opacity: 1; }

@keyframes bounce{
  0%,20%,50%,80%,100%{ transform: translateX(-50%) translateY(0); }
  40%{ transform: translateX(-50%) translateY(-20px); }
  60%{ transform: translateX(-50%) translateY(-10px); }
}

/* ========= FYNX FLOATING DOWNLOAD QR (NEW) ========= */
.fynx-download{
  position: fixed;
  right: 22px;
  left: auto;
  bottom: 22px;
  z-index: 9999;
  text-decoration: none;
  color: inherit;
  transform: translateZ(0);
  opacity: 1;
  transform: translateY(0) translateZ(0);
  transition: opacity .22s ease, transform .22s ease;
}
.fynx-download.is-hidden{
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) translateZ(0);
}
.fynx-card{
  width: 300px;
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: rgba(10, 10, 12, 0.78);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 18px 60px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.05) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.fynx-download:hover .fynx-card{
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 22px 72px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.06) inset;
}

/* Light download widget */
body:not(.dark-mode) .fynx-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}
body:not(.dark-mode) .fynx-download:hover .fynx-card{
  border-color: rgba(0,0,0,0.18);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.fynx-aura{
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.16), transparent 52%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,0.10), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(255,255,255,0.12), transparent 55%);
  filter: blur(18px);
  opacity: .85;
  animation: fynxAura 5.2s ease-in-out infinite;
  pointer-events: none;
}
body:not(.dark-mode) .fynx-aura{
  background:
    radial-gradient(circle at 30% 20%, rgba(0,0,0,0.10), transparent 52%),
    radial-gradient(circle at 80% 60%, rgba(0,0,0,0.06), transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(0,0,0,0.08), transparent 55%);
  opacity: .65;
}

@keyframes fynxAura{
  0%{ transform: translate3d(-6px,-4px,0) scale(1); }
  50%{ transform: translate3d(10px,8px,0) scale(1.03); }
  100%{ transform: translate3d(-6px,-4px,0) scale(1); }
}
.fynx-scan{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.06), transparent);
  opacity: .35;
  transform: translateY(-120%);
  animation: fynxScan 3.3s linear infinite;
  pointer-events: none;
}
body:not(.dark-mode) .fynx-scan{
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.06), transparent);
  opacity: .25;
}
@keyframes fynxScan{
  0%{ transform: translateY(-120%); }
  100%{ transform: translateY(120%); }
}

.fynx-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.fynx-badge{
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  user-select: none;
}
body:not(.dark-mode) .fynx-badge{
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(0,0,0,0.75);
}

.fynx-close{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.fynx-close:hover{
  transform: scale(1.04);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
body:not(.dark-mode) .fynx-close{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.70);
}
body:not(.dark-mode) .fynx-close:hover{
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.18);
  color: rgba(0,0,0,0.92);
}

.fynx-content{
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.fynx-qr{
  width: 88px;
  height: 88px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  overflow: hidden;
}
body:not(.dark-mode) .fynx-qr{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.10);
}

.fynx-title{
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,0.95);
  margin-bottom: 4px;
}
.fynx-sub{
  font-size: 12.5px;
  color: rgba(255,255,255,0.70);
  margin-bottom: 10px;
}
.fynx-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  font-weight: 800;
}

body:not(.dark-mode) .fynx-title{
  color: rgba(0,0,0,0.92);
}
body:not(.dark-mode) .fynx-sub{
  color: rgba(0,0,0,0.62);
}
body:not(.dark-mode) .fynx-pill{
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.85);
}

@media (max-width: 480px){
  .fynx-card{ width: 100%; }
  .fynx-content{ grid-template-columns: 86px 1fr; }
  .fynx-qr{ width: 86px; height: 86px; }
}
@media (max-width: 768px){
  .fynx-download{
    left: 12px;
    right: 12px;
    bottom: 14px;
  }
  .fynx-card{
    width: 100%;
    border-radius: 20px;
  }
}

/* Responsive */
@media (max-width: 768px){
  nav ul{ display:none; }
  .mobile-menu{ display:flex; }
  .hero h1{ font-size:2.5rem; letter-spacing:-1px; }
  .hero p{ font-size:1.1rem; }
  .section-title{ font-size:2.5rem; }
  .cta-buttons{ flex-direction:column; }
  .feature-grid, .course-grid, .tools-grid{ grid-template-columns:1fr; }
  .tools-subnav-inner{ padding: .65rem 1rem; }
  .news-subnav-inner{ padding: .65rem 1rem; }
  .learn-subnav-inner{ padding: .65rem 1rem; }
  .learn-detail-inner{ padding: .55rem 1rem; }
  .home-subnav-inner{ padding: .65rem 1rem; }
  .home-detail-inner{ padding: .55rem 1rem; }
}

/* ==============================================
   FAQs Section - Dark minimalist accordion
============================================== */
.faq-section {
  padding: 80px 20px;
  background: #0a0a0a;
  color: #ffffff;
}
body:not(.dark-mode) .faq-section{
  background: rgba(0,0,0,0.02);
  color: rgba(0,0,0,0.92);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}
body:not(.dark-mode) .faq-item{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.70);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
body:not(.dark-mode) .faq-question{
  color: rgba(0,0,0,0.92);
}

.faq-question:hover {
  background: #1a1a1a;
}
body:not(.dark-mode) .faq-question:hover{
  background: rgba(0,0,0,0.04);
}

.faq-icon {
  transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: #0f0f0f;
  transition: max-height 0.6s ease-out, padding 0.6s ease-out;
}
body:not(.dark-mode) .faq-answer{
  background: rgba(255,255,255,0.55);
  color: rgba(0,0,0,0.70);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 24px;
}
