/* ============================
       DESIGN TOKENS
    ============================ */
:root {
  /* Primary Brand Colors */
  --brand: #49d4c7;
  --brand-light: #7ee5db;
  --brand-dark: #1ba89c;
  --brand-darker: #12766d;
  --brand-glow: rgba(73, 212, 199, 0.25);

  /* Neutral Colors */
  --cream: #fff8e7;
  --white: #ffffff;
  --n50: #f9fafb;
  --n100: #f3f4f6;
  --n200: #e5e7eb;
  --n400: #9ca3af;
  --n700: #374151;
  --n900: #111827;
  --dark-navy: #0b1120;

  /* JLPT Level Colors */
  --lvl-n5: #22c55e;
  --lvl-n4: #14b8a6;
  --lvl-n3: #3b82f6;
  --lvl-n2: #8b5cf6;
  --lvl-n1: #ef4444;
  --lvl-ssw: #f59e0b;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-btn: 0 8px 24px rgba(73, 212, 199, 0.35);

  /* Border Radius */
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* Transition */
  --trans: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--n700);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter", sans-serif;
  color: var(--n900);
}

.noto {
  font-family: "Noto Sans JP", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(10, 147, 115, 0.08);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--n900);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-sub {
  font-size: 17px;
  color: var(--n400);
  max-width: 580px;
  margin: 0 auto;
}

.brand-line {
  width: 48px;
  height: 4px;
  background: var(--brand);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ============================
       NAVBAR
    ============================ */
#navbar {
  background: var(--white);
  border-bottom: 1px solid var(--n200);
  transition: box-shadow 0.3s ease;
  padding: 0;
  z-index: 1000;
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-bottom-color: transparent;
}

.navbar-brand span {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.navbar-brand .logo-dot {
  color: var(--brand-light);
}

.nav-link {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--n700) !important;
  padding: 28px 16px !important;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--brand);
  border-radius: 3px 3px 0 0;
  transition: all 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 16px;
  right: 16px;
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 220px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--n700);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: rgba(10, 147, 115, 0.07);
  color: var(--brand);
}
.dropdown-item .lvl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.btn-nav-login {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  border: 2px solid var(--brand) !important;
  color: var(--brand) !important;
  background: transparent !important;
  transition: var(--trans) !important;
}
.btn-nav-login:hover {
  background: var(--brand) !important;
  color: var(--white) !important;
}

.btn-nav-signup {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  background: var(--brand) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(10, 147, 115, 0.3) !important;
  transition: var(--trans) !important;
}
.btn-nav-signup:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn) !important;
}
.navbar-brand img {
  height: auto;
  width: auto;
  max-height: 60px;
}

/* ============================
       HERO
    ============================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a9373 0%, #065c48 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-kana-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.08;
  color: #14b8a6;
}
.kana-char {
  position: absolute;
  color: #14b8a6;
  font-weight: 700;
  user-select: none;
  animation: floatKana 8s ease-in-out infinite;
}
@keyframes floatKana {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-28px) rotate(4deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8ffde;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}
.hero-title .highlight {
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--white);
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  color: var(--brand-dark);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

.hero-scroll-btn {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 2;
  cursor: pointer;
  transition: color 0.2s;
}
.hero-scroll-btn:hover {
  color: white;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Hero wave */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  line-height: 0;
}
.hero-wave svg {
  display: block;
  width: 100%;
}

/* ============================
       TRUST BAR
    ============================ */
#trust {
  background: var(--white);
  padding: 70px 0;
  border-bottom: 1px solid var(--n200);
}

.trust-item {
  text-align: center;
  padding: 20px;
}
.trust-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(10, 147, 115, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.trust-icon-wrap i {
  font-size: 28px;
  color: var(--brand);
}
.trust-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -1px;
}
.trust-label {
  font-size: 14px;
  color: var(--n400);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================
       COURSES
    ============================ */
#courses {
  background: var(--n50);
  padding: 100px 0;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--n200);
  transition: var(--trans);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.course-card-stripe {
  height: 5px;
}
.course-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.level-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.course-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 8px;
}
.course-card p {
  font-size: 14px;
  color: var(--n400);
  line-height: 1.65;
  flex: 1;
}

.course-meta {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--n200);
  font-size: 13px;
  color: var(--n400);
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-meta i {
  color: var(--brand);
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 10px 20px;
  border-radius: 50px;
  transition: var(--trans);
  align-self: flex-start;
}
.btn-course:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateX(3px);
}

/* ============================
       WHY CEESA – BENTO
    ============================ */
#why {
  background: var(--white);
  padding: 100px 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 22px;
}

.bento-card {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 147, 115, 0.08) 0%,
    transparent 70%
  );
  transition: var(--trans);
}
.bento-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(10, 147, 115, 0.2);
  transform: translateY(-4px);
}
.bento-card:hover::before {
  width: 280px;
  height: 280px;
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-icon-wrap {
  width: 60px;
  height: 60px;
  background: rgba(10, 147, 115, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bento-icon-wrap i {
  font-size: 26px;
  color: var(--brand);
}

.bento-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 10px;
}
.bento-card p {
  font-size: 15px;
  color: var(--n400);
  line-height: 1.7;
}

.bento-large-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}
.bento-large-inner .bento-text {
  flex: 1;
}
.bento-mockup {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.bento-mockup-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--n200);
  overflow: hidden;
}
.mockup-bar {
  background: var(--n100);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  border-bottom: 1px solid var(--n200);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-body {
  display: flex;
  height: 180px;
}
.mockup-sidebar {
  width: 100px;
  background: var(--n50);
  border-right: 1px solid var(--n200);
  padding: 14px 10px;
}
.mockup-sidebar-item {
  height: 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.mockup-sidebar-item.active {
  background: var(--brand);
  width: 80%;
}
.mockup-sidebar-item:not(.active) {
  background: var(--n200);
  width: 65%;
}

.mockup-content {
  flex: 1;
  padding: 16px;
}
.mockup-content-line {
  height: 9px;
  border-radius: 5px;
  background: var(--n200);
  margin-bottom: 8px;
}
.mockup-content-line.wide {
  width: 90%;
}
.mockup-content-line.med {
  width: 70%;
}
.mockup-content-line.short {
  width: 50%;
}
.mockup-content-kana {
  background: rgba(10, 147, 115, 0.1);
  border-radius: 8px;
  padding: 10px;
  margin-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: var(--brand);
  text-align: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--n700);
  margin-bottom: 10px;
}
.feature-list li i {
  color: var(--brand);
  font-size: 14px;
}

/* ============================
       INSIGHTS BENTO
    ============================ */
#insights {
  background: var(--n100);
  padding: 100px 0;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}

.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--n200);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.insight-card.span-row2 {
  grid-row: span 2;
}
.insight-card.tip-card {
  background: rgba(10, 147, 115, 0.04);
  border-left: 4px solid var(--brand);
  border-color: var(--brand) transparent var(--n200) var(--brand);
}

.insight-big-num {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -2px;
}
.insight-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--n900);
  margin-top: 6px;
  margin-bottom: 6px;
}
.insight-desc {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.6;
}
.insight-icon {
  font-size: 28px;
  color: var(--brand);
  opacity: 0.6;
  margin-bottom: 12px;
}

.kanji-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.kanji-tile {
  width: 36px;
  height: 36px;
  background: var(--n100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: var(--n700);
  transition:
    background 0.3s,
    color 0.3s;
}
.kanji-tile.known {
  background: rgba(10, 147, 115, 0.15);
  color: var(--brand);
}

.quiz-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 24px;
  border: 1px solid var(--n200);
  cursor: pointer;
  transition: var(--trans);
}
.quiz-card:hover {
  border-color: var(--brand);
}
.quiz-q {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
  margin-bottom: 8px;
}
.quiz-a {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  display: none;
}
.quiz-hint {
  font-size: 12px;
  color: var(--n400);
}

/* ============================
       TESTIMONIALS
    ============================ */
#testimonials {
  background: var(--white);
  padding: 100px 0;
}

.carousel-wrapper {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.testi-card {
  background: var(--white);
  border-radius: 24px;
  padding: 52px 56px;
  border: 1px solid var(--n200);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  position: relative;
  text-align: center;
}
.testi-quote-icon {
  font-size: 80px;
  color: var(--brand);
  opacity: 0.07;
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 1;
}

.testi-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--brand);
  margin: 0 auto 16px;
  overflow: hidden;
  background: var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--brand);
}

.testi-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 4px;
}
.testi-course {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(10, 147, 115, 0.08);
  padding: 3px 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
}
.testi-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--n700);
  font-style: italic;
}

.testi-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 6px;
}

.carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: var(--n200) !important;
  border: none !important;
  opacity: 1 !important;
  transition:
    background 0.3s,
    transform 0.3s !important;
}
.carousel-indicators button.active {
  background-color: var(--brand) !important;
  transform: scale(1.3) !important;
}
.carousel-control-prev,
.carousel-control-next {
  width: 44px !important;
  height: 44px !important;
  background: var(--white) !important;
  border: 1px solid var(--n200) !important;
  border-radius: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  opacity: 1 !important;
  transition: var(--trans) !important;
}
.carousel-control-prev {
  left: -58px !important;
}
.carousel-control-next {
  right: -58px !important;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(130deg);
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(10);
}

/* ============================
       SUCCESS STORY
    ============================ */
#story {
  background: var(--dark-navy);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: stretch;
}

.story-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px
  );
  background-size: 36px 36px;
  pointer-events: none;
}
.story-glow {
  position: absolute;
  top: -150px;
  left: 40%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 147, 115, 0.15) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.story-inner {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2;
}

.story-left {
  width: 42%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.story-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a9373 0%, #076c54 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 140px;
  opacity: 0.3;
}
.story-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--dark-navy), transparent);
}
.story-image-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--brand);
}
.story-avatar-large {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 40px;
}
.story-avatar-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(10, 147, 115, 0.2);
  border: 4px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin: 0 auto 20px;
  color: rgba(255, 255, 255, 0.4);
}

.story-right {
  flex: 1;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 18px;
}

.story-quote {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 36px;
  position: relative;
}
.story-quote::before {
  content: '"';
  font-size: 72px;
  color: var(--brand);
  opacity: 0.5;
  line-height: 0.8;
  display: block;
  margin-bottom: 6px;
}

.timeline {
  position: relative;
  padding-left: 24px;
  margin-bottom: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(10, 147, 115, 0.4);
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateX(-15px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-node {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow:
    0 0 0 4px rgba(10, 147, 115, 0.2),
    0 0 12px rgba(10, 147, 115, 0.5);
}
.timeline-month {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.timeline-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.story-badge {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
}

.btn-story {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 50px;
  transition: var(--trans);
  align-self: flex-start;
}
.btn-story:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn);
}

/* ============================
       FREE TRIAL CTA
    ============================ */
#trial {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#trial::before {
  content: "あいうえお";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 240px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  pointer-events: none;
}

.trial-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.trial-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}
.btn-trial {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: var(--trans);
}
.btn-trial:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  color: var(--brand-dark);
}
.trial-disclaimer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 16px;
}

/* ============================
       INSTRUCTOR
    ============================ */
#instructor {
  background: var(--cream);
  padding: 100px 0;
}
.instructor-img-wrap {
  position: relative;
  display: inline-block;
}
.instructor-img {
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--brand);
  background: linear-gradient(
    135deg,
    rgba(10, 147, 115, 0.15),
    rgba(10, 147, 115, 0.05)
  );
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--brand);
  opacity: 0.4;
}
.instructor-badge-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(10, 147, 115, 0.3);
}
.instructor-badge-float strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
}

