/* ==========================================================================
   ANIMATED COURSE STORE - MODERN CYBER DARK DESIGN SYSTEM
   Mobile, Tablet, and Desktop 100% Fully Responsive
   iOS Safari Safe-Area and Dynamic Viewport (100dvh) Optimized
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #080b12;
  --bg-secondary: #0e1322;
  --bg-card: rgba(18, 24, 41, 0.75);
  --bg-card-hover: rgba(28, 37, 65, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-focus: #6366f1;

  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --gradient-cyber: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-fire: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
  --gradient-emerald: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);
  --shadow-cyan: 0 0 35px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Font System */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #151b33 0%, #080b12 70%);
  background-attachment: fixed;
  padding-bottom: env(safe-area-inset-bottom, 20px);
}

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

button, input {
  font-family: inherit;
}

/* Chrome Guard Notification Bar */
.chrome-guard-bar {
  display: none;
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #e0e7ff;
  position: relative;
  z-index: 1000;
}

.chrome-guard-bar .guard-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.guard-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guard-btn {
  background: #22c55e;
  color: #052e16;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}

.guard-btn:hover {
  transform: scale(1.04);
}

.guard-close {
  background: transparent;
  border: none;
  color: #a5b4fc;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 11, 18, 0.8);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
  padding-top: max(14px, env(safe-area-inset-top));
  transition: all 0.3s ease;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.5);
  border: 1.5px solid rgba(6, 182, 212, 0.6);
  background: #000;
  display: block;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s;
}

.logo-brand:hover .brand-logo-img {
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(99, 102, 241, 0.8);
  border-color: rgba(99, 102, 241, 0.9);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--gradient-cyber);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-emerald {
  background: var(--gradient-emerald);
  color: #032014;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* Badge System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-fire {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

/* Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  position: relative;
}

/* Section Titles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.text-gradient {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-pricing-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 16px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  width: fit-content;
}

.price-current {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.price-original {
  font-size: 1.25rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--text-dim);
  font-size: 0.88rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  color: var(--accent-emerald);
}

/* Hero Visual / Preview Card */
.hero-visual {
  position: relative;
}

.preview-card-wrap {
  position: relative;
  perspective: 1000px;
}

.preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  transition: transform 0.4s ease;
}

.preview-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.play-pulse-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  cursor: pointer;
  position: absolute;
  z-index: 10;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  transition: transform 0.25s;
}

.play-pulse-btn:hover {
  transform: scale(1.1);
}

.preview-info {
  padding: 24px;
}

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

.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.stat-item .stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Floating Student Proof Badge */
.floating-proof-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(14, 19, 34, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-subtle);
  animation: floatBadge 4s ease-in-out infinite alternate;
  z-index: 5;
}

.avatar-stack {
  display: flex;
  margin-right: 4px;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

/* Urgency Bar / Timer */
.urgency-banner {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.15) 0%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 12px;
}

.urgency-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.timer-blocks {
  display: flex;
  gap: 8px;
}

.timer-box {
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fbbf24;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Curriculum Accordion */
.curriculum-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.accordion-item.active {
  border-color: var(--border-glow);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  user-select: none;
}

.acc-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acc-title-group h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.acc-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.acc-arrow {
  transition: transform 0.3s;
  color: var(--text-muted);
}

.accordion-item.active .acc-arrow {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background: rgba(5, 8, 17, 0.4);
}

.accordion-item.active .accordion-body {
  max-height: 800px;
}

.lesson-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  transition: background 0.2s;
}

.lesson-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.lesson-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lesson-icon {
  color: var(--text-dim);
}

.lesson-preview-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lesson-preview-pill:hover {
  background: var(--accent-emerald);
  color: #022c1b;
}

.lesson-locked-pill {
  color: var(--text-dim);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Infinite Student Testimonial Marquee */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  flex-shrink: 0;
}

.test-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.test-header img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent-indigo);
}

