html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
 
.site-body {
  background-color: #f8fafc;
  background-image: radial-gradient(circle at top left, #f8fafc 0, #f1f5f9 35%, #ffffff 75%);
  min-height: 100vh;
  color: #111827;
  padding-top: 4.25rem;
}

.auth-body {
  min-height: 100vh;
  background-color: #0f172a;
  background-image: radial-gradient(circle at top left, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand-gradient {
  background: linear-gradient(120deg, #f97316, #eab308);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-section {
  padding: 4rem 0;
}

.hero-bg {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
}

.hero-title {
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.1rem;
}

.main-navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.main-navbar .navbar-brand {
  letter-spacing: 0.03em;
  font-size: 1.25rem;
}

.main-navbar .nav-link {
  color: #111827;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: #ea580c;
}

.main-navbar .btn-primary {
  background-image: linear-gradient(120deg, #f97316, #eab308);
  border-color: #f97316;
  color: #ffffff;
}

.main-navbar .btn-primary:hover {
  background-image: linear-gradient(120deg, #ea580c, #facc15);
  border-color: #ea580c;
}

.btn-pp-primary {
  background-image: linear-gradient(135deg, #ea580c, #c2410c);
  border-color: #b45309;
  color: #ffffff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
}

.btn-pp-primary:hover {
  background-image: linear-gradient(135deg, #c2410c, #7c2d12);
  border-color: #92400e;
  color: #ffffff;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 5px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 2px 10px 20px rgba(0,0,0,0.3);
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    padding: 0.5rem 1rem 1rem;
    margin-top: 0.5rem;
  }

  .main-navbar .navbar-nav .nav-link {
    padding: 0.35rem 0;
  }

  .main-navbar .navbar-nav.ms-auto .btn {
    width: 100%;
    margin-top: 0.25rem;
  }
}

.card-shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.pricing-card {
  border-radius: 1.25rem;
  border: 1px solid #e5e7eb;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #d1d5db;
}

.pricing-card-popular {
  border-color: #f97316;
  box-shadow: 0 20px 50px rgba(248, 113, 22, 0.25);
}

.pricing-badge-popular {
  font-size: 0.7rem;
  letter-spacing: 0.07em;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.pricing-features i {
  margin-top: 0.15rem;
}

.pricing-includes li {
  display: flex;
  align-items: center;
}

.pricing-includes i {
  margin-right: 0.35rem;
}

.ratio-3x4 {
  --bs-aspect-ratio: calc(4 / 3 * 100%);
}

.how-steps-row {
  align-items: stretch;
}

.how-step-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.how-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border-color: #f97316;
}

.how-step-number {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(120deg, #f97316, #eab308);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #f8fafc;
}

.how-step-icon-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #eff6ff;
  color: #2563eb;
  font-size: 0.85rem;
}

.footer-shell {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
}

.footer-shell h2 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-shell h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: #f97316;
  border-radius: 99px;
}

.footer-link {
  color: #94a3b8 !important;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-link:hover {
  color: #f97316 !important;
  transform: translateX(5px);
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-social-btn:hover {
  background: #f97316;
  border-color: #f97316;
  color: #ffffff !important;
  transform: scale(1.15) translateY(-5px);
}

.footer-contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact-icon {
  width: 20px;
  color: #f97316;
  font-size: 1.1rem;
}

.footer-shell .text-muted {
  color: #94a3b8 !important;
  font-size: 0.9rem;
}

.footer-shell .footer-contact-item a {
  color: #94a3b8 !important;
}

.footer-shell .footer-contact-item a:hover {
  color: #f97316 !important;
}

.footer-bottom {
  background: #020617;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #64748b;
}

.footer-bottom .text-white {
  color: #cbd5e1 !important;
}

.auth-card {
  border-radius: 1.25rem;
  overflow: hidden;
}

.auth-card-aside {
  background: #f1f5f9;
  color: #475569;
  padding: 1.75rem 1.5rem;
  align-items: center;
}

.auth-icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(120deg, #f97316, #eab308);
  color: #111827;
}

.auth-input-group .input-group-text {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
}

.auth-input-group .form-control {
  border-color: #e5e7eb;
}

.royalty-highlight-badge {
  background-image: linear-gradient(120deg, #f97316, #eab308);
  color: #111827;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.royalty-card {
  border-radius: 1.25rem;
}

.royalty-table {
  border-collapse: separate;
  border-spacing: 0;
}

.royalty-table thead th {
  background: #fef9c3;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
}

.royalty-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.royalty-table td,
.royalty-table th {
  border-color: #e5e7eb;
}

.royalty-table td:first-child {
  width: 30%;
  font-weight: 500;
}

.object-fit-cover {
  object-fit: cover;
}

/* Author dashboard layout - light, clean corporate theme */
/* Author dashboard layout - Premium modern theme */
.author-body {
  min-height: 100vh;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 0%, rgba(139, 92, 246, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(217, 70, 239, 0.05) 0px, transparent 50%);
  color: #1e293b;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.author-shell {
  min-height: calc(100vh - 70px);
}

/* Glassmorphism Panel Utility */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Bento Grid Layout */
.author-layout-row {
  align-items: stretch;
}

@media (min-width: 992px) {
  .author-layout-sidebar {
    flex: 0 0 280px !important;
    max-width: 280px !important;
    display: block !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
  }

  .author-layout-content {
    flex: 1;
    padding-left: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .author-layout-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    max-width: 280px !important;
    height: 100vh !important;
    z-index: 1050 !important;
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%) !important;
    border-radius: 0 1.5rem 1.5rem 0 !important;
    padding-top: 1.5rem !important;
    box-shadow: 20px 0 30px rgba(0,0,0,0.2) !important;
    display: block !important;
    overflow-y: auto !important;
  }

  .author-layout-sidebar.show {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .author-layout-content {
    width: 100% !important;
    padding: 1.5rem !important;
  }

  #sidebarBackdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    backdrop-filter: blur(2px);
  }

  #sidebarBackdrop.show {
    display: block;
  }
}

.author-shell .card {
  border-radius: 1.25rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-shell .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.author-shell .card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1.25rem;
}

/* Metric Cards */
.metric-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.metric-card .metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.metric-card.primary .metric-icon { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.metric-card.success .metric-icon { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.metric-card.warning .metric-icon { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.metric-card.purple .metric-icon { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.author-shell .table {
  --bs-table-bg: transparent;
  color: #475569;
}

.author-shell .table thead th {
  background: #f8fafc;
  color: #64748b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 2px solid #f1f5f9;
}

.author-shell .table tbody td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.author-navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  height: 70px;
}

.author-navbar .navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 992px) {
  .author-sidebar {
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.2);
    border: none;
    height: calc(100vh - 110px);
    position: sticky;
    top: 90px;
    overflow-y: auto;
  }
}

@media (max-width: 991.98px) {
  .author-sidebar {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    height: auto !important;
    padding: 0 !important;
  }
}

/* Elegant Custom Scrollbar */
.author-sidebar::-webkit-scrollbar { width: 4px; }
.author-sidebar::-webkit-scrollbar-track { background: transparent; }
.author-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
.author-sidebar:hover::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.4); }

.author-sidebar .list-group-item {
  border: none;
  border-radius: 0.65rem;
  margin-bottom: 0.2rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-sidebar .list-group-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateX(4px);
}

.author-sidebar .list-group-item.active {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.author-body .btn-primary {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
  transition: all 0.2s;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

  /* Floating Ornaments */
  .pp-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    z-index: -1;
    animation: blob-float 20s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
  }

  @keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 40px) scale(1.1); }
  }

  .main-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
  }
  
  .main-navbar.scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  }

.author-body .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
  filter: brightness(1.1);
}

