/* ================================================================
   aliHossain Academy — Aurora Dark design system.
   Ported from the approved homepage design. No framework, plain CSS,
   reusable class names, CSS custom properties for theming.
   ================================================================ */

@property --p {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  /* Render native UI (select dropdowns, scrollbars, form controls) in dark
     mode and use the brand violet for control highlights/accents. */
  color-scheme: dark;
  accent-color: #8b5cf6;

  --bg: #070512;
  --bg2: #0c0820;
  --bg3: #120a26;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.18);

  --violet: #8b5cf6;
  --violet-l: #a78bfa;
  --violet-d: #6d28d9;
  --magenta: #d946ef;
  --magenta-d: #c026d3;
  --pink: #f5a9fb;
  --cyan: #22d3ee;

  --grad: linear-gradient(135deg, #7c3aed, #c026d3 60%, #f0abfc);
  --grad-soft: linear-gradient(135deg, var(--violet), var(--magenta));
  --gtext: linear-gradient(
    100deg,
    var(--violet-l),
    var(--magenta) 45%,
    var(--pink),
    var(--violet-l)
  );

  --text: #efeafc;
  --text-2: #c9c2e4;
  --muted: #8d86ad;
  --green: #34d399;
  --gold: #fbbf24;

  --glow-v: rgba(124, 58, 237, 0.55);
  --glow-m: rgba(192, 38, 211, 0.45);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 20px 60px rgba(124, 58, 237, 0.35);
  --radius: 22px;
  --bn: 'Hind Siliguri', system-ui, sans-serif;
  --en: 'Inter', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--bn);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.en {
  font-family: var(--en);
}
.aha-icon {
  display: inline-block;
  vertical-align: middle;
}

.wrap {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

::selection {
  background: var(--violet);
  color: #fff;
}

/* moving gradient text */
.gtext {
  background: var(--gtext);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gmove 6s linear infinite;
}
@keyframes gmove {
  to {
    background-position: 220% center;
  }
}

/* shared heads */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--violet-l);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.h-sec {
  font-size: clamp(1.95rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.015em;
  color: #fff;
}
.sub-sec {
  color: var(--text-2);
  font-size: 1.06rem;
  max-width: 660px;
  margin-top: 12px;
}
.center {
  text-align: center;
}
.center .sub-sec {
  margin-inline: auto;
}
.head-block {
  margin-bottom: 54px;
}
.head-block .h-sec {
  margin: 16px 0 0;
}
.s {
  padding: 96px 0;
  position: relative;
}
.s-tight {
  padding: 64px 0;
  position: relative;
}

/* glow blobs */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--bn);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  color: #fff;
  background: var(--grad-soft);
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 18px 50px rgba(168, 85, 247, 0.6);
}
.btn-primary.shine {
  overflow: hidden;
}
.woocommerce-page .btn-primary.shine {
  color: #fff;
}
.btn-primary.shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform: skewX(-18deg);
  animation: shine 3.4s ease-in-out infinite;
}
@keyframes shine {
  0%,
  55% {
    left: -130%;
  }
  80%,
  100% {
    left: 150%;
  }
}
.btn-glass {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--violet);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.12rem;
}
.btn .arrow {
  transition: 0.25s;
}
.btn:hover .arrow {
  transform: translateX(5px);
}

/* cursor spotlight */
#spot {
  position: fixed;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-v), transparent 60%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 0.6;
  transition: opacity 0.3s;
}

/* progress bar */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 12px var(--glow-m);
}

/* announcement */
.topbar {
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 9px 16px;
  position: relative;
  z-index: 60;
  overflow: hidden;
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: translateX(-100%);
  animation: sweep 5s ease-in-out infinite;
}
@keyframes sweep {
  0%,
  60% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.topbar .code {
  background: rgba(0, 0, 0, 0.22);
  padding: 1px 9px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 5, 18, 0.6);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}
.logo .mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
  box-shadow: 0 8px 22px var(--glow-v);
}
.logo .brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.logo .name {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
}
.logo .tag {
  font-family: var(--en);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 3px;
  border: 1px solid var(--border);
  align-self: flex-start;
}
.custom-logo-link {
  display: inline-flex;
}
.custom-logo {
  max-height: 48px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 3px;
}
.menu .menu-list {
  display: flex;
  align-items: center;
  gap: 3px;
  list-style: none;
}
.menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 500;
  color: var(--text-2);
  transition: 0.2s;
}
.menu a:hover {
  color: #fff;
  background: var(--surface);
}
.menu .current-menu-item > a,
.menu a.active {
  color: var(--violet-l);
  font-weight: 600;
}