.test-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.test-role {
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.test-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Modals System (Checkout, OTP, Video Preview) */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-box {
  background: #0d1222;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 50px rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  position: relative;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

/* Input Fields */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.phone-prefix {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.input-helper {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Sticky Mobile Bottom Buy Bar */
.mobile-sticky-buy-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glow);
  padding: 12px 18px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 400;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-price-info {
  display: flex;
  flex-direction: column;
}

.sticky-current-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.sticky-orig-price {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

/* ==========================================================================
   SECURE VIDEO PLAYER & ANTI-PIRACY CANVAS
   ========================================================================== */
.player-container {
  position: relative;
  width: 100%;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  user-select: none;
  -webkit-user-select: none;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.secure-video-element {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* The Anti-Piracy Watermark Canvas */
.watermark-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* Security Protection Overlay (Appears on Tab Blur or Screen Capture) */
.security-curtain {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 30;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.security-curtain.active {
  display: flex;
}

.security-curtain-icon {
  font-size: 3rem;
  color: #f43f5e;
  margin-bottom: 12px;
}

/* Custom Video Controls */
.custom-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 25;
  transition: opacity 0.3s;
}

.player-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.1s;
}

.player-btn:hover {
  color: var(--accent-cyan);
}

.player-progress-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.player-progress-bar {
  height: 100%;
  background: var(--gradient-cyber);
  border-radius: 3px;
  width: 0%;
}

.player-time-display {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Classroom / Dashboard Layout */
.dashboard-page {
  padding: 30px 0 60px 0;
}

.classroom-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.playlist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
}

.playlist-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.playlist-items-scroll {
  overflow-y: auto;
  flex: 1;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.2s;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.playlist-item.active {
  background: rgba(99, 102, 241, 0.15);
  border-left: 3px solid var(--accent-indigo);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .classroom-grid {
    grid-template-columns: 1fr;
  }
  .playlist-card {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .mobile-sticky-buy-bar {
    display: block;
  }
  .floating-proof-badge {
    position: static;
    margin-top: 14px;
    display: inline-flex;
  }
}

/* Policy & Legal Modal Styles */
.policy-modal-box {
  max-width: 780px !important;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.policy-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.policy-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.policy-tab-btn.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-indigo);
  color: #fff;
}

.policy-modal-scroll {
  overflow-y: auto;
  padding: 24px;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.4) transparent;
}

.policy-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.policy-modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
  border-radius: 3px;
}

.policy-content-pane h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.policy-content-pane h4 {
  font-size: 1.02rem;
  color: var(--accent-cyan);
  margin: 18px 0 8px 0;
}

.policy-content-pane p, .policy-content-pane li {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.policy-content-pane ul {
  padding-left: 20px;
  margin: 10px 0;
}

/* ==========================================================================
   Multi-Category Course Academy Catalog & Filter Pills
   ========================================================================== */

.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 40px 0;
}

.category-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}

.category-pill-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.category-pill-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.courses-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.course-card-catalog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.course-card-catalog:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(99, 102, 241, 0.2);
}

.course-card-catalog.featured-course {
  border-color: rgba(6, 182, 212, 0.4);
  background: linear-gradient(180deg, rgba(14, 23, 42, 0.95) 0%, rgba(10, 15, 29, 0.95) 100%);
}

.course-card-catalog.featured-course::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06b6d4, #6366f1, #10b981);
  z-index: 2;
}

.card-catalog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090d1a;
  overflow: hidden;
}

.card-catalog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.course-card-catalog:hover .card-catalog-thumb img {
  transform: scale(1.04);
}

.card-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  z-index: 2;
}

.card-ribbon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.card-catalog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.card-catalog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-catalog-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.card-catalog-highlights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.card-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-highlight-item span:first-child {
  color: var(--accent-emerald);
  font-weight: 700;
}

.card-catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 12px;
}

.card-price-group {
  display: flex;
  flex-direction: column;
}

.card-current-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.card-orig-price {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.card-actions-group {
  display: flex;
  gap: 8px;
}

@media (max-width: 640px) {
  .category-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .courses-catalog-grid {
    grid-template-columns: 1fr;
  }
}

