﻿/* ============================================================
   F3D Modern Theme - Pushka inspired minimal editorial design
   ============================================================ */

@font-face {
  font-family: "Benzin";
  src:
    url("../fonts/Benzin-Regular.woff2") format("woff2"),
    url("../fonts/Benzin-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src:
    url("../fonts/Benzin-Medium.woff2") format("woff2"),
    url("../fonts/Benzin-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src:
    url("../fonts/Benzin-Semibold.woff2") format("woff2"),
    url("../fonts/Benzin-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src:
    url("../fonts/Benzin-Bold.woff2") format("woff2"),
    url("../fonts/Benzin-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Benzin";
  src:
    url("../fonts/Benzin-ExtraBold.woff2") format("woff2"),
    url("../fonts/Benzin-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171412;
  --ink-soft: #23211e;
  --paper: #f7f4ee;
  --paper-2: #ffffff;
  --accent: #e14d2a;
  --accent-dark: #c43d1d;
  --muted: #706a61;
  --line: #e6e0d4;
  --radius: 2px;
  --shadow: 0 12px 40px -18px rgba(20, 16, 12, 0.35);
  --serif: "Benzin", "Fraunces", Georgia, "Times New Roman", serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-2);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1200px;
}
.text-accent {
  color: var(--accent) !important;
}
.text-muted-f {
  color: var(--muted) !important;
}
.bg-paper {
  background: var(--paper) !important;
}
.bg-ink {
  background: var(--ink) !important;
  color: var(--paper-2);
}
.bg-ink h1,
.bg-ink h2,
.bg-ink h3,
.bg-ink .serif {
  color: var(--paper-2);
}

/* kicker / eyebrow label */
.kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

/* section */
.section {
  padding: 72px 0;
}
.section-head {
  margin-bottom: 44px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
}
.section-sub {
  color: var(--muted);
  max-width: 560px;
}

/* buttons */
.btn {
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: var(--ink-soft);
  color: #fff;
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-line-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-line-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

/* forms */
.form-control,
.form-select {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-size: 14px;
  background: var(--paper-2);
  color: var(--ink);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(225, 77, 42, 0.12);
}
label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ============ HEADER ============ */
.f3d-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.f3d-topbar {
  background: var(--ink);
  color: #cfc9c0;
  font-size: 12.5px;
}
.f3d-topbar a {
  color: #cfc9c0;
}
.f3d-topbar a:hover {
  color: #fff;
}
.f3d-topbar .f3d-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.f3d-topbar .f3d-top-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.f3d-topbar i {
  margin-right: 7px;
  color: var(--accent);
}
.f3d-topbar .f3d-top-right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.f3d-topbar .f3d-lang select {
  background: transparent;
  border: none;
  color: #cfc9c0;
  font-size: 12.5px;
}
.f3d-topbar .f3d-lang select:focus {
  outline: none;
}

.f3d-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}
.f3d-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.f3d-brand img {
  max-height: 46px;
  width: auto;
}
.f3d-brand .brand-mark {
  color: var(--accent);
}
.f3d-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.f3d-menu > li {
  position: relative;
}
.f3d-menu > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border-radius: var(--radius);
}
.f3d-menu > li > a:hover {
  background: var(--paper);
}
.f3d-menu > li:hover > a {
  background: var(--paper);
}
.f3d-menu .has-children > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
}
.f3d-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 900;
}
.f3d-menu li:hover > .f3d-dropdown,
.f3d-menu li:focus-within > .f3d-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.f3d-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid #f1ece2;
}
.f3d-dropdown a:last-child {
  border-bottom: none;
}
.f3d-dropdown a:hover {
  background: var(--paper);
  color: var(--accent);
}
.f3d-dropdown .dd-sub {
  position: absolute;
  left: 100%;
  top: -1px;
  min-width: 220px;
}
.f3d-dropdown .has-children > a::after {
  margin-left: auto;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--muted);
}

.f3d-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.f3d-nav-actions .nav-ico {
  position: relative;
  font-size: 18px;
  color: var(--ink);
}
.f3d-nav-actions .nav-ico .badge-ico {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 50%;
  padding: 0 3px;
}
.f3d-search {
  position: relative;
}
.f3d-search input {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 14px 9px 38px;
  width: 230px;
  font-size: 14px;
  background: var(--paper-2);
}
.f3d-search .search-ico {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
}
.f3d-login-btn {
  font-weight: 600;
  font-size: 14.5px;
}
.f3d-login-btn i {
  margin-right: 7px;
}
.f3d-burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink);
}

/* profile dropdown */
.f3d-profile {
  position: relative;
}
.f3d-profile > a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}
.f3d-profile img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--paper);
}
.f3d-profile .dd {
  right: 0;
  left: auto;
  min-width: 250px;
  padding: 8px 0;
}
.f3d-profile .dd .dd-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.f3d-profile .dd .dd-head h6 {
  margin: 0 0 2px;
  font-family: var(--sans);
  font-weight: 700;
}
.f3d-profile .dd .dd-head p {
  font-size: 12.5px;
  color: var(--muted);
}
.f3d-profile .dd a {
  font-size: 14px;
}

/* popover (cart / wishlist) */
.f3d-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 330px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 920;
}
.f3d-hover-wrap {
  position: relative;
}
.f3d-hover-wrap:hover .f3d-popover,
.f3d-hover-wrap.open .f3d-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.f3d-popover .po-head {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}
.f3d-popover .po-body {
  max-height: 320px;
  overflow: auto;
}
.f3d-popover .po-foot {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}
.f3d-popover .po-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid #f4efe6;
}
.f3d-popover .po-item img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius);
}
.f3d-popover .po-item h6 {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1.3;
}
.f3d-popover .po-item small {
  color: var(--muted);
}
.f3d-popover .po-item .rm {
  color: var(--muted);
  margin-left: auto;
  font-size: 12px;
}
.f3d-popover .po-item .rm:hover {
  color: var(--accent);
}

/* mobile drawer */
.f3d-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.f3d-drawer.open {
  opacity: 1;
  visibility: visible;
}
.f3d-drawer .drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: var(--paper-2);
  padding: 22px;
  overflow: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.f3d-drawer.open .drawer-panel {
  transform: translateX(0);
}
.f3d-drawer .drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.f3d-drawer .drawer-menu a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 16px;
}
.f3d-drawer .drawer-menu .dd {
  margin-left: 14px;
  box-shadow: none;
  border: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  position: static;
}
.f3d-drawer .drawer-menu .dd a {
  padding: 10px 4px;
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}

/* ============ HERO ============ */
.f3d-hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.f3d-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 480px at 85% -10%,
      rgba(225, 77, 42, 0.28),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 8% 110%,
      rgba(225, 77, 42, 0.16),
      transparent 60%
    );
}
.f3d-hero .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  padding: 86px 0 72px;
}
.f3d-hero .hero-kicker {
  color: #e8a48f;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.f3d-hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.05;
  margin: 18px 0 20px;
}
.f3d-hero h1 em {
  font-style: italic;
  color: #ff9b7f;
}
.f3d-hero p.lead {
  color: #c9c2b6;
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 30px;
}
.f3d-hero .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.f3d-hero .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.f3d-hero .stat b {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  display: block;
}
.f3d-hero .stat span {
  font-size: 12.5px;
  color: #a9a198;
  line-height: 1.35;
  display: block;
}
.f3d-hero .hero-media {
  position: relative;
}
.f3d-hero .hero-media img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.f3d-hero .hero-media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 70%;
  height: 70%;
  border: 1px solid rgba(225, 77, 42, 0.5);
  border-radius: 6px;
  z-index: -1;
}

/* marquee band */
.f3d-band {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 12px 0;
}
.f3d-band .band-track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  animation: f3dmarquee 26s linear infinite;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.f3d-band .band-track span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
}
@keyframes f3dmarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============ HOME SECTIONS ============ */
.f3d-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.f3d-cat-pills a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.f3d-cat-pills a:hover,
.f3d-cat-pills a.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* course card */
.f3d-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.f3d-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.f3d-card .card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper);
}
.f3d-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.f3d-card:hover .card-thumb img {
  transform: scale(1.06);
}
.f3d-card .card-thumb .card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.f3d-card .card-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.f3d-card .card-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.f3d-card .card-title {
  color: #000;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 10px;
}
.f3d-card .card-title a:hover {
  color: var(--accent);
}
.f3d-card .card-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.f3d-card .card-meta i {
  margin-right: 5px;
  color: var(--accent);
}
.f3d-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1ece2;
  padding-top: 14px;
  margin-top: auto;
}
.f3d-card .card-foot .price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}
.f3d-card .card-foot .price s {
  color: var(--accent);
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 600;
  margin-left: 8px;
  text-decoration-thickness: 1.5px;
}
.f3d-card .card-foot .card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 16px;
}
.f3d-card .card-foot .card-actions a:hover {
  color: var(--accent);
}

/* feature block (why us) */
.f3d-feature {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}
.f3d-feature .feat-ico {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 19px;
}
.f3d-feature h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}
.f3d-feature p {
  color: var(--muted);
  font-size: 14px;
}

/* testimonial */
.f3d-testimonial {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: var(--radius);
  height: 100%;
}
.f3d-testimonial .t-quote {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.f3d-testimonial .t-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.f3d-testimonial .t-person img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.f3d-testimonial .t-person b {
  display: block;
  font-size: 14.5px;
}
.f3d-testimonial .t-person span {
  font-size: 12.5px;
  color: var(--muted);
}
.f3d-testimonial .stars {
  color: #e8a200;
  font-size: 13px;
  margin-bottom: 12px;
}

/* CTA band */
.f3d-cta {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 70px 0;
}
.f3d-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 300px at 90% 0%,
    rgba(225, 77, 42, 0.25),
    transparent 60%
  );
}
.f3d-cta h2 {
  font-size: clamp(26px, 3.6vw, 42px);
}

/* ============ BREADCRUMB / PAGE HEAD ============ */
.f3d-pagehead {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 54px;
  position: relative;
  overflow: hidden;
}
.f3d-pagehead::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(225, 77, 42, 0.4);
  border-radius: 50%;
}
.f3d-pagehead h1 {
  font-size: clamp(28px, 4vw, 46px);
}
.f3d-pagehead .crumbs {
  font-size: 13px;
  color: #b9b1a4;
  margin-bottom: 12px;
}
.f3d-pagehead .crumbs a {
  color: #e8e2d8;
}
.f3d-pagehead .crumbs a:hover {
  color: var(--accent);
}

