.sample-hero {
  padding: 160px 0 42px;
}
.sample-heading h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 8px;
}
.chapters-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: #eef2ff;
  background: linear-gradient(
    135deg,
    rgba(255, 69, 0, 0.95),
    rgba(255, 69, 0, 0.95)
  );
  border: 1px solid rgba(165, 180, 252, 0.34);
  box-shadow: 0 10px 24px rgba(255, 69, 0, 0.24);
}
.chapters-badge strong {
  color: #ffffff;
}
.sample-subtitle {
  color: var(--aurora-text-muted);
  font-size: 17px;
  max-width: 760px;
  margin: 0 auto;
}
.preview-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eef2ff;
  background: linear-gradient(135deg, #ff4500, #ff4500);
  border: 1px solid rgba(165, 180, 252, 0.3);
  margin-bottom: 18px;
}
.sample-card {
  margin-top: 14px;
  background: var(--aurora-surface);
  border: 1px solid var(--aurora-border);
  border-radius: var(--aurora-radius);
  padding: 20px;
  backdrop-filter: blur(12px);
}
.sample-cover-wrap {
  margin-bottom: 12px;
}
.sample-cover {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 69, 0, 0.38);
  box-shadow: 0 18px 36px rgba(255, 69, 0, 0.28);
  display: block;
  margin: 0 auto;
}
.sample-cover-caption {
  margin-top: 10px;
  margin-bottom: 0;
  color: #ffd9c2;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.sample-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.sample-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 69, 0, 0.3);
  background: rgba(255, 69, 0, 0.12);
  color: #e0e7ff;
  font-size: 13px;
}
.sample-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 10px 0 14px;
  color: #ffd9c2;
}
.sample-card p {
  color: #e2e8f0;
  line-height: 1.8;
  margin-bottom: 14px;
}
.sample-card hr {
  border-color: rgba(255, 69, 0, 0.35);
  margin: 22px 0;
}
.sample-note {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 69, 0, 0.13);
  border: 1px solid rgba(255, 69, 0, 0.32);
  color: #e0e7ff;
  font-size: 14px;
}
.sample-inside,
.sample-audience {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 69, 0, 0.28);
  background: rgba(255, 69, 0, 0.1);
}
.sample-inside h3,
.sample-audience h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #e0e7ff;
}
.sample-inside ul,
.sample-audience ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sample-inside li,
.sample-audience li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
}
.sample-inside li i,
.sample-audience li i {
  color: #ffa07a;
  margin-top: 2px;
  flex-shrink: 0;
}
.sample-cta {
  margin-top: 16px;
}
.sample-card.sample-reveal,
.demo-login-box.sample-reveal {
  opacity: 0 !important;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sample-card.sample-reveal.revealed,
.demo-login-box.sample-reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0);
}
.demo-login-box.sample-reveal.revealed:nth-child(3) {
  transition-delay: 0.1s;
}
@media (prefers-reduced-motion: reduce) {
  .sample-card.sample-reveal,
  .demo-login-box.sample-reveal {
    opacity: 1 !important;
    transform: none;
    transition: none;
  }
}
.btn-primary {
  background: linear-gradient(135deg, #ff4500 0%, #ff4500 55%, #ff8c00 100%);
  background-size: 200% auto;
  border: none;
  font-weight: 700;
  border-radius: var(--aurora-radius-sm);
  transition: var(--aurora-transition);
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 69, 0, 0.4);
  color: #fff;
}
.demo-login-box {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 69, 0, 0.16),
    rgba(6, 8, 15, 0.75)
  );
  border: 1px solid rgba(165, 180, 252, 0.3);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(255, 69, 0, 0.2);
}
@media (min-width: 768px) {
  .sample-audience .demo-login-box + .demo-login-box {
    margin-top: 0;
  }
  .demo-login-box {
    margin-top: 14px;
    max-width: 100%;
    width: 100%;
    justify-self: center;
  }
  .sample-audience {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
  }
  .sample-audience h3 {
    grid-column: 1 / -1;
  }
  .sample-audience .demo-tip {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767.98px) {
  .sample-audience .demo-login-box + .demo-login-box {
    margin-top: 14px;
  }
}
.demo-login-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.demo-login-header .demo-role-badge {
  margin-left: auto;
  flex-shrink: 0;
}
.demo-login-header i {
  font-size: 24px;
  color: var(--aurora-primary-light);
}
.demo-login-header strong {
  display: block;
  color: var(--aurora-text);
  font-size: 15px;
  font-weight: 700;
}
.demo-login-header span {
  display: block;
  color: var(--aurora-text-muted);
  font-size: 12px;
}
.demo-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.demo-role-badge[data-demo-role="admin"] {
  color: #b9f6ca;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
}
.demo-role-badge[data-demo-role="user"] {
  color: #b3e5fc;
  background: rgba(2, 136, 209, 0.16);
  border: 1px solid rgba(2, 136, 209, 0.45);
}
.demo-login-user {
  background: linear-gradient(
    180deg,
    rgba(2, 136, 209, 0.13),
    rgba(6, 8, 15, 0.75)
  );
  border: 1px solid rgba(100, 181, 246, 0.3);
  box-shadow: 0 14px 36px rgba(2, 136, 209, 0.16);
}
.demo-login-user .demo-copy-btn,
.demo-login-user .demo-open-btn {
  color: #90caf9;
}
.demo-login-user .demo-copy-btn:hover,
.demo-login-user .demo-open-btn:hover {
  background: rgba(2, 136, 209, 0.24);
  border-color: rgba(100, 181, 246, 0.5);
  color: #fff;
}
.demo-login-user .demo-login-header i {
  color: #90caf9;
}
.demo-login-user .demo-cred-value {
  color: #e1f0ff;
}
.demo-login-user .demo-tip i {
  color: #90caf9;
}
.demo-credential {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(6, 8, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 8px;
}
.demo-cred-label {
  color: var(--aurora-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 66px;
  flex-shrink: 0;
}
.demo-cred-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #e0e7ff;
  font-family: "Consolas", "Fira Code", monospace;
  font-size: 13px;
}
.demo-copy-btn,
.demo-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--aurora-primary-light);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.demo-copy-btn:hover,
.demo-open-btn:hover {
  background: rgba(255, 69, 0, 0.28);
  border-color: rgba(165, 180, 252, 0.5);
  color: #fff;
  transform: translateY(-1px);
}
.demo-copy-btn.copied {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}
.demo-login-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 11px 20px !important;
  font-size: 14px !important;
  border-radius: 10px;
}
.demo-tip {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--aurora-text-muted);
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.demo-tip i {
  color: var(--aurora-primary-light);
  margin-top: 2px;
}
@media (max-width: 767.98px) {
  .sample-hero {
    padding: 130px 0 32px;
  }
  .sample-heading h1 {
    font-size: 32px;
  }
  .chapters-badge {
    font-size: 13px;
    padding: 7px 12px;
  }
  .sample-subtitle {
    font-size: 15px;
  }
  .sample-card {
    padding: 16px;
  }
  .sample-card h2 {
    font-size: 21px;
  }
  .sample-cover {
    width: auto;
    max-width: 100%;
    height: auto;
  }
}