/* AMAN Trading Class — shared styles. Mobile-first, white theme. */

:root {
  --ink: #08080C;
  --bg: #FFFFFF;
  --paper: #F6F6F3;
  --mute: #5C5C66;
  --soft: #8A8A93;
  --line: #E6E6E9;
  --lime: #C6F432;   /* buttons only */
  --gut: 20px;
  --max: 1080px;
  --bar-h: 76px;

  --f-my: "Noto Sans Myanmar", "Myanmar Text", "Padauk", system-ui, sans-serif;
  --f-en: "Space Grotesk", "Noto Sans Myanmar", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-my);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.en { font-family: var(--f-en); }
.mono { font-family: var(--f-mono); }
.mute { color: var(--mute); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--f-my); font-weight: 700; font-size: 17px; line-height: 1.5;
  text-decoration: none; text-align: center;
  border: 1.5px solid var(--ink);
  transition: transform .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #b9e81f; border-color: #b9e81f; }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn .arrow { font-family: var(--f-en); font-weight: 500; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 6px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 48px; height: 18px; border-radius: 4px; object-fit: cover; }
.brand span { font-family: var(--f-en); font-weight: 700; font-size: 14px; letter-spacing: .08em; display: none; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px;
  font-size: 14px; text-decoration: none; color: var(--mute); white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav-cta {
  min-height: 44px; padding: 6px 14px; font-size: 14px; margin-left: 4px;
}
.nav-cta .long { display: none; }
@media (min-width: 400px) { .brand span { display: inline; } }
@media (min-width: 720px) {
  .nav-link { font-size: 15px; padding: 0 12px; }
  .nav-cta .long { display: inline; }
  .nav-cta .short { display: none; }
  .nav-cta { padding: 6px 20px; }
}

/* ---------- Level label: section marker drawn like a chart price line ---------- */
.level {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--soft);
}
.level::before {
  content: ""; flex: 1; height: 0; border-top: 1px dashed #CFCFD4;
  order: 1;
}
.level .tag {
  order: 2;
  background: var(--ink); color: #fff;
  padding: 3px 8px; border-radius: 3px;
  font-size: 11px; letter-spacing: .04em;
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 88px 0; } }
.sec-title { font-size: clamp(26px, 7vw, 40px); line-height: 1.6; letter-spacing: -.005em; margin-bottom: 18px; }
.sec-lead { font-size: 17px; color: var(--mute); max-width: 36em; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 24px; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 20px;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.eyebrow span::before { content: "— "; color: #C2C2C8; }
.eyebrow span:first-child::before { content: ""; }
.hero h1 {
  font-size: clamp(34px, 10vw, 66px);
  line-height: 1.55;
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.hero h1 .en { letter-spacing: -.03em; }
.hero-sub { font-size: 18px; color: var(--mute); max-width: 30em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.hero-note { font-size: 14px; color: var(--mute); line-height: 1.7; display: flex; gap: 10px; align-items: flex-start; }
.hero-note .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin-top: 8px; }

.chart {
  margin: 44px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0 8px;
}
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .cdl line { stroke: var(--ink); stroke-width: 1.25; }
.chart .cdl.dn rect { fill: var(--ink); stroke: var(--ink); stroke-width: 1.25; }
.chart .cdl.up rect { fill: #fff; stroke: var(--ink); stroke-width: 1.25; }
.chart .sr { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; }
.chart .sr-tag rect { fill: var(--ink); }
.chart .sr-tag text { fill: #fff; font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .04em; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart-cap {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; color: var(--soft); letter-spacing: .04em;
  margin-top: 8px;
}
@media (prefers-reduced-motion: no-preference) {
  .chart .cdl { opacity: 0; animation: cdl-in .5s ease forwards; animation-delay: calc(var(--i) * 70ms + 200ms); }
  .chart .sr { stroke-dashoffset: 300; animation: sr-in 1.6s ease forwards .3s; }
  @keyframes cdl-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
  @keyframes sr-in { to { stroke-dashoffset: 0; } }
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 40px; }
  .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn { width: auto; }
  .chart { margin: 0; }
}

/* ---------- About ---------- */
.about-lines { font-size: clamp(19px, 5vw, 24px); line-height: 1.9; max-width: 34em; }
.about-lines p { margin-bottom: .9em; }
.about-lines strong { font-weight: 700; }
.about-sign {
  display: flex; align-items: center; gap: 14px; margin-top: 28px;
  font-family: var(--f-en); font-size: 15px;
}
.about-sign .mono-av {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--f-en); font-weight: 700; font-size: 18px;
}
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.fact {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .03em;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--mute);
}

/* ---------- Reviews ---------- */
.quotes { display: grid; gap: 40px; }
.quote { margin: 0; }
.shot {
  display: block; width: 100%; padding: 0; border: 0; background: var(--ink);
  border-radius: 14px; overflow: hidden; cursor: zoom-in; position: relative;
}
.shot img { width: 100%; }
.shot::after {
  content: "↗"; position: absolute; right: 10px; top: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: grid; place-items: center; font-family: var(--f-en); font-size: 14px;
}
.quote figcaption { margin-top: 14px; }
.quote .src { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.quote .say { font-size: 18px; line-height: 1.8; margin-top: 4px; }
.link-more {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 36px;
  font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px;
}
.link-more:hover { text-decoration-thickness: 3px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; } }

/* image fallback */
.shot.broken { min-height: 120px; background: var(--paper); cursor: default; }
.shot.broken img { display: none; }
.shot.broken::after { content: "ပုံ မပေါ်ပါ"; width: auto; height: auto; position: static; display: block; padding: 40px 16px; background: none; color: var(--soft); font-family: var(--f-my); font-size: 14px; }

/* ---------- Pricing ---------- */
.prices { display: grid; gap: 16px; margin-top: 36px; }
.price {
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px 24px;
  display: flex; flex-direction: column; position: relative; background: #fff;
}
.price.best { border: 2px solid var(--ink); }
.price .badge {
  position: absolute; top: -13px; left: 22px;
  background: var(--ink); color: #fff; border-radius: 999px;
  font-size: 13px; font-weight: 700; padding: 2px 12px; line-height: 1.9;
}
.price h3 { font-family: var(--f-en); font-size: 20px; letter-spacing: -.01em; }
.price .for { font-size: 15px; color: var(--mute); margin: 4px 0 18px; line-height: 1.7; }
.price .amt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 4px; }
.price .num { font-family: var(--f-en); font-weight: 700; font-size: 40px; letter-spacing: -.03em; line-height: 1.1; }
.price .cur { font-family: var(--f-mono); font-size: 13px; color: var(--mute); }
.price .was { font-family: var(--f-en); font-size: 17px; color: var(--soft); text-decoration: line-through; width: 100%; line-height: 1.3; }
.price .once { font-size: 13px; color: var(--mute); margin-bottom: 18px; }
.price ul { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 24px; flex: 1; }
.price li { font-size: 15px; line-height: 1.7; padding: 5px 0 5px 22px; position: relative; }
.price li::before {
  content: ""; position: absolute; left: 3px; top: 13px; width: 7px; height: 7px;
  border: 1.5px solid var(--ink); border-radius: 1px;
}
.price .btn { width: 100%; min-height: 52px; font-size: 16px; }
@media (min-width: 900px) {
  .prices { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .price.best { transform: translateY(-10px); }
}

/* ---------- Refund ---------- */
.refund {
  background: var(--paper);
  border-radius: 24px;
  padding: 40px 24px;
}
.refund .stamp {
  font-family: var(--f-en); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.04em;
  margin-bottom: 18px;
}
.refund blockquote {
  margin: 0; font-size: clamp(20px, 5.4vw, 28px); line-height: 1.85; font-weight: 600; max-width: 26em;
}
.refund .scope { font-size: 14px; color: var(--mute); margin-top: 18px; }
@media (min-width: 900px) { .refund { padding: 64px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font-size: 18px; font-weight: 600; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; }
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s ease; }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 0 22px; color: var(--mute); max-width: 36em; }

