:root {
  --premium-gold: #f3c969;
  --premium-gold-soft: rgba(243, 201, 105, .22);
  --premium-lime-soft: rgba(185, 255, 102, .24);
  --premium-shadow: 0 24px 70px rgba(17, 23, 19, .13);
}

html {
  background: #0d130f;
}

body {
  background:
    radial-gradient(circle at 9% 4%, rgba(185, 255, 102, .32), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(243, 201, 105, .28), transparent 24%),
    radial-gradient(circle at 50% 47%, rgba(17, 23, 19, .06), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, var(--cream) 42%, #efe9dc 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 23, 19, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 23, 19, .028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .92), transparent 76%);
}

.announcement {
  background: linear-gradient(90deg, #0d130f, #19251e 35%, #0d130f);
  color: #f7f0dc;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
}

.announcement span {
  background: var(--premium-gold);
  box-shadow: 0 0 18px rgba(243, 201, 105, .85);
}

.nav-wrap {
  background: rgba(255, 250, 240, .76);
  backdrop-filter: blur(22px) saturate(135%);
  border-bottom: 1px solid rgba(17, 23, 19, .08);
  box-shadow: 0 18px 45px rgba(17, 23, 19, .07);
}

.brand {
  letter-spacing: -.04em;
}

.brand-mark {
  background: linear-gradient(135deg, var(--lime), var(--premium-gold));
  box-shadow: 0 10px 24px rgba(103, 148, 38, .28);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--premium-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.button,
.round-button {
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(17, 23, 19, .16);
}

.button::before,
.round-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 12%, rgba(255, 255, 255, .28) 42%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .75s ease;
}

.button:hover::before,
.round-button:hover::before {
  transform: translateX(120%);
}

.button > *,
.round-button > * {
  position: relative;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 82px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(17, 23, 19, .08);
  border-radius: 50%;
  box-shadow:
    56px 36px 0 -32px rgba(185, 255, 102, .72),
    96px -18px 0 -48px rgba(243, 201, 105, .72);
  animation: float-orb 8s ease-in-out infinite;
}

.hero::after {
  content: "TRADE SMART";
  position: absolute;
  right: 1%;
  top: 34px;
  z-index: -1;
  color: rgba(17, 23, 19, .035);
  font: 800 clamp(58px, 10vw, 140px) var(--font-display);
  letter-spacing: -.08em;
  white-space: nowrap;
}

.eyebrow {
  color: #4d5b50;
}

.eyebrow .pulse {
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(185, 255, 102, .16), 0 0 24px rgba(106, 190, 36, .45);
}

.hero h1 em,
.section-heading h2 em,
.method h2 em,
.faq h2 em,
.cta-section h2 em {
  background: linear-gradient(90deg, #1b271f, #609f24 48%, #b78728);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  color: #56625a;
}

.trust-row {
  width: fit-content;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(17, 23, 19, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  box-shadow: 0 12px 35px rgba(17, 23, 19, .06);
}

.stars {
  color: #c59326;
}

.hero-visual .glow {
  background:
    radial-gradient(circle, rgba(185, 255, 102, .55), transparent 58%),
    radial-gradient(circle at 72% 35%, rgba(243, 201, 105, .38), transparent 46%);
  filter: blur(28px);
  animation: glow-breathe 4.8s ease-in-out infinite;
}

.dashboard {
  border: 1px solid rgba(243, 201, 105, .2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), transparent 28%),
    radial-gradient(circle at 82% 8%, rgba(185, 255, 102, .13), transparent 28%),
    #0c130f;
  box-shadow:
    0 30px 88px rgba(17, 23, 19, .34),
    0 0 0 8px rgba(255, 255, 255, .2),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.dashboard::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 35%),
    linear-gradient(90deg, transparent, rgba(243, 201, 105, .08), transparent);
}

.feed-state .dot {
  animation: market-pulse 1.6s ease-in-out infinite;
}

.market-controls button {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.float-card {
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 18px 45px rgba(17, 23, 19, .16);
}

.risk-card {
  animation: float-card-a 5.6s ease-in-out infinite;
}

.lesson-card {
  animation: float-card-b 6.2s ease-in-out infinite;
}

.ticker {
  background: linear-gradient(90deg, var(--lime), #dfff9f, var(--premium-gold), var(--lime));
  box-shadow: 0 18px 44px rgba(112, 180, 43, .22);
}

.ticker-inner {
  color: #122016;
}

.section-heading {
  position: relative;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 66px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--premium-gold));
}

.course-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(17, 23, 19, .1);
  box-shadow: 0 1px 0 rgba(17, 23, 19, .04);
  transform: translateZ(0);
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    radial-gradient(circle at 78% 0%, rgba(185, 255, 102, .22), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .64));
  transition: opacity .25s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--premium-shadow);
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover .course-icon {
  transform: rotate(-6deg) scale(1.07);
}

.course-icon {
  transition: transform .25s ease;
  box-shadow: inset 0 0 0 1px rgba(17, 23, 19, .06);
}

.course-card.featured {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 255, 255, .46), transparent 30%),
    linear-gradient(145deg, #c8ff78, var(--lime));
  box-shadow: 0 20px 54px rgba(107, 168, 32, .18);
}