/* ---- Dropdown submenus ---- */
.menu .menu-list li {
  position: relative;
}
.menu .menu-item-has-children > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 0.75em;
  opacity: 0.7;
}
.menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(12, 8, 32, 0.96);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
  z-index: 100;
}
.menu .menu-list li:hover > .sub-menu,
.menu .menu-list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu .sub-menu a {
  white-space: nowrap;
  width: 100%;
}
/* Nested (3rd level) flyout to the side */
.menu .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
}
.menu .sub-menu .menu-item-has-children > a::after {
  content: '▸';
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cart {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: 0.2s;
  background: var(--surface);
}
.cart:hover {
  border-color: var(--violet);
  color: #fff;
}
.cart .badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--magenta);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================= Hero ================= */
.hero {
  position: relative;
  padding: 84px 0 100px;
  overflow: hidden;
}
.hero .grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 65% at 50% 35%,
    #000 40%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 80% 65% at 50% 35%,
    #000 40%,
    transparent 80%
  );
}
.hero .g1 {
  width: 520px;
  height: 520px;
  background: var(--glow-v);
  top: -160px;
  left: -100px;
}
.hero .g2 {
  width: 460px;
  height: 460px;
  background: var(--glow-m);
  top: 0;
  right: -120px;
}
.hero .g3 {
  width: 380px;
  height: 380px;
  background: rgba(34, 211, 238, 0.18);
  bottom: -160px;
  left: 40%;
}
.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 46px;
  align-items: center;
}
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}
.rotator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 7px 7px 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-2);
}
.rot-window {
  display: inline-block;
  height: 1.7em;
  overflow: hidden;
  border-radius: 100px;
}
.rot-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.6, 0.1, 0.2, 1);
}
.rot-track span {
  height: 1.7em;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--grad-soft);
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--glow-v);
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-2);
  max-width: 545px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  perspective: 1200px;
}
.hv-card {
  position: relative;
  width: min(430px, 92%);
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 2;
  transition: transform 0.2s ease;
}
.hv-card .photo {
  aspect-ratio: 4/3;
  background: var(--grad-soft);
  position: relative;
}
.hv-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-fallback {
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
}
.hv-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hv-card .play button {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--violet-d);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: 0.25s;
  position: relative;
}
.hv-card .play button::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.hv-card .play button:hover {
  transform: scale(1.08);
}
.hv-card .bar {
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12, 8, 32, 0.6);
}
.hv-card .bar .ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-soft);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: none;
}
.hv-card .bar b {
  display: block;
  color: #fff;
  line-height: 1.25;
}
.hv-card .bar small {
  color: var(--muted);
}
.f-chip {
  position: absolute;
  background: rgba(18, 10, 38, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 4;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.f-chip img {
  width: 30px;
  height: 30px;
}
.f-chip .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.f-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}
.f-chip strong {
  font-size: 0.95rem;
  color: #fff;
}
.f-chip.c1 {
  top: 2%;
  left: -4%;
}
.f-chip.c2 {
  top: 26%;
  right: -8%;
  animation-delay: -2s;
}
.f-chip.c3 {
  bottom: 18%;
  left: -8%;
  animation-delay: -4s;
}
.f-chip.c4 {
  bottom: 0;
  right: 3%;
  animation-delay: -1s;
}

.band {
  background: linear-gradient(
    180deg,
    transparent,
    var(--bg2) 30%,
    var(--bg2) 70%,
    transparent
  );
}

/* ================= Curriculum tabs ================= */
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}
.tab {
  padding: 11px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--bn);
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: 0.2s;
}
.tab.active {
  background: var(--grad-soft);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 26px var(--glow-v);
}
.panel {
  display: none;
  animation: fade 0.4s ease;
}
.panel.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lessons {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.lesson {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  transition: 0.2s;
}
.lesson:hover {
  transform: translateX(6px);
  border-color: var(--violet);
}
.lesson .no {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--violet-l);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-family: var(--en);
  flex: none;
}
.lesson .txt {
  flex: 1;
}
.lesson .txt b {
  display: block;
  color: #fff;
}
.lesson .txt small {
  color: var(--muted);
}
.lesson .dur {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ================= Mentor ================= */
.mentor-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}
.mentor-photo {
  position: relative;
}
.mentor-photo .frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  aspect-ratio: 4/5;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.mentor-photo .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mentor-photo .bk {
  position: absolute;
  inset: 20px -20px -20px 20px;
  background: var(--grad-soft);
  border-radius: 32px;
  z-index: -1;
  opacity: 0.25;
  filter: blur(8px);
}
.m-badge {
  position: absolute;
  background: rgba(18, 10, 38, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.m-badge.b1 {
  top: 18px;
  left: -24px;
}
.m-badge.b2 {
  bottom: 26px;
  right: -24px;
}
.m-badge .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad-soft);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.m-badge small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.m-badge strong {
  font-size: 1.02rem;
  color: #fff;
}
.mentor .role {
  color: var(--violet-l);
  font-weight: 600;
  margin: 4px 0 16px;
}
.mentor p {
  color: var(--text-2);
  margin-bottom: 14px;
}
.mentor-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 22px 0;
}
.mentor-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
}
.mentor-points li svg {
  color: var(--violet-l);
  flex: none;
  margin-top: 2px;
}