/* ============ COURSES PAGE ============ */
.f3d-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}
.f3d-sidebar {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.f3d-sidebar h6 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 22px 0 12px;
}
.f3d-sidebar h6:first-child {
  margin-top: 0;
}
.f3d-filter-group {
  max-height: 230px;
  overflow: auto;
}
.f3d-filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 13.5px;
  padding: 5px 0;
  margin: 0;
  cursor: pointer;
}
.f3d-filter-group input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}
.f3d-rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.f3d-rating-stars i {
  font-size: 12px;
}
.f3d-star-fill {
  color: #ffb300;
}
.f3d-star-empty {
  color: var(--line);
}
.f3d-rating-label {
  font-size: 12.5px;
  color: var(--muted);
  margin-left: 2px;
}
.f3d-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.f3d-toolbar .f3d-result {
  font-size: 13.5px;
  color: var(--muted);
}
.f3d-view-btns {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.f3d-view-btns a {
  padding: 8px 14px;
  color: var(--ink);
}
.f3d-view-btns a.active {
  background: var(--ink);
  color: #fff;
}
.f3d-pagination {
  margin-top: 40px;
}
.f3d-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.f3d-pagination .page-item {
  list-style: none;
}
.f3d-pagination .page-link,
.f3d-pagination .page-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  color: var(--nx-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.f3d-pagination .page-item a:hover {
  color: #fff;
  border-color: rgba(255, 90, 51, 0.55);
  background: rgba(255, 90, 51, 0.12);
  transform: translateY(-2px);
}
.f3d-pagination .page-item.active .page-link,
.f3d-pagination .page-item.active.disabled .page-link {
  color: #fff;
  background: var(--nx-grad);
  border-color: transparent;
  box-shadow: var(--nx-glow);
  cursor: default;
}
.f3d-pagination .page-item.disabled .page-link,
.f3d-pagination .page-item.disabled a {
  opacity: 0.4;
  cursor: not-allowed;
}
.f3d-pagination .page-item i {
  font-size: 13px;
}

/* ============ COURSE PAGE ============ */
.f3d-course-hero {
  background: var(--ink);
  color: #fff;
  padding: 56px 0 60px;
}
.f3d-course-hero .crumbs {
  font-size: 13px;
  color: #b9b1a4;
  margin-bottom: 16px;
}
.f3d-course-hero .crumbs a {
  color: #e8e2d8;
}
.f3d-course-hero h1 {
  font-size: clamp(26px, 3.6vw, 44px);
  max-width: 820px;
}
.f3d-course-hero .ch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  font-size: 14px;
  color: #c9c2b6;
}
.f3d-course-hero .ch-meta i {
  color: var(--accent);
  margin-right: 7px;
}
.f3d-course-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.f3d-course-main {
  min-width: 0;
}
.f3d-course-rail {
  position: sticky;
  top: 100px;
}
.f3d-buy-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.f3d-buy-card .buy-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper);
}
.f3d-buy-card .buy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f3d-buy-card .buy-body {
  padding: 22px;
}
.f3d-buy-card .buy-price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}
.f3d-buy-card .buy-price s {
  color: var(--muted);
  font-size: 15px;
  font-family: var(--sans);
}
.f3d-buy-card .btn {
  width: 100%;
}
.f3d-buy-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line);
}
.f3d-buy-list li {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f4efe6;
  font-size: 14px;
}
.f3d-buy-list li i {
  color: var(--accent);
}
.f3d-buy-list li small {
  margin-left: auto;
  color: var(--muted);
}
.f3d-include {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f3d-include li {
  padding: 7px 0;
  font-size: 14.5px;
}
.f3d-include li i {
  color: var(--accent);
  margin-right: 10px;
}
.f3d-instructor {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.f3d-instructor img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.f3d-instructor h5 {
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 4px;
}
.f3d-instructor p {
  color: var(--muted);
  font-size: 13.5px;
}

/* curriculum */
.f3d-curriculum {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.f3d-curriculum .cur-head {
  background: var(--paper);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.f3d-curriculum .cur-item {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.f3d-curriculum .cur-item i {
  color: var(--muted);
  width: 18px;
}
.f3d-curriculum .cur-item small {
  margin-left: auto;
  color: var(--muted);
}
.f3d-curriculum .cur-item .free {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

/* reviews */
.f3d-review {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.f3d-review .rv-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.f3d-review .rv-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.f3d-review .rv-head b {
  display: block;
  font-size: 14.5px;
}
.f3d-review .rv-head small {
  color: var(--muted);
}
.f3d-review .stars {
  color: #e8a200;
  font-size: 13px;
  margin-left: auto;
}
.f3d-review .rv-body {
  font-size: 14.5px;
  color: #3d3933;
}

/* ============ CART ============ */
.f3d-cart-item {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.f3d-cart-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.f3d-cart-item .ci-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}
.f3d-cart-item .ci-cat {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.f3d-cart-item .ci-price {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.f3d-cart-item .ci-rm {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}
.f3d-cart-item .ci-rm:hover {
  color: var(--accent);
}
.f3d-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.f3d-summary h5 {
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 18px;
}
.f3d-summary .sum-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14.5px;
}
.f3d-summary .sum-row.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 20px;
}

/* coupon */
.f3d-coupon {
  display: flex;
  gap: 8px;
}
.f3d-coupon input {
  flex: 1;
}
.f3d-coupon .btn {
  flex-shrink: 0;
  padding: 11px 18px;
}

/* ============ AUTH ============ */
.f3d-auth {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background:
    radial-gradient(
      640px 420px at 12% 18%,
      rgba(108, 92, 240, 0.14),
      transparent 62%
    ),
    radial-gradient(
      700px 480px at 88% 82%,
      rgba(255, 90, 51, 0.13),
      transparent 62%
    ),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.f3d-auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 0%,
    transparent 72%
  );
  pointer-events: none;
}
.f3d-auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  padding: 40px 38px;
  box-shadow: var(--nx-shadow);
  position: relative;
  z-index: 2;
}
.f3d-auth-card h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin-bottom: 8px;
  color: var(--nx-text);
}
.f3d-auth-card .auth-sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}
.f3d-auth-card .form-group {
  margin-bottom: 18px;
}
.f3d-auth-card .auth-alt {
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 20px;
}
.f3d-auth-card .auth-alt a {
  color: var(--accent);
  font-weight: 600;
}
.f3d-social-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.f3d-social-btns .btn {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.f3d-social-btns .btn:hover {
  border-color: var(--ink);
}
.f3d-remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.f3d-auth-card .f3d-input {
  padding: 12px 14px 12px 42px;
}
.f3d-auth-card .f3d-input-pass {
  padding-right: 46px;
}
.f3d-auth-card .nx-btn.w-100 {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 0.95rem;
}
.f3d-auth-card .form-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--nx-text);
  font-size: 0.88rem;
}
.f3d-auth-card .form-check .form-check-input {
  margin: 0;
  accent-color: var(--nx-accent);
  width: 17px;
  height: 17px;
  background-color: var(--nx-bg-2);
  border-color: var(--nx-line);
}
.f3d-auth-card .form-check .form-check-input:checked {
  background-color: var(--nx-accent);
  border-color: var(--nx-accent);
}
.f3d-auth-card select.form-select {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  border-radius: 12px;
}
.f3d-auth-card select.form-select option {
  background: var(--nx-bg-2);
  color: var(--nx-text);
}

/* ============ USER PAGES ============ */
.f3d-user-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 36px;
  align-items: start;
}
.f3d-user-menu {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: sticky;
  top: 100px;
}
.f3d-user-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
}
.f3d-user-menu a i {
  width: 18px;
  color: var(--muted);
}
.f3d-user-menu a:hover,
.f3d-user-menu a.active {
  background: var(--ink);
  color: #fff;
}
.f3d-user-menu a:hover i,
.f3d-user-menu a.active i {
  color: var(--accent);
}
.f3d-card-rows .f3d-card {
  margin-bottom: 20px;
}

/* table */
.f3d-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.f3d-table th {
  background: var(--paper);
  text-align: left;
  padding: 13px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.f3d-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f4efe6;
  font-size: 14px;
  vertical-align: middle;
}
.f3d-table tr:last-child td {
  border-bottom: none;
}
.f3d-table .badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-success {
  background: #e7f5ec;
  color: #17804a;
}
.badge-danger {
  background: #fdecec;
  color: #c0392b;
}
.badge-warning {
  background: #fcf3e3;
  color: #a97010;
}
.badge-info {
  background: #eaf3fb;
  color: #1b6fb2;
}

/* message bubble */
.f3d-chat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.f3d-chat .chat-list {
  max-height: 520px;
  overflow: auto;
  padding: 22px;
}
.f3d-chat .bubble {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 14px;
  clear: both;
}
.f3d-chat .bubble.me {
  background: var(--ink);
  color: #fff;
  float: right;
  border-bottom-right-radius: 4px;
}
.f3d-chat .bubble.them {
  background: var(--paper);
  float: left;
  border-bottom-left-radius: 4px;
}
.f3d-chat .chat-input {
  border-top: 1px solid var(--line);
  padding: 16px 22px;
  display: flex;
  gap: 10px;
  clear: both;
}
.f3d-chat .chat-input input {
  flex: 1;
}
.f3d-chat-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #f4efe6;
  transition: background 0.2s;
}
.f3d-chat-row:hover {
  background: var(--paper);
}
.f3d-chat-row img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.f3d-chat-row b {
  display: block;
  font-size: 14.5px;
}
.f3d-chat-row small {
  color: var(--muted);
  font-size: 12.5px;
}

/* ============ BLOG ============ */
.f3d-blog-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  height: 100%;
}
.f3d-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.f3d-blog-card .blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.f3d-blog-card .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.f3d-blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}
.f3d-blog-card .blog-body {
  padding: 20px;
}
.f3d-blog-card .blog-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.f3d-blog-card h4 {
  font-size: 19px;
  line-height: 1.3;
}
.f3d-blog-card .blog-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 12px;
}
.f3d-blog-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d3933;
}
.f3d-blog-content p {
  margin-bottom: 18px;
}
.f3d-blog-content img {
  border-radius: var(--radius);
  margin: 10px 0;
}