/* ---------- Final CTA ---------- */
.final { padding: 88px 0 64px; }
.final h2 { font-size: clamp(30px, 8.5vw, 54px); line-height: 1.55; margin-bottom: 16px; }
.final .join { font-size: 18px; color: var(--mute); max-width: 32em; margin-bottom: 30px; }
.final .acts { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.final .tg { font-size: 14px; color: var(--mute); margin-top: 6px; }
.final .tg b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 32px; font-size: 14px; color: var(--mute); line-height: 1.8; }
footer .risk { max-width: 44em; margin-bottom: 24px; }
footer .risk strong { color: var(--ink); }
footer .foot-row { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
footer .foot-row a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
footer .foot-row a:hover { color: var(--ink); }
footer .copy { font-family: var(--f-mono); font-size: 12px; margin-top: 12px; }

/* ---------- Fixed bottom CTA bar (phones) ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .25s ease;
}
.bar .btn { width: 100%; min-height: 54px; }
.bar.hide { transform: translateY(110%); }
@media (min-width: 900px) {
  .bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Course page ---------- */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(32px, 9vw, 58px); line-height: 1.55; margin-bottom: 14px; }
.page-head p { font-size: 18px; color: var(--mute); max-width: 32em; }

.track-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 8px; }
.track-head h2 { font-family: var(--f-en); font-size: clamp(30px, 8vw, 44px); letter-spacing: -.03em; line-height: 1.2; }
.track-head .p { font-family: var(--f-mono); font-size: 13px; color: var(--mute); }
.track-sub { color: var(--mute); margin-bottom: 26px; }