.instructor-text {
  padding-left: 32px;
}
.instructor-text h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 14px;
}
.instructor-text p {
  font-size: 16px;
  color: var(--n700);
  line-height: 1.8;
}
.signature {
  font-family: "Georgia", serif;
  font-size: 32px;
  color: var(--brand);
  margin: 24px 0 20px;
  font-style: italic;
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s;
}
.btn-read-more:hover {
  gap: 14px;
  color: var(--brand-dark);
}

/* ============================
       FINAL CTA BANNER
    ============================ */
#final-cta {
  background: var(--dark-navy);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(10, 147, 115, 0.2) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.final-cta-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}
.final-cta-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.final-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.btn-final-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 34px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--trans);
}
.btn-final-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  transform: translateY(-3px);
}

.btn-final-solid {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-btn);
  transition: var(--trans);
}
.btn-final-solid:hover {
  background: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(10, 147, 115, 0.5);
  color: white;
}

/* ============================
       FOOTER
    ============================ */
#footer {
  background: var(--n900);
  color: #9ca3af;
  padding: 72px 0 0;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span {
  color: var(--brand-light);
}
.footer-tagline {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 240px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 15px;
  transition: var(--trans);
}
.footer-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 10px;
}
.footer-list a {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: var(--brand-light);
}

.footer-level-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-level-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}
.footer-contact-item i {
  color: var(--brand);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 60px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #4b5563;
}
.footer-bottom a {
  color: #4b5563;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--brand-light);
}

/* ============================
       RESPONSIVE
    ============================ */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 2;
  }
  .bento-large-inner {
    flex-direction: column;
  }
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insight-card.span-row2 {
    grid-row: span 1;
  }
  .story-inner {
    flex-direction: column;
  }
  .story-left {
    width: 100%;
    min-height: 280px;
  }
  .story-right {
    padding: 48px 32px;
  }
  .instructor-text {
    padding-left: 0;
    margin-top: 32px;
  }
  .carousel-control-prev {
    left: -10px !important;
  }
  .carousel-control-next {
    right: -10px !important;
  }
}

@media (max-width: 767px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    letter-spacing: -0.5px;
  }
  .trust-number {
    font-size: 32px;
  }
  .kana-char {
    display: none;
  }
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  .testi-card {
    padding: 36px 24px;
  }
  .story-right {
    padding: 36px 24px;
  }
  .footer-bottom {
    text-align: center;
    justify-content: center;
  }
}

/* ============================
       SCROLL REVEAL UTILITY
    ============================ */
[data-aos] {
  backface-visibility: hidden;
}

/* duplicate token/base rules removed */

/* =====================
       NAVBAR
    ===================== */
#navbar {
  background: var(--white);
  border-bottom: 1px solid var(--n200);
  transition: box-shadow 0.3s;
  z-index: 1000;
  padding: 0;
}
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-bottom-color: transparent;
}

.navbar-brand span {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.nav-link {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--n700) !important;
  padding: 26px 14px !important;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--brand);
  border-radius: 3px 3px 0 0;
  transition: all 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--brand) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 14px;
  right: 14px;
}

.btn-nav-login {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  border: 2px solid var(--brand) !important;
  color: var(--brand) !important;
  background: transparent !important;
  transition: var(--trans) !important;
}
.btn-nav-login:hover {
  background: var(--brand) !important;
  color: var(--white) !important;
}
.btn-nav-signup {
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  background: var(--brand) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(10, 147, 115, 0.3) !important;
  transition: var(--trans) !important;
}
.btn-nav-signup:hover {
  background: var(--brand-dark) !important;
  transform: translateY(-1px);
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 220px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--n700);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: rgba(10, 147, 115, 0.07);
  color: var(--brand);
}
.dropdown-item .lvl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================
       BREADCRUMB
    ===================== */
.breadcrumb-bar {
  background: var(--n50);
  border-bottom: 1px solid var(--n200);
  padding: 12px 0;
}
.breadcrumb {
  margin: 0;
  font-size: 13px;
}
.breadcrumb-item a {
  color: var(--brand);
}
.breadcrumb-item.active {
  color: var(--n400);
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--n400);
}

/* =====================
       HERO / COURSE HEADER
    ===================== */
#course-hero {
  background: linear-gradient(135deg, #0a9373 0%, #065c48 100%);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.course-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.course-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 49, 59, 0.9) 0%,
    rgba(27, 168, 156, 0.84) 58%,
    rgba(73, 212, 199, 0.42) 100%
  );
  z-index: 1;
}
.course-hero-banner-card {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: min(520px, calc(100% - 48px));
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  z-index: 3;
}
.course-hero-banner-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(73, 212, 199, 0.2);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.course-hero-banner-title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.course-hero-banner-subtitle {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.96rem;
  line-height: 1.6;
}
.course-hero-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 12px 24px rgba(27, 168, 156, 0.25);
}
.course-hero-banner-btn:hover {
  color: var(--white);
}
.course-hero-kana {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.kana-bg {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  color: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  user-select: none;
  animation: floatK 9s ease-in-out infinite;
}
@keyframes floatK {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.course-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 420px;
}

/* Level pill */
.level-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}
.level-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lvl-color);
}

.course-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.course-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 28px;
}

/* Meta chips */
.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}
.meta-chip i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* Star rating row */
.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
}
.rating-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.rating-count {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero CTA row */
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 72px;
}

.btn-enroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  transition: var(--trans);
}
.btn-enroll:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  color: var(--brand-dark);
}

.btn-try-free {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: var(--trans);
}
.btn-try-free:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}

/* Wave separator */
.hero-wave {
  line-height: 0;
  margin-top: -2px;
}
.hero-wave svg {
  display: block;
  width: 100%;
}

/* =====================
       STICKY SIDEBAR CARD
    ===================== */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: sticky;
  top: 88px;
}

.sidebar-preview {
  background: linear-gradient(135deg, #0a9373, #065c48);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.sidebar-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(27, 168, 156, 0.8) 100%
  );
  z-index: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.sidebar-preview.has-banner::before {
  opacity: 1;
}
.sidebar-preview .preview-kana {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}
.sidebar-preview-content {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
  max-width: 100%;
}
.sidebar-preview-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(73, 212, 199, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.sidebar-preview-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.sidebar-preview-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 100%;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.sidebar-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(27, 168, 156, 0.25);
  transition: var(--trans);
  text-decoration: none;
}
.sidebar-preview-btn:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(27, 168, 156, 0.33);
}

@media (max-width: 575px) {
  .course-hero-banner-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 16px 18px;
  }
  .course-hero-inner {
    min-height: 460px;
  }
  .sidebar-preview {
    height: 210px;
  }
  .sidebar-preview-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 6px;
  }
  .sidebar-preview-title {
    font-size: 1.1rem;
  }
  .sidebar-preview-subtitle {
    font-size: 0.88rem;
  }
}

.sidebar-body {
  padding: 24px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.price-main {
  font-size: 36px;
  font-weight: 800;
  color: var(--n900);
}
.price-old {
  font-size: 18px;
  color: var(--n400);
  text-decoration: line-through;
}
.price-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
}
.price-note {
  font-size: 13px;
  color: var(--n400);
  margin-bottom: 20px;
}

.btn-enroll-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 15px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 20px rgba(10, 147, 115, 0.3);
  transition: var(--trans);
  margin-bottom: 10px;
}
.btn-enroll-sidebar:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 147, 115, 0.4);
  color: white;
}

.btn-try-sidebar {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 50px;
  border: 2px solid var(--brand);
  transition: var(--trans);
  margin-bottom: 20px;
}
.btn-try-sidebar:hover {
  background: rgba(10, 147, 115, 0.07);
  color: var(--brand);
}

.sidebar-includes {
  border-top: 1px solid var(--n200);
  padding-top: 18px;
  margin-top: 4px;
}
.sidebar-includes h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.sidebar-include-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--n700);
  margin-bottom: 9px;
}
.sidebar-include-item i {
  color: var(--brand);
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.sidebar-guarantee {
  background: rgba(10, 147, 115, 0.05);
  border: 1px solid rgba(10, 147, 115, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  margin-top: 16px;
}
.sidebar-guarantee i {
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 6px;
  display: block;
}
.sidebar-guarantee p {
  font-size: 12px;
  color: var(--n700);
  margin: 0;
  line-height: 1.5;
}

/* =====================
       MAIN CONTENT
    ===================== */
#course-body {
  padding: 72px 0;
}

/* Section headings */
.content-section {
  margin-bottom: 60px;
}
.content-section h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--n900);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--n200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.content-section h2 i {
  color: var(--brand);
  font-size: 22px;
}

/* What you'll learn grid */
.learn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.learn-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--n700);
  transition: var(--trans);
}
.learn-item:hover {
  border-color: var(--brand);
  background: rgba(10, 147, 115, 0.04);
}
.learn-item i {
  color: var(--brand);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Requirements */
.req-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.req-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--n700);
  padding: 10px 0;
  border-bottom: 1px solid var(--n100);
}
.req-list li:last-child {
  border-bottom: none;
}
.req-list li i {
  color: var(--brand);
  font-size: 14px;
}

/* Curriculum accordion */
.curriculum-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.curriculum-stats {
  font-size: 14px;
  color: var(--n400);
}

.accordion-item {
  border: 1px solid var(--n200) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 10px;
}
.accordion-button {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--n900) !important;
  background: var(--n50) !important;
  padding: 16px 20px !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(10, 147, 115, 0.06) !important;
  color: var(--brand) !important;
}
.accordion-button::after {
  filter: hue-rotate(130deg) saturate(2);
}

.module-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--n400);
  margin-left: auto;
  margin-right: 12px;
}
.module-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lesson-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  border-top: 1px solid var(--n100);
  font-size: 14px;
  color: var(--n700);
  transition: background 0.2s;
  cursor: pointer;
}
.lesson-item:hover {
  background: var(--n50);
}
.lesson-item:first-child {
  border-top: none;
}

.lesson-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.lesson-icon.video {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.lesson-icon.quiz {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.lesson-icon.text {
  background: rgba(10, 147, 115, 0.1);
  color: var(--brand);
}
.lesson-icon.audio {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.lesson-name {
  flex: 1;
}
.lesson-duration {
  font-size: 12px;
  color: var(--n400);
}
.lesson-free {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  background: rgba(10, 147, 115, 0.1);
  padding: 3px 9px;
  border-radius: 50px;
}

/* Instructor card */
.instructor-card {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.instructor-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--brand);
  background: linear-gradient(
    135deg,
    rgba(10, 147, 115, 0.2),
    rgba(10, 147, 115, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: var(--brand);
  flex-shrink: 0;
}
.instructor-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 4px;
}
.instructor-title {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 10px;
}
.instructor-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}
.instructor-stat {
  font-size: 13px;
  color: var(--n400);
  display: flex;
  align-items: center;
  gap: 5px;
}
.instructor-stat i {
  color: var(--brand);
}
.instructor-info p {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.7;
}

/* Reviews summary */
.reviews-summary {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}
.reviews-big {
  text-align: center;
  flex-shrink: 0;
  min-width: 120px;
}
.reviews-big .big-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--n900);
  line-height: 1;
}
.reviews-big .stars {
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 3px;
}
.reviews-big .count {
  font-size: 13px;
  color: var(--n400);
  margin-top: 4px;
}