/* ============ STATIC / CONTENT ============ */
.f3d-content {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d3933;
}
.f3d-content p {
  margin-bottom: 18px;
}
.f3d-content h3 {
  font-size: 26px;
  margin: 34px 0 14px;
}
.f3d-content h4 {
  font-size: 20px;
  margin: 26px 0 12px;
  font-family: var(--sans);
  font-weight: 700;
}
.f3d-content ul {
  margin: 0 0 18px;
  padding-left: 4px;
}
.f3d-content ul li {
  padding: 5px 0 5px 24px;
  position: relative;
}
.f3d-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.f3d-content img {
  border-radius: var(--radius);
}
.f3d-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.f3d-contact-box {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.f3d-contact-box .cb-ico {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px;
}
.f3d-contact-box h6 {
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 8px;
}
.f3d-contact-box p {
  color: var(--muted);
  font-size: 14px;
}

/* ============ FOOTER ============ */
.f3d-footer {
  background: var(--ink);
  color: #bdb5a9;
  padding: 64px 0 0;
  margin-top: 80px;
}
.f3d-footer h5 {
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.f3d-footer a {
  color: #bdb5a9;
  font-size: 14px;
  display: inline-block;
  padding: 4px 0;
}
.f3d-footer a:hover {
  color: var(--accent);
}
.f3d-footer .foot-about p {
  font-size: 14px;
  max-width: 340px;
  margin-top: 16px;
  line-height: 1.7;
}
.f3d-footer .foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 48px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}
.f3d-footer .foot-social {
  display: flex;
  gap: 12px;
}
.f3d-footer .foot-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.f3d-footer .foot-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.f3d-footer .foot-news form {
  display: flex;
  gap: 8px;
  max-width: 380px;
  margin-top: 6px;
}
.f3d-footer .foot-news input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 14px;
}
.f3d-footer .foot-news input::placeholder {
  color: #8b8376;
}

/* ============ MISC ============ */
.f3d-empty {
  text-align: center;
  padding: 70px 20px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.f3d-empty i {
  font-size: 40px;
  color: var(--line);
  display: block;
  margin-bottom: 14px;
}
.f3d-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  overflow-x: auto;
}
.f3d-tabs a {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  color: var(--muted);
  white-space: nowrap;
}
.f3d-tabs a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.f3d-notif-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #f4efe6;
  align-items: flex-start;
}
.f3d-notif-item i {
  color: var(--accent);
  margin-top: 3px;
}
.f3d-notif-item b {
  display: block;
  font-size: 14.5px;
}
.f3d-notif-item small {
  color: var(--muted);
}
.f3d-progress {
  height: 7px;
  background: var(--paper);
  border-radius: 40px;
  overflow: hidden;
}
.f3d-progress .bar {
  height: 100%;
  background: var(--accent);
  border-radius: 40px;
}

/* course page lesson / my courses progress */
.f3d-course-progress {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.f3d-course-progress .cp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.f3d-course-progress h6 {
  font-family: var(--sans);
  font-weight: 700;
  margin: 0;
}
.f3d-course-progress .btn {
  padding: 7px 16px;
  font-size: 13px;
}

/* toasts / fixed helpers */
#toast-container {
  z-index: 3000;
}
.toast-message a {
  color: #fff;
  text-decoration: underline;
}

/* notifications dropdown */
.f3d-notif-pop {
  width: 340px;
}
.f3d-notif-pop .f3d-notif-item {
  padding: 12px 16px;
}

/* ============ HERO SHORT ============ */
.f3d-hero-short .hero-inner {
  padding: 64px 0 60px;
  grid-template-columns: 1fr;
}
.radius-10 {
  border-radius: 10px;
}

/* ============ SIDEBAR (blog/job/ebook) ============ */
.f3d-sidebar-widget {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.f3d-sidebar-widget:first-child {
  padding-top: 0;
}
.f3d-sidebar-widget:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.f3d-sidebar .sidebar-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.f3d-sidebar-widget .sidebar-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.f3d-search-form {
  display: flex;
  gap: 8px;
}
.f3d-search-form input {
  flex: 1;
}
.f3d-search-form .btn {
  flex-shrink: 0;
  padding: 11px 16px;
}
.f3d-sidebar-list li {
  display: flex;
  align-items: center;
  padding: 7px 0;
  font-size: 14px;
}
.f3d-sidebar-list li a {
  color: var(--ink);
}
.f3d-sidebar-list li a:hover {
  color: var(--accent);
}
.f3d-sidebar-list .badge {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.f3d-recent-post {
  display: flex;
  gap: 12px;
  padding: 8px 0;
}
.f3d-recent-post .recent-thumb {
  flex: 0 0 64px;
  height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.f3d-recent-post .recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f3d-recent-post .recent-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.f3d-recent-post .recent-date {
  font-size: 12px;
  color: var(--muted);
}
.f3d-filter-group input[type="radio"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}

/* ============ BLOG DETAIL / COMMENTS ============ */
.f3d-blog-detail .blog-title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 6px 0 20px;
}
.f3d-blog-detail .blog-author {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.f3d-blog-detail .blog-author img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 2px solid var(--paper);
}
.f3d-blog-detail .blog-cover {
  border-radius: var(--radius);
}
.f3d-blog-detail .blog-content {
  margin-top: 28px;
  font-size: 16px;
  line-height: 1.85;
  color: #3d3933;
}
.f3d-blog-detail .blog-content p {
  margin-bottom: 18px;
}
.f3d-blog-detail .blog-content img {
  border-radius: var(--radius);
  margin: 10px 0;
}
.blog-tags .btn {
  padding: 7px 14px;
  font-size: 12.5px;
  border-color: var(--line);
  color: var(--ink);
}
.f3d-comment {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #f4efe6;
}
.f3d-comment .comment-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--paper);
}
.f3d-comment .comment-body {
  flex: 1;
  min-width: 0;
}
.f3d-comment .comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.f3d-comment .comment-head .dropdown-toggle {
  text-decoration: none;
}
.f3d-comment .comment-text {
  font-size: 14.5px;
  color: #3d3933;
  margin: 6px 0 8px;
}
.f3d-comment-replies {
  margin-left: 34px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.f3d-comment-form textarea {
  width: 100%;
}
.f3d-comment-form textarea:focus {
  border-color: var(--ink);
}

/* ============ PANEL / INVOICE ============ */
.f3d-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.f3d-badge-outline {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 40px;
}
.f3d-stars {
  color: #e8a200;
  font-size: 13px;
  letter-spacing: 1px;
}
.f3d-stars .muted {
  color: var(--line);
}

/* ============ EBOOK ============ */
.f3d-ebook-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.f3d-ebook-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.f3d-ebook-card .eb-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.f3d-ebook-card .eb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.f3d-ebook-card:hover .eb-thumb img {
  transform: scale(1.05);
}
.f3d-ebook-card .eb-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.f3d-ebook-card .eb-title {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 8px;
}
.f3d-ebook-card .eb-title a:hover {
  color: var(--accent);
}
.f3d-ebook-card .eb-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 12px;
}
.f3d-ebook-card .eb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1ece2;
  padding-top: 12px;
  margin-top: auto;
  gap: 8px;
}
.f3d-ebook-card .eb-price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}
.f3d-ebook-card .eb-status {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius);
}
.f3d-ebook-card .eb-status.free {
  background: #e7f5ec;
  color: #17804a;
}
.f3d-ebook-card .eb-status.paid {
  background: var(--paper);
  color: var(--muted);
}
.f3d-ebook-detail {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.f3d-ebook-detail .eb-cover {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.f3d-ebook-detail .eb-cover img {
  width: 100%;
  object-fit: cover;
}
.f3d-ebook-detail .eb-info {
  font-size: 14.5px;
  margin-bottom: 10px;
}
.f3d-ebook-detail .eb-info span {
  color: var(--muted);
}
.f3d-ebook-detail .eb-info a {
  color: var(--accent);
  font-weight: 600;
}
.f3d-ebook-spec {
  border-collapse: collapse;
  width: 100%;
}
.f3d-ebook-spec th {
  width: 32%;
  text-align: left;
  background: var(--paper);
  padding: 11px 14px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13.5px;
}
.f3d-ebook-spec td {
  padding: 11px 14px;
  border: 1px solid var(--line);
  font-size: 14px;
}

/* ============ BUNDLE ============ */
.f3d-bundle {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.f3d-bundle:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.f3d-bundle .bundle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.f3d-bundle .bundle-head .name {
  font-size: 20px;
  margin: 0;
}
.f3d-bundle .bundle-head .info {
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 0;
}
.f3d-bundle .bundle-head .price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}
.f3d-bundle .bundle-body {
  padding: 18px 22px;
  flex: 1;
}
.f3d-bundle .bundle-course {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
}
.f3d-bundle .bundle-course:last-child {
  border-bottom: none;
}
.f3d-bundle .bundle-course img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.f3d-bundle .bundle-course .bc-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
}
.f3d-bundle .bundle-course .bc-title a:hover {
  color: var(--accent);
}
.f3d-bundle .bundle-course .bc-price {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}
.f3d-bundle .bundle-foot {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 14px;
  transition: background 0.2s;
}
.f3d-bundle .bundle-foot:hover {
  background: var(--accent);
  color: #fff;
}
.f3d-bundle .bundle-foot.outline {
  background: transparent;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.f3d-bundle .bundle-foot.outline:hover {
  background: var(--ink);
  color: #fff;
}

/* ============ HELPERS / COMPONENTS ============ */
.f3d-course-results {
  min-width: 0;
}
.f3d-section-title {
  font-size: clamp(26px, 3.4vw, 40px);
}
.f3d-kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.f3d-kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}
.f3d-block-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
}
.f3d-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f3d-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f3d-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.f3d-avatar-xs {
  width: 32px;
  height: 32px;
  object-fit: cover;
}
.text-amber {
  color: #e8a200 !important;
}
.text-light-50 {
  color: rgba(255, 255, 255, 0.55);
}
.section-tint {
  background: var(--paper);
}

.f3d-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--nx-text);
}
.f3d-input {
  border-radius: 12px;
  border: 1px solid var(--nx-line);
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--nx-text);
  height: auto;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.f3d-input-pass {
  padding-left: -46px;
}
.f3d-input::placeholder {
  color: var(--nx-muted);
  opacity: 0.8;
}
.f3d-input:focus {
  border-color: var(--nx-accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 90, 51, 0.15);
  color: var(--nx-text);
}
.input-group-text.f3d-input {
  padding: 11px 14px;
  background: var(--paper);
}
.f3d-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nx-muted);
  font-size: 15px;
  z-index: 5;
  pointer-events: none;
}
.f3d-input-icon.cursor-pointer {
  pointer-events: auto;
  cursor: pointer;
}

