/* ==========================================
   READ-FAM LANDING PAGE CSS
   ========================================== */

/* --- Design System & CSS Variables --- */
:root {
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Brand Palette */
  --primary: #5C46E5;
  --primary-hover: #4A34D2;
  --soft-purple-bg: #EAE8FA;
  --hue-primary: 250;
  --hue-accent: 275;

  --primary-light: #EAE8FA;
  --primary-glow: rgba(92, 70, 229, 0.15);

  --accent: #7C3AED;
  --accent-light: #F3E8FF;

  /* Neutral Slate Palette */
  --bg-main: #F6F6FA;
  --bg-card: #FFFFFF;
  --text-main: #1D1D21;
  --text-muted: #585767;
  --border-color: #E2E8F0;

  /* Dark Theme variables */
  --dark-purple: #1A1838;
  --dark-purple-light: #25224D;

  /* Transitions & Shadows */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.12), 0 12px 24px -10px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 12px 30px -5px rgba(92, 70, 229, 0.3);

  /* Spacing Utility */
  --section-padding: 100px 0;

  /* Font size preview parameter updated via JS */
  --preview-font-size: 16px;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
  font-weight: 800;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 20%, var(--accent) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout Elements --- */
.navbar-container,
.hero-container,
.creator-grid,
.nav-sharing-container,
.support-container,
.transition-grid,
.governance-container,
.gallery-container,
.cta-container,
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.4);
}

.btn-full-mini {
  width: 100%;
  padding: 8px 16px;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--text-main);
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  animation: toast-in var(--transition-normal) forwards;
  border-left: 4px solid var(--primary);
}