.reviews-bars {
  flex: 1;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.rating-bar-label {
  width: 30px;
  color: var(--n400);
  text-align: right;
}
.rating-bar-track {
  flex: 1;
  height: 8px;
  background: var(--n200);
  border-radius: 8px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  border-radius: 8px;
  background: #fbbf24;
}
.rating-bar-count {
  width: 28px;
  color: var(--n400);
}

/* Review cards */
.review-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  transition: var(--trans);
}
.review-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(10, 147, 115, 0.2);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 147, 115, 0.12);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
}
.review-meta {
  flex: 1;
}
.review-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--n900);
}
.review-date {
  font-size: 12px;
  color: var(--n400);
}
.review-stars {
  color: #fbbf24;
  font-size: 13px;
}
.review-text {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.7;
}

/* FAQ accordion */
.faq-accordion .accordion-item {
  background: var(--white) !important;
}
.faq-accordion .accordion-button {
  background: var(--white) !important;
  font-size: 15px !important;
}
.faq-accordion .accordion-body {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.75;
}

/* =====================
       RELATED COURSES
    ===================== */
#related {
  background: var(--n50);
  padding: 80px 0;
}
.related-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--n200);
  overflow: hidden;
  transition: var(--trans);
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.related-card-stripe {
  height: 5px;
}
.related-card-body {
  padding: 22px;
}
.related-card h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  margin: 8px 0 6px;
}
.related-card p {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.6;
}
.related-card-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--n400);
  margin-top: 12px;
}
.related-card-meta i {
  color: var(--brand);
}

/* =====================
       BOTTOM CTA STRIP
    ===================== */
#enroll-strip {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#enroll-strip::before {
  content: "あ";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 280px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.strip-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.strip-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

/* =====================
       FOOTER
    ===================== */
footer {
  background: var(--n900);
  color: #9ca3af;
  padding: 64px 0 0;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.footer-logo span {
  color: var(--brand-light);
}
.footer-tagline {
  font-size: 14px;
  color: #6b7280;
  max-width: 220px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 14px;
  transition: var(--trans);
}
.footer-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-list {
  list-style: none;
  padding: 0;
}
.footer-list li {
  margin-bottom: 9px;
}
.footer-list a {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: var(--brand-light);
}
.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 52px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #4b5563;
}
.footer-bottom a {
  color: #4b5563;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--brand-light);
}

/* =====================
       RESPONSIVE
    ===================== */
@media (max-width: 991px) {
  .sidebar-card {
    position: static;
    margin-top: 48px;
  }
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .reviews-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .instructor-card {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  #course-body {
    padding: 48px 0;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .btn-enroll,
  .btn-try-free {
    width: 100%;
    justify-content: center;
  }
  .module-meta {
    display: none;
  }
}

/* =====================
       PROGRESS RING (sidebar)
    ===================== */
.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(10, 147, 115, 0.05);
  border: 1px solid rgba(10, 147, 115, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.ring-svg {
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.ring-track {
  fill: none;
  stroke: var(--n200);
  stroke-width: 4;
}
.ring-fill {
  fill: none;
  stroke: var(--brand);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.4s ease;
}
.ring-text {
  font-size: 12px;
  color: var(--n700);
  line-height: 1.4;
}
.ring-text strong {
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  display: block;
}

/* =====================
       TABS
    ===================== */
.content-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--n200);
  margin-bottom: 40px;
  overflow-x: auto;
}
.content-tab {
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--n400);
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.content-tab.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.content-tab:hover:not(.active) {
  color: var(--n700);
}

.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* ============================================================
   CEESA ACADEMY – SHARED STYLES
   Used by: contact, about, lesson-archive, blog-archive, blog-detail
============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --brand: #0a9373;
  --brand-light: #0db88a;
  --brand-dark: #076c54;
  --cream: #fff8e7;
  --white: #ffffff;
  --n50: #f9fafb;
  --n100: #f3f4f6;
  --n200: #e5e7eb;
  --n300: #d1d5db;
  --n400: #9ca3af;
  --n500: #6b7280;
  --n700: #374151;
  --n900: #111827;
  --dark-navy: #0b1120;
  --lvl-n5: #22c55e;
  --lvl-n4: #14b8a6;
  --lvl-n3: #3b82f6;
  --lvl-n2: #8b5cf6;
  --lvl-n1: #ef4444;
  --lvl-ssw: #f59e0b;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-btn: 0 8px 24px rgba(10, 147, 115, 0.3);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --trans: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.15);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--n700);
  background: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Inter", sans-serif;
  color: var(--n900);
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, #0a9373 0%, #065c48 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero-kana {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.page-kana-char {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  color: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  user-select: none;
  animation: pkFloat 9s ease-in-out infinite;
}
@keyframes pkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-22px);
  }
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.page-hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.page-hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin: 0 auto 28px;
}
.page-hero-wave {
  line-height: 0;
}
.page-hero-wave svg {
  display: block;
  width: 100%;
}

/* ---------- BREADCRUMB BAR ---------- */
.breadcrumb-bar {
  background: var(--n50);
  border-bottom: 1px solid var(--n200);
  padding: 12px 0;
}
.breadcrumb {
  margin: 0;
  font-size: 13px;
}
.breadcrumb-item a {
  color: var(--brand);
}
.breadcrumb-item.active {
  color: var(--n400);
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--n400);
}

/* ---------- SECTION LABELS ---------- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(10, 147, 115, 0.08);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--n900);
  line-height: 1.15;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 17px;
  color: var(--n400);
  max-width: 560px;
  margin: 0 auto;
}
.brand-line {
  width: 48px;
  height: 4px;
  background: var(--brand);
  border-radius: 4px;
  margin: 14px auto 0;
}

/* ---------- BUTTONS ---------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-btn);
  transition: var(--trans);
}
.btn-primary-custom:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 147, 115, 0.4);
  color: white;
}
.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 50px;
  border: 2px solid var(--brand);
  transition: var(--trans);
}
.btn-outline-custom:hover {
  background: var(--brand);
  color: white;
  transform: translateY(-2px);
}

/* ---------- CARDS ---------- */
.card-base {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  overflow: hidden;
}
.card-base:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

/* ---------- FOOTER ---------- */
footer#footer {
  background: var(--n900);
  color: #9ca3af;
  padding: 72px 0 0;
}
.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span {
  color: var(--brand-light);
}
.footer-tagline {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 240px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 15px;
  transition: var(--trans);
}
.footer-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-list li {
  margin-bottom: 10px;
}
.footer-list a {
  font-size: 14px;
  color: #6b7280;
  transition: color 0.2s;
}
.footer-list a:hover {
  color: var(--brand-light);
}
.footer-level-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-level-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}
.footer-contact-item i {
  color: var(--brand);
  width: 16px;
}
.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 60px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #4b5563;
}
.footer-bottom a {
  color: #4b5563;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: var(--brand-light);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding: 80px 0 60px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ── PAGE-SPECIFIC ── */

/* Hero search */
.archive-search-wrap {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.archive-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 14px 22px;
  backdrop-filter: blur(10px);
}
.archive-search-box i {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}
.archive-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
  font-family: "Inter", sans-serif;
}
.archive-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Filter bar */
#filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--n200);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--n400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.filter-chip {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--n200);
  font-size: 13px;
  font-weight: 600;
  color: var(--n700);
  cursor: pointer;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  background: var(--white);
}
.filter-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.filter-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.filter-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.filter-chip.active .chip-dot {
  background: white !important;
}

.filter-result-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--n400);
  font-weight: 500;
}
.filter-result-count strong {
  color: var(--brand);
}

.view-toggle {
  display: flex;
  gap: 4px;
  background: var(--n100);
  border-radius: 8px;
  padding: 3px;
}
.view-btn {
  width: 32px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--n400);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--trans);
  font-size: 13px;
}
.view-btn.active {
  background: white;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* Lesson grid */
#archive-grid {
  background: var(--n50);
  padding: 50px 0 90px;
}
.lesson-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.lesson-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-5px);
}

.lesson-card-top {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lesson-card-top .top-kana {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.lesson-card-top .type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lesson-card-top .lock-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
}
.lesson-card-top .free-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 800;
  color: var(--brand);
}

.lesson-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lesson-card-level {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lesson-card-body h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 8px;
  line-height: 1.4;
}
.lesson-card-body p {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.lesson-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--n100);
  font-size: 12px;
  color: var(--n400);
}
.lesson-card-footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.lesson-card-footer i {
  color: var(--brand);
}

/* List view */
.lesson-row {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--trans);
  cursor: pointer;
  margin-bottom: 12px;
}
.lesson-row:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.row-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: white;
}
.row-info {
  flex: 1;
  min-width: 0;
}
.row-info h6 {
  font-size: 15px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 3px;
}
.row-info span {
  font-size: 12px;
  color: var(--n400);
}
.row-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.row-meta-item {
  font-size: 12px;
  color: var(--n400);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.row-meta-item i {
  color: var(--brand);
}

#listView {
  display: none;
}
#listView.show {
  display: block;
}
#gridView.hide {
  display: none;
}

/* Load more */
.btn-load-more {
  display: block;
  margin: 40px auto 0;
  background: var(--white);
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 50px;
  padding: 13px 36px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.btn-load-more:hover {
  background: var(--brand);
  color: white;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  display: none;
}
.empty-state.show {
  display: block;
}
.empty-state i {
  font-size: 48px;
  color: var(--n300);
  margin-bottom: 16px;
}
.empty-state h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--n700);
  margin-bottom: 6px;
}
.empty-state p {
  font-size: 14px;
  color: var(--n400);
}

@media (max-width: 767px) {
  .filter-result-count {
    display: none;
  }
  .row-meta {
    display: none;
  }
}

/* ── MISSION ── */
#mission {
  padding: 90px 0;
  background: var(--white);
}
.mission-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  height: 420px;
  background: linear-gradient(
    135deg,
    rgba(10, 147, 115, 0.15),
    rgba(10, 147, 115, 0.04)
  );
  border: 1px solid var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-img i {
  font-size: 100px;
  color: var(--brand);
  opacity: 0.35;
}
.mission-badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mission-badge-float .mbf-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 20px;
}
.mission-badge-float strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--n900);
  display: block;
}
.mission-badge-float span {
  font-size: 12px;
  color: var(--n400);
}

.mission-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--n700);
  margin-bottom: 16px;
}

/* ── VALUES BENTO ── */
#values {
  background: var(--n50);
  padding: 90px 0;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(10, 147, 115, 0.08) 0%,
    transparent 70%
  );
  transition: var(--trans);
}
.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 147, 115, 0.2);
  transform: translateY(-5px);
}
.value-card:hover::before {
  width: 220px;
  height: 220px;
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand);
  margin-bottom: 18px;
}
.value-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--n400);
  line-height: 1.7;
}

/* ── TIMELINE / JOURNEY ── */
#journey {
  background: var(--white);
  padding: 90px 0;
}
.journey-line {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.journey-line::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--n200);
}
.journey-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 44px;
}
.journey-item:last-child {
  margin-bottom: 0;
}
.journey-dot {
  position: absolute;
  left: 14px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow:
    0 0 0 6px var(--white),
    0 0 0 7px var(--n200);
  z-index: 2;
}
.journey-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.journey-item h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}
.journey-item p {
  font-size: 14px;
  color: var(--n500);
  line-height: 1.7;
}