.f3d-auth-brand {
  margin-bottom: 26px;
  text-align: center;
}
.f3d-auth-brand .f3d-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--nx-accent);
  background: rgba(255, 90, 51, 0.1);
  border: 1px solid rgba(255, 90, 51, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.f3d-auth-brand h2 {
  font-size: 30px;
}
.f3d-auth-brand p {
  margin: 0 auto;
  max-width: 320px;
}
.f3d-auth-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 12px;
  color: var(--nx-muted);
  font-size: 13px;
}
.f3d-auth-sep::before,
.f3d-auth-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* course page hero / buy card extras */
.f3d-hero-meta span {
  color: #c9c2b6;
  font-size: 13px;
}
.f3d-hero-meta b {
  color: #fff;
}
.f3d-hero-meta .text-amber {
  color: #e8a200 !important;
}
.f3d-buy-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--paper);
}
.f3d-buy-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f3d-buy-thumb .f3d-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.f3d-buy-thumb .f3d-play-btn i {
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  border-radius: 50%;
  background: rgba(225, 77, 42, 0.92);
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
  transition: transform 0.2s;
}
.f3d-buy-thumb .f3d-play-btn:hover i {
  transform: scale(1.08);
}
.f3d-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 3;
}
.f3d-wishlist-btn.active {
  background: var(--accent);
  color: #fff;
}
.f3d-price {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}
.f3d-buy-facts {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.f3d-buy-facts div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  background: var(--paper-2);
}
.f3d-buy-facts div:last-child {
  border-bottom: none;
}
.f3d-buy-facts span {
  color: var(--muted);
}
.f3d-buy-facts b {
  font-family: var(--sans);
  font-weight: 600;
}
.f3d-share a {
  color: var(--muted);
  font-size: 16px;
}
.f3d-share a:hover {
  color: var(--accent);
}

/* accordion (curriculum / faq) */
.f3d-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--paper-2);
}
.f3d-accordion .accordion-button {
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 20px;
}
.f3d-accordion .accordion-button:not(.collapsed) {
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}
.f3d-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--line);
}
.f3d-accordion .accordion-body {
  padding: 8px 20px 18px;
}
.f3d-lecture-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f3d-lecture-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.f3d-lecture-list li:last-child {
  border-bottom: none;
}
.f3d-lecture-list li i {
  color: var(--muted);
  width: 16px;
}

/* prose / lists */
.f3d-prose {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d3933;
}
.f3d-prose p {
  margin-bottom: 18px;
}
.f3d-prose h3,
.f3d-prose h4 {
  margin: 30px 0 12px;
}
.f3d-prose img {
  border-radius: var(--radius);
}
.f3d-prose ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.f3d-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f3d-check-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 14.5px;
}
.f3d-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--accent);
  font-size: 13px;
}
.f3d-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f3d-list li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 14.5px;
}
.f3d-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* instructor cards */
.f3d-instructors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.f3d-instructor-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.f3d-instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.f3d-instructor-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}
.f3d-instructor-card h6 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.f3d-instructor-card p {
  font-size: 12.5px;
}
.f3d-instructor-card .stars {
  color: #e8a200;
  font-size: 12px;
  margin-top: 8px;
}
.f3d-skill-pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
}
.f3d-stat-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.f3d-stat-row > div {
  flex: 1;
  min-width: 110px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.f3d-stat-row b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  display: block;
}
.f3d-stat-row span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* reviews */
.f3d-review-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.f3d-review-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 16px;
}
.f3d-review-item .rv-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.f3d-review-item .rv-head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

/* compare */
.f3d-compare-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
}
.f3d-compare-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 10px 0;
}
.f3d-compare-table th {
  background: var(--paper);
  min-width: 150px;
  width: 180px;
}
.f3d-compare-table th,
.f3d-compare-table td {
  vertical-align: top;
}

/* contact */
.f3d-contact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  height: 100%;
}
.f3d-contact-card .cc-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin: 0 auto 14px;
}
.f3d-contact-card h6 {
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 8px;
}
.f3d-contact-card p {
  color: var(--muted);
  font-size: 14px;
}

/* my courses */
.f3d-my-course {
  display: flex;
  gap: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  align-items: flex-start;
}
.f3d-my-course-thumb {
  flex: 0 0 160px;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.f3d-my-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f3d-course-stats {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 8px;
  flex-wrap: wrap;
}
.f3d-course-stats i {
  margin-right: 5px;
  color: var(--accent);
}
.f3d-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 40px;
}
.f3d-progress {
  height: 7px;
  background: var(--paper);
  border-radius: 40px;
  overflow: hidden;
}

/* grid / list views */
.f3d-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.f3d-list-view {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* invoice */
.f3d-invoice .print-content {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

/* category card (blog / job) */
.f3d-cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  height: 100%;
}
.f3d-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.f3d-cat-card .cc-thumb {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
}
.f3d-cat-card b {
  display: block;
  font-size: 15px;
}
.f3d-cat-card small {
  color: var(--muted);
  font-size: 12.5px;
}

/* chat */
.f3d-chat-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
}
.f3d-chat-user:hover,
.f3d-chat-user.active {
  background: var(--paper);
}
.f3d-chat-user img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.f3d-chat-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
}
.f3d-chat-head {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
}
.f3d-chat-scroll {
  max-height: 520px;
  overflow: auto;
  padding: 22px;
}
.f3d-chat-msg {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 12px;
  clear: both;
}
.f3d-chat-msg.me {
  background: var(--ink);
  color: #fff;
  float: right;
  border-bottom-right-radius: 4px;
}
.f3d-chat-msg.them {
  background: var(--paper);
  float: left;
  border-bottom-left-radius: 4px;
}

/* notifications */
.f3d-notify-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 18px;
  border-bottom: 1px solid #f4efe6;
  cursor: pointer;
  background: var(--paper-2);
  border-radius: var(--radius);
  margin-bottom: 10px;
}
.f3d-notify-item.unread {
  border-left: 3px solid var(--accent);
  background: var(--paper);
}
.f3d-notify-item:hover {
  background: var(--paper);
}
.f3d-notify-icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
}

/* 404 */
.f3d-404 {
  text-align: center;
  padding: 90px 20px;
}
.f3d-404 .code {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 170px);
  line-height: 1;
  color: var(--accent);
}
.f3d-404 h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin: 10px 0;
}
.f3d-404 p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 26px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
  .f3d-menu,
  .f3d-search,
  .f3d-nav-actions .nav-ico-hide-sm {
    display: none;
  }
  .f3d-burger {
    display: block;
  }
  .f3d-nav {
    justify-content: space-between;
    gap: 12px;
  }
  .f3d-layout {
    grid-template-columns: 1fr;
  }
  .f3d-sidebar {
    position: static;
  }
  .f3d-user-layout {
    grid-template-columns: 1fr;
  }
  .f3d-user-menu {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 4px;
  }
  .f3d-user-menu a {
    white-space: nowrap;
    padding: 9px 12px;
  }
  .f3d-course-wrap {
    grid-template-columns: 1fr;
  }
  .f3d-course-rail {
    position: static;
  }
  .f3d-hero .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 0 60px;
  }
  .f3d-hero .hero-media {
    max-width: 520px;
  }
  .f3d-hero .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .f3d-contact-grid {
    grid-template-columns: 1fr;
  }
  .f3d-topbar .f3d-top-right {
    display: none;
  }
  .f3d-my-course {
    flex-direction: column;
  }
  .f3d-my-course-thumb {
    flex: none;
    width: 100%;
  }
  .f3d-ebook-detail {
    padding: 22px;
  }
  .f3d-panel {
    padding: 22px;
  }
}
@media (max-width: 575px) {
  .section {
    padding: 52px 0;
  }
  .f3d-cart-item {
    flex-wrap: wrap;
  }
  .f3d-cart-item .ci-rm {
    margin-left: 0;
  }
  .f3d-chat-msg {
    max-width: 92%;
  }
}
/* ===== Loker Online ===== */
.loker-logo {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.loker-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.loker-logo i {
  font-size: 22px;
  color: var(--muted);
}
.f3d-loker-card .card-title {
  font-size: 16px;
  line-height: 1.35;
}
.f3d-loker-card .card-body {
  min-width: 0;
}
.f3d-loker-card .card-cat {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loker-salary {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.loker-toolbar .badge {
  font-weight: 600;
}
.loker-filters .form-control,
.loker-filters .form-select {
  border-radius: var(--radius);
}
.loker-filters .form-select {
  color: var(--muted);
}
.min-w-0 {
  min-width: 0;
}

/* ============================================================
   F3D NEXUS - Dark glass theme
   Overrides pushka variables for dark mode + new nx components
   ============================================================ */

/* ---------- Dark variables (override pushka :root) ---------- */
:root {
  --nx-bg: #08090f;
  --nx-bg-2: #0e1019;
  --nx-glass: rgba(255, 255, 255, 0.045);
  --nx-glass-2: rgba(255, 255, 255, 0.08);
  --nx-line: rgba(255, 255, 255, 0.1);
  --nx-text: #eef1f8;
  --nx-muted: #98a0b8;
  --nx-accent: #ff5a33;
  --nx-accent-2: #6c5cf0;
  --nx-neon: #37e0ff;
  --nx-grad: linear-gradient(90deg, #ff5a33 0%, #ff9a4d 100%);
  --nx-grad-2: linear-gradient(90deg, #6c5cf0 0%, #37e0ff 100%);
  --nx-glow: 0 18px 50px -12px rgba(255, 90, 51, 0.45);
  --nx-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);

  /* pushka semantic variables, re-mapped for dark */
  --ink: #eef1f8;
  --ink-soft: #c6cce0;
  --paper: #08090f;
  --paper-2: #10131e;
  --accent: #ff5a33;
  --accent-dark: #e14d2a;
  --muted: #98a0b8;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --serif: "Benzin", Georgia, "Times New Roman", serif;
  --sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base / bootstrap dark ---------- */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: var(--sans);
  overflow-x: hidden;
}

a {
  color: var(--nx-accent);
}
a:hover {
  color: var(--nx-accent);
}

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

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: var(--nx-bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--nx-accent), var(--nx-accent-2));
  border-radius: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--nx-text);
  font-family: var(--serif);
  font-weight: 700;
}

.text-muted {
  color: var(--nx-muted) !important;
}
.text-white {
  color: #fff !important;
}
.text-dark {
  color: var(--nx-text) !important;
}
.bg-white {
  background: var(--nx-paper-2, #10131e) !important;
}
.bg-paper {
  background: var(--paper) !important;
}
.bg-ink {
  background: #05060b !important;
  color: var(--ink);
}
a.text-muted:hover {
  color: var(--nx-text) !important;
}

.form-control,
.form-select {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
}
.form-control:focus,
.form-select:focus {
  background: var(--nx-glass-2);
  border-color: var(--nx-accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 90, 51, 0.2);
  color: var(--nx-text);
}
.form-control::placeholder {
  color: var(--nx-muted);
  opacity: 1;
}
.form-select option {
  background: var(--nx-bg-2);
  color: var(--nx-text);
}
.form-label {
  color: var(--nx-text);
  font-weight: 600;
}
.form-check-input {
  background-color: var(--nx-glass);
  border: 1px solid var(--nx-line);
}
.form-check-input:checked {
  background-color: var(--nx-accent);
  border-color: var(--nx-accent);
}
.form-check-label {
  color: var(--nx-text);
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--nx-accent);
}

.accordion-item {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
}
.accordion-button {
  background: transparent;
  color: var(--nx-text);
}
.accordion-button:not(.collapsed) {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
  box-shadow: none;
}
.accordion-button::after {
  filter: invert(0.85);
}

.modal-content {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
}
.modal-header,
.modal-footer {
  border-color: var(--nx-line);
}
.modal-title {
  color: var(--nx-text);
}

.dropdown-menu {
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-line);
}
.dropdown-item {
  color: var(--nx-text);
}
.dropdown-item:hover,
.dropdown-item.active {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
}

