/* ==========================================================================
   AMH PUBLISHERS - BASE DESIGN SYSTEM
   Extracted from the live AMH Publishers reference build (styles.css).
   Section 1 (tokens), typography, buttons, preloader, nav, hero scaffold,
   marquee, services, process, calculator, portfolio, why-us, testimonials,
   FAQ, contact, footer, floating actions, modals, reveals, breakpoints.
   The removed Packages/Pricing block has been deleted (Step 15).
   ========================================================================== */
/* --------------------------------------------------------------------------
   1. CSS RESET & DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette from AMH Logo */
  --accent-red: #e63946;
  --accent-orange: #f77f00;
  --accent-gold: #fcbf49;
  --accent-emerald: #10b981;
  --accent-royal: #2563eb;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #e63946 0%, #f77f00 50%, #fcbf49 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(230, 57, 70, 0.12) 0%, rgba(247, 127, 0, 0.1) 50%, rgba(252, 191, 73, 0.08) 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #d97706 100%);
  --gradient-dark-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  --gradient-card-glow: radial-gradient(circle at 50% 0%, rgba(247, 127, 0, 0.15), transparent 70%);

  /* Typography */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 30px rgba(247, 127, 0, 0.35);

  /* Border Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-liquid: 0.75s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Light Theme (Default) */
:root, [data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-input: #f1f5f9;
  --bg-input-focus: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-color: rgba(15, 23, 42, 0.08);
  --border-color-hover: rgba(247, 127, 0, 0.35);
  --border-glass: rgba(255, 255, 255, 0.6);

  --nav-bg: rgba(255, 255, 255, 0.82);
  --nav-border: rgba(15, 23, 42, 0.07);

  --badge-bg: rgba(247, 127, 0, 0.08);
  --badge-text: #c2410c;

  --color-scheme: light;
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #070a13;
  --bg-secondary: #0c1220;
  --bg-surface: #10182c;
  --bg-surface-elevated: #162039;
  --bg-card: rgba(16, 24, 44, 0.8);
  --bg-glass: rgba(12, 18, 32, 0.8);
  --bg-input: #151e34;
  --bg-input-focus: #1b2642;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #070a13;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(247, 127, 0, 0.45);
  --border-glass: rgba(255, 255, 255, 0.12);

  --nav-bg: rgba(7, 10, 19, 0.82);
  --nav-border: rgba(255, 255, 255, 0.08);

  --badge-bg: rgba(247, 127, 0, 0.18);
  --badge-text: #fb923c;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.7);

  --color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE & CUSTOM SCROLLBAR
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important;
  color-scheme: var(--color-scheme);
  overflow-x: hidden;
  max-width: 100%;
}

/* Lenis Recommended Smooth Scroll Base */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Custom Scrollbar - Zero Chrome Default */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-red) 0%, var(--accent-orange) 50%, var(--accent-gold) 100%);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
  transition: all var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4d5a 0%, #ff951a 50%, #ffca3a 100%);
  box-shadow: 0 0 12px rgba(247, 127, 0, 0.6);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange) var(--bg-primary);
}