/* ── TEAM ── */
#team {
  background: var(--n50);
  padding: 90px 0;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.team-photo {
  height: 220px;
  background: linear-gradient(
    135deg,
    rgba(10, 147, 115, 0.18),
    rgba(10, 147, 115, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--brand);
  opacity: 0.5;
}
.team-info {
  padding: 22px 20px;
}
.team-info h5 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
}
.team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 10px;
}
.team-bio {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.6;
  margin-bottom: 14px;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.team-social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n400);
  font-size: 12px;
  transition: var(--trans);
}
.team-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}

/* ── STATS STRIP ── */
#stats-strip {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
#stats-strip::before {
  content: "アカデミー";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 130px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.stat-strip-item {
  text-align: center;
  position: relative;
  z-index: 2;
}
.stat-strip-item strong {
  font-size: 42px;
  font-weight: 800;
  color: white;
  display: block;
}
.stat-strip-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ── PARTNERS / TRUST ── */
#trust-logos {
  background: var(--white);
  padding: 70px 0;
}
.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--n50);
  border: 1px solid var(--n200);
  font-size: 14px;
  font-weight: 700;
  color: var(--n400);
  transition: var(--trans);
}
.trust-logo-item:hover {
  border-color: var(--brand);
  color: var(--brand);
}

@media (max-width: 991px) {
  .mission-img {
    height: 320px;
    margin-bottom: 60px;
  }
  .mission-badge-float {
    left: 16px;
  }
}

/* ── PAGE-SPECIFIC ── */

/* Featured post */
#featured-post {
  background: var(--white);
  padding: 70px 0 50px;
}
.featured-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-md);
  transition: var(--trans);
}
.featured-card:hover {
  box-shadow: var(--shadow-lg);
}
.featured-img {
  flex: 0 0 46%;
  background: linear-gradient(135deg, #0a9373, #065c48);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.featured-img .big-kana {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.18);
  font-weight: 700;
}
.featured-img .featured-image,
.blog-card-img .blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.featured-body {
  flex: 1;
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--n400);
  margin-bottom: 16px;
}
.featured-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-body h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}
.featured-body p {
  font-size: 15px;
  color: var(--n500);
  line-height: 1.75;
  margin-bottom: 22px;
}
.featured-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 147, 115, 0.12);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}
.author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--n900);
}
.author-role {
  font-size: 12px;
  color: var(--n400);
}

/* Category pills */
#blog-filter {
  background: var(--white);
  border-bottom: 1px solid var(--n200);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 50;
}
.cat-pill {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--n200);
  font-size: 13px;
  font-weight: 600;
  color: var(--n700);
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
  background: var(--white);
}
.cat-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.cat-pill.active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.cat-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.cat-scroll::-webkit-scrollbar {
  height: 4px;
}
.cat-scroll::-webkit-scrollbar-thumb {
  background: var(--n300);
  border-radius: 4px;
}

/* Blog grid */
#blog-grid {
  background: var(--n50);
  padding: 60px 0 50px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--trans);
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.blog-card-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-card-img .card-kana {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 70px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.blog-card-img .card-kana {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.blog-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.blog-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--n400);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.blog-card-meta i {
  color: var(--brand);
}
.blog-card-body h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  line-height: 1.4;
  margin-bottom: 10px;
}
.blog-card-body p {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.blog-card:hover .blog-read-more {
  gap: 12px;
}

/* Sidebar */
.blog-sidebar-widget {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.bsw-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--n900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bsw-title i {
  color: var(--brand);
}

.search-widget-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: 50px;
  padding: 10px 16px;
}
.search-widget-input input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  flex: 1;
}
.search-widget-input i {
  color: var(--n400);
  font-size: 13px;
}

.pop-post {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  cursor: pointer;
}
.pop-post:last-child {
  margin-bottom: 0;
}
.pop-post-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: white;
  overflow: hidden;
}
.pop-post-image-wrap {
  background: var(--n100);
}
.pop-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pop-post-text h6 {
  font-size: 13px;
  font-weight: 700;
  color: var(--n900);
  line-height: 1.4;
  margin-bottom: 4px;
}
.pop-post-text span {
  font-size: 11px;
  color: var(--n400);
}

.cat-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--n100);
  font-size: 13px;
  color: var(--n700);
  cursor: pointer;
  transition: color 0.2s;
}
.cat-list-item:last-child {
  border-bottom: none;
}
.cat-list-item:hover {
  color: var(--brand);
}
.cat-list-item .count {
  background: var(--n100);
  border-radius: 50px;
  padding: 1px 9px;
  font-size: 11px;
  color: var(--n400);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--n700);
  background: var(--n100);
  padding: 6px 13px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--trans);
}
.tag-chip:hover {
  background: var(--brand);
  color: white;
}

.newsletter-widget {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  color: white;
  text-align: center;
}
.newsletter-widget i {
  font-size: 28px;
  margin-bottom: 10px;
}
.newsletter-widget h6 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}
.newsletter-widget p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.newsletter-widget input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13px;
  margin-bottom: 10px;
  outline: none;
}
.newsletter-widget button {
  width: 100%;
  background: white;
  color: var(--brand);
  border: none;
  border-radius: 50px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.newsletter-widget button:hover {
  background: var(--n100);
}

.btn-load-more {
  display: block;
  margin: 10px auto 0;
  background: var(--white);
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 50px;
  padding: 13px 36px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.btn-load-more:hover {
  background: var(--brand);
  color: white;
}

@media (max-width: 991px) {
  .featured-card {
    flex-direction: column;
  }
  .featured-img {
    min-height: 220px;
  }
}

/* ── ARTICLE HEADER ── */
.article-hero {
  background:
    linear-gradient(135deg, rgba(10, 147, 115, 0.9), rgba(1, 58, 50, 0.9)),
    url("assets/images/blog/particles-hero.jpg") center/cover no-repeat;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
}
.article-hero-kana {
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  top: 10%;
  right: 6%;
  font-size: 220px;
  line-height: 1;
  pointer-events: none;
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  padding-bottom: 70px;
}

.article-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.article-hero-title {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 760px;
  margin-bottom: 22px;
}
.article-hero-excerpt {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-bottom: 28px;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: white;
}
.author-info strong {
  display: block;
  font-size: 14px;
  color: white;
}
.author-info span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.article-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.article-hero-wave {
  line-height: 0;
}
.article-hero-wave svg {
  display: block;
  width: 100%;
}

/* ── LAYOUT ── */
#article-body {
  padding: 64px 0 90px;
  background: var(--white);
}

/* Share rail (sticky) */
.share-rail {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--n50);
  border: 1px solid var(--n200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n500);
  font-size: 16px;
  transition: var(--trans);
  cursor: pointer;
}
.share-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}
.share-btn.fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}
.share-btn.tw:hover {
  background: #000;
  border-color: #000;
}
.share-btn.wa:hover {
  background: #25d366;
  border-color: #25d366;
}
.share-divider {
  width: 24px;
  height: 1px;
  background: var(--n200);
  margin: 4px 0;
}
.share-count {
  font-size: 11px;
  color: var(--n400);
  text-align: center;
}

/* Article prose */
.article-prose {
  max-width: 740px;
}
.article-prose p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--n700);
  margin-bottom: 20px;
}
.article-prose h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--n900);
  margin: 44px 0 18px;
  padding-top: 8px;
  scroll-margin-top: 100px;
}
.article-prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--n900);
  margin: 30px 0 12px;
}
.article-prose ul,
.article-prose ol {
  margin: 0 0 20px 22px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--n700);
}
.article-prose ul li,
.article-prose ol li {
  margin-bottom: 8px;
}
.article-prose strong {
  color: var(--n900);
}
.article-prose mark {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
  padding: 0 5px;
  border-radius: 4px;
}
.article-prose code {
  font-family: "JetBrains Mono", monospace;
  background: var(--n100);
  border: 1px solid var(--n200);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 14px;
  color: var(--brand-dark);
}

/* Drop cap intro */
.drop-cap::first-letter {
  font-size: 56px;
  font-weight: 800;
  color: var(--brand);
  float: left;
  line-height: 0.8;
  margin: 8px 10px 0 0;
  font-family: "Inter", sans-serif;
}

/* Comparison box (custom for は vs が) */
.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.compare-col {
  border-radius: var(--radius-md);
  padding: 22px 22px 18px;
  border: 1.5px solid;
}
.compare-col.wa {
  background: rgba(59, 130, 246, 0.04);
  border-color: rgba(59, 130, 246, 0.25);
}
.compare-col.ga {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.3);
}
.compare-particle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 6px;
}
.compare-col.wa .compare-particle {
  color: #2563eb;
}
.compare-col.ga .compare-particle {
  color: #d97706;
}
.compare-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 10px;
}
.compare-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--n700);
  line-height: 1.8;
}

/* Example sentence block */
.ex-block {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 18px 0;
}
.ex-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: var(--n900);
  margin-bottom: 4px;
}
.ex-jp .particle-highlight-wa {
  color: #2563eb;
  font-weight: 700;
}
.ex-jp .particle-highlight-ga {
  color: #d97706;
  font-weight: 700;
}
.ex-romaji {
  font-size: 13px;
  color: var(--n400);
  margin-bottom: 4px;
}
.ex-meaning {
  font-size: 14px;
  color: var(--n700);
  font-weight: 500;
}

/* Callouts (reuse lesson style) */
.callout {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.callout-body {
  font-size: 14px;
  line-height: 1.7;
}
.callout-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}
.callout.tip {
  background: rgba(10, 147, 115, 0.06);
  border-left: 4px solid var(--brand);
}
.callout.tip i {
  color: var(--brand);
}
.callout.note {
  background: rgba(59, 130, 246, 0.06);
  border-left: 4px solid #3b82f6;
}
.callout.note i {
  color: #3b82f6;
}

/* Pull quote */
.pull-quote {
  font-size: 22px;
  font-weight: 700;
  color: var(--n900);
  line-height: 1.5;
  padding: 28px 0 28px 28px;
  border-left: 4px solid var(--brand);
  margin: 32px 0;
  font-style: italic;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
}
.article-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--n100);
  color: var(--n500);
  transition: var(--trans);
  cursor: pointer;
}
.article-tag:hover {
  background: rgba(10, 147, 115, 0.1);
  color: var(--brand);
}

/* Author bio box */
.author-box {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 44px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 147, 115, 0.12);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--brand);
  flex-shrink: 0;
}
.author-box h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-box-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}
.author-box p {
  font-size: 13px;
  color: var(--n500);
  line-height: 1.7;
  margin: 0;
}

/* Comments */
.comments-section {
  margin-top: 56px;
}
.comments-count {
  font-size: 22px;
  font-weight: 800;
  color: var(--n900);
  margin-bottom: 24px;
}
.comment-form {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
}
.comment-form textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 12px;
  background: white;
}
.comment-form textarea:focus {
  border-color: var(--brand);
}
.comment-form input {
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.comment-form input:focus {
  border-color: var(--brand);
}
.btn-comment-submit {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 11px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-comment-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.comment-item {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}
.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(10, 147, 115, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}
.comment-body {
  flex: 1;
}
.comment-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.comment-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--n900);
}
.comment-date {
  font-size: 12px;
  color: var(--n400);
}
.comment-text {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.7;
  margin-bottom: 8px;
}
.comment-actions {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--n400);
}
.comment-actions span {
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.comment-actions span:hover {
  color: var(--brand);
}
.comment-reply {
  margin-left: 56px;
  margin-top: 16px;
}

/* ── RIGHT SIDEBAR ── */
.blog-sidebar-widget {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
}
.bsw-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bsw-title i {
  color: var(--brand);
}

/* TOC widget */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-item {
  font-size: 13px;
  padding: 8px 0;
  color: var(--n500);
  border-left: 2px solid var(--n200);
  padding-left: 14px;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
}
.toc-item:hover {
  color: var(--brand);
  border-left-color: var(--brand);
}
.toc-item.active {
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 700;
}

/* Related posts */
.sb-related {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--n200);
  cursor: pointer;
  transition: var(--trans);
}
.sb-related:last-child {
  border-bottom: none;
}
.sb-related:hover .sb-related-title {
  color: var(--brand);
}
.sb-related-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  color: white;
}
.sb-related-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--n900);
  line-height: 1.4;
  transition: color 0.2s;
}
.sb-related-date {
  font-size: 11px;
  color: var(--n400);
  margin-top: 3px;
}