.table {
  color: var(--nx-text);
  --bs-table-bg: transparent;
}
.table thead th {
  color: var(--nx-text);
  border-color: var(--nx-line);
}
.table td,
.table th {
  border-color: var(--nx-line);
}

.nav-tabs .nav-link {
  color: var(--nx-muted);
  border-color: var(--nx-line);
}
.nav-tabs .nav-link.active {
  color: var(--nx-accent);
  background: var(--nx-glass);
  border-color: var(--nx-line);
}

.card {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
}
.card-body {
  color: var(--nx-text);
}

.input-group-text {
  background: var(--nx-glass-2);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
}

.list-group-item {
  background: var(--nx-glass);
  border-color: var(--nx-line);
  color: var(--nx-text);
}

/* ---------- pushka hard-coded light color overrides ---------- */
.f3d-hero,
.f3d-pagehead,
.f3d-course-hero,
.f3d-cta {
  background:
    radial-gradient(
      900px 500px at 85% 15%,
      rgba(108, 92, 240, 0.18),
      transparent 62%
    ),
    radial-gradient(
      800px 460px at 8% 90%,
      rgba(255, 90, 51, 0.14),
      transparent 60%
    ),
    var(--nx-bg-2) !important;
  color: var(--nx-text);
}
.f3d-hero p.lead,
.f3d-hero-meta span,
.f3d-hero .stat span {
  color: var(--nx-muted) !important;
}
.f3d-card .card-title,
.f3d-card .card-title a {
  color: var(--nx-text) !important;
}
.f3d-card .card-foot {
  background: var(--nx-glass) !important;
  border-color: var(--nx-line) !important;
}
.f3d-popover .po-item,
.f3d-notif-item,
.f3d-notify-item,
.f3d-comment,
.f3d-table td,
.f3d-buy-list li,
.f3d-chat-row,
.f3d-dropdown a,
.f3d-ebook-card .eb-foot {
  background: var(--nx-glass) !important;
  border-color: var(--nx-line) !important;
  color: var(--nx-text) !important;
}
.f3d-popover .po-item small,
.f3d-notif-item small,
.f3d-notify-item small {
  color: var(--nx-muted) !important;
}
.f3d-blog-content,
.f3d-prose,
.f3d-review .rv-body,
.f3d-comment .comment-text,
.f3d-blog-detail .blog-content,
.f3d-content,
.f3d-prose p,
.f3d-prose li {
  color: #cfd5e6 !important;
}
.f3d-prose a {
  color: var(--nx-accent) !important;
}
.f3d-bundle .bundle-foot {
  background: var(--nx-glass) !important;
  color: var(--nx-text) !important;
}
.f3d-bundle .bundle-foot:hover {
  background: var(--nx-glass-2) !important;
}
.f3d-chat .bubble.me,
.f3d-chat-msg.me {
  background: linear-gradient(90deg, var(--nx-accent), #ff8a4d) !important;
  color: #fff !important;
}
.f3d-ebook-status .eb-status.free,
.f3d-ebook-card .eb-status.free {
  color: #4ade80 !important;
  background: rgba(74, 222, 128, 0.12) !important;
}
.f3d-review-box,
.f3d-review {
  background: var(--nx-glass);
  border-color: var(--nx-line);
  color: var(--nx-text);
}
.f3d-wishlist-btn,
.f3d-wishlist-btn.active {
  color: var(--nx-accent) !important;
  background: var(--nx-glass) !important;
  border-color: var(--nx-line) !important;
}
.f3d-user-menu a:hover,
.f3d-user-menu a.active {
  background: var(--nx-glass-2) !important;
  color: var(--nx-text) !important;
}
.f3d-stars .stars-progress-bar .star-bg,
.star-bg {
  color: rgba(255, 255, 255, 0.18) !important;
}

/* ---------- toastr / tagify / cookie dark ---------- */
#toast-container > div {
  box-shadow: var(--nx-shadow) !important;
  border-radius: var(--radius) !important;
}
.tagify {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: var(--radius);
  --tags-border-color: var(--nx-line);
  --tags-hover-border-color: var(--nx-accent);
  --tags-focus-border-color: var(--nx-accent);
  --tag-bg: var(--nx-glass-2);
  --tag-text-color: var(--nx-text);
  --tag-remove-bg: rgba(255, 90, 51, 0.2);
}
.tagify__tag > div {
  color: var(--nx-text) !important;
}
.tagify__input {
  color: var(--nx-text) !important;
}

#cookieConsentContainer {
  background: var(--nx-bg-2) !important;
  border: 1px solid var(--nx-line) !important;
  box-shadow: var(--nx-shadow) !important;
  color: var(--nx-text) !important;
}
#cookieConsentContainer p,
#cookieConsentContainer .cookieDesc {
  color: var(--nx-text) !important;
}
#cookieConsentContainer a {
  color: var(--nx-accent) !important;
}

/* ---------- Buttons ---------- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}
.nx-btn:hover {
  text-decoration: none;
}
.nx-btn-grad {
  background: var(--nx-grad);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255, 90, 51, 0.6);
}
.nx-btn-grad:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--nx-glow);
}
.nx-btn-grad:active {
  transform: translateY(-1px);
}
.nx-btn-line {
  background: transparent;
  color: var(--nx-text);
  border: 1px solid var(--nx-line);
}
.nx-btn-line:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
  transform: translateY(-3px);
}
.nx-btn-ghost {
  background: var(--nx-glass);
  color: var(--nx-text);
  border: 1px solid var(--nx-line);
  backdrop-filter: blur(8px);
}
.nx-btn-ghost:hover {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
  border-color: var(--nx-accent);
  transform: translateY(-3px);
}
.nx-btn-wa {
  background: linear-gradient(90deg, #25d366, #1faf56);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.55);
}
.nx-btn-wa:hover {
  color: #fff;
  transform: translateY(-3px);
}
.nx-btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}
.nx-btn-sm i {
  font-size: 0.85rem;
}

/* ---------- Legacy .btn overrides for dark glass ---------- */
.btn.btn-accent,
.btn.btn-ink,
.btn.btn-ghost,
.btn.btn-line,
.btn.btn-line-light {
  border-radius: 12px;
  font-weight: 600;
}
.btn.btn-accent {
  background: var(--nx-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 90, 51, 0.6);
}
.btn.btn-accent:hover {
  background: var(--nx-grad);
  color: #fff;
  transform: translateY(-2px);
}
.btn.btn-ink {
  background: var(--nx-text);
  border-color: transparent;
  color: var(--nx-bg);
}
.btn.btn-ink:hover {
  background: #fff;
  color: var(--nx-bg);
  transform: translateY(-2px);
}
.btn.btn-ghost {
  background: transparent;
  border-color: var(--nx-line);
  color: var(--nx-text);
}
.btn.btn-ghost:hover {
  background: var(--nx-glass-2);
  border-color: var(--nx-accent);
  color: var(--nx-accent);
  transform: translateY(-2px);
}
.btn.btn-line {
  background: transparent;
  border-color: var(--nx-line);
  color: var(--nx-text);
}
.btn.btn-line:hover {
  background: var(--nx-glass-2);
  border-color: var(--nx-accent);
  color: var(--nx-accent);
  transform: translateY(-2px);
}
.btn.btn-line-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn.btn-line-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Preloader ---------- */
.nx-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--nx-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
.nx-preloader.hide {
  opacity: 0;
  visibility: hidden;
}
.nx-preloader-inner {
  text-align: center;
}
.nx-preloader-logo {
  display: block;
  margin: 0 auto;
  max-width: 240px;
  max-height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(255, 90, 51, 0.28));
  animation: nx-preloader-pulse 1.2s ease-in-out infinite;
}
@keyframes nx-preloader-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(0.96);
  }
}
.nx-preloader-bar {
  margin: 1rem auto 0;
  width: 180px;
  height: 4px;
  border-radius: 20px;
  background: var(--nx-glass);
  overflow: hidden;
}
.nx-preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 20px;
  background: var(--nx-grad);
  animation: nxLoad 1.1s ease-in-out infinite;
}

/* ---------- Header ---------- */
.nx-header {
  position: sticky;
  top: 0;
  z-index: 1050;
}
.nx-topbar {
  background: #05060b;
  border-bottom: 1px solid var(--nx-line);
  font-size: 0.82rem;
}
.nx-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}
.nx-top-left,
.nx-top-right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.nx-topbar a {
  color: var(--nx-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}
.nx-topbar a i {
  color: var(--nx-accent);
}
.nx-topbar a:hover {
  color: var(--nx-text);
}
.nx-lang select {
  background: transparent;
  border: 0;
  color: var(--nx-muted);
  font-size: 0.82rem;
  cursor: pointer;
}
.nx-lang option {
  background: var(--nx-bg-2);
}
.nx-nav {
  background: rgba(8, 9, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--nx-line);
}
.nx-nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
}
.nx-header.scrolled .nx-nav {
  background: rgba(8, 9, 15, 0.9);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
}
.nx-nav-left,
.nx-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.nx-nav-right {
  justify-content: flex-end;
}
.nx-logo {
  display: flex;
  align-items: left;
  justify-content: left;
}
.nx-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nx-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}
.nx-menu > li {
  position: relative;
}
.nx-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--nx-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nx-menu > li > a > i:first-child {
  color: var(--nx-accent);
}
.nx-caret {
  font-size: 0.6rem;
  transition: transform 0.25s;
}
.nx-has-drop:hover > a .nx-caret {
  transform: rotate(180deg);
}
.nx-menu > li > a:hover {
  color: var(--nx-accent);
}
.nx-has-drop:hover > a {
  color: var(--nx-accent);
}
.nx-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-line);
  border-radius: var(--radius);
  box-shadow: var(--nx-shadow);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s;
  z-index: 60;
}
.nx-drop::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 24px;
  width: 16px;
  height: 16px;
  background: var(--nx-bg-2);
  border-left: 1px solid var(--nx-line);
  border-top: 1px solid var(--nx-line);
  transform: rotate(45deg);
}
.nx-has-drop:hover .nx-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nx-drop > a {
  display: block;
  color: var(--nx-text);
  text-decoration: none;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.nx-drop > a:hover {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
  transform: translateX(4px);
}
.nx-drop-sm {
  min-width: 220px;
}
.nx-drop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nx-pop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nx-drop-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0.4rem;
  min-width: 520px;
}
.nx-drop-main {
  padding: 0.2rem;
}
.nx-drop-title {
  display: block;
  font-family: var(--serif);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nx-accent);
  padding: 0.5rem 0.85rem 0.3rem;
}
.nx-drop-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--nx-text);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  transition:
    background 0.2s,
    color 0.2s;
}
.nx-drop-link > i:first-child {
  width: 18px;
  text-align: center;
  color: var(--nx-accent);
}
.nx-drop-link:hover {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
}
.nx-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.5;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.nx-drop-item {
  position: relative;
}
.nx-drop-sub {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-left: 2.3rem;
  border-left: 1px dashed var(--nx-line);
  padding-left: 0.6rem;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
}
.nx-drop-sub a {
  display: block;
  color: var(--nx-muted);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.84rem;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.nx-drop-sub a:hover {
  background: var(--nx-glass-2);
  color: var(--nx-accent);
  transform: translateX(4px);
}
.nx-drop-item:hover .nx-drop-sub,
.nx-drop-item.open .nx-drop-sub {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}
.nx-drop-item:hover > .nx-drop-link .nx-arrow,
.nx-drop-item.open > .nx-drop-link .nx-arrow {
  transform: rotate(90deg);
  opacity: 1;
}
.nx-drop-link.nx-drop-all {
  margin-top: 0.4rem;
  border-top: 1px dashed var(--nx-line);
  border-radius: 0 0 10px 10px;
  padding-top: 0.8rem;
}
.nx-drop-feature {
  padding: 0.8rem;
  border-radius: 12px;
  background:
    radial-gradient(
      120% 120% at 100% 0%,
      rgba(108, 92, 240, 0.22),
      transparent 60%
    ),
    var(--nx-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nx-drop-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0.4rem 0;
}
.nx-drop-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--nx-muted);
  font-size: 0.84rem;
  padding: 0.35rem 0;
}
.nx-drop-list li i {
  color: var(--nx-neon);
}

