:root {
  --background: #ffffff;
  --foreground: #171717;
  --primary-marlan: #1a365d; /* Azul Marino */
  --secondary-marlan: #d1121d; /* Rojo */
  --accent-blue: #2a5288;
  --accent-red: #e6202c;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-800: #1f2937;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
    --primary-marlan: #2a5288; /* Slightly lighter for dark mode visibility */
    --secondary-marlan: #e6202c;
    --neutral-100: #1f2937;
    --neutral-200: #374151;
    --neutral-800: #f3f4f6;
  }
}

/* Navbar & Global UI */
body {
  font-family: var(--font-inter), sans-serif;
}

.main-content {
  min-height: calc(100vh - 300px);
  padding-top: 80px; /* Space for fixed navbar */
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid var(--neutral-800);
  }
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-marlan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-m {
  background: var(--secondary-marlan);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.desktop-menu {
  display: none;
}

@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover {
  color: var(--secondary-marlan);
}

.btn-primary {
  background: var(--primary-marlan);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary-marlan);
  color: var(--primary-marlan);
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--primary-marlan);
  color: white;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--background);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--neutral-200);
}

.mobile-link {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--neutral-100);
  font-weight: 500;
  background: none;
  border-left: none; border-right: none; border-top: none;
  text-align: left;
  cursor: pointer;
  color: var(--foreground);
}

/* Footer */
.footer {
  background: var(--neutral-800);
  color: var(--neutral-200);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

@media (prefers-color-scheme: dark) {
  .footer {
    background: #050505;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--neutral-400);
  line-height: 1.6;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--neutral-400);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: var(--neutral-400);
  font-size: 0.9rem;
}

/* Landing Page Styles */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .hero { background: var(--background); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
  text-align: center;
}

.badge {
  display: inline-block;
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-marlan);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .badge {
    background: rgba(42, 82, 136, 0.2);
    color: var(--accent-blue);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.hero-title span {
  color: var(--secondary-marlan);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--neutral-400);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-large {
  padding: 0.8rem 1.8rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
}

.shape-1 {
  background: rgba(209, 18, 29, 0.15); /* secondary red */
  width: 400px; height: 400px;
  top: -100px; right: -100px;
}

.shape-2 {
  background: rgba(26, 54, 93, 0.15); /* primary blue */
  width: 500px; height: 500px;
  bottom: -200px; left: -100px;
}

.features {
  padding: 5rem 0;
  background: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.feature-card {
  background: var(--neutral-100);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    background: rgba(255,255,255,0.03);
    border-color: var(--neutral-800);
  }
}

.feature-icon {
  color: var(--primary-marlan);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--neutral-400);
  line-height: 1.6;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Page Containers */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--primary-marlan);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--neutral-400);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Catalog Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.course-card {
  background: var(--background);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

@media (prefers-color-scheme: dark) {
  .course-card {
    background: var(--neutral-100);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.course-img-placeholder {
  height: 200px;
  background: var(--primary-marlan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
  font-weight: 800;
  position: relative;
}

.course-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--foreground);
}

.course-desc {
  color: var(--neutral-400);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .course-footer { border-color: var(--neutral-800); }
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-marlan);
}

.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--neutral-400);
  background: var(--neutral-100);
  border-radius: 12px;
}

@media (prefers-color-scheme: dark) {
  .empty-state { background: var(--neutral-800); }
}

.empty-state h2 {
  margin: 1rem 0 0.5rem;
  color: var(--foreground);
}

/* Detail Pages */
.detail-page {
  padding-top: 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-400);
  margin-bottom: 2rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--primary-marlan);
}

.detail-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .detail-header {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.detail-desc {
  font-size: 1.1rem;
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.detail-price-action {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.price-large {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-marlan);
}

.detail-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  aspect-ratio: 16 / 9;
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--primary-marlan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.1);
  font-size: 4rem;
  font-weight: 900;
}

.detail-modules {
  background: var(--background);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .detail-modules {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
  }
}

.detail-modules h2 {
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.modules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--neutral-100);
  border-radius: 8px;
  font-weight: 500;
}

@media (prefers-color-scheme: dark) {
  .module-item {
    background: var(--background);
  }
}

.text-primary {
  color: var(--primary-marlan);
}

.text-muted {
  color: var(--neutral-400);
}