::selection {
  background: var(--accent-orange);
  color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
.font-serif {
  font-family: var(--font-serif);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid rgba(247, 127, 0, 0.2);
}

.section-tag i {
  width: 14px;
  height: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

/* --------------------------------------------------------------------------
   4. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(247, 127, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-glow:hover::after {
  left: 140%;
  transition: left 0.8s ease-in-out;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.spin-icon {
  animation: spinLoader 0.9s linear infinite !important;
}

@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   5. PRELOADER - BOOK THEMED ANIMATION
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #080c16;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.8s ease;
}

.preloader.fade-out {
  transform: translateY(-100%);
  pointer-events: none;
}

.book-loader {
  position: relative;
  width: 110px;
  height: 80px;
  margin-bottom: 28px;
  perspective: 600px;
}

.book-spine {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 80px;
  background: var(--gradient-brand);
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(247, 127, 0, 0.8);
}

.book-page {
  position: absolute;
  top: 0;
  width: 50px;
  height: 76px;
  border-radius: 3px;
  background: #182238;
  border: 1px solid rgba(252, 191, 73, 0.3);
  transform-origin: left center;
}

.book-page.left {
  left: 4px;
  transform-origin: right center;
  border-radius: 3px 0 0 3px;
  background: #111828;
}

.book-page.right {
  left: 54px;
  border-radius: 0 3px 3px 0;
  background: #111828;
}

.book-page.flipping {
  left: 54px;
  background: linear-gradient(135deg, #1c2742, #29385c);
  border-color: var(--accent-orange);
  animation: flipBook 1.4s infinite cubic-bezier(0.645, 0.045, 0.355, 1);
}

@keyframes flipBook {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(-180deg);
    background: linear-gradient(135deg, #2a3b61, #1e2a47);
  }
  100% {
    transform: rotateY(-180deg);
  }
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: #f8fafc;
  margin-bottom: 12px;
  font-weight: 700;
}

.preloader-tagline {
  font-size: 0.85rem;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.preloader-progress-wrap {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--accent-orange);
  transition: width 0.1s linear;
}

.preloader-counter {
  margin-top: 10px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   6. HEADER & GLASS NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1005;
  padding: 18px 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1001;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast), filter var(--transition-normal);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

/* Constant-dimension Logo Wrapper - Zero Layout Shift on Theme Switch */
.brand-logo-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: transparent;
  box-shadow: none;
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
  min-height: 52px;
}

[data-theme="dark"] .brand-logo-wrapper {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Modern Theme Slider Switch */
.theme-slider-switch {
  position: relative;
  width: 64px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.theme-slider-switch:focus {
  outline: none;
}

.theme-slider-switch:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.theme-slider-switch:hover {
  border-color: var(--accent-orange);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.slider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}

.slider-icon.sun-icon {
  color: #f59e0b;
  opacity: 1;
}

.slider-icon.moon-icon {
  color: #94a3b8;
  opacity: 0.5;
}

[data-theme="dark"] .slider-icon.sun-icon {
  color: #64748b;
  opacity: 0.45;
}

[data-theme="dark"] .slider-icon.moon-icon {
  color: #38bdf8;
  opacity: 1;
}

.slider-thumb {
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast);
  z-index: 1;
}

[data-theme="dark"] .slider-thumb {
  transform: translateX(32px);
  background: var(--gradient-brand);
  box-shadow: 0 2px 8px rgba(247, 127, 0, 0.5);
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1002;
  transition: all var(--transition-fast);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-red);
}

.hamburger-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   7. LIQUID MOBILE MENU (EXPANDS FROM TOP RIGHT)
   -------------------------------------------------------------------------- */
.liquid-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 85px 24px 30px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
  /* Liquid circle clip-path originating from top right hamburger location */
  clip-path: circle(0px at calc(100% - 44px) 44px);
  transition: clip-path var(--transition-liquid);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}

.liquid-mobile-menu.is-open {
  clip-path: circle(160% at calc(100% - 44px) 44px);
  pointer-events: all;
}

.mobile-menu-backdrop-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
  overflow: hidden;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: auto;
}