/* Newsletter widget */
.nl-widget {
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.nl-widget i {
  font-size: 28px;
  color: white;
  margin-bottom: 10px;
}
.nl-widget h5 {
  font-size: 17px;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}
.nl-widget p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.nl-widget input {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 11px 16px;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
}
.nl-widget button {
  width: 100%;
  background: var(--dark-navy);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
}
.nl-widget button:hover {
  background: #1a2438;
}

/* Tag cloud widget */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-cloud-item {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--n200);
  color: var(--n500);
  cursor: pointer;
  transition: var(--trans);
}
.tag-cloud-item:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Course promo widget */
.course-promo-widget {
  background: var(--dark-navy);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}
.course-promo-widget::before {
  content: "日";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 140px;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  bottom: -20px;
  right: -10px;
  pointer-events: none;
}
.course-promo-widget h5 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.course-promo-widget p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.course-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--brand);
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 50px;
  transition: var(--trans);
  position: relative;
  z-index: 2;
}
.course-promo-btn:hover {
  background: var(--brand-light);
  transform: translateX(2px);
}

/* Prev/Next */
.article-nav {
  display: flex;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--n100);
}
.article-nav-btn {
  flex: 1;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--trans);
  cursor: pointer;
}
.article-nav-btn:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.article-nav-btn.next {
  text-align: right;
}
.anb-dir {
  font-size: 11px;
  font-weight: 700;
  color: var(--n400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-nav-btn.next .anb-dir {
  justify-content: flex-end;
}
.anb-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--n900);
  line-height: 1.4;
}

@media (max-width: 991px) {
  .compare-box {
    grid-template-columns: 1fr;
  }
  .share-rail {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 32px;
  }
}
@media (max-width: 767px) {
  .article-hero-inner {
    padding-bottom: 50px;
  }
  .drop-cap::first-letter {
    font-size: 42px;
  }
}

/* ── PAGE-SPECIFIC ── */

/* Contact hero accent */
.contact-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}
.contact-hero-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  backdrop-filter: blur(8px);
}
.contact-hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.contact-hero-stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact cards row */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: var(--trans);
}
.contact-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 147, 115, 0.2);
  transform: translateY(-5px);
}
.contact-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(10, 147, 115, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 26px;
  color: var(--brand);
}
.contact-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 14px;
  color: var(--n400);
  margin-bottom: 14px;
  line-height: 1.6;
}
.contact-card a {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  transition: var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.contact-card a:hover {
  gap: 12px;
  color: var(--brand-dark);
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 48px 52px;
}
.form-group {
  margin-bottom: 22px;
}
.form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 7px;
  display: block;
}
.form-label span {
  color: var(--brand);
}
.form-control-custom {
  width: 100%;
  background: var(--n50);
  border: 1.5px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: var(--n900);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-control-custom:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(10, 147, 115, 0.12);
  background: var(--white);
}
.form-control-custom::placeholder {
  color: var(--n400);
}
textarea.form-control-custom {
  min-height: 130px;
  resize: vertical;
}
select.form-control-custom {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.subject-chip {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--n200);
  font-size: 13px;
  font-weight: 500;
  color: var(--n700);
  cursor: pointer;
  transition: var(--trans);
  user-select: none;
}
.subject-chip:hover,
.subject-chip.active {
  border-color: var(--brand);
  background: rgba(10, 147, 115, 0.08);
  color: var(--brand);
}

.btn-submit {
  width: 100%;
  background: var(--brand);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 50px;
  border: none;
  box-shadow: var(--shadow-btn);
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.btn-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(10, 147, 115, 0.4);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--brand);
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--n400);
  font-size: 15px;
}

/* Map / Info panel */
.info-panel {
  background: var(--dark-navy);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  overflow: hidden;
}
.info-panel::before {
  content: "日";
  font-family: "Noto Sans JP", sans-serif;
  font-size: 260px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  bottom: -40px;
  right: -30px;
  pointer-events: none;
  line-height: 1;
}
.info-panel h3 {
  font-size: 26px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.info-panel p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(10, 147, 115, 0.15);
  border: 1px solid rgba(10, 147, 115, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  font-size: 18px;
  flex-shrink: 0;
}
.info-item-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.info-item-text span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.info-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.info-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  transition: var(--trans);
}
.info-social:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  transform: translateY(-2px);
}

.map-placeholder {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: var(--trans);
}
.map-placeholder:hover {
  background: rgba(255, 255, 255, 0.07);
}
.map-placeholder i {
  font-size: 28px;
  color: var(--brand-light);
}
.map-placeholder span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* Office hours */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hours-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.hours-item .day {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hours-item .time {
  font-size: 13px;
  color: white;
  font-weight: 600;
  margin-top: 2px;
}
.hours-item.closed .time {
  color: rgba(255, 255, 255, 0.3);
}

/* FAQ strip */
.faq-strip {
  background: var(--n50);
  padding: 80px 0;
}
.faq-accordion .accordion-item {
  border: 1px solid var(--n200) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  margin-bottom: 10px;
}
.faq-accordion .accordion-button {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--n900) !important;
  background: var(--white) !important;
  padding: 18px 22px !important;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(10, 147, 115, 0.05) !important;
  color: var(--brand) !important;
}
.faq-accordion .accordion-body {
  font-size: 14px;
  color: var(--n700);
  line-height: 1.8;
  padding: 16px 22px;
}

@media (max-width: 991px) {
  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form-wrap {
    padding: 32px 24px;
  }
  .info-panel {
    padding: 32px 24px;
  }
}
@media (max-width: 767px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* duplicate token/base rules removed */

/* ============================================================
       TOP LESSON BAR
    ============================================================ */
#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-bar-h);
  background: var(--dark-navy);
  display: flex;
  align-items: center;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 0;
}

.topbar-brand {
  width: var(--sidebar-w);
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-brand .logo-box {
  width: 30px;
  height: 30px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.topbar-brand span {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.topbar-center {
  flex: 1;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
}
.topbar-breadcrumb .crumb-sep {
  font-size: 10px;
}
.topbar-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.topbar-breadcrumb a:hover {
  color: var(--brand-light);
}
.topbar-breadcrumb .crumb-current {
  color: white;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Progress bar in topbar */
.topbar-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.topbar-progress-track {
  width: 120px;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  overflow: hidden;
}
.topbar-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 5px;
  transition: width 0.6s ease;
}
.topbar-progress-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.topbar-right {
  width: var(--right-w);
  flex-shrink: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-topbar {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-topbar.outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-topbar.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}
.btn-topbar.solid {
  background: var(--brand);
  color: white;
  box-shadow: 0 3px 10px rgba(10, 147, 115, 0.4);
}
.btn-topbar.solid:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
}

/* ============================================================
       LAYOUT SHELL
    ============================================================ */
#layout {
  display: flex;
  padding-top: var(--top-bar-h);
  min-height: 100vh;
}

/* ============================================================
       LEFT SIDEBAR
    ============================================================ */
#left-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  position: fixed;
  top: var(--top-bar-h);
  left: 0;
  bottom: 0;
  background: var(--n50);
  border-right: 1px solid var(--n200);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

/* Scrollbar */
#left-sidebar::-webkit-scrollbar {
  width: 4px;
}
#left-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
#left-sidebar::-webkit-scrollbar-thumb {
  background: var(--n300);
  border-radius: 4px;
}

.sidebar-search {
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--n200);
  position: sticky;
  top: 0;
  background: var(--n50);
  z-index: 5;
}
.sidebar-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: 8px;
  padding: 8px 12px;
  transition: border-color 0.2s;
}
.sidebar-search-inner:focus-within {
  border-color: var(--brand);
}
.sidebar-search-inner i {
  font-size: 13px;
  color: var(--n400);
  flex-shrink: 0;
}
.sidebar-search-inner input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--n700);
  width: 100%;
  font-family: "Inter", sans-serif;
}
.sidebar-search-inner input::placeholder {
  color: var(--n400);
}

/* Course progress mini-bar */
.sidebar-course-progress {
  padding: 12px 14px;
  border-bottom: 1px solid var(--n200);
}
.scp-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--n500);
  margin-bottom: 6px;
}
.scp-label strong {
  color: var(--brand);
}
.scp-track {
  height: 5px;
  background: var(--n200);
  border-radius: 5px;
  overflow: hidden;
}
.scp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  border-radius: 5px;
}

/* Module groups */
.sidebar-module {
  border-bottom: 1px solid var(--n200);
}

.sidebar-module-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  cursor: pointer;
  user-select: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--n500);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.sidebar-module-header:hover {
  background: var(--n100);
}
.sidebar-module-header .mod-arrow {
  margin-left: auto;
  font-size: 10px;
  color: var(--n400);
  transition: transform 0.25s;
}
.sidebar-module-header.collapsed .mod-arrow {
  transform: rotate(-90deg);
}

.sidebar-module-body {
  /* shown/hidden by JS */
}
.sidebar-module-body.hidden {
  display: none;
}

/* Lesson links */
.sidebar-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 20px;
  font-size: 13px;
  color: var(--n700);
  cursor: pointer;
  transition: background 0.15s;
  position: relative;
  border-left: 3px solid transparent;
}
.sidebar-lesson:hover {
  background: var(--n100);
  color: var(--n900);
}
.sidebar-lesson.active {
  background: rgba(10, 147, 115, 0.08);
  color: var(--brand);
  border-left-color: var(--brand);
  font-weight: 600;
}
.sidebar-lesson.done .lesson-check {
  color: var(--brand);
}
.sidebar-lesson.locked {
  color: var(--n400);
  cursor: default;
}
.sidebar-lesson.locked:hover {
  background: transparent;
}

.lesson-type-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}
.lt-video {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.lt-text {
  background: rgba(10, 147, 115, 0.1);
  color: var(--brand);
}
.lt-quiz {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}
.lt-audio {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.lesson-title-text {
  flex: 1;
  line-height: 1.4;
}
.lesson-check {
  font-size: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.lesson-lock {
  font-size: 11px;
  color: var(--n400);
  margin-left: auto;
  flex-shrink: 0;
}

/* ============================================================
       MAIN CONTENT AREA
    ============================================================ */
#main {
  margin-left: var(--sidebar-w);
  margin-right: var(--right-w);
  flex: 1;
  min-width: 0;
  background: var(--white);
}

.main-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 40px 80px;
}

/* Lesson header */
.lesson-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--n100);
}
.lesson-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.lesson-eyebrow .sep {
  color: var(--n300);
}
.lesson-number-badge {
  background: rgba(10, 147, 115, 0.1);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.lesson-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--n900);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.lesson-subtitle {
  font-size: 16px;
  color: var(--n500);
  line-height: 1.6;
}
.lesson-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.lesson-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--n400);
}
.lesson-meta-item i {
  color: var(--brand);
  font-size: 12px;
}

