/* OBA FX TRADING ACADEMY — consolidated stylesheet
   Dark navy/black and gold theme. Matches the current index.html.
*/

:root {
  --bg: #080a0e;
  --surface: #10141c;
  --surface-raised: #151b25;
  --gold: #d4af37;
  --gold-light: #f0d77a;
  --text: #f4f6fa;
  --muted: #b9c3d3;
  --border: rgba(212, 175, 55, 0.24);
  --radius: 16px;
  --max-width: 1160px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(212, 175, 55, 0.07), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease; }
a:hover { color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }

/* Main navigation — deliberately kept above the hero */
body > nav {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 25px;
  margin: 10px 30px 0px;
  padding: 14px 16px;
  background: #11141b;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

body > nav a {
  display: inline-block;
  color: #e1e4eb;
  font-size: .92rem;
  font-weight: 650;
  padding: 2px 0;
}

body > nav a:hover,
body > nav a:focus-visible { color: var(--gold-light); }

/* Hero */
body > header {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 60px 20px 70px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, .13), transparent 58%),
    linear-gradient(145deg, #151b25 0%, #0b1019 55%, #080a0e 100%);
  border-bottom: 1px solid var(--border);
}

body > header img {
  display: block;
  width: 105px;
  max-height: 105px;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(212, 175, 55, .2);
}