/* Theater Mode Viewer Layout */
.theater-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: #0b0f19; /* Entire background is dark behind the video */
}

.theater-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
}

.theater-header .back-link {
  color: rgba(255, 255, 255, 0.7);
}

.theater-header .back-link:hover {
  color: white;
}

.viewer-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .viewer-layout {
    flex-direction: row;
    height: calc(100vh - 65px); /* Full height minus just the minimal theater header */
    overflow: hidden;
  }
  
  .viewer-main {
    flex: 1;
    overflow-y: auto;
    background: var(--neutral-50);
  }
  
  @media (prefers-color-scheme: dark) {
    .viewer-main { background: var(--background); }
  }

  .viewer-sidebar {
    width: 400px;
    flex-shrink: 0;
    overflow-y: auto;
    background: white;
    border-left: 1px solid var(--neutral-200);
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  @media (prefers-color-scheme: dark) {
    .viewer-sidebar { background: var(--background); border-left: 1px solid var(--neutral-800); }
  }
}

.video-theater-band {
  background: #0b0f19; /* deep dark blue/black */
  width: 100%;
  padding: 1rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1200px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.video-placeholder {
  aspect-ratio: 16/9;
  width: 100%;
  max-width: 1200px;
  background: #111827;
  color: var(--neutral-400);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.viewer-content-area {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.viewer-info h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--neutral-200);
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (prefers-color-scheme: dark) {
  .sidebar-header { background: var(--background); border-color: var(--neutral-800); }
}

.sidebar-header h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.course-progress-container {
  width: 100%;
  background: var(--neutral-200);
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

@media (prefers-color-scheme: dark) {
  .course-progress-container { background: var(--neutral-800); }
}

.course-progress-bar {
  height: 100%;
  background: var(--primary-marlan);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.playlist {
  display: flex;
  flex-direction: column;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--neutral-100);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  color: var(--foreground);
  border-left: 4px solid transparent;
}

.playlist-item:hover {
  background: var(--neutral-50);
}

@media (prefers-color-scheme: dark) {
  .playlist-item { border-bottom-color: var(--neutral-800); }
  .playlist-item:hover { background: var(--neutral-900); }
}

.playlist-item.active {
  background: rgba(26, 54, 93, 0.04);
  border-left-color: var(--primary-marlan);
}

@media (prefers-color-scheme: dark) {
  .playlist-item.active { background: rgba(26, 54, 93, 0.2); }
}

.playlist-icon {
  color: var(--neutral-400);
  transition: color 0.2s ease;
}

.playlist-item.active .playlist-icon {
  color: var(--primary-marlan);
}

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

.module-num {
  font-size: 0.75rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.module-title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (prefers-color-scheme: dark) {
  .playlist-item.active { background: rgba(42, 82, 136, 0.2); color: var(--accent-blue); }
}

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

.module-num {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-400);
  margin-bottom: 0.2rem;
}

.module-title {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.3;
}

/* Viewer Interactivity (Tabs, Comments, Ratings) */
.premium-shadow {
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.star-icon:hover {
  transform: scale(1.2);
}

.viewer-tabs {
  margin-top: 3rem;
  background: var(--background);
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .viewer-tabs {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
  }
}

.tab-headers {
  display: flex;
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .tab-headers { border-color: var(--neutral-800); }
}

.tab-btn {
  padding: 1.2rem 2rem;
  background: none;
  border: none;
  font-weight: 600;
  color: var(--neutral-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--foreground);
  background: rgba(0,0,0,0.02);
}

.tab-btn.active {
  color: var(--primary-marlan);
  border-bottom-color: var(--primary-marlan);
  background: rgba(26, 54, 93, 0.05);
}

@media (prefers-color-scheme: dark) {
  .tab-btn.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
    background: rgba(42, 82, 136, 0.1);
  }
}

.tab-content {
  padding: 2rem;
}

.comment-form {
  margin-bottom: 3rem;
}

.comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.upload-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-400);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.upload-btn:hover {
  color: var(--primary-marlan);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-marlan);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-bubble {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: 12px;
}

@media (prefers-color-scheme: dark) {
  .comment-bubble { background: var(--background); }
  .comment-bubble.reply { background: rgba(255,255,255,0.02); }
}

.comment-bubble.reply {
  margin-left: 3rem;
  border-left: 4px solid var(--primary-marlan);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.text-small {
  font-size: 0.85rem;
}

.reply-btn {
  background: none;
  border: none;
  color: var(--primary-marlan);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 1rem;
}

.attachment-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-marlan);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.replying-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.9rem;
}
.replying-badge button {
  background: none;
  border: none;
  color: inherit;
  font-weight: bold;
  cursor: pointer;
}

.enrollment-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .enrollment-layout {
    grid-template-columns: 400px 1fr;
    align-items: flex-start;
  }
}