/* ================= Testimonials ================= */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.car-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.5, 0.1, 0.2, 1);
}
.slide {
  min-width: 100%;
  padding: 6px;
}
.t-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 38px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}
.t-card .pic {
  width: 130px;
  height: 130px;
  border-radius: 22px;
  background: var(--grad-soft);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  font-weight: 700;
  flex: none;
}
.t-card .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: inline-flex;
}
.t-card blockquote {
  font-size: 1.16rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.t-card .who b {
  color: #fff;
  font-size: 1.05rem;
}
.t-card .who small {
  color: var(--muted);
  display: block;
}
.car-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}
.car-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.car-nav button:hover {
  background: var(--grad-soft);
  color: #fff;
  border-color: transparent;
}
.dots {
  display: flex;
  gap: 8px;
}
.dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  appearance: none;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: 0.2s;
}
.dots button.on {
  background: var(--violet-l);
  width: 26px;
  border-radius: 6px;
}

/* ================= FAQ ================= */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.25s;
}
.faq-item.open {
  border-color: var(--violet);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  color: #fff;
  background: transparent;
  border: 0;
  appearance: none;
}
.faq-q .pm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--violet-l);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.25s;
  font-size: 1.3rem;
}
.faq-item.open .pm {
  background: var(--grad-soft);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-2);
}
.faq-a div {
  padding: 0 24px 22px;
}

/* ================= Final CTA ================= */
.final {
  position: relative;
  border-radius: 34px;
  padding: 66px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border-2);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(124, 58, 237, 0.3),
      transparent 60%
    ),
    var(--bg2);
}
.final .g1 {
  width: 420px;
  height: 420px;
  background: var(--glow-m);
  top: -160px;
  left: -80px;
}
.final .g2 {
  width: 420px;
  height: 420px;
  background: var(--glow-v);
  bottom: -200px;
  right: -80px;
}
.final .inner {
  position: relative;
  z-index: 2;
}
.final h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.24;
  margin: 16px 0;
  color: #fff;
}
.final p {
  color: var(--text-2);
  font-size: 1.12rem;
  max-width: 640px;
  margin: 0 auto 28px;
}
.final .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.final .mini {
  margin-top: 22px;
  color: var(--muted);
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.94rem;
}
.final .mini span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.final .mini svg {
  color: var(--green);
}

/* ================= Footer ================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 66px 0 26px;
  color: #fff;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border);
}
.foot-brand p {
  margin-top: 16px;
  font-size: 0.96rem;
  max-width: 300px;
  color: #fff;
}
.foot-col h4,
.widget-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}
.foot-col ul li {
  margin-bottom: 10px;
}
/* Footer content links: white by default, violet on hover. !important is
   needed to beat WooCommerce's site-wide `.woocommerce-page a:not(.button)`
   link colour on cart/checkout/shop pages. Socials are excluded. */
.foot-brand p a,
.foot-col ul a,
.foot-bottom a {
  color: #fff !important;
  transition: color 0.2s ease;
}
.foot-brand p a:hover,
.foot-col ul a:hover,
.foot-bottom a:hover {
  color: var(--violet-l) !important;
}
.foot-contact .btn {
  margin-top: 14px;
}
.foot-payment {
  display: block;
  margin-top: 18px;
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-2);
  transition: 0.2s;
}
.socials a:hover {
  background: var(--grad-soft);
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.9rem;
  color: #fff;
}

