/* =========================================================
   ETHICALTRADING.IN — LUXURY FINTECH STYLESHEET
   Author: EthicalTrading Design System
   ========================================================= */

/* ---------- FONT IMPORTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter+Tight:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- CSS VARIABLES (DARK / LIGHT) ---------- */
:root {
  /* Brand palette */
  --bg-deep: #050816;
  --bg-darker: #02030a;
  --bg-card: rgba(15, 18, 32, 0.65);
  --bg-card-solid: #0c1020;
  --gold: #D4AF37;
  --gold-glow: #F5C542;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --gold-line: rgba(212, 175, 55, 0.25);
  --white: #FFFFFF;
  --text-gray: #B0B0B0;
  --text-mute: #6b6f80;
  --green-up: #1ec28b;
  --red-down: #ef4f6b;
  --border-soft: rgba(255,255,255,0.08);

  /* Fonts */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --maxw: 1280px;
  --radius: 18px;
  --radius-sm: 10px;

  /* Easings */
  --ease: cubic-bezier(.2,.7,.2,1);
}

[data-theme="light"] {
  /* Editorial financial-journal palette — warm ivory paper, forest green, bronze */
  --bg-deep: #f4eee0;          /* warm ivory parchment */
  --bg-darker: #ebe3d0;         /* deeper cream */
  --bg-card: rgba(255, 252, 244, 0.85);
  --bg-card-solid: #fffcf4;
  --gold: #0d5f4a;              /* forest emerald (now the primary accent) */
  --gold-glow: #14785d;         /* slightly brighter emerald */
  --gold-soft: rgba(13, 95, 74, 0.08);
  --gold-line: rgba(13, 95, 74, 0.22);
  --white: #1a1814;             /* near-black ink */
  --text-gray: #54483a;          /* warm sepia text */
  --text-mute: #8a7a64;
  --border-soft: rgba(74, 56, 36, 0.14);
  --green-up: #0d5f4a;
  --red-down: #a8331f;
  --bronze: #8a6a2d;            /* secondary bronze accent */
}

/* Light mode — paper texture + warm noise overlay */
[data-theme="light"] body {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(138, 106, 45, 0.06), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(13, 95, 74, 0.04), transparent 50%);
}

[data-theme="light"] .ambient::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(13, 95, 74, 0.06), transparent 40%),
    radial-gradient(circle at 85% 82%, rgba(138, 106, 45, 0.05), transparent 42%);
}

[data-theme="light"] .ambient::after {
  background-image:
    linear-gradient(rgba(74, 56, 36, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 56, 36, 0.05) 1px, transparent 1px);
}

/* Hide gold-dust particles in light mode (looks wrong on cream paper) */
[data-theme="light"] #particles-canvas { opacity: 0; }