/* Forms */
.form-wrapper {
  background: var(--background);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .form-wrapper {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
  }
}

.enrollment-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-input {
  padding: 0.8rem 1rem;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  background: var(--background);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-with-icon .form-input {
  padding-left: 2.8rem;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(20%);
  color: var(--neutral-400);
}

@media (prefers-color-scheme: dark) {
  .form-input {
    background: var(--background);
    border-color: var(--neutral-800);
  }
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-marlan);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

@media (prefers-color-scheme: dark) {
  .form-input:focus {
    box-shadow: 0 0 0 3px rgba(42, 82, 136, 0.2);
  }
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-100);
  padding: 2rem;
}

@media (prefers-color-scheme: dark) {
  .login-page { background: var(--background); }
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 1100px;
  min-height: 600px;
  background: var(--background);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

@media (prefers-color-scheme: dark) {
  .login-container {
    background: var(--neutral-100);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }
}

.login-image {
  display: none;
  width: 50%;
  background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
  position: relative;
}

@media (min-width: 992px) {
  .login-image { display: block; }
}

.login-image-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(26, 54, 93, 0.9), rgba(26, 54, 93, 0.4));
  display: flex;
  align-items: flex-end;
  padding: 4rem;
}

.login-quote h2 {
  color: white;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.login-quote p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.back-link-white {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.back-link-white:hover { opacity: 0.8; }

.login-form-container {
  width: 100%;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 992px) {
  .login-form-container { width: 50%; padding: 4rem; }
}

.login-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.login-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-footer {
  margin-top: 2rem;
  text-align: center;
}

/* Upload Group */
.upload-group {
  margin-top: 1rem;
}

.upload-box {
  border: 2px dashed var(--neutral-200);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  background: rgba(0,0,0,0.02);
}

@media (prefers-color-scheme: dark) {
  .upload-box {
    border-color: var(--neutral-800);
    background: rgba(255,255,255,0.02);
  }
}

.upload-box:hover {
  border-color: var(--primary-marlan);
  background: rgba(26, 54, 93, 0.05);
}

.upload-icon {
  margin: 0 auto 1rem;
  color: var(--primary-marlan);
  width: 32px;
  height: 32px;
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.alert-error {
  background: rgba(230, 32, 44, 0.1);
  color: var(--accent-red);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Admin Dashboard */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .admin-layout { background: var(--background); }
}

.admin-sidebar {
  width: 280px;
  background: var(--primary-marlan);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 100;
}

.admin-logo {
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 0.5rem;
  flex-grow: 1;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
  font-weight: 500;
}

.admin-nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-main {
  flex-grow: 1;
  margin-left: 280px;
  padding: 3rem;
}

.admin-page-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.admin-stat-card {
  background: var(--background);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

@media (prefers-color-scheme: dark) {
  .admin-stat-card {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
  }
}

.admin-stat-card.highlight {
  border-left: 4px solid var(--secondary-marlan);
}

.stat-icon {
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-marlan);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (prefers-color-scheme: dark) {
  .stat-icon { background: rgba(42, 82, 136, 0.2); color: var(--accent-blue); }
}

.stat-content h3 {
  font-size: 0.9rem;
  color: var(--neutral-400);
  margin-bottom: 0.3rem;
}

.stat-content p {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Admin Tables */
.admin-table-container {
  background: var(--background);
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .admin-table-container {
    background: var(--neutral-100);
    border-color: var(--neutral-800);
  }
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .admin-table th, .admin-table td {
    border-bottom: 1px solid var(--neutral-800);
  }
}

.admin-table th {
  background: rgba(0,0,0,0.02);
  font-weight: 600;
  color: var(--neutral-400);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
  .admin-table th { background: rgba(255,255,255,0.02); }
}

.badge-small {
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-course {
  background: rgba(42, 82, 136, 0.1);
  color: var(--primary-marlan);
}

.badge-spec {
  background: rgba(209, 18, 29, 0.1);
  color: var(--secondary-marlan);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary-marlan);
  font-weight: 500;
}

.btn-link:hover {
  text-decoration: underline;
}

.status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.status-approved {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.status-rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-icon:hover {
  background: var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .btn-icon:hover { background: var(--neutral-800); }
}

.text-success { color: #10b981; }
.text-danger { color: #ef4444; }

.tab-headers {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--neutral-200);
  margin-bottom: 2rem;
  overflow-x: auto;
}

@media (prefers-color-scheme: dark) {
  .tab-headers { border-color: var(--neutral-800); }
}

.tab-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-weight: 600;
  color: var(--neutral-400);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--foreground);
}

.tab-btn.active {
  color: var(--primary-marlan);
  border-bottom-color: var(--primary-marlan);
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-marlan);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.comment-bubble {
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: 0 16px 16px 16px;
  margin-bottom: 1.5rem;
  margin-left: 1rem;
  position: relative;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .comment-bubble { background: var(--neutral-900); border-color: var(--neutral-800); }
}

.comment-bubble.reply {
  margin-left: 3rem;
  border-radius: 16px 0 16px 16px;
  background: var(--neutral-50);
}

@media (prefers-color-scheme: dark) {
  .comment-bubble.reply { background: var(--background); }
}

.comment-wrapper {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

/* Countdown Widget */
.countdown-widget {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (prefers-color-scheme: light) {
  .countdown-widget {
    background: var(--neutral-100);
    border-color: var(--neutral-200);
    color: var(--neutral-900);
  }
}

.countdown-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--primary-marlan);
}

.countdown-boxes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary-marlan);
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  min-width: 60px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.countdown-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.countdown-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  margin-top: 0.2rem;
  opacity: 0.9;
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.5;
}

/* ==========================================================================
   PREMIUM LANDING PAGE STYLES (Specialization & Courses)
   ========================================================================== */

/* Specialization Landing Page */
.spec-landing {
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  font-family: var(--font-inter), sans-serif;
}

/* Hero Section */
.spec-hero {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(26, 54, 93, 0.08) 0%, rgba(209, 18, 29, 0.02) 90%), var(--background);
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .spec-hero {
    background: radial-gradient(circle at 10% 20%, rgba(42, 82, 136, 0.15) 0%, rgba(230, 32, 44, 0.05) 90%), var(--background);
    border-bottom-color: var(--neutral-800);
  }
}

.spec-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 992px) {
  .spec-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.spec-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(209, 18, 29, 0.15);
  color: var(--secondary-marlan);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(209, 18, 29, 0.3);
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(209, 18, 29, 0.05);
}

.spec-title {
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .spec-title {
    font-size: 3.2rem;
  }
}

.spec-title span {
  background: linear-gradient(135deg, var(--primary-marlan) 0%, var(--secondary-marlan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spec-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--neutral-400);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.spec-hero-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: var(--neutral-100);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .spec-hero-highlights-grid {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--neutral-800);
  }
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon-highlight {
  color: var(--primary-marlan);
  flex-shrink: 0;
}

.hero-highlight-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-highlight-item span {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.whatsapp-btn {
  border-color: #25D366 !important;
  color: #25D366 !important;
}

.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.1) !important;
}

/* Floating Card inside Hero */
.spec-hero-card-container {
  display: flex;
  justify-content: center;
}

.spec-floating-card {
  background: var(--background);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--neutral-200);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.spec-floating-card:hover {
  transform: translateY(-5px);
}

@media (prefers-color-scheme: dark) {
  .spec-floating-card {
    border-color: var(--neutral-800);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }
}

.floating-card-image {
  position: relative;
  height: 200px;
}

.floating-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-marlan);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.floating-card-body {
  padding: 2rem;
}

