/* ===================================================
   EXPRESS-PRO NAIL LMS PLATFORM STYLESHEET
   Luxury Obsidian & Rose-Gold Aesthetic
=================================================== */

:root {
  --bg-main: #0B0F19;
  --bg-card: rgba(18, 24, 38, 0.85);
  --bg-card-hover: rgba(26, 34, 52, 0.95);
  --bg-card-solid: #131A2A;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(236, 72, 153, 0.35);

  --rose-primary: #EC4899;
  --rose-dark: #BE185D;
  --rose-glow: rgba(236, 72, 153, 0.25);
  --gold-primary: #F59E0B;
  --gold-dark: #D97706;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --blue-accent: #0284C7;
  --green-accent: #10B981;
  --red-danger: #EF4444;

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(236, 72, 153, 0.2);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(236, 72, 153, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #2D3748;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--rose-primary);
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(11, 15, 25, 0.85);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-badge {
  background: linear-gradient(135deg, var(--rose-primary), var(--gold-primary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.highlight {
  color: var(--rose-primary);
}
.nav-link.gold {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ================= HERO ================= */
.hero {
  padding: 60px 24px 40px;
  border-bottom: 1px solid var(--border-color);
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.hero-pill {
  display: inline-block;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: var(--rose-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(135deg, #F472B6, #FB7185, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  min-width: 170px;
}
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #fff, #CBD5E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= SECTIONS COMMON ================= */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.section {
  margin-bottom: 70px;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}
.section-tag {
  color: var(--rose-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ================= LESSON TABS ================= */
.lessons-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.lesson-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lesson-tab:hover {
  background: var(--bg-card-hover);
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateY(-2px);
}
.lesson-tab.active {
  background: rgba(236, 72, 153, 0.12);
  border-color: var(--rose-primary);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.15);
}
.tab-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--rose-primary);
}
.tab-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}
.tab-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= VIDEO WORKSPACE ================= */
.video-workspace {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.player-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-overlay-info {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.3s ease;
}
.overlay-badge {
  background: var(--rose-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.overlay-title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-info-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.current-lesson-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.current-lesson-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.player-quick-tools {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ================= 15 CHAPTERS SIDEBAR ================= */
.chapters-sidebar {
  display: flex;
  flex-direction: column;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 600px;
}
.sidebar-header {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sidebar-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.chapters-count {
  font-size: 11px;
  color: var(--rose-primary);
  font-weight: 700;
  background: rgba(236, 72, 153, 0.15);
  padding: 2px 8px;
  border-radius: 12px;
}
.chapters-list {
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chapter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.chapter-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.chapter-item.active {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.4);
}
.chapter-thumb {
  width: 50px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
}
.chapter-info {
  flex-grow: 1;
  overflow: hidden;
}
.chapter-name {
  font-size: 12px;
  font-weight: 600;
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.chapter-time {
  font-size: 11px;
  color: var(--text-dim);
}
.chapter-item.active .chapter-name {
  color: #fff;
}
.chapter-item.active .chapter-time {
  color: var(--rose-primary);
  font-weight: 600;
}

/* ================= CALCULATOR ================= */
.calculator-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
}
.calc-inputs-card, .calc-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.range-val {
  color: var(--rose-primary);
  font-weight: 700;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--rose-primary);
  background: #1E293B;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}
.form-control {
  width: 100%;
  background: #0F172A;
  border: 1px solid #334155;
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
}
.form-control:focus {
  outline: none;
  border-color: var(--rose-primary);
  box-shadow: 0 0 10px var(--rose-glow);
}
.calc-results-summary {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.calc-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.badge-status {
  font-size: 11px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: 12px;
}
.canvas-container {
  width: 100%;
  background: #060911;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.canvas-container canvas {
  width: 100%;
  height: auto;
  display: block;
}
.visual-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-bed { background: #EC4899; }
.dot-polygel { background: #38BDF8; }
.dot-apex { background: #F59E0B; }
.dot-edge { background: #E2E8F0; }
.dot-form { background: #A855F7; }

/* ================= PATHOLOGY ATLAS ================= */
.pathologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.pathology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pathology-card:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}
.pathology-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 10;
}
.pathology-badge.danger {
  background: var(--red-danger);
  color: #fff;
}
.pathology-badge.warning {
  background: var(--gold-primary);
  color: #000;
}
.pathology-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #000;
}
.pathology-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.pathology-card:hover .pathology-img-wrap img {
  transform: scale(1.04);
}
.pathology-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.pathology-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.pathology-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.pathology-actions {
  margin-top: auto;
  background: rgba(239, 68, 68, 0.08);
  border-left: 3px solid var(--red-danger);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 12px;
}
.pathology-actions strong {
  color: #F87171;
  display: block;
  margin-bottom: 4px;
}
.pathology-actions ul {
  padding-left: 16px;
  color: #E2E8F0;
}

/* ================= FILING ATLAS ================= */
.filing-atlas-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.filing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.filing-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filing-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.filing-tab.active {
  background: var(--rose-primary);
  border-color: var(--rose-primary);
  color: #fff;
  box-shadow: 0 0 15px var(--rose-glow);
}
.filing-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  align-items: center;
}
.shape-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.shape-rules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rule-box {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.rule-box.gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.05);
}
.rule-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--rose-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rule-box.gold .rule-num {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.2);
}
.rule-box strong {
  font-size: 13px;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}
.rule-box p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.filing-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.preview-img-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  background: #000;
}
.preview-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-caption {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
}

/* ================= DESIGNS GRID ================= */
.designs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.design-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.design-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: var(--shadow-glow);
}
.design-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #000;
}
.design-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.design-card:hover .design-img img {
  transform: scale(1.05);
}
.design-body {
  padding: 16px;
}
.design-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--rose-primary);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.design-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.design-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= PDF GRID ================= */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pdf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  transition: all 0.25s ease;
}
.pdf-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.pdf-icon {
  font-size: 32px;
  line-height: 1;
}
.pdf-info {
  display: flex;
  flex-direction: column;
}
.pdf-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.pdf-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ================= EXAM CONTAINER ================= */
.exam-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.questions-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.question-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}
.question-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.q-badge {
  background: rgba(236, 72, 153, 0.2);
  color: var(--rose-primary);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.q-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.q-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.option-label:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.option-label.selected {
  background: rgba(236, 72, 153, 0.15);
  border-color: var(--rose-primary);
  color: #fff;
}
.option-label.correct {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--green-accent);
  color: #fff;
}
.option-label.incorrect {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--red-danger);
  color: #fff;
}
.exam-footer {
  margin-top: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.exam-result-box {
  width: 100%;
  padding: 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
}
.exam-result-box.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--green-accent);
  color: #D1FAE5;
}
.exam-result-box.fail {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--red-danger);
  color: #FEE2E2;
}

/* ================= LUXURY CERTIFICATE GENERATOR ================= */
.cert-generator-wrapper {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
}
.cert-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.cert-status-info {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 24px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.cert-canvas-card {
  display: flex;
  justify-content: center;
  align-items: center;
}
.canvas-shadow-wrap {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.4);
}
.canvas-shadow-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= TELEGRAM SIMULATOR ================= */
.telegram-simulator {
  max-width: 680px;
  margin: 0 auto;
  background: #17212B;
  border: 1px solid #242F3D;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.tg-header {
  background: #242F3D;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tg-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), var(--gold-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.tg-channel-info {
  flex-grow: 1;
}
.tg-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.tg-subs {
  font-size: 12px;
  color: #7F91A4;
}
.tg-verified {
  color: #2F9AE0;
  font-size: 16px;
}
.tg-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 420px;
  overflow-y: auto;
  background: #0E1621;
}
.tg-msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.tg-msg.admin {
  align-self: flex-start;
}
.tg-msg.user {
  align-self: flex-end;
}
.tg-sender {
  font-size: 11px;
  font-weight: 600;
  color: #E082A8;
  margin-bottom: 4px;
}
.tg-msg.user .tg-sender {
  color: #4DA2F1;
  text-align: right;
}
.tg-bubble {
  background: #182533;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  color: #EAEAEA;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.tg-msg.user .tg-bubble {
  background: #2B5278;
}
.tg-time {
  font-size: 10px;
  color: #6C7883;
  margin-top: 4px;
  text-align: right;
}
.tg-input-bar {
  background: #17212B;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  border-top: 1px solid #242F3D;
}
.tg-input {
  flex-grow: 1;
  background: #242F3D;
  border: none;
  padding: 10px 14px;
  border-radius: 20px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
}
.tg-input:focus {
  outline: none;
}
.tg-send-btn {
  background: var(--rose-primary);
  border: none;
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tg-send-btn:hover {
  background: var(--rose-dark);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  background: rgba(11, 15, 25, 0.95);
}
.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand p {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 550px;
  margin-top: 6px;
}
.footer-logo {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: var(--rose-primary);
}

/* ================= BUTTONS & UTILS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
}
.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}
.btn-rose {
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #fff;
  box-shadow: 0 4px 15px var(--rose-glow);
}
.btn-rose:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-outline-rose {
  background: transparent;
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: var(--rose-primary);
}
.btn-outline-rose:hover {
  background: rgba(236, 72, 153, 0.1);
  border-color: var(--rose-primary);
}
.w-100 { width: 100%; }

.text-rose { color: var(--rose-primary); }
.text-gold { color: var(--gold-primary); }
.text-blue { color: var(--blue-accent); }
.text-green { color: var(--green-accent); }

/* ================= PROMO OFFER & PRICING BANNER ================= */
.promo-pricing-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 2px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px auto 40px;
  max-width: 960px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 35px rgba(244, 63, 94, 0.15);
  text-align: left;
}
.promo-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #E11D48, #F59E0B);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.promo-banner-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: center;
}
.promo-gift-box {
  background: rgba(244, 63, 94, 0.08);
  border: 1px dashed rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 14px;
}
.promo-gift-title {
  color: #FBBF24;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.promo-gift-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #F1F5F9;
  font-weight: 500;
}
.promo-price-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.promo-price-row {
  margin-bottom: 12px;
}
.promo-old-price {
  font-size: 20px;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;
  margin-right: 12px;
}
.promo-new-price {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 800;
  color: #F59E0B;
  background: linear-gradient(135deg, #FDE68A, #F59E0B, #FB7185);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.promo-urgency-bar {
  margin: 16px 0 20px;
}
.promo-urgency-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 6px;
}
.promo-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.promo-bar-fill {
  width: 80%; /* 16 of 20 taken */
  height: 100%;
  background: linear-gradient(90deg, #F59E0B, #E11D48);
  border-radius: 4px;
}
.promo-guarantee {
  font-size: 11px;
  color: #94A3B8;
  margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .video-workspace {
    grid-template-columns: 1fr;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .filing-card {
    grid-template-columns: 1fr;
  }
  .cert-generator-wrapper {
    grid-template-columns: 1fr;
  }
  .promo-banner-grid {
    grid-template-columns: 1fr;
  }
}