.lessons { counter-reset: l; border-top: 1px solid var(--ink); }
.lessons li {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 8px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.lessons .n { font-family: var(--f-mono); font-size: 13px; color: var(--soft); padding-top: 4px; }
.lessons .t { font-size: 18px; font-weight: 600; line-height: 1.7; }
.lessons .d { grid-column: 2; font-size: 15px; color: var(--mute); line-height: 1.75; }

.zoom {
  margin-top: 28px; padding: 22px; border-radius: 16px; background: var(--paper);
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
}
.zoom .live {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin-top: 10px;
  box-shadow: 0 0 0 4px rgba(8,8,12,.08);
}
.zoom b { font-size: 17px; }
.zoom .when { font-family: var(--f-en); font-size: 16px; }
.zoom p { grid-column: 2; margin: 0; font-size: 15px; color: var(--mute); }

@media (min-width: 900px) {
  .tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* comparison table */
.cmp-wrap { margin-top: 28px; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.6; }
.cmp th, .cmp td { padding: 14px 6px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; word-wrap: break-word; }
.cmp th:first-child, .cmp td:first-child { text-align: left; padding-left: 0; width: 34%; }
.cmp thead th { font-family: var(--f-en); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); line-height: 1.35; }
.cmp thead th.best { background: var(--ink); color: #fff; border-radius: 8px 8px 0 0; }
.cmp td.best { background: var(--paper); font-weight: 600; }
.cmp .yes::before { content: "●"; font-size: 10px; }
.cmp .no { color: #C2C2C8; }
.cmp .num { font-family: var(--f-en); font-weight: 700; font-size: 14px; }
@media (min-width: 640px) { .cmp { font-size: 16px; } .cmp th, .cmp td { padding: 16px 12px; } .cmp thead th { font-size: 16px; } .cmp .num { font-size: 18px; } }

/* ---------- Reviews page ---------- */
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.group-head h2 { font-size: clamp(24px, 6.5vw, 34px); line-height: 1.6; }
.group-head .count { font-family: var(--f-mono); font-size: 12px; color: var(--soft); }
.wall { display: grid; gap: 36px; }
@media (min-width: 640px) { .wall { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (min-width: 980px) { .wall { grid-template-columns: repeat(3, 1fr); } }
.wall .quote .say { font-size: 16px; }
.wall .shot { max-height: 460px; }
.page-head .eyebrow { font-size: 12px; color: var(--mute); margin-bottom: 16px; }
.disclaim {
  margin-top: 40px; padding: 18px 20px; border-left: 3px solid var(--ink); background: var(--paper);
  font-size: 15px; color: var(--mute); line-height: 1.8; border-radius: 0 12px 12px 0;
}

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(8,8,12,.94);
  align-items: center; justify-content: center;
  padding: 56px 12px calc(24px + env(safe-area-inset-bottom));
}
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; }
.lb-close {
  position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.lb-close:focus-visible { outline-color: #fff; }
body.lb-on { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