.pricing-promo-block {
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed var(--neutral-200);
  padding-bottom: 1.5rem;
}

@media (prefers-color-scheme: dark) {
  .pricing-promo-block {
    border-color: var(--neutral-800);
  }
}

.original-price {
  font-size: 1rem;
  color: var(--neutral-400);
  text-decoration: line-through;
}

.current-price-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.2rem;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary-marlan);
}

.promo-badge-percent {
  background: rgba(209, 18, 29, 0.15);
  color: var(--secondary-marlan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.promo-countdown-box {
  margin-top: 1rem;
  background: var(--neutral-100);
  padding: 0.8rem;
  border-radius: 8px;
}

@media (prefers-color-scheme: dark) {
  .promo-countdown-box {
    background: rgba(255, 255, 255, 0.03);
  }
}

.promo-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-marlan);
  margin-bottom: 0.5rem;
}

.pricing-normal-block {
  margin-bottom: 1.5rem;
}

.price-label {
  display: block;
  font-size: 0.9rem;
  color: var(--neutral-400);
}

.card-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}

.card-detail-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.detail-row-icon {
  color: var(--primary-marlan);
  flex-shrink: 0;
}

.btn-full-width {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.card-guarantee-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--neutral-400);
  margin-top: 1rem;
}

/* Sections Utilities */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-marlan);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title-wrapper h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--neutral-400);
  line-height: 1.6;
}