/* Content blocks */
.lesson-section {
  margin-bottom: 44px;
}
.lesson-section h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--n900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lesson-section h2 .section-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
}
.lesson-section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  margin: 24px 0 10px;
}
.lesson-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--n700);
  margin-bottom: 14px;
}

/* Callout boxes */
.callout {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout i {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.callout-body {
  font-size: 14px;
  line-height: 1.7;
}
.callout-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.callout.tip {
  background: rgba(10, 147, 115, 0.06);
  border-left: 4px solid var(--brand);
}
.callout.tip i {
  color: var(--brand);
}
.callout.note {
  background: rgba(59, 130, 246, 0.06);
  border-left: 4px solid #3b82f6;
}
.callout.note i {
  color: #3b82f6;
}
.callout.warn {
  background: rgba(245, 158, 11, 0.07);
  border-left: 4px solid #f59e0b;
}
.callout.warn i {
  color: #f59e0b;
}
.callout.fun {
  background: rgba(139, 92, 246, 0.06);
  border-left: 4px solid #8b5cf6;
}
.callout.fun i {
  color: #8b5cf6;
}

/* Hiragana character grid */
.kana-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.kana-card {
  background: var(--n50);
  border: 2px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 18px 12px 14px;
  text-align: center;
  cursor: pointer;
  transition: var(--trans);
  user-select: none;
  position: relative;
  overflow: hidden;
}
.kana-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(10, 147, 115, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.kana-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 147, 115, 0.15);
}
.kana-card:hover::before {
  opacity: 1;
}
.kana-card.revealed {
  border-color: var(--brand);
  background: rgba(10, 147, 115, 0.05);
}

.kana-char {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--n900);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.kana-romaji {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}
.kana-stroke {
  font-size: 11px;
  color: var(--n400);
  margin-top: 4px;
}
.kana-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 10px;
  margin-top: 8px;
  cursor: pointer;
  transition: var(--trans);
  border: none;
}
.kana-play:hover {
  background: var(--brand-dark);
  transform: scale(1.1);
}
.kana-mnemonic {
  display: none;
  font-size: 11px;
  color: var(--n500);
  margin-top: 6px;
  line-height: 1.4;
  font-style: italic;
}
.kana-card.revealed .kana-mnemonic {
  display: block;
}
.kana-card.revealed .kana-stroke {
  color: var(--brand);
}

/* Example sentences */
.example-box {
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0;
}
.example-header {
  background: var(--n100);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--n500);
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--n200);
}
.example-header i {
  color: var(--brand);
}
.example-body {
  padding: 16px 18px;
}
.example-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--n900);
  margin-bottom: 4px;
}
.example-romaji {
  font-size: 14px;
  color: var(--n400);
  margin-bottom: 4px;
}
.example-meaning {
  font-size: 14px;
  color: var(--n700);
  font-weight: 500;
}
.example-play-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.btn-audio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(10, 147, 115, 0.08);
  border: 1px solid rgba(10, 147, 115, 0.2);
  border-radius: 50px;
  padding: 5px 12px;
  cursor: pointer;
  transition: var(--trans);
  border: none;
}
.btn-audio:hover {
  background: rgba(10, 147, 115, 0.15);
}

/* Vocabulary table */
.vocab-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--n200);
}
.vocab-table thead {
  background: var(--n100);
}
.vocab-table th {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--n500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--n200);
}
.vocab-table td {
  padding: 11px 16px;
  font-size: 14px;
  color: var(--n700);
  border-bottom: 1px solid var(--n100);
  vertical-align: middle;
}
.vocab-table tr:last-child td {
  border-bottom: none;
}
.vocab-table tr:hover td {
  background: var(--n50);
}
.vocab-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--n900);
}
.vocab-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
}

/* Writing practice strokes */
.stroke-order-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.stroke-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stroke-box {
  width: 64px;
  height: 64px;
  border: 2px solid var(--n200);
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  color: var(--n900);
  position: relative;
  transition: var(--trans);
}
.stroke-box:hover {
  border-color: var(--brand);
}
.stroke-num {
  position: absolute;
  top: 3px;
  right: 5px;
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  font-family: "Inter", sans-serif;
}
.stroke-label {
  font-size: 11px;
  color: var(--n400);
}

/* Interactive try-it panel */
.try-it-panel {
  background: var(--dark-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 28px 0;
}
.try-it-header {
  background: rgba(10, 147, 115, 0.12);
  border-bottom: 1px solid rgba(10, 147, 115, 0.2);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.try-it-header span {
  font-size: 13px;
  font-weight: 700;
  color: white;
}
.try-it-dots {
  display: flex;
  gap: 5px;
}
.try-it-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.try-it-body {
  padding: 20px 22px;
}
.try-it-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.try-it-question {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.try-it-question .q-char {
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.try-it-question .q-char span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  transition: color 0.3s;
}
.try-it-question .q-char:hover span {
  color: var(--brand-light);
}
.try-it-question .q-char:hover {
  color: var(--brand-light);
}

.try-it-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.try-option {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-align: center;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.try-option:hover {
  background: rgba(10, 147, 115, 0.15);
  border-color: var(--brand);
  color: white;
}
.try-option.correct {
  background: rgba(10, 147, 115, 0.25);
  border-color: var(--brand);
  color: white;
}
.try-option.wrong {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: white;
}
.try-option.disabled {
  pointer-events: none;
}

.try-it-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.try-it-feedback.show {
  display: block;
}
.try-it-feedback.good {
  background: rgba(10, 147, 115, 0.2);
  color: var(--brand-light);
}
.try-it-feedback.bad {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.try-it-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.try-score {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.btn-next-q {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-next-q:hover {
  background: var(--brand-light);
  transform: translateX(2px);
}

/* Lesson nav (prev/next) */
.lesson-nav {
  display: flex;
  gap: 14px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--n100);
}
.lesson-nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--n50);
  border: 1px solid var(--n200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: var(--trans);
  cursor: pointer;
}
.lesson-nav-btn:hover {
  border-color: var(--brand);
  background: rgba(10, 147, 115, 0.04);
  box-shadow: var(--shadow-md);
}
.lesson-nav-btn.next {
  justify-content: flex-end;
  text-align: right;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 16px;
  flex-shrink: 0;
}
.nav-text .nav-direction {
  font-size: 11px;
  font-weight: 600;
  color: var(--n400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-text .nav-lesson {
  font-size: 14px;
  font-weight: 700;
  color: var(--n900);
  margin-top: 2px;
}

.btn-complete-lesson {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--brand);
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 20px rgba(10, 147, 115, 0.3);
  transition: var(--trans);
  margin-top: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-complete-lesson:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 147, 115, 0.4);
}

/* ============================================================
       RIGHT SIDEBAR
    ============================================================ */
#right-sidebar {
  width: var(--right-w);
  flex-shrink: 0;
  position: fixed;
  top: var(--top-bar-h);
  right: 0;
  bottom: 0;
  background: var(--n50);
  border-left: 1px solid var(--n200);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
}

#right-sidebar::-webkit-scrollbar {
  width: 4px;
}
#right-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
#right-sidebar::-webkit-scrollbar-thumb {
  background: var(--n300);
  border-radius: 4px;
}

/* Widget base */
.widget {
  border-bottom: 1px solid var(--n200);
  padding: 18px 16px;
}
.widget-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--n500);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.widget-title i {
  color: var(--brand);
  font-size: 13px;
}

/* Progress widget */
.progress-widget {
}
.prog-circle-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.prog-ring {
  transform: rotate(-90deg);
}
.prog-track {
  fill: none;
  stroke: var(--n200);
  stroke-width: 5;
}
.prog-fill {
  fill: none;
  stroke: var(--brand);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 163;
  stroke-dashoffset: 163;
  transition: stroke-dashoffset 1.2s ease;
}
.prog-info strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  display: block;
}
.prog-info span {
  font-size: 13px;
  color: var(--n500);
}

.prog-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.prog-stat {
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}
.prog-stat .stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--n900);
  display: block;
}
.prog-stat .stat-lbl {
  font-size: 11px;
  color: var(--n400);
}

/* Quick navigation widget */
.quick-nav-list {
  list-style: none;
}
.quick-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--n700);
  cursor: pointer;
  transition: background 0.15s;
}
.quick-nav-item:hover {
  background: var(--n100);
  color: var(--brand);
}
.quick-nav-item i {
  font-size: 12px;
  color: var(--n400);
  width: 16px;
  text-align: center;
}
.quick-nav-item:hover i {
  color: var(--brand);
}

/* Flashcard widget */
.flashcard-widget {
}
.flashcard-scene {
  perspective: 600px;
  height: 120px;
  cursor: pointer;
  margin-bottom: 12px;
}
.flashcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.flashcard-inner.flipped {
  transform: rotateY(180deg);
}
.flashcard-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--n200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  backface-visibility: hidden;
}
.flashcard-face.back {
  transform: rotateY(180deg);
  background: rgba(10, 147, 115, 0.05);
  border-color: rgba(10, 147, 115, 0.25);
}
.fc-kana {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: var(--n900);
}
.fc-hint {
  font-size: 11px;
  color: var(--n400);
}
.fc-romaji {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
}
.fc-word {
  font-size: 13px;
  color: var(--n700);
}
.flashcard-controls {
  display: flex;
  gap: 8px;
}
.fc-btn {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--trans);
}
.fc-btn.again {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.fc-btn.again:hover {
  background: rgba(239, 68, 68, 0.2);
}
.fc-btn.good {
  background: rgba(10, 147, 115, 0.1);
  color: var(--brand);
}
.fc-btn.good:hover {
  background: rgba(10, 147, 115, 0.2);
}
.fc-btn.easy {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}
.fc-btn.easy:hover {
  background: rgba(59, 130, 246, 0.2);
}
.fc-counter {
  font-size: 11px;
  color: var(--n400);
  text-align: center;
  margin-top: 8px;
}

/* Daily streak */
.streak-widget {
}
.streak-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}
.streak-day {
  aspect-ratio: 1;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.streak-day.done {
  background: var(--brand);
  color: white;
}
.streak-day.today {
  background: var(--brand-light);
  color: white;
  box-shadow: 0 0 0 2px rgba(13, 184, 138, 0.3);
}
.streak-day.miss {
  background: var(--n200);
  color: var(--n400);
}
.streak-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.streak-fire {
  font-size: 28px;
}
.streak-info strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--n900);
  display: block;
}
.streak-info span {
  font-size: 12px;
  color: var(--n500);
}

/* Notes widget */
.notes-textarea {
  width: 100%;
  min-height: 90px;
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--n700);
  font-family: "Inter", sans-serif;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  line-height: 1.6;
}
.notes-textarea:focus {
  border-color: var(--brand);
}
.notes-textarea::placeholder {
  color: var(--n400);
}
.btn-save-note {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 147, 115, 0.1);
  color: var(--brand);
  border: none;
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  margin-top: 8px;
}
.btn-save-note:hover {
  background: rgba(10, 147, 115, 0.2);
}

/* Ask a question form */
.ask-form input,
.ask-form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--n200);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  font-family: "Inter", sans-serif;
  color: var(--n700);
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 8px;
}
.ask-form input:focus,
.ask-form textarea:focus {
  border-color: var(--brand);
}
.ask-form textarea {
  min-height: 70px;
  resize: vertical;
}
.btn-ask {
  width: 100%;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-ask:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

/* Quick links */
.ql-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--n700);
  transition: background 0.15s;
  cursor: pointer;
}
.ql-link:hover {
  background: var(--n100);
  color: var(--brand);
}
.ql-link i {
  font-size: 13px;
  color: var(--brand);
  width: 18px;
  text-align: center;
}