/* Light mode buttons — emerald primary, bronze secondary feel */
[data-theme="light"] .btn-gold {
  background: linear-gradient(135deg, #14785d, #0d5f4a);
  color: #fffcf4;
  box-shadow: 0 8px 24px -8px rgba(13, 95, 74, 0.4);
}
[data-theme="light"] .btn-gold:hover {
  box-shadow: 0 14px 36px -8px rgba(13, 95, 74, 0.55);
}

/* Light mode brand text */
[data-theme="light"] .brand-mark svg text:first-of-type { fill: #1a1814 !important; }
[data-theme="light"] .logo-svg svg text:first-of-type { fill: #1a1814 !important; }

/* Light mode — bull silhouette becomes paper-cut style */
[data-theme="light"] .hero-bull path[fill="url(#bullFill)"] {
  fill: #2a2418 !important;
}
[data-theme="light"] .hero-visual {
  background:
    radial-gradient(circle at 30% 50%, rgba(13, 95, 74, 0.08), transparent 60%),
    linear-gradient(180deg, #ebe3d0, #d8cdb0);
}

/* Light mode chart candles */
[data-theme="light"] .hero-chart rect[fill="url(#candleUp)"] { fill: #0d5f4a !important; }

/* Light mode ticker */
[data-theme="light"] .ticker { background: rgba(235, 227, 208, 0.6); }
[data-theme="light"] .ticker-item .ch.up { color: #0d5f4a; }
[data-theme="light"] .ticker-item .ch.down { color: #a8331f; }

/* Light mode gold-text gradient becomes emerald-bronze */
[data-theme="light"] .gold-text {
  background: linear-gradient(135deg, #14785d, #0d5f4a 50%, #8a6a2d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Light mode glass cards — paper feel with bronze edge */
[data-theme="light"] .glass {
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 4px 20px -8px rgba(74, 56, 36, 0.15);
}
[data-theme="light"] .glass:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 20px 40px -16px rgba(74, 56, 36, 0.25);
}

/* Light mode floating card — readable */
[data-theme="light"] .hero-floating-card {
  background: rgba(255, 252, 244, 0.95);
  border-color: rgba(13, 95, 74, 0.3);
}
[data-theme="light"] .hero-floating-card .delta { color: #0d5f4a; }

/* Light mode scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track { background: #ebe3d0; }
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(#14785d, #0d5f4a);
}

/* Light mode selection */
[data-theme="light"] ::selection { background: #0d5f4a; color: #fffcf4; }

/* Light mode mobile nav */
[data-theme="light"] .mobile-nav { background: #fffcf4; }

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.005em;
  min-height: 100vh;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; }

/* ---------- AMBIENT BACKGROUND (PARTICLES + GRID) ---------- */
.ambient {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(212,175,55,0.10), transparent 38%),
    radial-gradient(circle at 85% 82%, rgba(212,175,55,0.07), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(245,197,66,0.04), transparent 60%);
}
.ambient::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
[data-theme="light"] .ambient::after {
  background-image:
    linear-gradient(rgba(180,138,31,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,138,31,0.07) 1px, transparent 1px);
}

#particles-canvas {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .7;
}

main, .navbar, .footer { position: relative; z-index: 2; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.h-italic { font-style: italic; color: var(--gold); }
.gold-text {
  background: linear-gradient(135deg, var(--gold-glow), var(--gold) 50%, #8d6e1c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- LAYOUT UTILITIES ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head p { color: var(--text-gray); margin-top: 18px; font-size: 1.05rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-glow), var(--gold));
  color: #0a0a14;
  box-shadow: 0 10px 40px -10px rgba(212,175,55,0.6);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 55px -10px rgba(212,175,55,0.8);
}
.btn-gold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(100%); }
.btn-ghost {
  border: 1px solid var(--gold-line);
  color: var(--white);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .4s var(--ease);
  background: rgba(5,8,22,0.4);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5,8,22,0.85);
  border-bottom: 1px solid var(--border-soft);
}
[data-theme="light"] .navbar { background: rgba(247,243,234,0.7); }
[data-theme="light"] .navbar.scrolled { background: rgba(247,243,234,0.95); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand .logo-svg { width: 34px; height: 34px; }
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  position: relative;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand span.dot { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 38px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-gray);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  color: var(--text-gray);
  transition: all .3s var(--ease);
}
.theme-toggle:hover {
  color: var(--gold);
  border-color: var(--gold-line);
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  width: 22px; height: 1.5px; background: var(--white);
  transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: min(360px, 85vw); height: 100vh;
  background: var(--bg-darker);
  border-left: 1px solid var(--gold-line);
  padding: 100px 32px 40px;
  transition: right .5s var(--ease);
  z-index: 99;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--white);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }

/* ---------- GLASS CARD ---------- */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  position: relative;
  transition: all .4s var(--ease);
}
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-line), transparent 40%, transparent 60%, var(--gold-line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.glass:hover::before { opacity: 1; }
.glass:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: all .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all .9s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-soft);
  padding: 90px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--text-gray);
  margin: 20px 0;
  max-width: 360px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  color: var(--text-gray);
  font-size: 0.92rem;
}
.footer-col ul li a:hover { color: var(--gold); }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: grid; place-items: center;
  color: var(--text-gray);
  transition: all .3s var(--ease);
}
.socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  color: var(--text-mute);
  font-size: 0.85rem;
}
.disclaimer {
  background: rgba(212,175,55,0.04);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 40px;
  font-size: 0.85rem;
  color: var(--text-gray);
  display: flex; align-items: flex-start; gap: 12px;
}
.disclaimer svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }

/* ---------- LOGO MARK (SVG-based ET monogram) ---------- */
.logo-svg {
  width: 42px; height: 42px;
  position: relative;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), #8d6e1c);
  border-radius: 10px;
}

/* ---------- SELECTION ---------- */
::selection { background: var(--gold); color: var(--bg-deep); }

