:root {
  color-scheme: dark;
  font-family: 'Inter', sans-serif;
  color: #eef2ff;
  background: #050816;
  --bg: #060a1d;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: rgba(10, 16, 36, 0.95);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --primary: #8b5cf6;
  --primary-soft: rgba(139, 92, 246, 0.18);
  --accent: #22d3ee;
  --white: #f8fafc;
  --dark: #02070f;
  --glass: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.22), transparent 20%),
    radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.16), transparent 18%),
    linear-gradient(180deg, #050816 0%, #06122a 100%);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.notification-bar {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 0;
  position: relative;
}

.notification-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}

.hero-section {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 3rem 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #2563eb;
  font-weight: 700;
}

.hero-section h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2.5rem, 3vw, 4rem);
  color: var(--dark);
}

.hero-copy {
  margin: 1.25rem 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18);
}

.btn-secondary {
  background: var(--surface);
  color: var(--dark);
}

.hero-panel {
  display: grid;
}

.panel-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.panel-card h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.panel-card ul {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.panel-card.panel-highlight {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(37, 99, 235, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.badge.soft {
  background: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

.btn-block {
  width: 100%;
  text-align: center;
}

.video-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-card {
  background: var(--white);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-card h3 {
  margin-top: 0;
}

.video-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
}

.video-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--dark);
}

.progress-wrap {
  margin-top: 1rem;
}

.progress-wrap p,
.progress-wrap small {
  margin: 0;
  color: var(--muted);
}

.progress-track {
  width: 100%;
  height: 0.8rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin: 0.75rem 0;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 999px;
}

.live-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.session-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-card.live-session {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.85));
  border-color: rgba(37, 99, 235, 0.32);
}

.session-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.session-card h3 {
  margin: 0.5rem 0 0;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .tagline-grid,
  .expansion-grid,
  .income-grid,
  .video-grid,
  .live-grid {
    grid-template-columns: 1fr;
  }
}

.section-dark {
  background: #0f172a;
  color: #f8fafc;
}

.white-heading h2,
.section-dark h2 {
  color: #f8fafc;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.cards-grid,
.pricing-grid,
.feature-grid,
.tagline-grid,
.expansion-grid,
.income-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.courses-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.course-card h3 {
  margin-top: 0;
  color: var(--dark);
  font-size: 1.25rem;
}

.course-card p {
  color: var(--muted);
  margin: 1rem 0;
}

.course-actions {
  margin-top: 1.5rem;
}

.start-learning-btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.start-learning-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.3);
}

.card,
.pricing-card,
.feature-card,
.tagline-card,
.expansion-card,
.income-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.section-dark .card,
.section-dark .pricing-card,
.section-dark .feature-card,
.section-dark .tagline-card,
.section-dark .expansion-card,
.section-dark .income-card {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: none;
}

.card h3 {
  margin-top: 0;
  color: var(--dark);
}

.section-dark .card h3 {
  color: #f8fafc;
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.upgrade-card {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 2px solid #d1d5db;
  opacity: 0.8;
}

.upgrade-card h3 {
  color: #6b7280;
}

.upgrade-card ul li {
  color: #9ca3af;
}

.upgrade-card .btn {
  background: #6b7280;
  border-color: #6b7280;
}

.upgrade-card .btn:hover {
  background: #4b5563;
  border-color: #4b5563;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  position: relative;
  overflow: hidden;
}

.plan-label {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #2563eb;
}

.pricing-card h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.pricing-card ul,
.feature-card,
.tagline-card,
.expansion-card,
.income-card {
  color: var(--muted);
}

.recommended {
  border: 2px solid rgba(37, 99, 235, 0.18);
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.feature-card,
.tagline-card,
.expansion-card,
.income-card {
  display: flex;
  align-items: center;
  min-height: 120px;
  font-weight: 600;
}

.tagline-grid,
.expansion-grid,
.income-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tagline-card,
.expansion-card,
.income-card {
  color: var(--dark);
  background: #eff6ff;
}

.section-dark .tagline-card,
.section-dark .expansion-card,
.section-dark .income-card {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.site-footer {
  padding: 2.5rem 0;
  background: rgba(15, 23, 42, 0.95);
  color: #cbd5e1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.pricing-detail {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.plan-features {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.plan-features h3 {
  margin-top: 0;
  color: var(--dark);
}

.plan-features ul {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
  color: var(--muted);
}

.signup-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.signup-form h3 {
  margin-top: 0;
  color: var(--dark);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.success-message {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.payment-details {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.payment-details h3 {
  margin-top: 0;
  color: var(--dark);
}

.payment-details ul {
  margin: 1rem 0 0;
  padding-left: 1.5rem;
  color: var(--muted);
}

.next-steps {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.support-info {
  margin-top: 2rem;
  color: var(--muted);
}

.support-info a {
  color: #2563eb;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .tagline-grid,
  .expansion-grid,
  .income-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
    align-self: flex-end;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

.hero-section {
  position: relative;
  min-height: 90vh;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.22), transparent 22%),
    radial-gradient(circle at bottom left, rgba(34, 211, 238, 0.14), transparent 20%),
    linear-gradient(135deg, #050816 0%, #0c1731 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.22);
  filter: blur(100px);
  animation: drift 12s infinite alternate ease-in-out;
}

@keyframes drift {
  to {
    transform: translate(-36px, 48px);
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 6rem 0 4rem;
}

.hero-copy-wrap h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.02;
  color: #f8fbff;
}

.hero-tagline {
  margin: 1rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy {
  margin: 1.5rem 0 2rem;
  max-width: 36rem;
  color: #c7d2fe;
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-metric-card,
.hero-banner,
.tool-card,
.course-card,
.dashboard-card,
.community-card,
.gamification-card,
.certificate-card,
.creator-card,
.feature-card,
.pricing-card {
  border-radius: 1.75rem;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  color: #f8fbff;
}

.hero-metric-card span {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: white;
}

.hero-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.banner-pill {
  display: inline-flex;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feature-card,
.tool-card,
.course-card,
.dashboard-card,
.community-card,
.gamification-card,
.certificate-card,
.creator-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-grid,
.courses-grid,
.live-grid,
.dashboard-grid,
.community-grid,
.gamification-grid,
.certificate-grid,
.creator-grid,
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

.tool-grid,
.courses-grid,
.community-grid,
.gamification-grid,
.certificate-grid,
.creator-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.history-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.history-list li {
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.pricing-compare {
  margin-top: 2rem;
}

.pricing-table {
  display: grid;
  gap: 0.75rem;
}

.pricing-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
}

.pricing-head {
  font-weight: 700;
  background: rgba(139, 92, 246, 0.14);
}

.pricing-row span {
  color: #e2e8f0;
}

.progress-track.dark {
  background: rgba(255, 255, 255, 0.12);
}

.progress-track.dark span {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
}

.site-header {
  background: rgba(5, 10, 28, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand,
.nav-links a {
  color: #eef2ff;
}

.mobile-menu-toggle span {
  background: #eef2ff;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  color: white;
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #eef2ff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section-dark {
  background: linear-gradient(180deg, #050816 0%, #0b1131 100%);
  color: #eef2ff;
}

.section-light {
  background: rgba(10, 18, 45, 0.96);
  color: #eef2ff;
}

.card,
.pricing-card,
.feature-card,
.tagline-card,
.expansion-card,
.income-card,
.video-card,
.session-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef2ff;
}

.section-dark .tagline-card,
.section-dark .expansion-card,
.section-dark .income-card {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .tagline-grid,
  .expansion-grid,
  .income-grid,
  .video-grid,
  .live-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
    align-self: flex-end;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}