body > header p:first-of-type,
.eyebrow {
  color: var(--gold);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body > header h1 {
  max-width: 920px;
  margin: 14px auto 18px;
  color: var(--gold-light);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.13;
  letter-spacing: -1.2px;
}

body > header p:last-of-type {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .94rem;
  font-weight: 750;
  text-align: center;
  line-height: 1.35;
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(212, 175, 55, .12);
}
.btn-primary:hover { color: #080a0e; background: #ffe89a; }

.btn-outline {
  color: var(--gold-light);
  background: transparent;
  border-color: rgba(212, 175, 55, .65);
}
.btn-outline:hover { color: #080a0e; background: var(--gold-light); }

/* Page sections */
main { width: 100%; }

section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 42px 32px;
}


section h2 {
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.25;
}

section h3 {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-size: 1.18rem;
  line-height: 1.35;
}

section > p:not(.eyebrow):not(.risk-note) {
  max-width: 850px;
  color: var(--muted);
}

.eyebrow { margin: 0 0 10px; }
section ul { padding-left: 22px; }
section li { margin: 7px 0; color: var(--muted); }

/* Cards and grids */
.card-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature-card,
.course-card,
.community-card {
  min-width: 0;
  padding: 25px;
  background: linear-gradient(145deg, rgba(21, 27, 37, .96), rgba(13, 17, 25, .96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card p,
.course-card p,
.community-card p { margin: 0 0 14px; color: var(--muted); }

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, .09);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1.2rem;
}

.course-card > a,
.feature-card > a,
.community-card > a,
.investor-note > a,
.video-info > a {
  display: inline-block;
  margin-top: 4px;
  color: var(--gold-light);
  font-weight: 750;
}
.course-card > a:hover,
.feature-card > a:hover,
.community-card > a:hover,
.investor-note > a:hover,
.video-info > a:hover { color: #fff; }

/* Volatility indices and risk note */
#volatility .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.risk-note {
  margin-top: 25px;
  padding: 14px 17px;
  color: #e2d6ad;
  background: rgba(212, 175, 55, .07);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: .91rem;
}

/* Mentorship and investor enquiries */
.pricing-card {
  max-width: 660px;
  margin: 28px auto 30px;
  padding: 32px;
  background: linear-gradient(145deg, #171d27, #0f131b);
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.pricing-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.price {
  margin: 4px 0 20px;
  color: var(--gold-light);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  font-weight: 850;
  line-height: 1.2;
}
.price span { color: var(--muted); font-size: 1rem; font-weight: 500; }

.pricing-card ul {
  display: inline-block;
  margin: 0 auto 24px;
  padding-left: 22px;
  text-align: left;
}
.pricing-card li { margin: 7px 0; color: var(--muted); }
.pricing-note { margin: 18px 0 0; color: var(--muted); font-size: .9rem; }

.investor-note {
  padding: 26px;
  background: #10141c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.investor-note p { color: var(--muted); }

/* YouTube video gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.video-card {
  min-width: 0;
  overflow: hidden;
  background: #11151d;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-info { padding: 20px; }
.video-info p { color: var(--muted); }
.video-info .video-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.video-info h3 { margin-bottom: 8px; }
.youtube-cta { margin-top: 28px; text-align: center; }
.youtube-cta p { color: var(--muted); }

/* Community */
#community .community-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Call to action */
#cta {
  max-width: none;
  width: calc(100% - 60px);
  margin: 15px auto;
  padding: 54px 32px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, .13), transparent 65%),
    #11151d;
  border: 1px solid var(--border);
  border-radius: 18px;
}
#cta h2 { border-bottom: 0; }
#cta > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }

/* Contact, disclaimer and footer */
#contact > p { overflow-wrap: anywhere; }
#contact i { width: 24px; color: var(--gold); }
#contact a { overflow-wrap: anywhere; }

#disclaimer {
  margin-top: 25px;
  padding-top: 38px;
  padding-bottom: 42px;
  background: rgba(255, 255, 255, .018);
  border-top: 1px solid rgba(212, 175, 55, .12);
  border-bottom: 1px solid rgba(212, 175, 55, .12);
}
#disclaimer p { color: var(--muted); font-size: .92rem; }

footer {
  padding: 28px 24px;
  background: #07090d;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}
footer p { margin: 6px 0; }
footer a { color: var(--gold-light); }

/* Keyboard accessibility */
a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 900px) {
  #volatility .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section { padding: 56px 26px; }
  body > nav { gap: 9px 18px; }
}

/* Mobile */
@media (max-width: 600px) {
  body { font-size: 15px; }
  body > nav {
    gap: 6px 15px;
    margin: 12px 12px 8px;
    padding: 12px 10px;
    border-radius: 11px;
  }
  body > nav a { font-size: .82rem; }
  body > header { padding: 44px 20px 52px; }
  body > header img { width: 82px; max-height: 82px; margin-bottom: 16px; }
  body > header p:first-of-type { font-size: .78rem; letter-spacing: 1.5px; }
  body > header h1 { font-size: clamp(1.9rem, 8vw, 2.7rem); letter-spacing: -.6px; }
  body > header p:last-of-type { font-size: .96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 330px; margin: 24px auto 0; }
  .btn { width: 100%; padding: 12px 16px; }
  section { padding: 46px 19px; }
  section h2 { font-size: 1.7rem; }
  .card-grid, .community-grid, #community .community-grid,
  #volatility .card-grid, .video-gallery { grid-template-columns: 1fr; gap: 15px; }
  .feature-card, .course-card, .community-card { padding: 21px; }
  .pricing-card { padding: 25px 20px; }
  .investor-note { padding: 21px; }
  #cta { width: calc(100% - 24px); padding: 38px 20px; }
  .video-info { padding: 18px; }
  footer { padding: 24px 17px; }
}

@media (max-width: 380px) {
  body > nav { gap: 5px 10px; }
  body > nav a { font-size: .77rem; }
  section { padding-left: 15px; padding-right: 15px; }
  .pricing-card { padding: 22px 16px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Navigation hover lift effect */
body > nav a {
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

body > nav a:hover {
  transform: translateY(-3px);
  color: var(--gold-light);
}


/* Course card hover effect */
.course-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.14);
}


@media (hover: none) {
  .course-card:hover {
    transform: none;
    box-shadow: none;
  }
}


/* Philosophy and Community Card Hover Effects */
.feature-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.14);
}

/* Disable hover lift on touch devices */
@media (hover: none) {
  .feature-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }
}


/* Premium Mentorship Card Hover Effect */
.pricing-card {
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.18);
}

/* Keep touchscreens comfortable */
@media (hover: none) {
  .pricing-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .pricing-card {
    transition: none;
  }
}


/* Mentorship Button Hover Effect */
.pricing-card .btn-primary {
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pricing-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .pricing-card .btn-primary {
    transition: none;
  }
}


/* Hero Button Hover Effects */
.hero-actions .btn {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-actions .btn {
    transition: none;
  }

  .hero-actions .btn:hover {
    transform: none;
  }
}