.title-divider {
  width: 60px;
  height: 4px;
  background: var(--secondary-marlan);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Why Section */
.spec-why {
  padding: 6rem 2rem;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .spec-why {
    background: rgba(255, 255, 255, 0.01);
    border-bottom-color: var(--neutral-800);
  }
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-stats-block h3,
.why-goals-block h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.stats-intro-text,
.goals-intro-text {
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  gap: 1.2rem;
  background: var(--background);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .stat-card {
    border-color: var(--neutral-800);
  }
}

.stat-bullet {
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-marlan);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.stat-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.goals-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.goal-item {
  display: flex;
  gap: 1rem;
  background: var(--background);
  padding: 1.2rem 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-marlan);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.goal-check {
  color: var(--primary-marlan);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.goal-item span {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Syllabus Section */
.spec-syllabus {
  padding: 6rem 2rem;
  background: var(--background);
}

.module-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--neutral-100);
  padding: 0.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
}

@media (prefers-color-scheme: dark) {
  .module-tabs {
    background: rgba(255,255,255,0.03);
  }
}

.module-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--neutral-400);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.module-tab-btn.active {
  background: var(--background);
  color: var(--primary-marlan);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
  .module-tab-btn.active {
    background: var(--neutral-100);
    color: white;
  }
}

.tab-number {
  font-size: 0.8rem;
  background: var(--neutral-200);
  color: var(--neutral-800);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.module-tab-btn.active .tab-number {
  background: var(--primary-marlan);
  color: white;
}

.active-module-card {
  background: var(--neutral-100);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--neutral-200);
  max-width: 1200px;
  margin: 0 auto;
}

@media (prefers-color-scheme: dark) {
  .active-module-card {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.module-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .module-content-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.module-pill {
  display: inline-block;
  background: rgba(26, 54, 93, 0.1);
  color: var(--primary-marlan);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.module-info-pane h3 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.module-objective {
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.module-learning-list h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.module-learning-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.module-learning-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.module-learning-list li svg {
  color: var(--secondary-marlan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.module-weeks-pane h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.weeks-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.week-card {
  background: var(--background);
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .week-card {
    border-color: var(--neutral-800);
  }
}

.week-header-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}

.week-header-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.week-header-title svg {
  color: var(--primary-marlan);
  flex-shrink: 0;
}

.week-body {
  padding: 0 1.5rem 1.5rem 3.2rem;
  border-top: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .week-body {
    border-color: var(--neutral-800);
  }
}

.week-body ul {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--neutral-400);
  font-size: 0.9rem;
}

/* Target Audience */
.spec-target {
  padding: 6rem 2rem;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .spec-target {
    background: rgba(255,255,255,0.02);
  }
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.target-card {
  background: var(--background);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  display: flex;
  gap: 1.2rem;
  transition: transform 0.3s ease;
}

.target-card:hover {
  transform: translateY(-5px);
}

@media (prefers-color-scheme: dark) {
  .target-card {
    border-color: var(--neutral-800);
  }
}

.target-icon-box {
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary-marlan);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.target-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
}

/* Benefits Section */
.spec-benefits {
  padding: 6rem 2rem;
  background: var(--background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-block-card {
  background: var(--neutral-100);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
}

@media (prefers-color-scheme: dark) {
  .benefit-block-card {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.featured-benefit {
  border: 2px solid var(--primary-marlan);
  position: relative;
  transform: scale(1.02);
}

.benefit-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.benefit-icon {
  color: var(--primary-marlan);
  width: 32px;
  height: 32px;
}

.benefit-block-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.benefit-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-bullet-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
}

.benefit-bullet-list li svg {
  color: var(--primary-marlan);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Methodology Section */
.spec-methodology {
  padding: 6rem 2rem;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .spec-methodology {
    background: rgba(255,255,255,0.01);
  }
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.method-step-card {
  background: var(--background);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  position: relative;
}

@media (prefers-color-scheme: dark) {
  .method-step-card {
    border-color: var(--neutral-800);
  }
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(26, 54, 93, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.method-step-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-marlan);
}

.method-step-card p {
  color: var(--neutral-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pricing Section */
.spec-pricing {
  padding: 6rem 2rem;
  background: var(--background);
}

.pricing-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .pricing-options-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-plan-card {
  background: var(--neutral-100);
  padding: 3rem 2rem;
  border-radius: 18px;
  border: 1px solid var(--neutral-200);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (prefers-color-scheme: dark) {
  .pricing-plan-card {
    background: rgba(255,255,255,0.02);
    border-color: var(--neutral-800);
  }
}

.pricing-plan-card.best-deal {
  border: 2px solid var(--secondary-marlan);
  background: var(--background);
}

@media (prefers-color-scheme: dark) {
  .pricing-plan-card.best-deal {
    background: rgba(255,255,255,0.04);
  }
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary-marlan);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-plan-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.plan-price {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.plan-price-old {
  font-size: 1.2rem;
  color: var(--neutral-400);
  text-decoration: line-through;
}

.plan-price-new {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--foreground);
}

.pricing-plan-card.best-deal .plan-price-new {
  color: var(--secondary-marlan);
}

.plan-detail {
  color: var(--neutral-400);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-info-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--neutral-100);
  padding: 3rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
}

@media (min-width: 768px) {
  .pricing-info-footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (prefers-color-scheme: dark) {
  .pricing-info-footer-grid {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.discounts-info-box h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.discounts-info-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.discounts-info-box li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.discounts-info-box li svg {
  color: var(--secondary-marlan);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.guarantee-info-box {
  text-align: center;
  border-left: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .guarantee-info-box {
    border-left: 1px dashed var(--neutral-200);
    padding-left: 3rem;
  }
  
  @media (prefers-color-scheme: dark) {
    .guarantee-info-box {
      border-color: var(--neutral-800);
    }
  }
}

.guarantee-icon {
  color: #25D366;
  margin-bottom: 1rem;
}

.guarantee-info-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.guarantee-info-box p {
  font-size: 0.85rem;
  color: var(--neutral-400);
  line-height: 1.5;
}

/* Testimonials Section */
.spec-testimonials {
  padding: 6rem 2rem;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .spec-testimonials {
    background: rgba(255,255,255,0.01);
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--background);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

@media (prefers-color-scheme: dark) {
  .testimonial-card {
    border-color: var(--neutral-800);
  }
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--neutral-400);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  background: var(--primary-marlan);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.author-meta strong {
  font-size: 0.95rem;
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--neutral-400);
}

/* FAQ Section */
.spec-faq {
  padding: 6rem 2rem;
  background: var(--background);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: var(--neutral-100);
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .faq-card {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  color: var(--primary-marlan);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 3.2rem;
  border-top: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .faq-answer {
    border-color: var(--neutral-800);
  }
}

.faq-answer p {
  color: var(--neutral-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Enrollment Callout Banner */
.enrollment-callout {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
}

.callout-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .callout-wrapper {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.callout-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.callout-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.callout-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.callout-dates {
  background: rgba(255,255,255,0.05);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.callout-dates h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.callout-dates ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.callout-dates li {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.95rem;
}

.callout-dates li svg {
  color: var(--secondary-marlan);
  flex-shrink: 0;
}


/* ==========================================================================
   INDIVIDUAL COURSE LANDING PAGE STYLES
   ========================================================================== */

.course-landing {
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  font-family: var(--font-inter), sans-serif;
}

/* Course Hero */
.course-hero {
  position: relative;
  padding: 6rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(26, 54, 93, 0.05) 0%, rgba(209, 18, 29, 0.01) 90%), var(--background);
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .course-hero {
    background: radial-gradient(circle at 10% 20%, rgba(42, 82, 136, 0.12) 0%, rgba(230, 32, 44, 0.03) 90%), var(--background);
    border-bottom-color: var(--neutral-800);
  }
}

.course-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 992px) {
  .course-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.course-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 54, 93, 0.08);
  color: var(--primary-marlan);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  border: 1px solid rgba(26, 54, 93, 0.1);
  margin-bottom: 1.5rem;
}

.course-title-text {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.course-subtitle-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--neutral-400);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.course-hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  background: var(--neutral-100);
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .course-hero-highlights {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--neutral-800);
  }
}

/* Floating Card for Course */
.course-hero-card-container {
  display: flex;
  justify-content: center;
}

.course-floating-card {
  background: var(--background);
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--neutral-200);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.course-floating-card:hover {
  transform: translateY(-5px);
}

@media (prefers-color-scheme: dark) {
  .course-floating-card {
    border-color: var(--neutral-800);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  }
}

/* Course Learning Outcomes */
.course-learning {
  padding: 5rem 2rem;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .course-learning {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.learning-box-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .learning-box-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.learning-desc-block h3,
.learning-outcomes-block h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.learning-desc-block p {
  color: var(--neutral-400);
  line-height: 1.7;
  font-size: 1rem;
}

.outcomes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.outcomes-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  background: var(--background);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .outcomes-list li {
    border-color: var(--neutral-800);
  }
}

.check-icon {
  color: #25D366;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Course Syllabus (Weeks) */
.course-syllabus-section {
  padding: 6rem 2rem;
  background: var(--background);
}

.course-weeks-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.course-week-card {
  background: var(--neutral-100);
  border-radius: 12px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
}

@media (prefers-color-scheme: dark) {
  .course-week-card {
    background: rgba(255,255,255,0.01);
    border-color: var(--neutral-800);
  }
}

.course-week-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.week-play-icon {
  color: var(--primary-marlan);
  flex-shrink: 0;
}

.course-week-body {
  padding: 0 2rem 2rem 3.8rem;
  border-top: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .course-week-body {
    border-color: var(--neutral-800);
  }
}

.course-topics-list {
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--neutral-400);
  font-size: 0.95rem;
}

/* Course Payments Card */
.course-payments {
  padding: 6rem 2rem;
  background: var(--neutral-100);
}

@media (prefers-color-scheme: dark) {
  .course-payments {
    background: rgba(255,255,255,0.02);
  }
}

.payments-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--background);
  border-radius: 20px;
  border: 1px solid var(--neutral-200);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

@media (min-width: 768px) {
  .payments-card {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

@media (prefers-color-scheme: dark) {
  .payments-card {
    border-color: var(--neutral-800);
  }
}

.payments-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.payments-info p {
  color: var(--neutral-400);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.payment-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 576px) {
  .payment-channels-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.channel-box {
  background: var(--neutral-100);
  padding: 1.2rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

@media (prefers-color-scheme: dark) {
  .channel-box {
    background: rgba(255,255,255,0.03);
  }
}

.channel-box strong {
  font-size: 0.9rem;
  color: var(--primary-marlan);
  margin-bottom: 0.4rem;
}

.channel-box span {
  font-weight: 700;
  font-size: 1rem;
}

.channel-box .sub-detail {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--neutral-400);
  margin-top: 0.2rem;
}

.payments-action {
  background: var(--neutral-100);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--neutral-200);
}

@media (prefers-color-scheme: dark) {
  .payments-action {
    background: rgba(255,255,255,0.03);
    border-color: var(--neutral-800);
  }
}

.payments-action-header {
  margin-bottom: 1.5rem;
}

.payments-action-header span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-400);
  text-transform: uppercase;
}

.payments-action-header h4 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary-marlan);
  margin-top: 0.3rem;
}

/* Course Upsell Banner */
.course-upsell {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary-marlan) 0%, var(--accent-blue) 100%);
  color: white;
}

.upsell-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .upsell-box {
    flex-direction: row;
    text-align: left;
  }
}

.upsell-text {
  max-width: 700px;
}

.upsell-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.upsell-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.upsell-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.upsell-action {
  flex-shrink: 0;
}