.nx-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nx-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s,
    background 0.2s;
}
.nx-search-btn:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
  transform: translateY(-2px);
}
.nx-search-form {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.nx-search-form > i {
  position: absolute;
  left: 1rem;
  color: var(--nx-muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.nx-search-form input {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  border-radius: 999px;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  width: 230px;
  font-size: 0.88rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.nx-search-form input:focus {
  outline: 0;
  border-color: var(--nx-accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 51, 0.15);
}
.nx-search-form input::placeholder {
  color: var(--nx-muted);
}
.nx-search.open .nx-search-form {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nx-icon-btn {
  position: relative;
}
.nx-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  font-size: 1rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.nx-icon:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
  transform: translateY(-2px);
}
.nx-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--nx-grad);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nx-pop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: var(--nx-bg-2);
  border: 1px solid var(--nx-line);
  border-radius: var(--radius);
  box-shadow: var(--nx-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s,
    transform 0.25s,
    visibility 0.25s;
  z-index: 70;
}
.nx-icon-btn:hover .nx-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nx-pop-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--nx-line);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nx-pop-head i {
  color: var(--nx-accent);
}
.nx-pop-body {
  max-height: 330px;
  overflow-y: auto;
  padding: 0.5rem;
}
.nx-pop-foot {
  padding: 0.7rem;
  border-top: 1px solid var(--nx-line);
}
.nx-po-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem;
  border-radius: 12px;
  transition: background 0.2s;
}
.nx-po-item:hover {
  background: var(--nx-glass);
}
.nx-po-item > img {
  width: 64px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.nx-po-item h6 {
  font-family: var(--sans);
  font-size: 0.84rem;
  margin: 0 0 0.15rem;
  color: var(--nx-text);
}
.nx-po-item h6 a {
  color: var(--nx-text);
  text-decoration: none;
}
.nx-po-item h6 a:hover {
  color: var(--nx-accent);
}
.nx-po-item small {
  color: var(--nx-muted);
  font-size: 0.74rem;
}
.nx-po-item .nx-price {
  color: var(--nx-accent);
  font-weight: 700;
}
.nx-po-item .nx-price s {
  color: var(--nx-muted);
}
.nx-rm {
  color: var(--nx-muted);
  margin-left: auto;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nx-rm:hover {
  color: var(--nx-accent);
}
.nx-empty {
  text-align: center;
  color: var(--nx-muted);
  font-size: 0.9rem;
}
.nx-empty i {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--nx-glass-2);
}

.nx-notif-item {
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: 12px;
  color: var(--nx-text);
}
.nx-notif-item > i {
  color: var(--nx-accent);
  margin-top: 0.2rem;
}
.nx-notif-item b {
  display: block;
  font-size: 0.84rem;
}
.nx-notif-item small {
  color: var(--nx-muted);
  font-size: 0.76rem;
}
.nx-notif-item.unread {
  background: var(--nx-glass);
}

.nx-profile {
  position: relative;
}
.nx-profile-btn {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--nx-line);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.nx-profile-btn:hover {
  border-color: var(--nx-accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 51, 0.15);
}
.nx-profile-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-dd {
  top: calc(100% + 12px) !important;
  left: auto !important;
  right: 0;
  min-width: 260px;
  padding: 0.5rem;
}
.nx-dd::before {
  left: auto;
  right: 20px;
}
.nx-dd-head {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--nx-line);
  margin-bottom: 0.4rem;
}
.nx-dd-head h6 {
  font-family: var(--sans);
  font-size: 0.95rem;
  margin: 0 0 0.2rem;
}
.nx-dd-head p {
  color: var(--nx-muted);
  font-size: 0.78rem;
  margin: 0;
  word-break: break-all;
}
.nx-dd > a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.nx-dd > a i {
  width: 18px;
  text-align: center;
  color: var(--nx-muted);
}
.nx-dd > a:hover i {
  color: var(--nx-accent);
}
.nx-dd > a:last-child {
  color: #ff5a5a;
}
.nx-dd > a:last-child i {
  color: #ff5a5a;
}

.nx-burger {
  display: none;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 1rem;
  align-items: center;
  justify-content: center;
}
.nx-burger:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
}

/* ---------- Drawer (mobile) ---------- */
.nx-drawer {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.nx-drawer.open {
  opacity: 1;
  visibility: visible;
}
.nx-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--nx-bg-2);
  border-right: 1px solid var(--nx-line);
  box-shadow: 20px 0 60px -30px rgba(0, 0, 0, 0.9);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nx-drawer.open .nx-drawer-panel {
  transform: translateX(0);
}
.nx-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--nx-line);
}
.nx-drawer-head .nx-logo img {
  height: 42px;
}
.nx-drawer-close {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1rem;
}
.nx-drawer-close:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
}
.nx-drawer-search {
  position: relative;
  margin: 1rem 1.2rem;
}
.nx-drawer-search > i {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nx-muted);
  font-size: 0.85rem;
}
.nx-drawer-search input {
  width: 100%;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  color: var(--nx-text);
  padding: 0.65rem 0.9rem 0.65rem 2.4rem;
  font-size: 0.88rem;
}
.nx-drawer-search input:focus {
  outline: 0;
  border-color: var(--nx-accent);
}
.nx-drawer-menu {
  padding: 0 0.8rem 2rem;
  display: flex;
  flex-direction: column;
}
.nx-drawer-menu a {
  display: block;
  color: var(--nx-text);
  text-decoration: none;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition:
    background 0.2s,
    color 0.2s,
    padding-left 0.2s;
}
.nx-drawer-menu a:hover {
  background: var(--nx-glass);
  color: var(--nx-accent);
  padding-left: 1.2rem;
}
.nx-drawer-menu a:last-child {
  margin-bottom: 0;
}

/* ---------- Hero ---------- */
.nx-hero {
  position: relative;
  background:
    radial-gradient(
      1400px 900px at 50% -5%,
      rgba(108, 92, 240, 0.18),
      transparent 55%
    ),
    radial-gradient(
      1000px 900px at 85% 10%,
      rgba(108, 92, 240, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 5% 100%,
      rgba(255, 90, 51, 0.16),
      transparent 62%
    ),
    var(--nx-bg-2);
  padding: 8rem 0 7rem;
  overflow: hidden;
}
.nx-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.nx-hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.nx-hero-bg .blob-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  right: -80px;
  background: radial-gradient(circle, rgba(108, 92, 240, 0.5), transparent 65%);
  animation: nxBlob 14s ease-in-out infinite alternate;
}
.nx-hero-bg .blob-2 {
  width: 420px;
  height: 420px;
  bottom: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 90, 51, 0.45), transparent 65%);
  animation: nxBlob 18s ease-in-out infinite alternate-reverse;
}
.nx-hero-bg .blob-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(55, 224, 255, 0.3), transparent 65%);
  animation: nxBlob 22s ease-in-out infinite alternate;
}
.nx-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.nx-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
.nx-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 1.2rem 0 1.1rem;
  letter-spacing: 0.01em;
}
.nx-grad-text {
  background: var(--nx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--nx-accent);
  background: rgba(255, 90, 51, 0.1);
  border: 1px solid rgba(255, 90, 51, 0.25);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.nx-lead {
  color: var(--nx-muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 540px;
}
.nx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.6rem 0 2rem;
}
.nx-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--nx-line);
}
.nx-stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--nx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nx-stat span {
  color: var(--nx-muted);
  font-size: 0.8rem;
}
.nx-hero-media {
  position: relative;
}
.nx-hero-frame {
  position: relative;
}
.nx-hero-frame img,
.nx-hero-frame video {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  display: block;
}
.nx-frame-chip {
  position: absolute;
  bottom: 1rem;
  right: 5rem;
  display: inline-flex;
  align-items: right;
  gap: 0.5rem;
  background: rgba(8, 9, 15, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}
.nx-frame-chip i {
  color: var(--nx-accent);
}
.nx-hero-search {
  position: relative;
  display: flex;
  gap: 0.6rem;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  max-width: 520px;
  margin: 1.4rem 0;
}
.nx-hero-search > i {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nx-muted);
  font-size: 0.9rem;
}
.nx-hero-search input {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--nx-text);
  font-size: 0.95rem;
}
.nx-hero-search input:focus {
  outline: 0;
  box-shadow: none;
  background: transparent;
  color: var(--nx-text);
}
.nx-hero-search .nx-btn {
  padding: 0.7rem 1.4rem;
}

/* ---------- Marquee band ---------- */
.nx-band {
  background: var(--nx-grad);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
}
.nx-band-track {
  display: flex;
  width: max-content;
  animation: nxMarquee 35s linear infinite;
}
.nx-band-track span {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  color: #fff;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-right: 2.2rem;
}
.nx-band-track i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}
.nx-band:hover .nx-band-track {
  animation-play-state: paused;
}

