/* ==========================================================================
   EDT SkillHub - Cyberpunk & Neon Dark Theme Design System (v2.5.0)
   ========================================================================== */

:root {
  --bg-primary: #070913;
  --bg-card: rgba(19, 27, 46, 0.75);
  --bg-card-hover: rgba(26, 36, 61, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --neon-cyan: #00f2fe;
  --neon-purple: #7928ca;
  --neon-pink: #ff007f;
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-std: 1px solid rgba(255, 255, 255, 0.1);
  --border-cyan: 1px solid rgba(0, 242, 254, 0.4);
  --border-gold: 1px solid rgba(251, 191, 36, 0.5);
  --shadow-cyan-glow: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-purple-glow: 0 0 25px rgba(121, 40, 202, 0.3);
  --shadow-gold-glow: 0 0 25px rgba(251, 191, 36, 0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-heading: 'Orbitron', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Sukhumvit Set', -apple-system, sans-serif;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Cyber Grid Effect */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(121, 40, 202, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(0, 242, 254, 0.12) 0%, transparent 40%),
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* Header Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: var(--border-std);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
  background: rgba(0, 242, 254, 0.1);
  border-bottom: 2px solid var(--neon-cyan);
}

.user-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-quota {
  background: rgba(0, 242, 254, 0.15);
  border: var(--border-cyan);
  color: var(--neon-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-role {
  background: rgba(251, 191, 36, 0.15);
  border: var(--border-gold);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-lang-switch {
  background: rgba(0, 242, 254, 0.1);
  border: var(--border-cyan);
  color: var(--neon-cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-lang-switch:hover {
  background: rgba(0, 242, 254, 0.25);
  box-shadow: var(--shadow-cyan-glow);
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan-glow);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #070913;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-glow);
}

/* Main Container Screens */
.screen {
  display: none;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.screen.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 3rem 1rem 2.5rem;
  background: radial-gradient(circle at center, rgba(121, 40, 202, 0.2) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
  border: var(--border-std);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--neon-cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto 2rem;
}

/* Search & Filters */
.filter-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.search-input {
  flex: 1;
  min-width: 280px;
  background: rgba(15, 23, 42, 0.8);
  border: var(--border-cyan);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
}
.search-input:focus {
  box-shadow: var(--shadow-cyan-glow);
}

/* Horizontal Category Filter Pills Bar */
.category-scroll-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 16px 0;
  margin-top: 14px;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: var(--neon-cyan) rgba(7, 9, 19, 0.5);
  max-width: 100%;
}

.category-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.category-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.category-scroll-container::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 10px;
}

.cat-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat-pill:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.cat-pill.active {
  background: rgba(0, 242, 254, 0.25);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* Course Catalog Grid - Desktop 3 Columns */
.course-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .course-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.course-card {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: var(--shadow-cyan-glow);
  background: var(--bg-card-hover);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #0f172a;
  overflow: hidden;
}
.card-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .card-img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--neon-cyan);
  border: var(--border-cyan);
}
.card-badge.free-badge {
  color: #10b981;
  border-color: #10b981;
}

.card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-purple);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.course-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-desc-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: var(--border-std);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-current {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
}
.price-original {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Course Detail View & Dual-Mode Switcher */
.detail-header {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.dual-tab-switcher {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: var(--radius-md);
  border: var(--border-std);
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn.active-video {
  background: rgba(0, 242, 254, 0.15);
  color: var(--neon-cyan);
  border: var(--border-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.tab-btn.active-ebook {
  background: rgba(251, 191, 36, 0.15);
  color: var(--gold);
  border: var(--border-gold);
  box-shadow: var(--shadow-gold-glow);
}

/* 16:9 Embedded Video Container */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: var(--border-cyan);
  box-shadow: var(--shadow-cyan-glow);
  margin-bottom: 2rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Video Placeholder Card (Theme-aligned Glassmorphic Design) */
.video-placeholder-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(26, 36, 61, 0.85));
  border: var(--border-cyan);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5), var(--shadow-cyan-glow);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: placeholderPulse 4s infinite ease-in-out;
}

@keyframes placeholderPulse {
  0% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.15); }
  50% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 242, 254, 0.35); }
  100% { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 242, 254, 0.15); }
}

.placeholder-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 14px 22px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-cyan-glow);
}

.placeholder-icon-badge .glow-icon {
  font-size: 2rem;
  line-height: 1;
}

.placeholder-icon-badge .sub-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  line-height: 1.4;
}

.placeholder-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.placeholder-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.placeholder-actions button {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.placeholder-actions button:hover {
  transform: translateY(-2px);
}

/* Dual Column Reader Layout */
.reader-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .reader-layout {
    grid-template-columns: 320px 1fr;
  }
}

/* Interactive Chapter Sidebar Checklist */
.chapter-sidebar {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: var(--border-std);
}

.chapter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chapter-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chapter-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.chapter-item.active {
  background: rgba(0, 242, 254, 0.12);
  border: var(--border-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--shadow-cyan-glow);
}