.author-body .badge {
  padding: 0.5em 0.8em;
  border-radius: 0.5rem;
  font-weight: 600;
}

.badge-soft-success { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.badge-soft-warning { background: rgba(234, 179, 8, 0.1); color: #ca8a04; }
.badge-soft-danger { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.badge-soft-info { background: rgba(59, 130, 246, 0.1); color: #2563eb; }

/* Manuscript Journey Stepper */
.roadmap-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 1rem;
}

.roadmap-container::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f1f5f9;
  z-index: 0;
}

.roadmap-step {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.roadmap-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 4px solid #ffffff;
  margin: 0 auto 0.5rem;
  transition: all 0.3s;
}

.roadmap-step.active .roadmap-dot { background: #6366f1; border-color: rgba(99, 102, 241, 0.3); }
.roadmap-step.completed .roadmap-dot { background: #22c55e; }

.extra-small { font-size: 0.65rem; }

/* Account Health Progress */
.health-progress {
  height: 8px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.health-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  transition: width 1s ease-in-out;
}

/* Book Submission Wizard */
.wizard-step { display: none; transition: opacity 0.3s ease; }
.wizard-step.active { display: block; opacity: 1; }

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2.5rem;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f1f5f9;
  z-index: 0;
}

.wizard-step-indicator {
  position: relative;
  z-index: 1;
  text-align: center;
  flex: 1;
}

.wizard-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 4px solid #ffffff;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.wizard-step-indicator.active .wizard-step-dot {
  background: #6366f1;
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.2);
  transform: scale(1.1);
}

.wizard-step-indicator.completed .wizard-step-dot {
  background: #22c55e;
  color: #ffffff;
  border-color: #ffffff;
}

.wizard-step-indicator.active .wizard-step-label {
  color: #1e293b;
  font-weight: 700;
}

.wizard-step-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
}

.cover-preview-wrapper {
  aspect-ratio: 2/3;
  width: 100%;
  max-width: 200px;
  background: #f8fafc;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 auto;
}

.cover-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-preview-placeholder {
  text-align: center;
  color: #94a3b8;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
}

.footer-bottom .text-dark {
  color: #ffffff !important;
  .footer-main-row h2 {
    margin-top: 1rem;
  }
}
. l e t t e r - s p a c i n g - 5   {   l e t t e r - s p a c i n g :   5 p x ;   f o n t - w e i g h t :   b o l d ;   }   . a u t h - i c o n - c i r c l e   i . f a - s h i e l d - h a l v e d   {   f o n t - s i z e :   1 . 5 r e m ;   } 
 
 