/* Related lessons */
.rel-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  cursor: pointer;
}
.rel-lesson:hover {
  background: var(--n100);
}
.rel-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(10, 147, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  color: var(--brand);
  flex-shrink: 0;
}
.rel-text .rel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--n900);
}
.rel-text .rel-sub {
  font-size: 11px;
  color: var(--n400);
}

/* ============================================================
       MOBILE OVERLAY SIDEBAR
    ============================================================ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
}
.mobile-overlay.show {
  display: block;
}

/* ============================================================
       RESPONSIVE
    ============================================================ */
@media (max-width: 1280px) {
  :root {
    --right-w: 260px;
  }
}
@media (max-width: 1024px) {
  #right-sidebar {
    display: none;
  }
  #main {
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  #left-sidebar {
    left: -100%;
    transition: left 0.3s;
  }
  #left-sidebar.open {
    left: 0;
  }
  #main {
    margin-left: 0;
  }
  .main-inner {
    padding: 28px 20px 60px;
  }
  .kana-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .try-it-options {
    grid-template-columns: 1fr;
  }
  .topbar-brand {
    width: auto;
    min-width: 0;
  }
  .topbar-right {
    display: none;
  }
  .topbar-progress {
    display: none;
  }
  :root {
    --sidebar-w: 280px;
  }
}

/* ============================================================
       COMPLETION ANIMATION
    ============================================================ */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 2.5s ease-in forwards;
}
@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Tooltip on kana */
[data-tooltip] {
  position: relative;
}
[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--n900);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  margin-bottom: 4px;
}

/* Code/example text style */
code {
  font-family: "JetBrains Mono", monospace;
  background: var(--n100);
  border: 1px solid var(--n200);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 13px;
  color: var(--brand-dark);
}

/* Highlight */
mark {
  background: rgba(10, 147, 115, 0.12);
  color: var(--brand-dark);
  padding: 0 4px;
  border-radius: 4px;
}
.level-badge {
  background: transparent !important;
}

.course-card-stripe {
  display: none !important;
}

/* ====================================================
     TRANSFORMATION  (Before/After)
  ==================================================== */
#transformation {
  background: var(--dark-navy);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
#transformation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(10, 147, 115, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 52px;
}
.transform-side {
  border-radius: var(--rad-lg);
  padding: 36px 32px;
}
.transform-before {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.transform-after {
  background: rgba(10, 147, 115, 0.12);
  border: 1px solid rgba(10, 147, 115, 0.25);
}
.transform-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.transform-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--sh-btn);
  animation: arrowPulse 2s ease-in-out infinite;
}
@keyframes arrowPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.transform-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.transform-before .transform-label {
  color: rgba(255, 255, 255, 0.35);
}
.transform-after .transform-label {
  color: var(--brand-light);
}

.transform-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.transform-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.transform-before .transform-icon {
  color: rgba(255, 255, 255, 0.25);
}
.transform-after .transform-icon {
  color: var(--brand-light);
}
.transform-text {
  font-size: 15px;
  line-height: 1.5;
}
.transform-before .transform-text {
  color: rgba(255, 255, 255, 0.55);
}
.transform-after .transform-text {
  color: rgba(255, 255, 255, 0.88);
}

/* ====================================================
     NEWSLETTER STRIP
  ==================================================== */
#newsletter {
  background: var(--cream);
  padding: 70px 0;
  border-top: 1px solid var(--n200);
  border-bottom: 1px solid var(--n200);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  background: white;
  border: 1px solid var(--n200);
  border-radius: var(--rad-xl);
  padding: 40px 48px;
  box-shadow: var(--sh-md);
}
.nl-text {
  flex: 1;
}
.nl-text h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}
.nl-text p {
  font-size: 15px;
  color: var(--n500);
}
.nl-form {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  min-width: 380px;
}
.nl-input {
  flex: 1;
  background: var(--n50);
  border: 1.5px solid var(--n200);
  border-radius: 50px;
  padding: 13px 20px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: var(--n900);
  outline: none;
  transition: border-color 0.2s;
}
.nl-input:focus {
  border-color: var(--brand);
  background: white;
}
.btn-nl {
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: var(--sh-btn);
  white-space: nowrap;
}
.btn-nl:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 147, 115, 0.4);
}
.nl-success {
  display: none;
  text-align: center;
  font-weight: 700;
  color: var(--brand);
  font-size: 16px;
}

.sidebar-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
  cursor: pointer;
}

.sidebar-lesson:hover {
  background: #f5f7fb;
  color: var(--brand);
}

.lesson-dash {
  width: 16px;
  text-align: center;
  font-weight: 600;
  color: #6b7280;
  flex-shrink: 0;
}

.lesson-title-text {
  flex: 1;
}

/* Hide old icons if they still exist */
.lesson-check,
.lesson-lock,
.lesson-type-icon {
  display: none !important;
}

.lesson-card-top {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.lesson-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.lesson-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 147, 115, 0.15) 0%,
    rgba(10, 147, 115, 0.35) 45%,
    rgba(10, 147, 115, 0.75) 100%
  );
  transition: 0.35s ease;
}

.lesson-card:hover .lesson-thumb {
  transform: scale(1.08);
}

.lesson-card:hover .lesson-overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 147, 115, 0.1) 0%,
    rgba(10, 147, 115, 0.45) 45%,
    rgba(10, 147, 115, 0.85) 100%
  );
}

#ceesa-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: clamp(640px, 100vh, 1080px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--brand-deep);
  isolation: isolate;
}

/* ---- Video Background ---- */
.ceesa-hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ceesa-hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.85);
}

/* ---- Gradient Overlay (left→right) ---- */
.ceesa-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(10, 77, 70, 0.92) 0%,
    rgba(18, 118, 109, 0.82) 18%,
    rgba(27, 168, 156, 0.65) 38%,
    rgba(73, 212, 199, 0.4) 58%,
    rgba(126, 229, 219, 0.18) 78%,
    rgba(73, 212, 199, 0.06) 100%
  );
}

/* ---- Texture ---- */
.ceesa-hero-texture {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ---- Floating Kana ---- */
.ceesa-hero-kana-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.ceesa-kana-char {
  position: absolute;
  font-family:
    "Hiragino Kaku Gothic Pro", "Noto Sans JP", "Yu Gothic", "MS Gothic",
    sans-serif;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 40px rgba(73, 212, 199, 0.18);
  animation: ceesaFloatKana 14s ease-in-out infinite;
  user-select: none;
  will-change: transform;
}
@keyframes ceesaFloatKana {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.1;
  }
  15% {
    transform: translateY(-28px) rotate(4deg) scale(1.08);
    opacity: 0.16;
  }
  30% {
    transform: translateY(-12px) rotate(-3deg) scale(0.94);
    opacity: 0.09;
  }
  45% {
    transform: translateY(-36px) rotate(6deg) scale(1.12);
    opacity: 0.18;
  }
  60% {
    transform: translateY(-6px) rotate(-5deg) scale(0.96);
    opacity: 0.11;
  }
  75% {
    transform: translateY(-22px) rotate(2deg) scale(1.05);
    opacity: 0.14;
  }
  90% {
    transform: translateY(-16px) rotate(-2deg) scale(0.98);
    opacity: 0.1;
  }
}

/* ---- Content Left Aligned ---- */
.ceesa-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  margin-left: 0;
  padding: 120px 40px 100px 60px;
  text-align: left;
}
.ceesa-hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 680px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.ceesa-hero-title .ceesa-highlight {
  position: relative;
  color: black;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(73, 212, 199, 0.28) 60%
  );
  padding: 0 4px;
  white-space: nowrap;
  text-shadow: 0 0 50px rgba(73, 212, 199, 0.45);
}
.ceesa-hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 36px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

/* ---- Buttons ---- */
.ceesa-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  color: var(--white);
}
.ceesa-btn-hero-primary,
.ceesa-btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.15);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.ceesa-btn-hero-primary {
  background: var(--brand);
  color: var(--brand-deep);
  box-shadow: var(--shadow-btn);
  border: none;
}
.ceesa-btn-hero-primary:hover {
  background: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(73, 212, 199, 0.5);
}
.ceesa-btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.ceesa-btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---- Scroll Button ---- */
.ceesa-hero-scroll-btn {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.15);
  animation: ceesaBounceDown 2.2s ease-in-out infinite;
  backdrop-filter: blur(6px);
}
.ceesa-hero-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 30px rgba(73, 212, 199, 0.35);
}
@keyframes ceesaBounceDown {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(14px);
  }
}

/* ---- Wave ---- */
.ceesa-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 5;
  pointer-events: none;
  line-height: 0;
}
.ceesa-hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}
.ceesa-hero-wave svg path {
  fill: var(--white);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .ceesa-hero-content {
    padding: 100px 32px 80px 40px;
    max-width: 100%;
  }
  .ceesa-hero-title {
    max-width: 560px;
  }
  .ceesa-hero-sub {
    max-width: 440px;
  }
  .ceesa-hero-gradient-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 77, 70, 0.9) 0%,
      rgba(18, 118, 109, 0.78) 25%,
      rgba(27, 168, 156, 0.58) 50%,
      rgba(73, 212, 199, 0.3) 72%,
      rgba(126, 229, 219, 0.1) 100%
    );
  }
}

@media (max-width: 768px) {
  #ceesa-hero {
    min-height: auto;
    height: auto;
    min-height: 100svh;
  }
  .ceesa-hero-content {
    padding: 100px 24px 90px 28px;
    text-align: left;
  }
  .ceesa-hero-title {
    max-width: 100%;
    font-size: clamp(2rem, 7vw, 3rem);
  }
  .ceesa-hero-sub {
    max-width: 100%;
    font-size: 1rem;
  }
  .ceesa-hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .ceesa-btn-hero-primary,
  .ceesa-btn-hero-outline {
    justify-content: center;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
  .ceesa-hero-gradient-overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 77, 70, 0.88) 0%,
      rgba(18, 118, 109, 0.75) 30%,
      rgba(27, 168, 156, 0.55) 55%,
      rgba(73, 212, 199, 0.28) 78%,
      rgba(126, 229, 219, 0.08) 100%
    );
  }
  .ceesa-hero-scroll-btn {
    bottom: 70px;
    width: 40px;
    height: 40px;
  }
  .ceesa-kana-char {
    display: none;
  }
  .ceesa-kana-char:nth-child(1),
  .ceesa-kana-char:nth-child(3),
  .ceesa-kana-char:nth-child(6) {
    display: block;
  }
}

@media (max-width: 480px) {
  .ceesa-hero-content {
    padding: 80px 18px 80px 20px;
  }
  .ceesa-hero-title {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
  }
  .ceesa-hero-sub {
    font-size: 0.95rem;
  }
  .ceesa-btn-hero-primary,
  .ceesa-btn-hero-outline {
    padding: 13px 20px;
    font-size: 0.95rem;
    border-radius: 40px;
  }
  .ceesa-hero-scroll-btn {
    bottom: 55px;
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ceesa-kana-char {
    animation: none;
    opacity: 0.06;
  }
  .ceesa-hero-scroll-btn {
    animation: none;
  }
  .ceesa-btn-hero-primary:hover,
  .ceesa-btn-hero-outline:hover {
    transform: none;
  }
}

/*==================================
 CTA Banner
==================================*/

.jp-cta-banner {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: url("../images/272.jpg") center center/cover no-repeat;
}

.jp-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 17, 32, 0.78) 0%,
    rgba(27, 168, 156, 0.45) 45%,
    rgba(73, 212, 199, 0.18) 100%
  );
}