/* ---------- TICKER STRIP ---------- */
.ticker {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(2,3,10,0.6);
  overflow: hidden;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.ticker-track {
  display: flex; gap: 48px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; }
.ticker-item .sym { color: var(--text-gray); letter-spacing: 0.1em; }
.ticker-item .px { color: var(--white); }
.ticker-item .ch.up { color: var(--green-up); }
.ticker-item .ch.down { color: var(--red-down); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-gold { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Light mode: hero labels become readable */
[data-theme="light"] .hero-label {
  background: rgba(255, 252, 244, 0.92);
  color: #0d5f4a;
  border-color: rgba(13, 95, 74, 0.3);
}

/* Light mode: course thumbnail SVG inner rects need contrast override */
[data-theme="light"] .course-thumb svg rect[fill="#0a0d1a"] {
  fill: #2a2418 !important;
}

/* Light mode: tighten the dark backgrounds inside event/testimonial decorations */
[data-theme="light"] .testimonial .avatar {
  background: linear-gradient(135deg, #14785d, #0d5f4a);
  color: #fffcf4;
}

/* Light mode: lock-text & lock-ico backgrounds in courses already overridden but make sure pill is visible */
[data-theme="light"] .courses-grid.locked .course-card .lock-badge .lock-text {
  color: #0d5f4a;
  border-color: rgba(13, 95, 74, 0.35);
}
[data-theme="light"] .courses-grid.locked .course-card .lock-badge .lock-ico {
  color: #0d5f4a;
  border-color: #0d5f4a;
  box-shadow: 0 0 20px rgba(13, 95, 74, 0.3);
}

/* Light mode: footer brand mark - swap white E for dark */
[data-theme="light"] .footer .brand text { fill: #1a1814 !important; }
[data-theme="light"] .navbar .brand text { fill: #1a1814 !important; }

/* Light mode: course-thumb level/duration pills */
[data-theme="light"] .course-thumb .level,
[data-theme="light"] .course-thumb .duration {
  background: rgba(255, 252, 244, 0.92);
  color: #0d5f4a;
}

/* Light mode: disclaimer */
[data-theme="light"] .disclaimer {
  background: rgba(13, 95, 74, 0.05);
}

/* Light mode: hide grid pattern slightly to look more paper-like */
[data-theme="light"] .map-grid {
  background-image:
    linear-gradient(rgba(13, 95, 74, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 95, 74, 0.08) 1px, transparent 1px);
}

/* Light mode: map pin emerald */
[data-theme="light"] .map-card .pin {
  background: #0d5f4a;
  box-shadow: 0 0 40px rgba(13, 95, 74, 0.5);
}
[data-theme="light"] .map-card .pin::after { background: #fffcf4; }

/* Light mode: form fields */
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select,
[data-theme="light"] .search-box input,
[data-theme="light"] .newsletter input {
  background-color: rgba(255, 252, 244, 0.7);
  color: #1a1814;
}
[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus,
[data-theme="light"] .field select:focus {
  background-color: #ffffff;
  border-color: #0d5f4a;
}

/* Light mode: ticker text color override */
[data-theme="light"] .ticker-item .sym,
[data-theme="light"] .ticker-item .px { color: #1a1814; }

/* Light mode: coming-soon banner background depth */
[data-theme="light"] .coming-soon-banner {
  background:
    radial-gradient(circle at 20% 0%, rgba(13, 95, 74, 0.1), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(138, 106, 45, 0.08), transparent 60%),
    rgba(255, 252, 244, 0.7);
}

/* Light mode: pillar big number should stay readable */
[data-theme="light"] .pillar .big {
  color: #14785d;
  opacity: 0.15;
}

/* Light mode: testimonial quote */
[data-theme="light"] .testimonial .quote { color: #0d5f4a; opacity: 0.3; }

/* Light mode: hamburger lines */
[data-theme="light"] .hamburger span { background: #1a1814; }

/* Light mode: event date / day */
[data-theme="light"] .event .date .day { color: #0d5f4a; }

/* Light mode: timeline dots and stroke */
[data-theme="light"] .timeline::before {
  background: linear-gradient(180deg, #0d5f4a, transparent);
}
[data-theme="light"] .tl-item::before {
  background: #f4eee0;
  border-color: #0d5f4a;
}
[data-theme="light"] .tl-item .yr { color: #0d5f4a; }

/* Light mode: feature-num & service num-tag */
[data-theme="light"] .feature-num,
[data-theme="light"] .service-card .num-tag,
[data-theme="light"] .course-body .cat,
[data-theme="light"] .crumbs { color: #0d5f4a; }

/* Light mode: course card progress bar uses emerald */
[data-theme="light"] .course-progress .bar {
  background: linear-gradient(90deg, #14785d, #0d5f4a);
}

/* Light mode: course preview link */
[data-theme="light"] .course-footer a { color: #0d5f4a; }

/* Light mode: btn-ghost — make sure border is visible against cream bg */
[data-theme="light"] .btn-ghost {
  border-color: rgba(13, 95, 74, 0.4);
  color: #1a1814;
  background: rgba(255, 252, 244, 0.5);
}
[data-theme="light"] .btn-ghost:hover {
  border-color: #0d5f4a;
  background: rgba(13, 95, 74, 0.08);
  color: #0d5f4a;
}

/* Light mode: select dropdown options + arrow */
[data-theme="light"] .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%230d5f4a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
[data-theme="light"] .field select option {
  background-color: #fffcf4;
  color: #1a1814;
}
