/* ============================================
   THE DOPE CLOUD TEACHER - PROFESSIONAL STYLES
   Mobile-First Responsive Design
   ============================================ */

:root {
  --primary-purple: #6B46C1;
  --dark-purple: #4A2F7A;
  --accent-gold: #D4AF37;
  --dark-bg: #0F172A;
  --card-bg: #1E293B;
  --text-light: #F8FAFC;
  --text-gray: #CBD5E1;
  --border-color: #334155;
  --success-green: #10B981;
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--dark-bg);
  color: var(--text-light);
  font-size: 16px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  padding: 1rem 5%;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--accent-gold);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  height: 50px;
  width: 50px;
  margin-right: 12px;
  border-radius: 8px;
  border: 2px solid var(--accent-gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .main-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.5px;
}

.logo-text .subtitle {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s, transform 0.2s;
  position: relative;
}

nav.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s;
}

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

nav.nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO BANNER - PG PARKS SPECIAL
   ============================================ */

.demo-banner {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B8942E 100%);
  color: var(--dark-bg);
  padding: 3rem 5%;
  margin: 2rem 5% 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.demo-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
}

.demo-banner .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.value-prop {
  background: rgba(15, 23, 42, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.value-prop .stat {
  font-size: 2.5rem;
  font-weight: 800;
  display: block;
  color: var(--dark-bg);
  margin-bottom: 0.3rem;
}

.value-prop .label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-bg);
}

.demo-banner .cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.5rem;
  background: var(--dark-bg);
  color: var(--accent-gold);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.demo-banner .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

/* ============================================
   MAIN HERO SECTION
   ============================================ */

.hero {
  padding: 4rem 5% 3rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .highlight {
  color: var(--accent-gold);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-gray);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  padding: 1rem 2rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
}

.button-primary {
  background: var(--primary-purple);
  color: white;
}

.button-primary:hover {
  background: var(--dark-purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 70, 193, 0.4);
}

.button-secondary {
  background: var(--accent-gold);
  color: var(--dark-bg);
}

.button-secondary:hover {
  background: #B8942E;
  transform: translateY(-2px);
}

/* ============================================
   TRUST INDICATORS / PARTNER LOGOS
   ============================================ */

.trust-section {
  padding: 3rem 5%;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.trust-section h3 {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo {
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
  height: 50px;
  filter: grayscale(100%) brightness(1.5);
}

.partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0%) brightness(1);
}

/* Technology Stack Icons */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.tech-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.tech-icon:hover {
  transform: translateY(-5px);
}

.tech-icon i,
.tech-icon img {
  font-size: 3rem;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.tech-icon span {
  font-size: 0.8rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ============================================
   COURSE GRID
   ============================================ */

.courses-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-gray);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.module-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-purple), var(--accent-gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-purple);
}

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

.module-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.module-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.module-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.module-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.module-level {
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  background: rgba(107, 70, 193, 0.2);
  color: var(--primary-purple);
}

.per-class {
  display: block;
  font-size: 0.75rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* ============================================
   STATISTICS / CREDIBILITY SECTION
   ============================================ */

.stats-section {
  padding: 4rem 5%;
  background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
  text-align: center;
}

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

.stat-card {
  padding: 2rem 1rem;
}

.stat-card .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card .label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 3rem 5% 2rem;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent-gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================================
   MOBILE RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 768px) {
  header {
    padding: 1rem 4%;
  }
  
  .header-container {
    gap: 1rem;
  }
  
  .logo-img {
    height: 40px;
    width: 40px;
  }
  
  .logo-text .main-title {
    font-size: 1.1rem;
  }
  
  .logo-text .subtitle {
    font-size: 0.65rem;
  }
  
  nav.nav-links {
    display: none; /* Will be replaced with mobile menu */
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .demo-banner,
  .hero,
  .courses-section,
  .trust-section,
  .stats-section {
    padding-left: 4%;
    padding-right: 4%;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .button {
    width: 100%;
    text-align: center;
  }
  
  .value-props {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .partner-logos {
    gap: 2rem;
  }
  
  .partner-logo {
    height: 40px;
  }
  
  .tech-stack {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .demo-banner {
    margin: 1rem 3%;
    padding: 2rem 4%;
    border-radius: 12px;
  }
  
  .module-card {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

/* Focus states */
a:focus,
button:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}