@keyframes toast-in {
  from {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.toast.toast-fadeout {
  animation: toast-out var(--transition-normal) forwards;
}

@keyframes toast-out {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  to {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }
}

/* --- Header / Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 0;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #5C46E5;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-purple {
  color: #5C46E5;
  font-family: var(--font-heading);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Mobile Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: var(--bg-card);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.close-drawer {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.drawer-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
}

.drawer-btn {
  margin-top: 1rem;
}

/* --- Hero Section --- */
.hero-section {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 80% 20%, hsla(var(--hue-primary), 80%, 95%, 0.8) 0%, transparent 60%),
    radial-gradient(circle at 10% 70%, hsla(var(--hue-accent), 75%, 96%, 0.8) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.badge-new-release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  animation: float 4s ease-in-out infinite;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #1D1D21;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 520px;
  color: #585767;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-icon-svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.btn-secondary.btn-hero {
  background-color: #EAE8FA;
  color: #5C46E5;
  border: none;
  box-shadow: none;
}

.btn-secondary.btn-hero:hover {
  background-color: #DFDCF7;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Chapter Card Badge from Figma */
.floating-badge-chapter {
  position: absolute;
  top: 50px;
  right: -30px;
  z-index: 10;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(92, 70, 229, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatBadge 3.5s ease-in-out infinite;
}

.heart-icon {
  color: #5C46E5;
  font-size: 1.1rem;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1D1D21;
  white-space: nowrap;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(40px);
}

.circle-1 {
  width: 250px;
  height: 250px;
  background-color: hsla(var(--hue-primary), 70%, 85%, 0.6);
  top: -20px;
  right: -20px;
  animation: rotate-bg-1 20s linear infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background-color: hsla(var(--hue-accent), 70%, 85%, 0.6);
  bottom: -40px;
  left: -20px;
  animation: rotate-bg-2 15s linear infinite;
}

.hero-home-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 90px;
}

.hero-home-img {
  width: 320px;
  height: auto;
  max-width: 100%;
  border-radius: 90px;
  filter: drop-shadow(0 20px 40px rgba(92, 70, 229, 0.18));
  transition: transform 0.3s ease;
}

.hero-home-img:hover {
  transform: translateY(-8px) scale(1.02);
}

/* --- High fidelity CSS Smartphone Mockup --- */
.phone-frame {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  background-color: #1e293b;
  border: 12px solid #0f172a;
  border-radius: 36px;
  box-shadow: var(--shadow-lg), 0 30px 60px -15px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.phone-frame:hover {
  transform: translateY(-8px) rotate(-1deg);
}

/* Inside Mockup Figma App Features */
.app-hero-mini {
  margin-top: 4px;
  margin-bottom: 12px;
  padding: 8px;
  background-color: rgba(92, 70, 229, 0.05);
  border-radius: 8px;
}

.app-hero-mini-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1D1D21;
}

.app-hero-mini-sub {
  font-size: 0.55rem;
  color: #64748B;
  margin-top: 2px;
}

.app-tabs-pill {
  display: flex;
  gap: 6px;
  background-color: #F1F5F9;
  padding: 3px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tab-pill {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #64748B;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-pill.active {
  background-color: #5C46E5;
  color: #FFFFFF;
}

.authors-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 700;
  color: #1E293B;
  margin-bottom: 6px;
}

.chevron-right {
  font-size: 0.75rem;
  color: #94A3B8;
}

.top-authors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.author-card-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #FFFFFF;
  padding: 5px 7px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.author-avatar-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #CBD5E1;
  flex-shrink: 0;
}

.avatar-1 {
  background-color: #FCA5A5;
}

.avatar-2 {
  background-color: #93C5FD;
}

.avatar-3 {
  background-color: #86EFAC;
}

.avatar-4 {
  background-color: #FDE047;
}

.avatar-5 {
  background-color: #C084FC;
}

.avatar-6 {
  background-color: #FDBA74;
}

.author-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.author-name {
  font-size: 0.52rem;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-count {
  font-size: 0.48rem;
  color: #64748B;
}

.politics-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.politics-card {
  height: 45px;
  background-color: #E2E8F0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.phone-screen {
  flex: 1;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
  z-index: 10;
}

.phone-notch {
  width: 80px;
  height: 16px;
  background-color: #0f172a;
  border-radius: 0 0 10px 10px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-signals {
  display: flex;
  gap: 4px;
}

/* Inside Mockup App Shell */
.app-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 12px;
  overflow-y: auto;
  position: relative;
}

/* Hide scrollbar for simulated phone screen */
.app-container::-webkit-scrollbar {
  display: none;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app-logo {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.app-icon {
  font-size: 0.85rem;
}

.app-search {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.search-icon {
  font-size: 0.75rem;
  margin-right: 6px;
}

.app-search input {
  border: none;
  background: transparent;
  font-size: 0.7rem;
  outline: none;
  width: 100%;
}

.app-categories {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.app-categories::-webkit-scrollbar {
  display: none;
}

.category-pill {
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 20px;
  background-color: #e2e8f0;
  color: #475569;
  white-space: nowrap;
  font-weight: 600;
}

.category-pill.active {
  background-color: var(--primary);
  color: #fff;
}

.featured-book-card {
  display: flex;
  gap: 10px;
  background-color: #fff;
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.featured-cover {
  width: 60px;
  height: 80px;
  background-color: #cbd5e1;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.featured-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.featured-tag {
  font-size: 0.55rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.featured-author {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.featured-rating {
  font-size: 0.55rem;
  font-weight: 600;
}

.app-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.horizontal-book-list {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.mini-book-item {
  width: 70px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-cover {
  width: 70px;
  height: 90px;
  background-color: #cbd5e1;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mini-title {
  font-size: 0.55rem;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-nav-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #e2e8f0;
  padding: 8px 0;
  background-color: #fff;
  margin-left: -12px;
  margin-right: -12px;
  margin-bottom: -8px;
}

.app-nav-icon {
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.app-nav-icon.active {
  opacity: 1;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
}

/* --- About Section --- */
.about-section {
  padding: var(--section-padding);
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* --- Creator Tools Section --- */
.creator-tools-section {
  padding: var(--section-padding);
  background: radial-gradient(circle at 10% 20%, hsla(var(--hue-primary), 80%, 96%, 0.4) 0%, transparent 40%);
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.creator-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.creator-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--hue-primary), 50%, 80%, 1);
}

.card-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card-icon-wrapper.purple-glow {
  background-color: hsla(var(--hue-primary), 75%, 58%, 0.1);
  color: var(--primary);
}

.card-icon-wrapper.violet-glow {
  background-color: hsla(var(--hue-accent), 75%, 55%, 0.1);
  color: var(--accent);
}

.card-icon-wrapper.indigo-glow {
  background-color: hsl(230, 80%, 93%);
  color: hsl(230, 75%, 50%);
}

.card-icon {
  width: 24px;
  height: 24px;
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 700;
}

.card-description {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Intuitive Navigation & Sharing Section --- */
.navigation-sharing-section {
  padding: 5rem 0;
  background-color: #FFFFFF;
}

.nav-sharing-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-sharing-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
}

.feature-item-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #EEECFA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.feature-item:hover .feature-item-icon-circle {
  transform: scale(1.1);
  background-color: #E2DEFB;
}

.feature-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1D1D21;
}

.feature-item-desc {
  font-size: 0.92rem;
  color: #52525B;
  line-height: 1.6;
}

/* Right Side Widget Box */
.nav-sharing-widget-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-widget-container {
  width: 100%;
  max-width: 420px;
  background-color: #EFEDF5;
  border-radius: 32px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
}

.chapter-list-widget {
  background-color: #FFFFFF;
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.chapter-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.chapter-widget-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #5C46E5;
}

.up-down-arrows {
  font-size: 0.65rem;
  color: #71717A;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.chapter-pill-item {
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.chapter-pill-item.selected {
  background-color: #F4F3F8;
  color: #27272A;
}

.chapter-pill-item.muted {
  background-color: #F9F8FC;
  color: #A1A1AA;
}

.quote-card-widget {
  background: linear-gradient(135deg, #E6E1F3 0%, #EDE9F7 100%);
  border-radius: 24px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.quote-card-italic-text {
  font-style: italic;
  font-size: 0.95rem;
  color: #5C46E5;
  line-height: 1.65;
}

.quote-card-buttons-row {
  display: flex;
  gap: 12px;
}

.btn-share-quote {
  background-color: #5C46E5;
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(92, 70, 229, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-share-quote:hover {
  background-color: #4A34D2;
  transform: translateY(-1px);
}

.btn-save-quote {
  background-color: #FFFFFF;
  color: #52525B;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-save-quote:hover {
  background-color: #F4F4F5;
  transform: translateY(-1px);
}

/* --- Support & COMMUNITY ECONOMY Section --- */
.support-stories-section {
  padding: 5rem 0;
  background-color: #F6F6FA;
}

.support-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Left Card: Virtual Economy */
.support-left-card {
  background-color: #FFFFFF;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.economy-sidebar-assets {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  min-width: 110px;
}

.asset-item-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.asset-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(92, 70, 229, 0.15));
}

.asset-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: #5C46E5;
  margin-top: 8px;
}

.asset-subtitle {
  font-size: 0.72rem;
  color: #71717A;
  font-weight: 500;
  margin-top: 2px;
}

.economy-content-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.economy-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #1D1D21;
}

.economy-card-desc {
  font-size: 0.95rem;
  color: #52525B;
  line-height: 1.6;
}

.economy-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.economy-perks-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-circle-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #5C46E5;
  color: #5C46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  flex-shrink: 0;
}

.perk-text {
  font-size: 0.92rem;
  color: #27272A;
  font-weight: 500;
}

/* Right Card: Mote Phoe System */
.support-right-card.mote-phoe-theme {
  background-color: #5C46E5;
  color: #FFFFFF;
  border-radius: 32px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(92, 70, 229, 0.25);
}

.support-right-card.mote-phoe-theme::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mote-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mote-badge-icon {
  font-size: 1.6rem;
}

.mote-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
}

.mote-desc {
  color: #E0E7FF;
  font-size: 0.95rem;
  line-height: 1.65;
}

.mote-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.mote-rank-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.mote-rank-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.rank-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rank-num {
  font-size: 1rem;
  font-weight: 700;
  color: #C7D2FE;
}

.rank-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rank-flower-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.subscription-title {
  font-size: 2rem;
  color: #fff;
}

.subscription-desc {
  color: hsl(var(--hue-primary), 20%, 80%);
  font-size: 0.95rem;
  line-height: 1.6;
}

.subscription-plans {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid hsl(var(--hue-primary), 30%, 30%);
  background-color: var(--dark-purple-light);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.plan-pill:hover {
  border-color: hsl(var(--hue-primary), 50%, 50%);
  background-color: hsl(var(--hue-primary), 40%, 25%);
}

.plan-pill.active {
  border-color: var(--accent);
  background-color: hsl(var(--hue-primary), 45%, 26%);
  box-shadow: 0 0 15px hsla(var(--hue-accent), 75%, 55%, 0.25);
}

.plan-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan-name {
  font-weight: 700;
  font-size: 1rem;
}

.plan-billing {
  font-size: 0.75rem;
  color: hsl(var(--hue-primary), 15%, 75%);
}

.plan-price {
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

/* --- Engineered for Immersion Section --- */
.immersion-section {
  padding: 5rem 0;
  background-color: #FFFFFF;
}

.immersion-grid-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.8rem;
  max-width: 1200px;
  margin: 2.5rem auto 0 auto;
}

.immersion-card {
  border-radius: 28px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.immersion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(92, 70, 229, 0.08);
}

.immersion-icon {
  margin-bottom: 1rem;
}

.immersion-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #1D1D21;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.immersion-card-desc {
  font-size: 0.95rem;
  color: #52525B;
  line-height: 1.6;
}

/* Card 1: Row 1 Left - Discover relaxing stories across genres */
.immersion-card.card-split-hero {
  background: linear-gradient(to right, #EBE9F8 52%, #D5CEEB 52%);
  padding: 0;
  display: flex;
  flex-direction: row;
  min-height: 280px;
}

.card-left-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-right-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mini-phone-screen {
  width: 130px;
  height: 220px;
  background: #FFFFFF;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 4px solid #FFFFFF;
  border-bottom: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: absolute;
  bottom: 0;
}

.mini-phone-screen-inner {
  background: #F1EFFB;
  height: 100%;
  border-radius: 12px 12px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
}

.mini-screen-card {
  background: #FFFFFF;
  height: 110px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mini-screen-btn {
  background: #5C46E5;
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  padding: 5px 8px;
  font-size: 0.55rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

/* Card 2: Row 1 Right - Follow authors you love */
.immersion-card.card-follow-authors {
  background-color: #ECE8FF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

/* Card 3: Row 2 Left - Manage your own creations */
.immersion-card.card-manage-creations {
  background-color: #ECE8FF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
}

.btn-creator-dashboard {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #5C46E5;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(92, 70, 229, 0.08);
  transition: all 0.25s ease;
}

.btn-creator-dashboard:hover {
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(92, 70, 229, 0.15);
}

/* Card 4: Row 2 Right - Distraction-Free Reading */
.immersion-card.card-distraction-free {
  background-color: #EBE8EA;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  min-height: 240px;
}

.distraction-left-content {
  flex: 1.2;
}

.distraction-right-preview {
  flex: 1;
  display: flex;
  justify-content: center;
}

.skeleton-reader-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 10px;
  background: #F1F3F5;
  border-radius: 6px;
}

.skeleton-line.long {
  width: 100%;
}

.skeleton-line.medium {
  width: 85%;
}

.skeleton-line.short {
  width: 60%;
}

.btn-subscribe {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}

/* --- Engineered for Transition Section --- */
.transition-section {
  padding: var(--section-padding);
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
}

.transition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.transition-card {
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.soft-purple-bg {
  background: linear-gradient(135deg, hsl(250, 60%, 97%) 0%, hsl(270, 60%, 97%) 100%);
  border-color: hsl(250, 40%, 92%);
}

.soft-grey-bg {
  background-color: hsl(210, 30%, 96%);
}

.transition-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
}

/* Card 1: Chat Simulator */
.chat-simulator {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 85%;
  font-size: 0.8rem;
  animation: chat-bounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.chat-bubble.left {
  background-color: #fff;
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.chat-bubble.right {
  background-color: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.chat-user {
  font-weight: 700;
  font-size: 0.65rem;
  display: block;
  margin-bottom: 2px;
}

.chat-bubble.left .chat-user {
  color: var(--primary);
}

.chat-bubble.right .chat-user {
  color: hsl(var(--hue-primary), 15%, 85%);
}

.chat-msg {
  line-height: 1.4;
}

@keyframes chat-bounce {
  from {
    transform: translateY(15px) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Card 2: Stats / Chart Simulator */
.stats-simulator {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stats-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stats-big {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

.stats-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.bar-chart {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 120px;
  padding-top: 15px;
  border-bottom: 2px solid #e2e8f0;
}

.chart-column {
  width: 24px;
  height: var(--height);
  background-color: hsl(var(--hue-primary), 60%, 85%);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chart-column::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
}

.chart-column.active,
.chart-column:hover {
  background-color: var(--primary);
}

.bar-tooltip {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: var(--text-main);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
}

.chart-column:hover .bar-tooltip {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Card 3: Bookshelf Simulator */
.bookshelf-simulator {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shelf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.shelf-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  accent-color: var(--primary);
  cursor: pointer;
}

.shelf-btn {
  margin-top: 8px;
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Card 4: Distraction Free Reading Simulator */
.distraction-simulator {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.simulator-paragraph {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: all var(--transition-fast);
}

.sim-line {
  height: 6px;
  background-color: #e2e8f0;
  border-radius: 3px;
  width: 100%;
}

.sim-line.short {
  width: 45%;
}

.sim-line.medium {
  width: 75%;
}

.mode-toggles {
  display: flex;
  gap: 8px;
}

.mode-toggle {
  flex: 1;
  padding: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background-color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mode-toggle.active {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

/* --- Secure Governance Section --- */
.governance-section {
  padding: 5rem 0;
  background-color: #F6F6FA;
}

.governance-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.governance-text-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.governance-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.g-card {
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.g-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(92, 70, 229, 0.08);
}

.g-icon-svg {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.g-card-title {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1D1D21;
}

.g-card-desc {
  font-size: 0.88rem;
  color: #52525B;
  line-height: 1.55;
}

/* Seamless Integration Panel */
.governance-panel-wrapper {
  width: 100%;
}

.governance-panel {
  background-color: #FFFFFF;
  border-radius: 32px;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #1D1D21;
}

.panel-desc {
  font-size: 0.95rem;
  color: #52525B;
  line-height: 1.6;
}

/* Payment Pills & Overlapping Circles */
.payment-pills-row {
  background-color: #F6F6FA;
  border-radius: 20px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlapping-circles {
  display: flex;
  align-items: center;
}

.circle-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: -14px;
  border: 3px solid #F6F6FA;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.2s ease;
}

.circle-badge.kbz {
  z-index: 3;
  color: #5C46E5;
}

.circle-badge.wave {
  z-index: 2;
  color: #334155;
}

.circle-badge.stripe {
  z-index: 1;
  color: #000000;
  font-weight: 800;
  margin-right: 0;
}

.circle-badge:hover {
  transform: translateY(-2px) scale(1.08);
  z-index: 10 !important;
}

.pay-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #52525B;
  margin-left: 1rem;
}

/* Transaction Box */
.transaction-box {
  background-color: #F5F3FF;
  border-radius: 20px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #EDE9FE;
}

.tx-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tx-airplane-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(92, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tx-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1D1D21;
}

.tx-sub {
  font-size: 0.8rem;
  color: #6B7280;
}

.tx-amount {
  font-size: 1.1rem;
  font-weight: 800;
  color: #5C46E5;
}

/* --- Interface Excellence Section --- */
.interface-excellence-section {
  padding: var(--section-padding);
  background-color: #fff;
  border-bottom: 1px solid var(--border-color);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.gallery-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.phone-frame.scale-down {
  transform: scale(0.92);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item-wrapper:hover .phone-frame.scale-down {
  transform: scale(0.96) translateY(-6px);
  box-shadow: var(--shadow-lg), 0 20px 40px -5px rgba(15, 23, 42, 0.2);
}

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

/* Profile screen mock style */
.profile-header-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  text-align: center;
  gap: 4px;
}

.profile-avatar-large {
  width: 54px;
  height: 54px;
  background-color: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.profile-username {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
}

.profile-bio {
  font-size: 0.55rem;
  color: var(--text-muted);
  padding: 0 8px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 10px;
  background-color: #fff;
}

.p-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  border-right: 1px solid var(--border-color);
}

.p-stat-box:last-child {
  border-right: none;
}

.p-stat-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary);
}

.p-stat-lbl {
  font-size: 0.45rem;
  color: var(--text-muted);
}

.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 10px;
  justify-content: center;
}

.badge-mini {
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 6px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
}

/* Feed screen mock style */
.feed-post {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-post-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-avatar {
  font-size: 0.9rem;
}

.feed-meta {
  display: flex;
  flex-direction: column;
}

.feed-user {
  font-size: 0.6rem;
}

.feed-time {
  font-size: 0.45rem;
  color: var(--text-muted);
}

.feed-body {
  font-size: 0.55rem;
  line-height: 1.4;
}

.feed-book-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.attach-cover {
  width: 24px;
  height: 32px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

.attach-details {
  display: flex;
  flex-direction: column;
}

.attach-title {
  font-size: 0.5rem;
  font-weight: 700;
}

.attach-author {
  font-size: 0.45rem;
  color: var(--text-muted);
}

/* Book Shelf view mock style */
.bookshelf-grid-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.mini-book-item.large {
  width: 100%;
}

.mini-book-item.large .mini-cover {
  width: 100%;
  height: 100px;
}

.mini-title-sub {
  font-size: 0.55rem;
  font-weight: 700;
  text-align: left;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reading-progress-bar {
  width: 100%;
  height: 3px;
  background-color: #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 2px;
}

.progress-fill {
  height: 100%;
  background-color: #10b981;
}

.update-feed-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 6px;
  margin-top: 4px;
}

.update-dot-glow {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.update-text {
  font-size: 0.5rem;
  line-height: 1.3;
}

/* Book details mock screen */
.back-nav-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.book-detail-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.detail-cover {
  width: 70px;
  height: 100px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
}

.detail-author {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.detail-stats {
  display: flex;
  gap: 8px;
  font-size: 0.55rem;
  font-weight: 600;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 20px;
}

.detail-synopsis {
  font-size: 0.5rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background-color: #F6F6FA;
  color: #1D1D21;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #1D1D21;
  max-width: 700px;
  line-height: 1.25;
}

.cta-subtitle {
  color: #585767;
  font-size: 1.05rem;
  max-width: 650px;
  line-height: 1.6;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 12px;
  padding: 10px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.store-btn:hover {
  background-color: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.store-svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-tiny {
  font-size: 0.58rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.store-bold {
  font-size: 0.95rem;
  font-weight: 700;
}

.cta-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #5C46E5;
}

.stat-label {
  font-size: 0.88rem;
  color: #71717A;
  font-weight: 500;
}

.cta-stat-divider {
  width: 1px;
  height: 36px;
  background-color: #E2E8F0;
}

color: hsl(var(--hue-accent), 80%, 75%);
}

.stat-label {
  font-size: 0.85rem;
  color: hsl(var(--hue-primary), 15%, 75%);
  font-weight: 600;
}

.cta-stat-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
}

/* --- Footer --- */
.footer {
  background-color: #F6F6FA;
  padding: 80px 0 40px;
  border-top: 1px solid #EAEAEA;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
  gap: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 380px;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #52525B;
  line-height: 1.6;
}

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.footer-icon-link {
  color: #52525B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-icon-link:hover {
  color: #5C46E5;
  transform: translateY(-2px);
}

.footer-links-wrapper {
  display: flex;
  gap: 4.5rem;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1D1D21;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #52525B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5C46E5;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #EAEAEA;
  padding-top: 30px;
  text-align: left;
}

.copyright-text {
  font-size: 0.88rem;
  color: #52525B;
}

/* --- Animations --- */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes rotate-bg-1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(20px, -20px) rotate(180deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes rotate-bg-2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-20px, 20px) rotate(-180deg);
  }

  100% {
    transform: translate(0, 0) rotate(-360deg);
  }
}

/* --- Responsive Media Queries --- */

/* Tablet View */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subtitle {
    max-width: 600px;
  }

  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-sharing-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .support-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .transition-grid {
    grid-template-columns: 1fr;
  }

  .governance-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .footer-container {
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Mobile View (iPhone 16 Pro, 393px & mobile devices) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .navbar-container,
  .hero-container,
  .creator-grid,
  .nav-sharing-container,
  .support-container,
  .transition-grid,
  .governance-container,
  .gallery-container,
  .cta-container,
  .footer-container,
  .immersion-grid-container {
    width: 92%;
    padding: 0 10px;
  }

  .navbar {
    padding: 0.8rem 0;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.4rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-home-img {
    width: 260px;
    border-radius: 36px;
  }

  .floating-badge-chapter {
    right: 0px;
    top: 20px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Navigation & Sharing */
  .nav-sharing-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-widget-container {
    max-width: 100%;
    padding: 1.5rem;
  }

  /* Support / Economy */
  .support-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .support-left-card {
    flex-direction: column;
    padding: 2rem;
    gap: 1.8rem;
    text-align: center;
  }

  .economy-perks-list li {
    justify-content: center;
  }

  .support-right-card.mote-phoe-theme {
    padding: 2rem;
  }

  /* Engineered for Immersion */
  .immersion-grid-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .immersion-card.card-split-hero {
    flex-direction: column;
    background: #EBE9F8;
  }

  .card-right-preview {
    min-height: 180px;
  }

  .immersion-card.card-distraction-free {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Secure Governance */
  .governance-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .governance-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .governance-panel {
    padding: 2rem;
  }

  .payment-pills-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .pay-label {
    margin-left: 0;
  }

  /* CTA Section */
  .cta-title {
    font-size: 2.2rem;
  }

  .store-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 1.2rem auto 0 auto;
  }

  .cta-stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cta-stat-divider {
    width: 60px;
    height: 1px;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-links-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
}

/* --- Governance & Payment Integration Styling --- */
.g-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 12px;
}

.g-icon-circle.purple-bg {
  background-color: #EAE8FA;
  color: #5C46E5;
}

.payment-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.pay-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #F1F5F9;
  color: #1E293B;
  border: 1px solid #E2E8F0;
}

.pay-label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

.transaction-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 10px;
}

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

.tx-icon {
  color: #5C46E5;
  font-size: 1.1rem;
}

.tx-text {
  display: flex;
  flex-direction: column;
}

.tx-title {
  font-size: 0.85rem;
  color: #1D1D21;
}

.tx-sub {
  font-size: 0.72rem;
  color: #64748B;
}

.tx-amount {
  font-weight: 700;
  color: #5C46E5;
  font-size: 0.9rem;
}

/* --- Interface Excellence Gallery --- */
.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .grid-4-cols {
    grid-template-columns: 1fr;
  }
}

.gallery-text-block {
  margin-top: 14px;
  text-align: center;
}

.gallery-item-desc {
  font-size: 0.82rem;
  color: #64748B;
  margin-top: 4px;
}

.mockup-book-cover-large {
  width: 100px;
  height: 120px;
  background-color: #E2E8F0;
  border-radius: 8px;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.mockup-book-cover-mini {
  height: 80px;
  background-color: #E2E8F0;
  border-radius: 6px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feed-post-card {
  background: #FFF;
  border-radius: 8px;
  padding: 8px;
  margin-top: 8px;
  border: 1px solid #E2E8F0;
}

.feed-user-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-time-label {
  font-size: 0.55rem;
  color: #94A3B8;
}

.profile-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #334155;
  margin: 12px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.profile-name-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.profile-follow-text {
  font-size: 0.6rem;
  color: #94A3B8;
  text-align: center;
  display: block;
}

.profile-tabs-mini {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
  font-size: 0.6rem;
  border-top: 1px solid #334155;
  padding-top: 8px;
}

.profile-tabs-mini .p-tab {
  color: #94A3B8;
}

.profile-tabs-mini .p-tab.active {
  color: #FFF;
  font-weight: 700;
}

/* --- Virtual Economy Assets Preview --- */
.economy-assets-preview {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0.5rem;
}

.asset-badge-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.asset-badge-box:hover {
  transform: translateY(-3px);
  border-color: #5C46E5;
  box-shadow: 0 8px 20px rgba(92, 70, 229, 0.12);
}

.economy-img-asset {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.asset-badge-box:hover .economy-img-asset {
  transform: scale(1.12) rotate(6deg);
}

.asset-badge-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5C46E5;
}