.jp-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.jp-cta-content h2 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.jp-cta-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 40px;
}

.jp-cta-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.jp-btn-brand {
  background: var(--brand);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.jp-btn-brand:hover {
  background: var(--brand-dark);
  color: #fff;
}

.jp-btn-light {
  background: #fff;
  color: var(--brand-dark);
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.jp-btn-light:hover {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 768px) {
  .jp-cta-banner {
    padding: 80px 0;
    text-align: center;
  }

  .jp-cta-content {
    max-width: 100%;
  }

  .jp-cta-buttons {
    justify-content: center;
  }

  .jp-btn-brand,
  .jp-btn-light {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* =====================================
   Ceesa Recent Blogs – Grid + Pagination
===================================== */

.ceesa-recent-blogs-section {
  padding: 100px 0 70px;
  background: #fff;
}

.ceesa-all-blogs-section {
  padding: 0 0 100px;
  background: #fff;
}

.ceesa-recent-blogs-heading,
.ceesa-all-blogs-heading {
  max-width: 720px;
  margin: 0 auto 46px;
}

.ceesa-all-blogs-heading {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.ceesa-recent-blogs-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.ceesa-recent-blogs-heading h2,
.ceesa-all-blogs-heading h3 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--dark-navy);
  margin-bottom: 18px;
}

.ceesa-all-blogs-heading h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0;
}

.ceesa-recent-blogs-heading p {
  color: var(--n700);
  font-size: 1.05rem;
  line-height: 1.8;
}

.ceesa-featured-blogs-carousel-wrap {
  position: relative;
}

.ceesa-recent-blogs-slider {
  padding-bottom: 48px;
}

.ceesa-recent-blogs-nav {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.ceesa-recent-blogs-nav-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(5, 20, 25, 0.12);
  cursor: pointer;
  transition: 0.3s ease;
}

.ceesa-recent-blogs-nav-btn:hover {
  background: var(--brand);
  color: #fff;
}

.ceesa-recent-blogs-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.ceesa-recent-blogs-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d9e8e5;
  opacity: 1;
  transition: 0.3s ease;
}

.ceesa-recent-blogs-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 999px;
  background: var(--brand);
}

/* Card – fill column height, keep min-height for consistency */
.ceesa-recent-blog-card {
  height: 100%;
  min-height: 470px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  transition: 0.4s;
  box-shadow: 0 18px 45px rgba(5, 20, 25, 0.12);
}

.ceesa-recent-blog-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: #fff;
}

.ceesa-recent-blog-image,
.ceesa-recent-blog-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
  background: #e5e7eb;
}

.ceesa-recent-blog-card:hover .ceesa-recent-blog-image {
  transform: scale(1.08);
}

.ceesa-recent-blog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 17, 32, 0.95) 5%,
    rgba(18, 118, 109, 0.7) 40%,
    rgba(73, 212, 199, 0.25) 70%,
    rgba(73, 212, 199, 0) 100%
  );
}

.ceesa-recent-blog-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 5;
}

.ceesa-recent-blog-category {
  display: inline-block;
  padding: 8px 18px;
  background: var(--brand);
  color: #fff;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.ceesa-recent-blog-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ceesa-recent-blog-excerpt {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.8;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ceesa-recent-blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #fff;
}

.ceesa-recent-blog-read-more {
  font-weight: 700;
}

.ceesa-recent-blog-read-more i {
  margin-left: 6px;
  transition: 0.3s;
}

.ceesa-recent-blog-card:hover .ceesa-recent-blog-read-more i {
  transform: translateX(5px);
}

.ceesa-recent-blog-card:hover {
  transform: translateY(-8px);
}

.ceesa-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.ceesa-view-all-link i {
  transition: 0.3s;
}

.ceesa-view-all-link:hover i {
  transform: translateX(4px);
}

.ceesa-recent-blogs-empty {
  text-align: center;
  color: var(--n700);
  padding: 24px 0 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .ceesa-recent-blog-card {
    min-height: 430px;
  }

  .ceesa-recent-blog-title {
    font-size: 24px;
  }

  .ceesa-recent-blogs-nav {
    right: 8px;
  }
}

@media (max-width: 767px) {
  .ceesa-recent-blog-card {
    min-height: 390px;
  }

  .ceesa-recent-blog-content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .ceesa-recent-blog-title {
    font-size: 21px;
  }

  .ceesa-recent-blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #fff;
    border-top: 2px solid rgba(0, 0, 0, 0.4);
    padding-top: 16px;
    margin-top: 8px;
  }

  .ceesa-all-blogs-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .ceesa-recent-blogs-nav {
    position: static;
    transform: none;
    justify-content: center;
    flex-direction: row;
    margin-top: 16px;
  }
}

.ceesa-load-more-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.ceesa-load-more-btn:hover {
  background: var(--dark-navy);
  transform: translateY(-2px);
}

.ceesa-load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* === HERO SECTION WITH FEATURED IMAGE & GRADIENT OVERLAY === */
.article-hero {
  position: relative; /* Ensures the pseudo-element is positioned correctly */
  background-size: cover; /* Cover the whole area */
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
  /* Keep a fallback background color in case there’s no featured image */
  background-color: var(--ceesa-primary, #0a1f44);
  overflow: hidden; /* Keeps the wave and overlay inside */
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Solid brand-darker layer, then faded via mask or second overlay */
  background: linear-gradient(
    to right,
    var(--brand-darker) 0%,
    transparent 75%
  );
  opacity: 0.95; /* tone down the solid color if desired */
}

/* Make sure the text container and wave sit above the overlay */
.article-hero .container-xl.article-hero-inner {
  position: relative;
  z-index: 2;
}

/* The decorative kana letter – place it above the overlay but behind the main content */
.article-hero-kana {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05); /* Very subtle, adjust as desired */
  z-index: 3; /* Above the overlay, below .article-hero-inner (which has z-index: 2 but the kana is a sibling; order works) */
  pointer-events: none;
  line-height: 1;
}

/* The wave – also above the overlay so it stays white */
.article-hero-wave {
  position: relative;
  z-index: 2;
}

.article-hero::before {
  background: linear-gradient(
    to right,
    #12766d 0%,
    /* solid brand-darker */ rgba(18, 118, 109, 0) 75%
      /* fades to transparent */
  );
}

/* --- Related Articles Responsive --- */
.sb-related-thumb {
  width: 80px;
  min-width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 6px;
  flex-shrink: 0;
}
.sb-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback letter styling (keep as is) */
.sb-related-thumb[style*="background"] {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Stack vertically on mobile */
@media (max-width: 575.98px) {
  .sb-related {
    flex-direction: column;
    align-items: flex-start;
  }
  .sb-related-thumb {
    width: 100%;
    min-width: auto;
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
  }
  .sb-related-thumb img {
    height: auto;
  }
}

.page-hero--has-image {
  position: relative !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.page-hero--has-image {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--brand-darker);
}

.page-hero--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    var(--brand-darker) 0%,
    transparent 75%
  );
}

.page-hero--has-image .page-hero-content,
.page-hero--has-image .page-hero-wave {
  position: relative;
  z-index: 2;
}

.page-hero--has-image .page-hero-kana {
  z-index: 3;
}

/* CEO Photo Wrapper */
.ceo-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ceo-photo-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%; /* 20% from the top, horizontal centre */
  border: 6px solid var(--brand);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--n50);
}

/* Signature style */
.ceo-signature {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--n600);
  border-top: 2px solid var(--brand-light);
  padding-top: 1rem;
  display: inline-block;
}

/* Adjust the floating badge to fit the new context */
.mission-badge-float {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.mbf-icon {
  font-size: 22px;
  color: var(--brand);
}

.mission-bento-section {
  background: var(--n50);
  padding: 90px 0;
}

/* 3‑column bento grid */
.mission-bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Individual bento blocks */
.bento-block {
  background: #fff;
  border-radius: 20px;
  padding: 35px 28px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Left accent stripe */
.bento-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--brand);
}

/* Icon container */
.bento-block-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--brand-dark);
}

.bento-block-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--brand-darker);
}

.bento-block-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--n500);
  margin: 0;
}

/* -------- Bento sizing (desktop) -------- */
/* Mission: occupies 2 columns and spans 2 rows */
.bento-block--mission {
  grid-column: span 2;
  grid-row: span 2;
}

/* Vision and Goal each occupy 1 column, auto row height */
.bento-block--vision,
.bento-block--goal {
  grid-column: span 1;
}

/* -------- Responsive: stack all -------- */
@media (max-width: 767.98px) {
  .mission-bento {
    grid-template-columns: 1fr;
  }
  .bento-block--mission {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-block {
    padding: 28px 22px;
  }
}

#team .team-card a,
#team .team-card a * {
  pointer-events: none !important;
  cursor: default !important;
}

/* ---- MCQ Exam ---- */
.mcq-exam-wrapper {
  margin: 32px 0 24px;
  border: 1px solid var(--n300, #e0e0e0);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mcq-exam-header {
  margin-bottom: 20px;
}
.mcq-exam-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--brand, #0a9373);
}
.mcq-exam-sub {
  font-size: 0.9rem;
  color: var(--n400, #666);
  margin: 0;
}
.mcq-progress-bar {
  height: 6px;
  background: var(--n200, #eee);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mcq-progress-fill {
  height: 100%;
  background: var(--brand, #0a9373);
  transition: width 0.3s;
}
.mcq-progress-text {
  text-align: right;
  font-size: 0.8rem;
  color: var(--n400);
  margin-bottom: 16px;
}
.mcq-question-card {
  background: var(--n50, #f9f9f9);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}
.mcq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.mcq-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.mcq-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--n300);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 500;
}
.mcq-option:hover {
  border-color: var(--brand);
  background: #f5fef9;
}
.mcq-option.selected {
  border-color: var(--brand);
  background: #e6faf3;
  box-shadow: 0 0 0 2px var(--brand);
}
.mcq-option.correct {
  border-color: #22c55e;
  background: #f0fdf4;
}
.mcq-option.wrong {
  border-color: #ef4444;
  background: #fef2f2;
}
.mcq-option.disabled {
  pointer-events: none;
  opacity: 0.85;
}
.mcq-radio {
  width: 18px;
  height: 18px;
  border: 2px solid var(--n400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mcq-option.selected .mcq-radio {
  border-color: var(--brand);
  background: var(--brand);
}
.mcq-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: none;
}
.mcq-option.selected .mcq-radio::after {
  display: block;
}
.mcq-feedback {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 8px;
}
.mcq-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.btn-mcq {
  padding: 8px 20px;
  border: 1px solid var(--n300);
  background: #fff;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  color: var(--n700, #333);
}
.btn-mcq:hover:not(:disabled) {
  background: var(--n100);
}
.btn-mcq:disabled {
  opacity: 0.4;
  cursor: default;
}
.btn-submit {
  background: var(--brand, #0a9373);
  color: #fff;
  border-color: var(--brand);
  width: 100%;
  padding: 12px;
  font-size: 1rem;
}
.btn-submit:hover:not(:disabled) {
  background: #078260;
}
.btn-retry {
  background: #f59e0b;
  color: #fff;
  border: none;
  padding: 10px 24px;
  margin-top: 12px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}
.btn-retry:hover {
  background: #d97706;
}
.mcq-results {
  text-align: center;
  font-weight: 600;
  margin-top: 12px;
  font-size: 1rem;
}