/* ---------- Sections ---------- */
.nx-section {
  padding: 5.5rem 0;
  position: relative;
}
.nx-section-tint {
  background:
    radial-gradient(
      800px 400px at 100% 0%,
      rgba(108, 92, 240, 0.07),
      transparent 60%
    ),
    var(--nx-bg);
}
.nx-section-ink {
  background:
    radial-gradient(
      800px 400px at 0% 100%,
      rgba(255, 90, 51, 0.09),
      transparent 60%
    ),
    #05060b;
}
.nx-section-head {
  margin-bottom: 2.8rem;
}
.nx-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.12;
  margin: 0.9rem 0 0.4rem;
  letter-spacing: 0.01em;
}
.nx-sub {
  color: var(--nx-muted);
  font-size: 1rem;
  max-width: 560px;
}

/* ---------- Cards ---------- */
.nx-card {
  position: relative;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
}
.nx-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 90, 51, 0.4);
  box-shadow:
    0 24px 60px -24px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 90, 51, 0.15);
}
.nx-card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.nx-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.nx-card:hover .nx-card-thumb img {
  transform: scale(1.07);
}
.nx-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(8, 9, 15, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.nx-card-body {
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nx-card-cat {
  color: var(--nx-accent);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.45rem;
}
.nx-card-title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nx-card-title a {
  color: var(--nx-text);
  text-decoration: none;
  transition: color 0.2s;
}
.nx-card-title a:hover {
  color: var(--nx-accent);
}
.nx-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  color: var(--nx-muted);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.nx-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nx-card-meta i {
  color: var(--nx-muted);
}
.nx-card-meta .fa-star {
  color: #ffb300;
}
.nx-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  border-top: 1px solid var(--nx-line);
}
.nx-price {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--nx-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nx-price s {
  font-size: 0.8rem;
  color: var(--nx-muted);
  font-weight: 500;
}
.nx-card-actions {
  display: flex;
  gap: 0.45rem;
}
.nx-card-actions a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-size: 0.82rem;
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.nx-card-actions a:hover {
  color: var(--nx-accent);
  border-color: var(--nx-accent);
  transform: translateY(-2px);
}
.nx-card-instructor .nx-card-avatar {
  width: 96px;
  height: 96px;
  margin: 1.6rem auto 0;
}
.nx-card-avatar {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--nx-line);
  aspect-ratio: 1;
}
.nx-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nx-card-instructor .nx-card-title {
  margin-top: 0.4rem;
}
.nx-instructor-social a {
  color: var(--nx-muted);
  font-size: 0.95rem;
  transition:
    color 0.2s,
    transform 0.2s;
}
.nx-instructor-social a:hover {
  color: var(--nx-accent);
  transform: translateY(-2px);
}

/* ---------- Category grid ---------- */
.nx-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.nx-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  padding: 1.4rem 0.8rem;
  color: var(--nx-text);
  text-decoration: none;
  transition:
    transform 0.3s,
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.nx-cat-tile i {
  font-size: 1.6rem;
  background: var(--nx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s;
}
.nx-cat-tile span {
  font-size: 0.82rem;
  font-weight: 600;
}
.nx-cat-tile:hover {
  color: var(--nx-text);
  text-decoration: none;
  transform: translateY(-6px);
  border-color: rgba(255, 90, 51, 0.4);
  background: var(--nx-glass-2);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.7);
}
.nx-cat-tile:hover i {
  transform: scale(1.15);
}

/* ---------- Feature ---------- */
.nx-feature {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.nx-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    140% 140% at 100% 0%,
    rgba(108, 92, 240, 0.12),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.nx-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 240, 0.4);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}
.nx-feature:hover::after {
  opacity: 1;
}
.nx-feat-ico {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--nx-accent);
  background: rgba(255, 90, 51, 0.12);
  border: 1px solid rgba(255, 90, 51, 0.25);
  margin-bottom: 1.1rem;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.nx-feature:hover .nx-feat-ico {
  background: var(--nx-grad);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}
.nx-feature h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}
.nx-feature p {
  color: var(--nx-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Speech ---------- */
.nx-speech {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.nx-speech:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 240, 0.4);
}
.nx-speech .nx-feat-ico img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.nx-speech .nx-feat-ico {
  margin-bottom: 0;
}
.nx-speech h5 {
  font-family: var(--sans);
  font-weight: 700;
  margin: 0.4rem 0;
}
.nx-speech p {
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ---------- Consult ---------- */
.glass-card {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nx-consult {
  padding: 2rem;
}

/* ---------- Fast Track ---------- */
.nx-fasttrack {
  position: relative;
  background: var(--nx-glass-2);
  border: 1px solid var(--nx-line);
  border-radius: 26px;
  overflow: hidden;
  padding: 3rem;
  box-shadow: var(--nx-shadow);
}
.nx-fast-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      600px 300px at 90% -20%,
      rgba(255, 90, 51, 0.2),
      transparent 60%
    ),
    radial-gradient(
      600px 300px at 5% 110%,
      rgba(108, 92, 240, 0.18),
      transparent 60%
    );
}
.nx-fast-inner {
  position: relative;
}
.nx-fasttrack .nx-title {
  margin-bottom: 0.9rem;
}
.nx-fasttrack .nx-hero-cta {
  margin: 1.4rem 0 0;
}
.nx-fasttrack .nx-feature {
  height: 100%;
}
@media (max-width: 575px) {
  .nx-fasttrack {
    padding: 2rem 1.4rem;
  }
}

/* ---------- Testimonial ---------- */
.nx-testi {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.nx-testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.47, 1.64, 0.41, 0.8);
  will-change: transform;
  width: 100%;
  padding-top: 20px;
}
.nx-testi-card {
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  min-width: 460px;
  max-width: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 1.1rem;
}
.nx-testi-card:hover {
  border-color: rgba(255, 90, 51, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 22px 55px -25px rgba(0, 0, 0, 0.85);
}
.nx-testi-stars {
  width: 100%;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.nx-stars-bg {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  position: relative;
  line-height: 1;
}
.nx-stars-bg > span:not(.nx-stars-fill) {
  color: rgba(255, 255, 255, 0.18);
  font-size: 24px;
  line-height: 1;
  z-index: 0;
  position: relative;
}
.nx-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.nx-stars-fill span {
  color: #ffb300;
  font-size: 24px;
  line-height: 1;
}
.nx-testi-score {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nx-text);
  min-width: 35px;
  text-align: right;
}
.nx-testi-user {
  display: flex;
  align-items: center;
  margin-bottom: 0.9rem;
  gap: 1rem;
  width: 100%;
}
.nx-testi-img img {
  width: 60px;
  height: 60px;
  border-radius: 100px;
  border: 2px solid var(--nx-line);
  object-fit: cover;
}
.nx-testi-meta .name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--nx-text);
}
.nx-testi-meta .kelas {
  color: var(--nx-accent);
  font-size: 0.84rem;
  margin: 0 0 2px 0;
  font-weight: 600;
  display: block;
}
.nx-testi-meta .time {
  color: var(--nx-muted);
  font-size: 0.8rem;
  font-style: italic;
  margin: 0;
}
.nx-testi-review {
  font-size: 0.98rem;
  color: var(--nx-muted);
  margin: 0.6rem 0 0;
  line-height: 1.7;
  text-align: left;
  width: 100%;
}
.nx-testi-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  z-index: 3;
  pointer-events: auto;
}
.nx-testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nx-line);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.nx-testi-dot.active {
  background: var(--nx-accent);
  transform: scale(1.3);
}

/* ---------- CTA ---------- */
.nx-cta {
  position: relative;
  padding: 5.5rem 0;
  background:
    radial-gradient(
      700px 380px at 50% -20%,
      rgba(255, 90, 51, 0.2),
      transparent 65%
    ),
    var(--nx-bg-2);
  border-top: 1px solid var(--nx-line);
  overflow: hidden;
}
.nx-cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

