/* ============================================================
   FARSAN PSX — Premium dark theme
   Gold (#f5c518) primary accent, green (#22c55e) positive/CTA
   System font stack only. No external fonts or images.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-alt: #101012;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --border: #2a2a30;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --gold: #f5c518;
  --gold-dark: #c9a227;
  --gold-soft: rgba(245, 197, 24, 0.12);
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-soft: rgba(34, 197, 94, 0.12);
  --red: #ef4444;
  --radius: 14px;
  --radius-small: 9px;
  --header-height: 68px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --transition: 0.25s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

img,
svg,
iframe {
  max-width: 100%;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

a { color: var(--gold); }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #0a0a0b;
  padding: 0.6rem 1rem;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow { width: min(820px, 100% - 2.5rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-small { padding: 0.5rem 1.1rem; font-size: 0.92rem; }
.btn-block { display: flex; width: 100%; margin-top: 0.7rem; }

.btn-icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex: none;
}

.btn-gold { background: var(--gold); color: #171300; }
.btn-gold:hover { background: var(--gold-dark); color: #171300; }

.btn-green { background: var(--green); color: #04150a; }
.btn-green:hover { background: var(--green-dark); color: #ffffff; }

.btn-youtube { background: var(--red); color: #ffffff; }
.btn-youtube:hover { background: #c81e1e; color: #ffffff; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  flex: none;
}

.logo-mark { width: 38px; height: 38px; }
.logo-bg { fill: #17171b; stroke: var(--border); }
.logo-line-gold {
  stroke: var(--gold); stroke-width: 5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.logo-line-green {
  stroke: var(--green); stroke-width: 5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

.logo-text { font-weight: 900; font-size: 1.25rem; letter-spacing: 0.04em; }
.logo-accent { color: var(--gold); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.primary-nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  max-height: calc(100dvh - var(--header-height) - 24px);
  overflow-y: auto;
}

.primary-nav.open { display: block; }

.nav-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-small);
}
.nav-link:hover { background: var(--surface-2); color: var(--gold); }

.nav-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(700px 340px at 85% -60px, var(--gold-soft), transparent 65%),
    radial-gradient(600px 300px at 5% 110%, var(--green-soft), transparent 60%),
    var(--bg);
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-mentor {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.hero-mentor strong { color: var(--gold); }

.mentor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
}

.mentor-photo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
  background: var(--surface-2);
}

.mentor-name {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.mentor-roles {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.6rem, 9vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--gold);
  text-shadow: 0 4px 30px rgba(245, 197, 24, 0.25);
  margin-bottom: 0.35em;
}

.hero-sub {
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
}

.hero-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 0.8rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.15rem;
  text-align: center;
}

.stat-value {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--gold);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--gold);
  color: #171300;
  overflow: hidden;
  padding: 0.55rem 0;
  border-block: 3px solid #0a0a0b;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-right: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 0.95rem;
}

.ticker-dot { color: var(--green-dark); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  text-align: center;
  margin-bottom: 1rem;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-text p { color: var(--text-muted); }
.about-text strong { color: var(--text); }

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.about-points li {
  display: flex;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.about-points h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.about-points p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.point-icon {
  width: 30px;
  height: 30px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover { transform: translateY(-4px); border-color: var(--gold-dark); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--text-muted); margin: 0; }

.card-icon {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

/* ---------- Videos ---------- */
.videos-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-body { padding: 1.1rem 1.25rem 1.3rem; }
.video-body h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.video-body h3 a { color: var(--text); text-decoration: none; }
.video-body h3 a:hover { color: var(--gold); }
.video-meta { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.video-card-cta { justify-content: center; }
.video-body-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 100%;
  padding: 2rem 1.5rem;
}
.video-body-center p { color: var(--text-muted); }

/* ---------- Course ---------- */
.badge-soon {
  display: table;
  margin: 0 auto 1.2rem;
  background: var(--gold);
  color: #171300;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
}

.course-box {
  background: var(--surface);
  border: 1px solid var(--gold-dark);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.course-box h3 { color: var(--gold); font-size: 1.35rem; }
.course-note { color: var(--text-muted); font-size: 0.95rem; }

.curriculum {
  list-style: none;
  counter-reset: lesson;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.curriculum li {
  counter-increment: lesson;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  padding: 1rem 1.2rem 1rem 3.6rem;
  position: relative;
}

.curriculum li::before {
  content: counter(lesson);
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--gold);
  color: #171300;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.curriculum h4 { margin-bottom: 0.2rem; font-size: 1.05rem; }
.curriculum p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.course-cta {
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.course-cta p { font-weight: 700; }

/* ---------- Premium ---------- */
.premium-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.premium-benefits,
.premium-join {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.premium-join {
  border-color: var(--green-dark);
  background: linear-gradient(180deg, var(--green-soft), var(--surface) 55%);
  text-align: center;
}

.premium-benefits h3,
.premium-join h3 { font-size: 1.3rem; }

.check-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304150a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

.premium-note { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.premium-join p { color: var(--text-muted); }

.premium-number {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 0.6rem 0 1rem;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.8rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-heading { margin: 0; font-size: 1rem; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
}
.faq-question:hover { color: var(--gold); }

.faq-chevron {
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  transform: rotate(45deg);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(225deg); }

.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { color: var(--text-muted); margin: 0; }

/* ---------- Socials ---------- */
.social-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  color: var(--text);
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition);
}

.social-card:hover { transform: translateY(-4px); border-color: var(--gold); color: var(--text); }

.social-icon { width: 34px; height: 34px; fill: var(--gold); margin-bottom: 0.4rem; }
.social-name { font-weight: 800; }
.social-handle { color: var(--text-muted); font-size: 0.9rem; overflow-wrap: anywhere; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: #141005;
  border-top: 2px solid var(--gold-dark);
  padding: 3.5rem 0;
}

.disclaimer-title {
  color: var(--gold);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.disclaimer p { color: #d6cfae; font-size: 0.97rem; }
.disclaimer strong { color: #ffffff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #060607;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.2rem;
}

.footer-inner {
  display: grid;
  gap: 1.6rem;
  justify-items: center;
  text-align: center;
}

.footer-tagline { color: var(--text-muted); margin: 0.6rem 0 0; }

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.footer-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 640px;
  margin: 0;
}

.footer-copy { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  background: var(--surface);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
  box-shadow: var(--shadow);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: #171300; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .primary-nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: 1.6rem;
  }

  .nav-list {
    flex-direction: row;
    margin: 0;
    gap: 0.2rem;
  }

  .nav-link { padding: 0.5rem 0.65rem; }

  .hero { text-align: left; }
  .hero-layout { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
  .hero-intro { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .mentor-card { margin-inline: 0; justify-self: end; }

  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
  .premium-grid { grid-template-columns: 1.15fr 1fr; }
  .social-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 6rem 0 4.5rem; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3.2rem 0; }
  .hero-ctas .btn { width: 100%; }
  .course-box { padding: 1.4rem; }
  .premium-benefits, .premium-join { padding: 1.3rem; }
  .premium-number { font-size: clamp(1.25rem, 7.5vw, 1.7rem); letter-spacing: 0.04em; overflow-wrap: anywhere; }
  .stat-value { font-size: 1.6rem; }
  .mentor-card { padding: 1.4rem 1.1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .social-card:hover { transform: none; }
}
