@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-hover: #161616;
  --surface-alt: #1A1A1A;
  --gold: #FFD700;
  --gold-glow: rgba(255, 215, 0, 0.25);
  --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
  --purple: #6A11CB;
  --purple-glow: rgba(106, 17, 203, 0.3);
  --purple-gradient: linear-gradient(135deg, #6A11CB 0%, #4B0082 100%);
  --success: #00FF00;
  --success-glow: rgba(0, 255, 0, 0.2);
  --danger: #FF416C;
  --danger-glow: rgba(255, 65, 108, 0.2);
  --muted: #A0A0A0;
  --muted-light: #C0C0C0;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 215, 0, 0.4);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: #FFFFFF;
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background: var(--gold);
  color: #000;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
}

/* Layout Utilities */
.site-wrapper {
  flex: 1 0 auto;
  padding-top: 80px; /* Essential clearance for fixed navbar so text never mixes with header */
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(14px, 3vw, 24px);
  padding-right: clamp(14px, 3vw, 24px);
}

.container-narrow {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(14px, 3vw, 24px);
  padding-right: clamp(14px, 3vw, 24px);
}

/* Navbar - Premium Glassy Header with Zero Blurs */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: #0B0D13; /* Crisp solid base preventing any bleed-through */
  background: linear-gradient(180deg, rgba(17, 20, 28, 0.98) 0%, rgba(9, 11, 15, 0.98) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: all 0.25s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  background: #08090D;
  background: linear-gradient(180deg, rgba(14, 16, 23, 0.99) 0%, rgba(7, 8, 11, 0.99) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.9);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Link & Glassy Logo Frame */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px 14px 6px 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.brand-link:hover {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.brand-logo-frame {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 0, 0.65) 100%);
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

.brand-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.brand-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: #FFFFFF;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-gold {
  color: #FFD700;
  background: linear-gradient(135deg, #FFD700 0%, #FF9900 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.gold-button {
  background: var(--gold-gradient);
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.gold-button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.gold-button:active {
  transform: scale(0.98);
}

.gold-button-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.gold-button-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.purple-button {
  background: var(--purple-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--purple-glow);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.purple-button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(106, 17, 203, 0.45);
}

.purple-button:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.5);
  color: var(--gold);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-drawer.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 17, 203, 0.15) 0%, rgba(255, 215, 0, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(1.85rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Ticker Marquee */
.ticker-container {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

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

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.ticker-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.ticker-status.up {
  color: var(--success);
}

.ticker-status.down {
  color: var(--danger);
}

.ticker-amount {
  font-weight: 700;
  color: #FFFFFF;
}

.ticker-asset {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.ticker-time {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

/* Sections */
.section-padding {
  padding: 90px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Cards */
.card-dark {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(18px, 4vw, 32px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-dark:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.card-glow-purple {
  position: absolute;
  top: 0;
  right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(106, 17, 203, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.card-glow-gold {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* EA Cards */
.ea-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}

.stat-box-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-box-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.badge-verified {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.25);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.icon-badge-gold {
  background: var(--gold-gradient);
  color: #000;
  box-shadow: 0 4px 15px var(--gold-glow);
}

.icon-badge-purple {
  background: var(--purple-gradient);
  color: #FFF;
  box-shadow: 0 4px 15px var(--purple-glow);
}

/* Feature List */
.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.bullet-purple {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 8px;
  flex-shrink: 0;
}

/* Course Cards */
.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.course-thumb {
  height: 160px;
  background: linear-gradient(135deg, #3A0C75 0%, #150530 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  min-height: 52px;
}

.course-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--muted);
}

/* PAMM & Calculators */
.calc-card {
  background: var(--surface);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.calc-display-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.calc-big-num {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 16px 0;
  line-height: 1;
}

.input-slider {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  outline: none;
  margin-bottom: 12px;
}

.input-slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.input-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.input-currency-wrapper {
  display: flex;
  align-items: center;
  background: #000;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 18px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.input-currency-wrapper:focus-within {
  border-color: var(--gold);
}

.currency-sym {
  color: var(--muted);
  font-weight: 700;
  font-size: 1.25rem;
  margin-right: 8px;
}

.input-number {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 1.25rem;
  font-weight: 700;
  width: 100%;
  outline: none;
}

/* Activity stream */
.activity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--surface-alt);
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.activity-user {
  font-weight: 600;
  color: #FFFFFF;
}

.activity-val {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.activity-val.pos {
  color: var(--success);
}

.activity-val.neg {
  color: var(--danger);
}

/* Disclaimer */
.disclaimer-box {
  background: #151515;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 80px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Utilities */
.text-gold { color: var(--gold); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--muted); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }
.text-center { text-align: center; }

/* Multi-Device Screen Scaling (13 Target Profiles) */
@media (min-width: 2560px) {
  .container {
    max-width: 2100px;
  }
  .grid-3 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .container {
    max-width: 1680px;
  }
}

/* Tablet & Landscape Grid Adaptation (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Course Detail Responsive Layout */
.course-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: flex-start;
}

.course-detail-grid > * {
  min-width: 0;
}

.course-detail-sticky {
  position: sticky;
  top: 100px;
}

@media (max-width: 1023px) {
  .course-detail-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .course-detail-sticky {
    position: static;
  }
}

/* PAMM Stat Grid Responsive */
.pamm-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 32px;
}

@media (max-width: 480px) {
  .pamm-stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 12px;
    padding: 14px 0;
  }
}

/* Student Portal License Box Grid */
.license-box-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 768px) {
  .license-box-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}