/* ---------- Footer ---------- */
.nx-footer {
  position: relative;
  background: #05060b;
  border-top: 1px solid var(--nx-line);
  padding: 5rem 0 0;
  overflow: hidden;
}
.nx-footer-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      700px 300px at 20% 0%,
      rgba(108, 92, 240, 0.14),
      transparent 60%
    ),
    radial-gradient(
      700px 300px at 85% 0%,
      rgba(255, 90, 51, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.nx-footer-inner {
  position: relative;
}
.nx-foot-brand .nx-logo img {
  height: 52px;
}
.nx-foot-brand p {
  color: var(--nx-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 1.2rem 0 1.4rem;
  max-width: 380px;
}
.nx-foot-social {
  display: flex;
  gap: 0.6rem;
}
.nx-foot-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  color: var(--nx-text);
  font-size: 0.95rem;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.nx-foot-social a:hover {
  background: var(--nx-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.nx-foot-title {
  font-family: var(--serif);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.nx-foot-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 4px;
  background: var(--nx-grad);
}
.nx-foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nx-foot-links li {
  margin-bottom: 0.65rem;
}
.nx-foot-links a {
  color: var(--nx-muted);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition:
    color 0.2s,
    padding-left 0.2s;
}
.nx-foot-links a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.68rem;
  color: var(--nx-accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.nx-foot-links a:hover {
  color: var(--nx-text);
  padding-left: 0.3rem;
}
.nx-foot-links a:hover::before {
  opacity: 1;
}
.nx-foot-links a i {
  color: var(--nx-accent);
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}
.nx-foot-links a:has(i)::before {
  content: none;
}
.nx-foot-links a:has(i):hover {
  padding-left: 0;
}
.nx-newsletter {
  margin-top: 3.2rem;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.nx-newsletter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px 200px at 100% 100%,
    rgba(255, 90, 51, 0.14),
    transparent 60%
  );
  pointer-events: none;
}
.nx-news-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--nx-grad);
  box-shadow: 0 10px 26px -8px rgba(255, 90, 51, 0.6);
}
.nx-news-text {
  flex: 1;
  min-width: 220px;
}
.nx-news-text h5 {
  font-family: var(--sans);
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}
.nx-news-text p {
  color: var(--nx-muted);
  font-size: 0.85rem;
  margin: 0;
}
.nx-news-form {
  display: flex;
  gap: 0.6rem;
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 1;
}
.nx-news-form .form-control {
  background: var(--nx-bg);
  border-radius: 999px;
}
.nx-news-form .nx-btn {
  border-radius: 999px;
}
.nx-foot-bottom {
  margin-top: 2.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--nx-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--nx-muted);
  font-size: 0.85rem;
}
.nx-foot-watermark {
  position: absolute;
  right: -1.5%;
  bottom: -4rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 16rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  user-select: none;
}

/* ---------- Floating WhatsApp ---------- */
.nx-wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.nx-wa-float:hover {
  transform: scale(1.12) rotate(6deg);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}
.nx-wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: nxPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* ---------- Reveal animations ---------- */
.nx-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.nx-reveal.in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes nxMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes nxBlob {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(40px, -30px) scale(1.15);
  }
}
@keyframes nxLoad {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
@keyframes nxPing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nx-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nx-menu > li > a {
    font-size: 0.84rem;
    padding: 0.6rem 0.6rem;
  }
}
@media (max-width: 1024px) {
  .nx-menu,
  .nx-hide-sm {
    display: none;
  }
  .nx-burger {
    display: inline-flex;
  }
  .nx-nav-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nx-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nx-hero-media {
    order: -1;
  }
  .nx-hero-frame img,
  .nx-hero-frame video {
    max-height: 320px;
  }
  .nx-drop-grid {
    display: none;
  }
}
@media (max-width: 768px) {
  .nx-hero {
    padding: 3.5rem 0 3rem;
  }
  .nx-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .nx-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nx-section {
    padding: 3.5rem 0;
  }
  .nx-newsletter {
    padding: 1.4rem 1.2rem;
  }
  .nx-news-form {
    flex-direction: column;
    min-width: 100%;
  }
  .nx-testi-card {
    min-width: 82vw;
    max-width: 92vw;
    padding: 1.3rem 1rem;
    margin: 0 0.3rem;
  }
  .nx-consult {
    padding: 1.4rem;
  }
  .nx-foot-watermark {
    font-size: 9rem;
    bottom: -2.5rem;
  }
  .nx-top-left a:nth-child(2),
  .nx-top-left a:nth-child(3) {
    display: none;
  }
}
@media (max-width: 576px) {
  .nx-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nx-hero-search {
    flex-direction: column;
    border-radius: 20px;
    align-items: stretch;
  }
  .nx-hero-search > i {
    top: 1rem;
  }
  .nx-hero-search input {
    padding-left: 1.9rem;
    background: transparent;
  }
  .nx-search {
    display: none;
  }
  .nx-logo img {
    height: 42px;
  }
}

/* ---------- Flowchart (Think more clearly) ---------- */
.nx-flow {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
}
.nx-flow::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 90, 51, 0.55) 14%,
    rgba(108, 92, 240, 0.55) 86%,
    transparent
  );
}
.nx-flow-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 260px;
  margin-bottom: 4.8rem;
}
.nx-flow-item:last-child {
  margin-bottom: 0;
}
.nx-flow-node {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-bg-2);
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--nx-bg-2), var(--nx-bg-2)), var(--nx-grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 0 0 6px var(--nx-bg),
    0 0 34px rgba(255, 90, 51, 0.35);
}
.nx-flow-node span {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--nx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nx-flow-card {
  position: relative;
  width: calc(50% - 4.8rem);
  min-height: 260px;
  border-radius: 24px;
  overflow: visible;
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.nx-flow-left .nx-flow-card {
  margin-right: auto;
}
.nx-flow-right .nx-flow-card {
  margin-left: auto;
}
.nx-flow-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 2.4rem;
  height: 2px;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 90, 51, 0.5),
    rgba(108, 92, 240, 0.5)
  );
}
.nx-flow-left .nx-flow-card::before {
  right: -2.4rem;
}
.nx-flow-right .nx-flow-card::before {
  left: -2.4rem;
}
.nx-flow-bg {
  position: absolute;
  top: 120px;
  right: -40px;
  bottom: -10px;
  left: -40px;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.nx-flow-left .nx-flow-bg {
  left: -120px;
  right: -40px;
}
.nx-flow-right .nx-flow-bg {
  right: -120px;
  left: -40px;
  justify-content: flex-end;
}
.nx-flow-bg img {
  width: auto;
  height: 80%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.nx-flow-card:hover .nx-flow-bg img {
  transform: scale(1.16);
}
.nx-flow-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 24px;
}
.nx-flow-left .nx-flow-shade {
  background: linear-gradient(
    90deg,
    rgba(8, 9, 15, 0.05) 0%,
    rgba(8, 9, 15, 0.25) 28%,
    rgba(8, 9, 15, 0.72) 60%,
    rgba(8, 9, 15, 0.94) 100%
  );
}
.nx-flow-right .nx-flow-shade {
  background: linear-gradient(
    90deg,
    rgba(8, 9, 15, 0.94) 0%,
    rgba(8, 9, 15, 0.72) 28%,
    rgba(8, 9, 15, 0.25) 60%,
    rgba(8, 9, 15, 0.05) 100%
  );
}
.nx-flow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 51, 0.4);
  box-shadow:
    0 26px 60px -26px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 90, 51, 0.12);
}
.nx-flow-text {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.nx-flow-left .nx-flow-text {
  max-width: 58%;
  margin-left: auto;
  text-align: right;
  padding-left: 1rem;
}
.nx-flow-right .nx-flow-text {
  max-width: 58%;
  text-align: left;
  padding-right: 1rem;
}
.nx-flow-left .nx-flow-tag {
  align-self: flex-end;
  margin-right: 0;
  margin-left: auto;
}
.nx-flow-right .nx-flow-tag {
  align-self: flex-start;
  margin-right: auto;
  margin-left: 0;
}
.nx-flow-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--nx-accent);
  background: rgba(8, 9, 15, 0.6);
  border: 1px solid rgba(255, 90, 51, 0.35);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  backdrop-filter: blur(6px);
}
.nx-flow-text h5 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 0.45rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
.nx-flow-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .nx-flow::before {
    left: 24px;
  }
  .nx-flow-item {
    align-items: center;
    padding-left: 68px;
    min-height: 0;
    margin-bottom: 2rem;
  }
  .nx-flow-node {
    left: 24px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
  }
  .nx-flow-node span {
    font-size: 0.9rem;
  }
  .nx-flow-card,
  .nx-flow-left .nx-flow-card,
  .nx-flow-right .nx-flow-card {
    width: 100%;
    margin: 0;
    min-height: 230px;
  }
  .nx-flow-card::before,
  .nx-flow-left .nx-flow-card::before,
  .nx-flow-right .nx-flow-card::before {
    display: none;
  }
  .nx-flow-text,
  .nx-flow-left .nx-flow-text,
  .nx-flow-right .nx-flow-text {
    max-width: 72%;
    margin: 0;
    text-align: left;
  }
  .nx-flow-tag,
  .nx-flow-left .nx-flow-tag,
  .nx-flow-right .nx-flow-tag {
    align-self: flex-start;
    margin: 0 0 0.8rem;
  }
  .nx-flow-bg,
  .nx-flow-left .nx-flow-bg,
  .nx-flow-right .nx-flow-bg {
    top: -45px;
    bottom: -45px;
    left: -24px;
    right: -24px;
  }
}
@media (max-width: 480px) {
  .nx-flow-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
  }
  .nx-flow::before {
    display: none;
  }
  .nx-flow-node {
    position: static;
    transform: none;
    margin-bottom: 0.8rem;
  }
  .nx-flow-card {
    width: 100%;
    min-height: 210px;
  }
  .nx-flow-text,
  .nx-flow-left .nx-flow-text,
  .nx-flow-right .nx-flow-text {
    max-width: 100%;
    padding: 1.4rem;
    margin: 0;
    text-align: left;
  }
  .nx-flow-tag,
  .nx-flow-left .nx-flow-tag,
  .nx-flow-right .nx-flow-tag {
    align-self: flex-start;
    margin: 0 0 0.8rem;
  }
  .nx-flow-bg,
  .nx-flow-left .nx-flow-bg,
  .nx-flow-right .nx-flow-bg {
    top: -28px;
    bottom: -28px;
    left: -14px;
    right: -14px;
  }
}

/* ---------- Steps (Langkah Mengikuti Pelatihan) ---------- */
.nx-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}
.nx-step {
  position: relative;
  background: var(--nx-glass);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 2rem 1.5rem 1.7rem;
  height: 100%;
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.nx-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    130% 130% at 50% 0%,
    rgba(108, 92, 240, 0.14),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.nx-step:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 240, 0.45);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}
.nx-step:hover::before {
  opacity: 1;
}
.nx-step-num {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
}
.nx-step-ico {
  width: 62px;
  height: 62px;
  margin: 0 auto 1.1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--nx-accent);
  background: rgba(255, 90, 51, 0.12);
  border: 1px solid rgba(255, 90, 51, 0.25);
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}
.nx-step:hover .nx-step-ico {
  background: var(--nx-grad);
  color: #fff;
  transform: rotate(-8deg) scale(1.05);
}
.nx-step h5 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}
.nx-step p {
  color: var(--nx-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 0.9rem;
}
.nx-step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--nx-accent);
  transition:
    color 0.2s,
    gap 0.2s;
}
.nx-step-link:hover {
  color: var(--nx-text);
  gap: 0.7rem;
}
@media (max-width: 992px) {
  .nx-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .nx-steps {
    grid-template-columns: 1fr;
  }
  .nx-step {
    text-align: center;
  }
}

/* ---------- Payment gateway page (payment-global) ---------- */
.text-success {
  color: #4ade80 !important;
}
.text-danger {
  color: #f87171 !important;
}
.payment-header-text,
.header-title {
  color: var(--nx-text);
}
.header-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.payment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--nx-grad);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px -12px rgba(255, 90, 51, 0.5);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.payment-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(255, 90, 51, 0.55);
}
.payment-page .btn.btn-primary,
.payment-page .btn-primary {
  background: var(--nx-grad);
  border-color: transparent;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px -12px rgba(255, 90, 51, 0.5);
}
.payment-page .btn.btn-primary:hover,
.payment-page .btn-primary:hover {
  background: var(--nx-accent);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}
.payment-page hr.border {
  border-color: var(--nx-line) !important;
  opacity: 1;
}
.payment-page .font-weight-bold,
.payment-page .font-weight-bolder {
  color: var(--nx-text);
}

/* ---------- Payment summary card (midtrans) ---------- */
.payment-page .card .table td {
  vertical-align: middle;
  padding: 0.7rem 0.5rem;
  color: var(--nx-text);
}
.payment-page .card .table-borderless td {
  border: 0;
}
.payment-page .card .table img.payment-course-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  vertical-align: middle;
}
.payment-page .card .table .payment-course-name {
  color: var(--nx-text);
  font-weight: 600;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Offline / manual payment text visibility ---------- */
.payment-page label {
  color: var(--nx-text);
  font-weight: 600;
}
.payment-page .offline_payment_instruction,
.payment-page .offline_payment_instruction * {
  color: var(--nx-text) !important;
}
.payment-page .offline_payment_instruction a {
  color: var(--nx-accent) !important;
}