.chapter-icon {
  font-size: 1rem;
}

/* Ebook Content Reader */
.ebook-reader {
  background: var(--bg-card);
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}

.ebook-body {
  color: #e2e8f0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.ebook-body h1, .ebook-body h2, .ebook-body h3 {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  margin: 1.8rem 0 1rem;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
}

.ebook-body p {
  margin-bottom: 1.2rem;
}

.ebook-body ul, .ebook-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}

.ebook-body li {
  margin-bottom: 0.5rem;
}

.ebook-body code {
  background: rgba(0, 242, 254, 0.1);
  color: var(--neon-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
}

.prompt-box {
  background: rgba(7, 9, 19, 0.9);
  border: var(--border-cyan);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
}

.prompt-box-header {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* AI Playground Screen */
.playground-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}
@media (min-width: 992px) {
  .playground-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.playground-card {
  background: var(--bg-card);
  border: var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-cyan-glow);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--neon-cyan);
  font-size: 0.95rem;
}

.form-select, .form-textarea {
  width: 100%;
  background: rgba(7, 9, 19, 0.8);
  border: var(--border-std);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  outline: none;
}
.form-select:focus, .form-textarea:focus {
  border-color: var(--neon-cyan);
}

.output-container {
  background: #04060c;
  border: var(--border-std);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  white-space: pre-wrap;
  font-family: monospace;
  color: #a7f3d0;
  min-height: 250px;
}

/* Dashboard & VIP NotebookLM Card */
.notebooklm-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(121, 40, 202, 0.2));
  border: var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-gold-glow);
}

.notebooklm-info h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.notebooklm-info p {
  color: var(--text-secondary);
}

/* Modal Windows */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: #0f172a;
  border: var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 550px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-cyan-glow);
}

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

/* Pricing Tier Cards inside Payment Modal */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 550px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: rgba(19, 27, 46, 0.8);
  border: var(--border-std);
  border-radius: var(--radius-sm);
  padding: 1.2rem 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.price-card:hover, .price-card.selected {
  border-color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
}

.qr-box {
  text-align: center;
  margin: 1.5rem 0;
}

.qr-img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-sm);
  border: var(--border-cyan);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.qr-img:hover {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-content {
  text-align: center;
}

.lightbox-img {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-md);
  border: var(--border-gold);
  box-shadow: var(--shadow-gold-glow);
  margin-bottom: 1.5rem;
}

/* Blogger News & Gemini Spark Feed Styles */
.news-section {
  background: var(--bg-card);
  border: var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-cyan-glow);
}

.news-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: var(--border-std);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.2rem;
}
@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  background: rgba(7, 9, 19, 0.85);
  border: var(--border-std);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.news-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-cyan-glow);
}

.news-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 48%; /* 2:1 aspect ratio */
  background: #000;
  overflow: hidden;
}
.news-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-img {
  transform: scale(1.05);
}

.news-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.news-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Login / Signup Modal UI Enhancements */
.login-header-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-header-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.btn-login-email {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f2fe 0%, #7928ca 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
}

.btn-login-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-divider span {
  padding: 0 12px;
}

.btn-login-google,
.btn-google-login {
  width: 100%;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  background: #ffffff;
  color: #1e293b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-login-google:hover,
.btn-google-login:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Checkout Modal Tier Selector Tabs */
.checkout-tier-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.2rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.checkout-tab-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.checkout-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.checkout-tab-btn.active {
  background: var(--gold) !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  box-shadow: var(--shadow-gold-glow);
}

/* ==========================================================================
   Disclaimer Touchpoints & Footer Styles
   ========================================================================== */

/* 1. Course Details Alert Banner */
.disclaimer-alert-banner {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.disclaimer-alert-text {
  color: #fef08a;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.disclaimer-alert-btn {
  background: rgba(251, 191, 36, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}

.disclaimer-alert-btn:hover {
  background: var(--gold);
  color: #0f172a;
}

/* 2. Payment Modal Checkbox Touchpoint */
.disclaimer-checkbox-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.disclaimer-checkbox-container input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
}

.disclaimer-checkbox-label {
  cursor: pointer;
  line-height: 1.4;
}

.disclaimer-checkbox-label a {
  color: var(--neon-cyan);
  text-decoration: underline;
}

/* 3. Site Footer Links & Branding */
.site-footer {
  margin-top: auto;
  background: rgba(7, 9, 19, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem 1.8rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-link-btn {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-link-btn:hover {
  color: var(--neon-cyan);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* 4. Standalone / SPA Disclaimer Article Card */
.disclaimer-card {
  background: var(--bg-card);
  border: var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-cyan-glow);
}

.disclaimer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.disclaimer-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.disclaimer-item {
  margin-bottom: 1.8rem;
}

.disclaimer-item-title {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.disclaimer-item-content {
  color: #e2e8f0;
  font-size: 0.96rem;
  line-height: 1.7;
  padding-left: 1.8rem;
}