.mobile-nav-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-mobile-menu.is-open .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance */
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(1) { transition-delay: 0.15s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(2) { transition-delay: 0.20s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(3) { transition-delay: 0.25s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(4) { transition-delay: 0.30s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(5) { transition-delay: 0.35s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(6) { transition-delay: 0.40s; }
.liquid-mobile-menu.is-open .mobile-nav-item:nth-child(7) { transition-delay: 0.45s; }

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-orange);
  padding-left: 6px;
}

.mobile-nav-link i {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

.mobile-menu-footer {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.4s ease 0.48s;
  flex-shrink: 0;
}

.liquid-mobile-menu.is-open .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.mobile-contact-item i {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION (ANIMATED, ALIVE & INTERACTIVE)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(247, 127, 0, 0.08), transparent 40%),
              radial-gradient(circle at 10% 70%, rgba(230, 57, 70, 0.06), transparent 45%);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-brand);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-pill-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.hero-static-line {
  display: block;
}

.hero-typewriter-line {
  display: block;
  min-height: 1.25em;
  line-height: 1.16;
  position: relative;
}

.typewriter-wrapper {
  display: inline-flex;
  align-items: center;
  min-height: 1.25em;
  color: var(--accent-orange);
  position: relative;
  white-space: nowrap;
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background-color: var(--accent-red);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* 3D Interactive Book Showcase */
.hero-visual-wrapper {
  position: relative;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-stage-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 127, 0, 0.3) 0%, rgba(230, 57, 70, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.book-card-3d {
  position: relative;
  width: 270px;
  height: 390px;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(10deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  z-index: 2;
  cursor: grab;
}

.book-card-3d:hover {
  transform: rotateY(-10deg) rotateX(4deg) translateY(-10px);
}

.book-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #111b2e 0%, #1a2744 60%, #0d1525 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow: 18px 24px 50px rgba(0, 0, 0, 0.45),
              inset 4px 0 10px rgba(255, 255, 255, 0.15),
              inset -4px 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px;
  border: 1px solid rgba(252, 191, 73, 0.3);
  overflow: hidden;
}

.book-cover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.4);
}

.book-badge-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--gradient-gold);
  color: #111d2e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  align-self: flex-start;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.book-cover-center {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
}

.book-cover-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.book-cover-subtitle {
  font-size: 0.78rem;
  color: var(--accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-cover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
}

.book-author-name {
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.book-publisher-tag {
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* 3D Pages edge */
.book-card-3d::after {
  content: '';
  position: absolute;
  top: 6px;
  right: -16px;
  width: 18px;
  height: calc(100% - 12px);
  background: repeating-linear-gradient(
    90deg,
    #f5ede1,
    #f5ede1 2px,
    #e8dcce 2px,
    #e8dcce 4px
  );
  transform: rotateY(90deg);
  transform-origin: left;
  border-radius: 0 2px 2px 0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
}

/* Floating Badges around Book */
.floating-metric-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  z-index: 3;
  animation: floatCard 4s ease-in-out infinite alternate;
}

.floating-metric-card.pos-top-left {
  top: 10px;
  left: -40px;
  animation-delay: 0s;
}

.floating-metric-card.pos-bottom-right {
  bottom: 20px;
  right: -40px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.floating-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #ffffff;
  flex-shrink: 0;
}

.floating-icon-box i {
  width: 18px;
  height: 18px;
}

.floating-metric-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.floating-metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. LOGO MARQUEE (TRUSTED DISTRIBUTORS & PRESS)
   -------------------------------------------------------------------------- */
.marquee-section {
  padding: 36px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
}

.marquee-heading {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.marquee-track-container {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marqueeScroll 28s linear infinite;
  flex-shrink: 0;
}

.marquee-track-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.7;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.partner-logo-item:hover {
  color: var(--accent-orange);
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo-item i {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   10. SERVICES SECTION (INTERACTIVE SUITE)
   -------------------------------------------------------------------------- */
.services-section {
  background: var(--bg-primary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(247, 127, 0, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(247, 127, 0, 0.2);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-brand);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(247, 127, 0, 0.35);
}

.service-icon-box i {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.service-feature-item i {
  width: 16px;
  height: 16px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.service-card-action {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-link-btn {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: gap var(--transition-fast);
}

.service-link-btn:hover {
  gap: 12px;
  color: var(--accent-red);
}

.service-link-btn i {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   11. PUBLISHING PROCESS ROADMAP (STEP-BY-STEP)
   -------------------------------------------------------------------------- */
.process-section {
  background: var(--bg-secondary);
}

.process-steps-wrap {
  position: relative;
  margin-top: 60px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg);
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent-orange);
  line-height: 1;
  margin-bottom: 18px;
  transition: all var(--transition-normal);
}

.process-step-card:hover .step-num-badge {
  color: var(--accent-orange);
  -webkit-text-stroke: 0px;
  transform: scale(1.1);
}

.step-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. INTERACTIVE PUBLISHING COST & ROYALTY ESTIMATOR
   -------------------------------------------------------------------------- */
.calculator-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 50px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}

.calc-form-side {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-group-title i {
  width: 16px;
  height: 16px;
  color: var(--accent-orange);
}

/* Custom Interactive Option Pills */
.genre-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.genre-pill-btn {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.genre-pill-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.genre-pill-btn.is-selected {
  background: var(--gradient-brand-subtle);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 14px rgba(247, 127, 0, 0.2);
}

/* Custom Range Slider */
.range-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.range-slider-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.custom-range-slider {
  width: 100%;
  height: 8px;
  background: var(--bg-input);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(247, 127, 0, 0.6);
  border: 2px solid #ffffff;
  transition: transform var(--transition-fast);
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.custom-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-brand);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(247, 127, 0, 0.6);
  border: 2px solid #ffffff;
}

/* Custom Checkbox Pills */
.format-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-checkbox-label:hover {
  border-color: var(--accent-orange);
}

.custom-checkbox-label input[type="checkbox"] {
  display: none;
}

.custom-check-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-check-box {
  background: var(--gradient-brand);
  border-color: var(--accent-orange);
}

.custom-check-box i {
  width: 14px;
  height: 14px;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-check-box i {
  opacity: 1;
  transform: scale(1);
}

.checkbox-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Calculator Results Side */
.calc-result-side {
  background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.calc-summary-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.calc-summary-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.calc-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

.calc-metric-name {
  color: var(--text-muted);
}

.calc-metric-val {
  font-weight: 700;
  color: var(--text-primary);
}

.calc-metric-val.highlight {
  color: var(--accent-emerald);
}

.royalty-highlight-card {
  background: var(--badge-bg);
  border: 1px solid rgba(247, 127, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.royalty-highlight-card i {
  width: 28px;
  height: 28px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.royalty-text-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-orange);
}

.royalty-text-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. PORTFOLIO & BESTSELLERS SHOWCASE
   -------------------------------------------------------------------------- */
.portfolio-section {
  background: var(--bg-secondary);
}

.portfolio-filters-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 48px;
}

.portfolio-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.portfolio-filter-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.portfolio-filter-btn.active {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.35);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 36px;
}

.book-portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.book-portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-xl);
}

.portfolio-cover-stage {
  perspective: 1000px;
  width: 170px;
  height: 245px;
  margin-bottom: 24px;
}

.portfolio-book-mockup {
  width: 100%;
  height: 100%;
  border-radius: 4px 8px 8px 4px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-18deg);
  transition: transform 0.4s ease;
  box-shadow: 12px 16px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.book-portfolio-card:hover .portfolio-book-mockup {
  transform: rotateY(0deg) scale(1.04);
}

.portfolio-book-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 10%, rgba(0, 0, 0, 0.4) 100%);
}

.portfolio-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-book-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.portfolio-book-author {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.portfolio-rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.portfolio-rating-stars i {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.portfolio-preview-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.portfolio-preview-btn:hover {
  gap: 10px;
}

.portfolio-preview-btn i {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   14. WHY CHOOSE AMH PUBLISHERS (THE AMH ADVANTAGE)
   -------------------------------------------------------------------------- */
.why-us-section {
  background: var(--bg-primary);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
}

.advantage-card:hover {
  border-color: var(--accent-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(247, 127, 0, 0.3);
}

.advantage-icon-wrap i {
  width: 24px;
  height: 24px;
}

.advantage-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   16. AUTHOR TESTIMONIALS & SUCCESS STORIES
   -------------------------------------------------------------------------- */
.testimonials-section {
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote-icon {
  width: 36px;
  height: 36px;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-orange);
}

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

.testimonial-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-book {
  font-size: 0.82rem;
  color: var(--accent-orange);
  font-weight: 600;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 2px;
}

.verified-badge i {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   17. FREQUENTLY ASKED QUESTIONS (ACCORDION)
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--bg-secondary);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--accent-orange);
  box-shadow: 0 4px 20px rgba(247, 127, 0, 0.12);
}

.faq-header-btn {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  background: transparent;
  gap: 16px;
}

.faq-question-text {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal), background-color var(--transition-fast);
}

.faq-item.is-active .faq-toggle-icon {
  transform: rotate(180deg);
  background: var(--gradient-brand);
  color: #ffffff;
}

.faq-toggle-icon i {
  width: 16px;
  height: 16px;
}

.faq-body-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content {
  padding: 0 28px 24px;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   18. CONSULTATION & CONTACT FORM (CUSTOM CONTROLS - ZERO CHROME STYLING)
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-primary);
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  margin-top: 56px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
}

.contact-info-header {
  margin-bottom: 32px;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-info-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--badge-bg);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(247, 127, 0, 0.2);
}

.channel-icon-box i {
  width: 22px;
  height: 22px;
}

.channel-content-box {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.channel-value-link:hover {
  color: var(--accent-orange);
}

.author-guarantee-box {
  background: var(--badge-bg);
  border: 1px solid rgba(247, 127, 0, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-guarantee-box i {
  width: 28px;
  height: 28px;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.author-guarantee-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Custom Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-field-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Custom Inputs - No Default Chrome Border */
.custom-input,
.custom-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.custom-input:focus,
.custom-textarea:focus {
  background: var(--bg-input-focus);
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.15);
}

.custom-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Custom Dropdown Component (Zero Native Select) */
.custom-dropdown-wrap {
  position: relative;
}

.custom-dropdown-trigger {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.custom-dropdown-wrap.is-open .custom-dropdown-trigger {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 4px rgba(247, 127, 0, 0.15);
}

.custom-dropdown-trigger i {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.custom-dropdown-wrap.is-open .custom-dropdown-trigger i {
  transform: rotate(180deg);
  color: var(--accent-orange);
}

.custom-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange) var(--bg-surface-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.custom-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-menu::-webkit-scrollbar-track {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
}

.custom-dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

.custom-dropdown-wrap.is-open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-option {
  padding: 12px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.dropdown-option:hover {
  background: var(--badge-bg);
  color: var(--accent-orange);
  padding-left: 22px;
}

.dropdown-option.is-selected {
  background: var(--gradient-brand-subtle);
  color: var(--accent-orange);
  font-weight: 700;
}

/* Form Success & Feedback Notice */
.form-feedback-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
  font-size: 0.92rem;
  display: none;
  align-items: center;
  gap: 10px;
}

.form-feedback-notice.is-visible {
  display: flex;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
  padding-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-column {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
}

.footer-bio-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--gradient-brand);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(247, 127, 0, 0.3);
}

.footer-social-btn svg,
.footer-social-btn i {
  width: 18px;
  height: 18px;
  display: block;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover svg {
  transform: scale(1.15);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

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

.footer-link-item a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link-item a:hover {
  color: var(--accent-orange);
  transform: translateX(4px);
}

.footer-newsletter-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 18px;
  transition: border-color var(--transition-fast);
}

.footer-newsletter-form:focus-within {
  border-color: var(--accent-orange);
}

.newsletter-input {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.newsletter-submit-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.newsletter-submit-btn:hover {
  transform: scale(1.08);
}

.newsletter-submit-btn i {
  width: 16px;
  height: 16px;
}

.footer-bottom-row {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--accent-orange);
}

/* --------------------------------------------------------------------------
   20. FLOATING ACTION BUTTONS (WHATSAPP & BACK-TO-TOP PROGRESS)
   -------------------------------------------------------------------------- */
.floating-controls-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp-btn svg,
.floating-whatsapp-btn i {
  width: 28px;
  height: 28px;
  z-index: 2;
  display: block;
}

.whatsapp-ping-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.6;
  animation: pingAnimation 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pingAnimation {
  75%, 100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Back to Top with Circular Scroll Progress Ring */
.back-to-top-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--transition-normal);
  position: relative;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
}

.back-to-top-btn i {
  width: 20px;
  height: 20px;
  z-index: 2;
}

.scroll-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  border-radius: 50%;
  pointer-events: none;
}

.scroll-progress-circle-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 3;
}

.scroll-progress-circle-bar {
  fill: none;
  stroke: url(#progressGradient);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 144.5;
  stroke-dashoffset: 144.5;
  transition: stroke-dashoffset 0.1s linear;
}

/* --------------------------------------------------------------------------
   21. MODAL DIALOGS (PORTFOLIO SYNOPSIS & CONSULTATION MODAL)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 19, 0.75);
  backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 620px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-orange) var(--bg-surface);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-normal);
}

.modal-dialog-box::-webkit-scrollbar {
  width: 7px;
}

.modal-dialog-box::-webkit-scrollbar-track {
  background: var(--bg-surface);
  border-radius: var(--radius-full);
}

.modal-dialog-box::-webkit-scrollbar-thumb {
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

.modal-dialog-box::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

.modal-overlay.is-active .modal-dialog-box {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
}

.modal-close-btn i {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   22. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .calculator-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav-menu,
  .nav-actions .btn-primary {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

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

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

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

  .form-row-2col {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section-padding {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
  }

  .typewriter-wrapper {
    white-space: normal;
    word-break: break-word;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 18px;
  }

  .hero-visual-wrapper {
    width: 100%;
    max-width: 290px;
    margin: 30px auto 10px;
    perspective: 800px;
    overflow: visible;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .book-card-3d {
    width: 210px;
    height: 305px;
    transform: rotateY(-8deg) rotateX(4deg) !important;
    cursor: default;
    box-shadow: none;
  }

  .book-card-3d:hover {
    transform: rotateY(-8deg) rotateX(4deg) !important;
  }

  .book-cover {
    padding: 22px 18px;
    border-radius: 4px 10px 10px 4px;
    box-shadow: 8px 12px 28px rgba(0, 0, 0, 0.35),
                inset 2px 0 6px rgba(255, 255, 255, 0.15),
                inset -2px 0 6px rgba(0, 0, 0, 0.4);
  }

  .book-cover-title {
    font-size: 1.25rem;
  }

  .book-cover-subtitle {
    font-size: 0.7rem;
  }

  .book-stage-glow {
    width: 200px;
    height: 200px;
    filter: blur(28px);
  }

  .floating-metric-card {
    padding: 8px 12px;
    gap: 8px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
  }

  .floating-metric-title {
    font-size: 0.82rem;
  }

  .floating-metric-sub {
    font-size: 0.7rem;
  }

  .floating-icon-box {
    width: 30px;
    height: 30px;
  }

  .floating-icon-box i {
    width: 14px;
    height: 14px;
  }

  .floating-metric-card.pos-top-left {
    left: -10px;
    top: -15px;
  }

  .floating-metric-card.pos-bottom-right {
    right: -10px;
    bottom: -15px;
  }

  .services-grid,
  .process-steps-grid,
  .portfolio-grid,
  .why-us-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .service-card,
  .testimonial-card,
  .advantage-card,
  .book-portfolio-card {
    padding: 24px 20px;
  }

  .genre-pills-grid {
    grid-template-columns: 1fr;
  }

  .format-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

  .calculator-card {
    padding: 22px 18px;
  }

  .calc-result-side {
    padding: 22px 18px;
  }

  .floating-controls-wrap {
    bottom: 18px;
    right: 18px;
  }

  .floating-whatsapp-btn {
    width: 48px;
    height: 48px;
  }

  .floating-whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }

  .back-to-top-btn {
    width: 44px;
    height: 44px;
  }
}