/* ================= Scroll-to-top button ================= */
.aha-totop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-2);
  border-radius: 50%;
  background: var(--surface-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.aha-totop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.aha-totop:hover {
  transform: translateY(-4px);
}
.aha-totop svg {
  width: 24px;
  height: 24px;
}

/* ================= Video modal ================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(7, 5, 18, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  place-items: center;
  padding: 22px;
}
.modal.open {
  display: grid;
}
.modal .box {
  width: min(900px, 100%);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-2);
}
.modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.modal .x {
  position: absolute;
  top: -46px;
  right: 0;
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}

/* skip link focus already handled in style.css */

/* ================= Inner pages (blog, single, page, archives) ================= */
.site-main {
  position: relative;
  z-index: 2;
}
.aha-shell {
  padding: 50px 0;
}
.single-post .aha-shell {
  padding: 0 0 50px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.content-grid.no-sidebar {
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto;
}
.page-head {
  text-align: center;
  padding: 10px 0 50px;
}
.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}
.page-head p {
  color: var(--text-2);
  margin-top: 10px;
}

/* ================= Single post (boxed, like sidebar widgets) ================= */
.single .content-grid {
  padding-top: 44px;
}
.single-entry,
.single .comments-area {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 40px 40px;
}
.single .comments-area {
  margin-top: 28px;
}
.single-head {
  padding-bottom: 18px;
}
.single-head .cat a {
  color: var(--violet-l);
  font-size: 0.85rem;
  font-weight: 600;
}
.single-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  color: #fff;
  margin: 10px 0;
}
.single-thumb {
  margin: 0 0 26px;
  border-radius: 14px;
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  display: block;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  transition: 0.25s ease;
}
.post-grid .entry-card {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.entry-card:hover {
  border-color: var(--violet);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -16px var(--glow-v);
}
.entry-card .thumb {
  display: block;
  overflow: hidden;
}
.entry-card .thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.entry-card:hover .thumb img {
  transform: scale(1.05);
}
.entry-card .entry-body {
  padding: 22px 26px;
}
.post-grid .entry-card .entry-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-grid .read-more {
  margin-top: auto;
}
.entry-card .cat a {
  color: var(--violet-l);
  font-size: 0.82rem;
  font-weight: 600;
}
.entry-card h2 {
  margin: 8px 0;
}
.entry-card h2 a {
  color: #fff;
}
.entry-card h2 a:hover {
  color: var(--violet-l);
}
.entry-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.entry-content {
  color: var(--text-2);
}
.entry-content a {
  color: var(--violet-l);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #fff;
  margin: 1.4em 0 0.5em;
}
.entry-content p,
.entry-content li {
  color: var(--text-2);
  margin-bottom: 1em;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}
.entry-content li {
  margin-bottom: 0.35em;
}
.entry-content blockquote {
  border-left: 3px solid var(--violet);
  padding: 6px 18px;
  margin: 1.2em 0;
  color: var(--text);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.entry-content img {
  border-radius: 14px;
}
.entry-content pre {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  overflow: auto;
  margin-bottom: 1em;
}
.entry-content code {
  background: var(--surface-2);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.92em;
}
.entry-content pre code {
  background: none;
  padding: 0;
}
.read-more {
  display: inline-block;
  margin-top: 8px;
  color: var(--violet-l);
  font-weight: 600;
}

/* widgets / sidebar */
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.widget ul {
  display: grid;
  gap: 10px;
}
.widget ul li {
  position: relative;
  padding-left: 20px;
}
.widget ul li::before {
  content: '›';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--violet-l);
  font-weight: 700;
  line-height: 1.5;
}
.widget ul li a {
  color: var(--text-2);
  transition: color 0.2s ease;
}
.widget ul li a:hover {
  color: var(--violet-l);
}
.widget a {
  color: var(--text-2);
}

/* forms */
input[type='text'],
input[type='email'],
input[type='search'],
input[type='url'],
input[type='password'],
input[type='tel'],
textarea,
select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--bn);
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--violet);
}
.search-form {
  display: flex;
  gap: 10px;
}
.search-form .search-submit {
  width: auto;
  white-space: nowrap;
  background: var(--grad-soft);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 600;
}

/* Block Search widget (sidebar): match the header CTA pill button */
.wp-block-search__inside-wrapper {
  display: flex;
  gap: 10px;
}
.wp-block-search__input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
}
.wp-block-search__button {
  margin: 0;
  background: var(--grad-soft);
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 10px 24px;
  font-weight: 600;
  font-family: var(--bn);
  cursor: pointer;
  transition: 0.2s ease;
}
.wp-block-search__button:hover {
  box-shadow: 0 10px 26px var(--glow-v);
  color: #fff;
}

/* pagination */
.aha-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}
.aha-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-weight: 600;
}
.aha-pagination .page-numbers.current,
.aha-pagination .page-numbers:hover {
  background: var(--grad-soft);
  color: #fff;
  border-color: transparent;
}

/* 404 */
.error-404 {
  text-align: center;
  padding: 90px 0;
}
.error-404 .big {
  font-family: var(--en);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: var(--gtext);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-404 p {
  color: var(--text-2);
  margin: 12px 0 26px;
}