.value-card {
  border: 2px solid rgba(243, 201, 105, .72);
  background:
    radial-gradient(circle at 82% 0%, rgba(243, 201, 105, .28), transparent 36%),
    linear-gradient(180deg, #fff, #f8fff0);
  box-shadow:
    0 24px 70px rgba(114, 163, 33, .22),
    0 0 0 7px rgba(243, 201, 105, .09);
  animation: value-glow 3.4s ease-in-out infinite;
}

.value-card::after {
  content: "";
  position: absolute;
  inset: -70% -40%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .62) 50%, transparent 58%);
  transform: translateX(-50%);
  animation: value-sweep 4.2s ease-in-out infinite;
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.value-card .badge {
  background: linear-gradient(135deg, var(--ink), #243229);
  color: var(--premium-gold);
  box-shadow: 0 8px 18px rgba(17, 23, 19, .16);
}

.value-ribbon {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #101713, #2a352d);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  box-shadow: 0 10px 22px rgba(17, 23, 19, .2);
}

.value-ribbon span {
  color: var(--premium-gold);
  font-size: 13px;
  animation: value-star 1.7s ease-in-out infinite;
}

.offer-pricing {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.original-price {
  color: #81877f;
  font: 700 14px var(--font-display);
  text-decoration-thickness: 2px;
  text-decoration-color: #e04f3e;
}

.offer-price {
  color: var(--ink);
  text-shadow: 0 8px 22px rgba(107, 168, 32, .18);
  animation: offer-pop .7s cubic-bezier(.2, .9, .3, 1.25) both;
}

.save-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #101713;
  color: var(--premium-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  animation: offer-pulse 2.2s ease-in-out infinite;
}

.method {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(185, 255, 102, .15), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(243, 201, 105, .11), transparent 28%),
    linear-gradient(135deg, #0b110d, #17251d);
}

.method::before {
  content: "PROCESS";
  position: absolute;
  right: -18px;
  bottom: -18px;
  color: rgba(255, 255, 255, .035);
  font: 800 clamp(76px, 16vw, 210px) var(--font-display);
  letter-spacing: -.08em;
}

.step {
  border-color: rgba(255, 255, 255, .13);
  transition: background .22s ease, padding-left .22s ease, border-color .22s ease;
}

.step:hover {
  padding-left: 14px;
  background: rgba(185, 255, 102, .05);
  border-color: rgba(185, 255, 102, .28);
}

.testimonial-grid blockquote,
details {
  box-shadow: 0 16px 44px rgba(17, 23, 19, .055);
}

.testimonial-grid blockquote {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.testimonial-grid blockquote::before {
  content: "“";
  position: absolute;
  right: 22px;
  top: -18px;
  color: rgba(185, 255, 102, .42);
  font: 900 96px Georgia, serif;
  line-height: 1;
}

.testimonial-grid blockquote:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 58px rgba(17, 23, 19, .1);
}

details {
  border-radius: 14px;
  padding-left: 16px;
  padding-right: 16px;
  background: rgba(255, 255, 255, .34);
  transition: background .2s ease, transform .2s ease;
}

details + details {
  margin-top: 10px;
}

details[open] {
  background: rgba(255, 255, 255, .72);
  transform: translateX(4px);
}

.cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .58), transparent 25%),
    linear-gradient(135deg, var(--lime), #dfff9c 52%, var(--premium-gold));
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: -80px;
  background-image: radial-gradient(rgba(17, 23, 19, .09) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}

.cta-inner {
  position: relative;
  z-index: 1;
}

footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(185, 255, 102, .11), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(243, 201, 105, .08), transparent 26%),
    #0b110d;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes float-orb {
  50% {
    transform: translateY(18px) translateX(8px);
  }
}

@keyframes glow-breathe {
  50% {
    transform: scale(1.05);
    opacity: .82;
  }
}

@keyframes market-pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(185, 255, 102, .1), 0 0 18px rgba(185, 255, 102, .75);
  }
}

@keyframes float-card-a {
  50% {
    transform: translateY(10px);
  }
}

@keyframes float-card-b {
  50% {
    transform: translateY(-10px);
  }
}

@keyframes value-glow {
  50% {
    border-color: var(--premium-gold);
    box-shadow:
      0 30px 86px rgba(114, 163, 33, .26),
      0 0 0 8px rgba(243, 201, 105, .13);
  }
}

@keyframes value-sweep {
  0%, 24% {
    transform: translateX(-58%);
  }
  72%, 100% {
    transform: translateX(58%);
  }
}

@keyframes value-star {
  50% {
    transform: rotate(90deg) scale(1.25);
  }
}

@keyframes offer-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.88);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes offer-pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(17, 23, 19, .08);
  }
}

@media (max-width: 900px) {
  .hero::before,
  .hero::after,
  .section-heading::after {
    display: none;
  }

  .trust-row {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 620px) {
  .trust-row {
    width: 100%;
    border-radius: 18px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  details[open] {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-visual .glow,
  .feed-state .dot,
  .risk-card,
  .lesson-card,
  .value-card,
  .value-card::after,
  .value-ribbon span,
  .offer-price,
  .save-badge,
  .button::before,
  .round-button::before,
  .reveal-ready {
    animation: none;
    transition: none;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}
