/* Zero-Glue Masterclass - Premium Beauty Academy Styles */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent-pink: #e11d48;
  --accent-pink-soft: #fff1f2;
  --accent-gold: #d97706;
  --accent-gold-soft: #fef3c7;
  --emerald: #059669;
  --emerald-soft: #ecfdf5;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.03);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & Reference Card Styling */
.ref-header-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
  margin-bottom: 24px;
}

.badges-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.badge-pill {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-school {
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.badge-innovation {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.hero-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Social Proof Card */
.social-proof-card {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.social-proof-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.social-proof-card .subtitle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.social-proof-card ul {
  list-style: none;
  font-size: 12px;
  color: #44403c;
  margin-bottom: 14px;
}

.social-proof-card li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 14px;
}

.social-proof-card li::before {
  content: "•";
  color: var(--accent-pink);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.quote-box {
  background: #f5f5f4;
  border-left: 3px solid var(--accent-pink);
  padding: 10px 12px;
  font-size: 11px;
  font-style: italic;
  color: #57534e;
  border-radius: 4px;
}

/* Hero Right Section */
.hero-main h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-main .hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 680px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 38px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
}

.price-old {
  font-size: 20px;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-save-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

/* Package Inclusions (Bottom Section from Reference) */
.package-card {
  background: #fff;
  border: 1px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.package-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.package-header svg {
  color: var(--accent-pink);
}

.inclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .inclusions-grid {
    grid-template-columns: 1fr;
  }
}

.inclusion-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.inclusion-item:hover {
  border-color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.inclusion-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-blue { background: #eff6ff; color: #2563eb; }
.icon-amber { background: #fffbeb; color: #d97706; }
.icon-green { background: #f0fdf4; color: #16a34a; }
.icon-rose { background: #fff1f2; color: #e11d48; }

.inclusion-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
}

/* Main Navigation Tabs */
.nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 28px;
  overflow-x: auto;
}

.nav-tab {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--primary);
}

.nav-tab.active {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
}

/* Tab Sections */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Video Section Layout */
.video-module-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 992px) {
  .video-module-layout {
    grid-template-columns: 1fr;
  }
}

.video-player-card {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-player-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0f172a;
}

.video-details-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.video-details-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.video-details-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.lesson-meta-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-pink);
  color: #ffffff;
}

.btn-primary:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Playlist Sidebar */
.playlist-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.playlist-header {
  padding: 18px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.playlist-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.playlist-list {
  list-style: none;
  overflow-y: auto;
  max-height: 540px;
}

.playlist-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.playlist-item:hover {
  background: #fff1f2;
}

.playlist-item.active {
  background: #fff1f2;
  border-left: 4px solid var(--accent-pink);
}

.playlist-num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.playlist-item.active .playlist-num {
  background: var(--accent-pink);
  color: #fff;
}

.playlist-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.playlist-info span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Download Hub / PDF Cards */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .pdf-grid {
    grid-template-columns: 1fr;
  }
}

.pdf-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.pdf-card:hover {
  border-color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pdf-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 12px;
}

.pdf-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.pdf-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Lash Mapping Interactive Studio */
.mapping-studio-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.effect-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.effect-btn {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.effect-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.visual-eye-canvas-box {
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
}

.scheme-details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .scheme-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scheme-metric-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px;
}

.scheme-metric-box span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.scheme-metric-box strong {
  font-size: 14px;
  color: var(--primary);
}

/* Telegram Chat Simulator */
.telegram-card {
  max-width: 800px;
  margin: 0 auto 32px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.tg-header {
  background: #17212b;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.tg-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e11d48, #d97706);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.tg-header-info h4 {
  font-size: 15px;
  font-weight: 700;
}

.tg-header-info span {
  font-size: 12px;
  color: #64b5f6;
}

.tg-messages-area {
  background: #0e1621;
  padding: 20px;
  min-height: 380px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tg-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  position: relative;
}

.tg-msg-curator {
  background: #182533;
  color: #f5f5f5;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.tg-msg-curator .sender-name {
  font-size: 11px;
  font-weight: 700;
  color: #e11d48;
  margin-bottom: 4px;
}

.tg-msg-student {
  background: #2b5278;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.tg-time {
  font-size: 10px;
  color: #8da4b8;
  float: right;
  margin-top: 4px;
  margin-left: 8px;
}

.tg-quick-questions {
  background: #17212b;
  padding: 12px 16px;
  border-top: 1px solid #242f3d;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.tg-chip {
  background: #242f3d;
  color: #8da4b8;
  border: 1px solid #2f3d4d;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.tg-chip:hover {
  background: #2b5278;
  color: #fff;
}

.tg-input-bar {
  background: #17212b;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
}

.tg-input {
  flex: 1;
  background: #242f3d;
  border: 1px solid #2f3d4d;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.tg-send-btn {
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

/* Certificate Generator */
.cert-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.cert-form-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cert-input {
  flex: 1;
  min-width: 260px;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  outline: none;
}

.cert-input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

/* Printable Certificate Frame */
.certificate-frame {
  max-width: 860px;
  margin: 0 auto 24px auto;
  background: #ffffff;
  border: 8px double #d97706;
  border-radius: 8px;
  padding: 40px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  text-align: center;
  background-image: radial-gradient(#fafaf9 20%, transparent 20%);
  background-size: 20px 20px;
}

.cert-school-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-pink);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cert-heading {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.cert-awarded-to {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cert-student-name {
  font-size: 30px;
  font-weight: 800;
  color: #be123c;
  margin-bottom: 16px;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: #fecdd3;
  font-family: Georgia, serif;
}

.cert-body-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  max-width: 620px;
  margin: 0 auto 28px auto;
}

.cert-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  margin-top: 20px;
}

.cert-sign-col {
  text-align: left;
}

.cert-sign-col .title {
  font-size: 11px;
  color: var(--text-muted);
}

.cert-sign-col .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.cert-seal {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 2px dashed #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #d97706;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

@media print {
  body * {
    visibility: hidden;
  }
  .certificate-frame, .certificate-frame * {
    visibility: visible;
  }
  .certificate-frame {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
  }
}
