/* ==========================================================================
   FDF 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.12);
  border: 1px solid var(--neon-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;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-lang-switch:hover {
  background: var(--neon-cyan);
  color: #070913;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

.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);
}

/* Category Bundle Pills Bar */
.bundle-filter-container {
  width: 100%;
  max-width: 950px;
  margin: 1.2rem auto 0;
  position: relative;
}

.bundle-filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 14px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.bundle-filter-bar::-webkit-scrollbar {
  height: 5px;
}
.bundle-filter-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.bundle-filter-bar::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 4px;
}

.bundle-pill {
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.bundle-pill:hover {
  border-color: var(--neon-cyan);
  color: #fff;
  background: rgba(0, 242, 254, 0.12);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.bundle-pill.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.25), rgba(121, 40, 202, 0.35));
  border: 1px solid var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
  font-weight: 700;
}

.detail-badge {
  display: inline-block;
  position: relative;
  top: 0; left: 0;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-cyan);
  border: var(--border-cyan);
  margin-bottom: 8px;
}

/* Standby Video Placeholder Card */
.video-placeholder-card, .video-standby-box {
  background: var(--bg-card);
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 1rem 0 2rem;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.15);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  width: 100%;
  box-sizing: border-box;
}

.placeholder-icon {
  font-size: 3.8rem;
  margin-bottom: 1rem;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6)); }
}

.placeholder-title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.placeholder-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 1.8rem;
  line-height: 1.6;
}

.placeholder-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 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-image-wrapper, .card-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #0f172a;
  overflow: hidden;
}
.card-image, .card-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.course-card:hover .card-image,
.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);
  z-index: 2;
}
.card-badge.free-badge {
  color: #10b981;
  border-color: #10b981;
}

.card-body, .card-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-instructor {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.course-code {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-purple);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.card-title, .course-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  max-height: 2.8em;
}

.card-description, .course-desc-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  max-height: 2.6em;
  line-height: 1.3;
  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;
}

/* 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);
}

/* ==========================================================================
   Disclaimer & Terms of Use System & Footer Styling
   ========================================================================== */

/* Course Disclaimer Alert Banner in Course Details */
.course-disclaimer-banner {
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--gold);
  color: #fef08a;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}
.course-disclaimer-banner a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 700;
}

/* Payment Modal Disclaimer Checkbox */
.payment-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 1rem 0;
}
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  user-select: none;
}
.checkbox-container input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}
.checkbox-container a {
  color: var(--gold);
  text-decoration: underline;
}

/* Disclaimer Screen & Pillar Cards */
.disclaimer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.disclaimer-pillar-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  transition: all 0.2s ease;
}
.disclaimer-pillar-card:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.disclaimer-pillar-title {
  font-size: 1.05rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.disclaimer-pillar-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Centered Horizontal Footer Layout (AGR SkillHub Prototype Standard) */
.footer {
  background: rgba(7, 9, 19, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 1.5rem 1.8rem 1.5rem;
  margin-top: 4rem;
  text-align: center;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: 1.2rem;
}

.footer-nav-item {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-item:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.6);
}

.footer-subtitle {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.footer-subtitle strong {
  color: var(--neon-cyan);
  font-family: var(--font-heading);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
}

