/* ==========================================================================
   Forklift Master - Phoenix Tech Design System (Production v5.1)
   Website: www.bazarganlifterak.ir
   
   ==========================================================================
   🎯 راهنمای تغییر و افزودن فونت دلخواه (Custom Font Setting):
   جهت تغییر فونت کل وب‌سایت به هر فونت دیگر (مانند دانا، ایران‌سنس، یکان و ...)،
   می‌توانید آدرس فایل‌های فونت خود را در مسیر fonts/ قرار دهید یا در متغیر زیر ست کنید.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --main-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-deep: #050608;
  --bg-surface: #0a0b10;
  --bg-card: #10121a;
  --bg-card-elevated: #161824;
  --bg-pill: rgba(22, 24, 36, 0.95);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-active: #ff6b00;

  --orange-primary: #ff6b00;
  --orange-light: #ff8c2e;
  --orange-glow: rgba(255, 107, 0, 0.35);
  --orange-gradient: linear-gradient(135deg, #ff6b00 0%, #ff8c2e 100%);

  --cyan-accent: #38bdf8;
  --emerald-accent: #10b981;
  --rose-accent: #f43f5e;
  --purple-accent: #a855f7;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* Background Pattern (Crisp Matrix Grid) */
.bg-matrix-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #050608;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 107, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  background-attachment: fixed;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.icon-svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   NAVBAR (Clean Header - High Security, No Admin Mention)
   ========================================================================== */
.header-wrapper {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-pill {
  background: rgba(14, 16, 23, 0.94);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  transition: all var(--transition-normal);
}

.navbar-pill.scrolled {
  background: rgba(9, 10, 15, 0.98);
  border-color: rgba(255, 107, 0, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name-orange {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--orange-primary);
  letter-spacing: -0.02em;
}

.brand-name-white {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.nav-center-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-pill-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.nav-pill-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.nav-pill-link.active {
  background: rgba(255, 107, 0, 0.15);
  color: var(--orange-light);
  border: 1px solid rgba(255, 107, 0, 0.3);
}

/* Auth Buttons in Header */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-nav-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--orange-gradient);
  color: #060709;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 4px 15px var(--orange-glow);
  transition: all var(--transition-fast);
}

.btn-nav-register:hover {
  background: #ff8c2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.btn-nav-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.btn-nav-profile:hover {
  background: rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   HERO SECTION & ANIMATIONS
   ========================================================================== */
.hero-section {
  padding: 3rem 0 4.5rem;
}

.hero-layout-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-big-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-big-title .orange-text {
  color: var(--orange-primary);
  text-shadow: 0 0 30px var(--orange-glow);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.hero-tagline-sub {
  font-size: clamp(0.9rem, 1.8vw, 0.98rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  max-width: 600px;
}

.hero-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.tech-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 24, 36, 0.9);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.tech-tag-pill:hover {
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
}

.tech-tag-pill.live-status {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34d399;
}

.live-green-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero-big-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-pill-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.btn-pill-download:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-pill-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--orange-gradient);
  color: #060709;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--orange-glow);
  transition: all var(--transition-normal);
}

.btn-pill-store:hover {
  background: #ff8c2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
}

.btn-pill-bundle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  color: #060709;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
  transition: all var(--transition-normal);
}

.btn-pill-bundle:hover {
  background: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
}

.btn-pill-quiz {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all var(--transition-normal);
}

.btn-pill-quiz:hover {
  background: rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

/* ==========================================================================
   3D BOOK (Fully Responsive for Mobile & Desktop)
   ========================================================================== */
.book-3d-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.book-3d-container {
  width: 290px;
  height: 420px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(6deg);
  transition: transform 0.4s ease;
  cursor: pointer;
  animation: floatBook 6s ease-in-out infinite;
}

@keyframes floatBook {
  0%, 100% { transform: rotateY(-16deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(-13deg) rotateX(4deg) translateY(-8px); }
}

.book-3d-container:hover {
  transform: rotateY(-6deg) rotateX(2deg) scale(1.02);
}

.book-3d-front {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 4px 14px 14px 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
}

.book-3d-front::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, transparent 45%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

.book-3d-spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 26px;
  background: linear-gradient(to right, #000, #ff6b00 30%, #111 80%);
  transform: rotateY(-90deg) translateZ(13px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 4;
}

.book-3d-pages-right {
  position: absolute;
  right: -22px;
  top: 6px;
  bottom: 6px;
  width: 22px;
  background: repeating-linear-gradient(to right, #f8fafc, #f8fafc 2px, #e2e8f0 2px, #e2e8f0 4px);
  transform: rotateY(90deg);
  border-radius: 0 4px 4px 0;
  z-index: 2;
}

.book-3d-shadow {
  position: absolute;
  bottom: -25px;
  left: 20px;
  right: -25px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  transform: rotateX(85deg);
  pointer-events: none;
}

.book-3d-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 4px;
  border-radius: var(--radius-pill);
}

.book-tab-pill {
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.book-tab-pill.active {
  background: var(--orange-gradient);
  color: #060709;
}

/* ==========================================================================
   FORMAT COMPARISON CARDS
   ========================================================================== */
.section-wrapper {
  padding: 3rem 0;
}

.format-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.format-box-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  position: relative;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.format-box-card:hover, .format-box-card.selected {
  border-color: var(--orange-primary);
  background: var(--bg-card-elevated);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 107, 0, 0.15);
  transform: translateY(-3px);
}

.format-box-card.bundle-card {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, var(--bg-card) 100%);
}

.format-box-card.bundle-card:hover, .format-box-card.bundle-card.selected {
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.25);
}

.format-badge-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--orange-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

.format-box-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.format-box-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.format-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.format-price-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange-primary);
}

.format-price-old {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   LOAD CALCULATOR
   ========================================================================== */
.calculator-card {
  background: linear-gradient(135deg, rgba(23, 26, 36, 0.95) 0%, rgba(17, 19, 27, 0.95) 100%);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-slider-wrap {
  margin-bottom: 1.5rem;
}

.calc-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  background: var(--bg-surface);
  border-radius: var(--radius-pill);
  outline: none;
  accent-color: var(--orange-primary);
}

.calc-gauge-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-result-status {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.calc-result-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* B2B Banner */
.b2b-banner {
  background: radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, rgba(17, 19, 27, 0.95) 70%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 9, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  padding: 2.2rem;
  position: relative;
  animation: modalScale 0.25s ease;
}

@keyframes modalScale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-icon {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-icon:hover {
  background: rgba(244, 63, 94, 0.2);
  color: var(--rose-accent);
}

.auth-tabs-container {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 1.5rem;
}

.auth-tab-btn {
  flex: 1;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.auth-tab-btn.active {
  background: var(--orange-gradient);
  color: #060709;
  box-shadow: 0 2px 10px var(--orange-glow);
}

.auth-tab-btn:not(.active):hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

/* User Dashboard */
.user-panel-modal {
  max-width: 740px !important;
}

.user-panel-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.user-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.user-tab-btn.active {
  background: var(--orange-gradient);
  color: #060709;
  font-weight: 700;
}

.user-tab-content {
  display: none;
}

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

.shipment-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1rem 0;
  position: relative;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 12px;
  bottom: -14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card-elevated);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
  z-index: 2;
}

.timeline-step.done .timeline-dot {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Quiz Option Card */
.quiz-option-btn {
  width: 100%;
  text-align: right;
  padding: 12px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover {
  border-color: var(--orange-primary);
  background: rgba(255, 107, 0, 0.08);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #6ee7b7;
}

.quiz-option-btn.wrong {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #fca5a5;
}

/* ==========================================================================
   STICKY PURCHASE BAR (Mobile-Optimized)
   ========================================================================== */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 107, 0, 0.3);
  padding: 10px 0;
  z-index: 99;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.85);
}

.sticky-buy-bar.visible {
  transform: translateY(0);
}

.sticky-buy-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   FOOTER (Clean & Verified)
   ========================================================================== */
.footer-corporate {
  background: #040507;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.instagram-profile-card {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.12) 0%, rgba(253, 29, 29, 0.08) 50%, rgba(245, 96, 64, 0.12) 100%);
  border: 1px solid rgba(225, 48, 108, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-normal);
}

.instagram-profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.25);
  border-color: rgba(225, 48, 108, 0.6);
}

.insta-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.insta-handle {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
  direction: ltr;
  text-align: right;
}

.insta-sub {
  font-size: 0.78rem;
  color: #f472b6;
}

.trust-badges-grid {
  display: flex;
  gap: 10px;
}

.trust-badge-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  flex: 1;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast */
.toast-box-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  min-width: 280px;
}

.toast-item.success { border-right: 4px solid var(--emerald-accent); }
.toast-item.error { border-right: 4px solid var(--rose-accent); }
.toast-item.info { border-right: 4px solid var(--cyan-accent); }

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVE RULES (Pixel-Perfect Mobile View)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-tagline-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tags-row, .hero-big-actions {
    justify-content: center;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .format-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 1rem;
  }
  .nav-center-menu {
    display: none; /* Keep header clean on mobile */
  }
  .navbar-pill {
    padding: 8px 14px;
  }
  .brand-name-orange, .brand-name-white {
    font-size: 1.1rem;
  }
  .btn-nav-login, .btn-nav-register {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  .hero-section {
    padding: 2rem 0 3.5rem;
  }
  .book-3d-scene {
    max-width: 280px;
  }
  .book-3d-container {
    width: 240px;
    height: 350px;
    transform: rotateY(-10deg) rotateX(4deg);
    animation: none; /* Better mobile CPU performance */
  }
  .format-grid-3 {
    grid-template-columns: 1fr;
  }
  .format-box-card {
    padding: 1.6rem 1.25rem;
  }
  .calculator-card {
    padding: 1.6rem 1.2rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .modal-box {
    padding: 1.6rem 1.2rem;
    max-width: 96vw;
  }
  .footer-grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sticky-buy-bar {
    padding: 8px 0;
  }
  .sticky-buy-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .sticky-buy-content div:first-child {
    display: none; /* Keep bottom bar minimal on mobile */
  }
  .sticky-buy-content div:last-child {
    width: 100%;
    display: flex;
    gap: 6px;
  }
  .sticky-buy-content button {
    flex: 1;
    padding: 9px 8px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .hero-big-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-big-actions button {
    width: 100%;
    padding: 14px 18px;
  }
  .book-3d-container {
    width: 210px;
    height: 305px;
  }
  .book-tab-pill {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  .format-price-val {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   LUMIX-STYLE LIVE CHAT WIDGET (Bottom Right Corner - Exactly like Image 4)
   ========================================================================== */
.live-chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 50%, #db2777 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 10px 30px rgba(192, 38, 211, 0.45);
  transition: all var(--transition-normal);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.live-chat-bubble:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 14px 40px rgba(192, 38, 211, 0.65);
}

.chat-online-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 13px;
  height: 13px;
  background: #10b981;
  border: 2px solid #050608;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.chat-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f43f5e;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #050608;
}

.live-chat-window {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  height: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 120px);
  background: rgba(14, 15, 23, 0.98);
  backdrop-filter: blur(28px);
  border: 1px solid rgba(192, 38, 211, 0.4);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(192, 38, 211, 0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all var(--transition-normal);
}

.live-chat-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Lumix Purple Gradient Header */
.chat-win-header {
  background: linear-gradient(135deg, #4c1d95 0%, #701a75 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-win-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-win-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.chat-win-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #090a10;
}

.chat-msg-item {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.chat-msg-item.user-side {
  align-self: flex-end;
}

.chat-msg-item.support-side {
  align-self: flex-start;
}

.chat-msg-bubble {
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.65;
}

.chat-msg-item.user-side .chat-msg-bubble {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  color: #ffffff;
  border-bottom-left-radius: 4px;
}

.chat-msg-item.support-side .chat-msg-bubble {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-msg-sender {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 2px;
}

.chat-msg-time {
  font-size: 0.68rem;
  opacity: 0.7;
  text-align: left;
  margin-top: 4px;
}

/* Lumix Quick Human Support Action Button */
.lumix-human-btn-wrap {
  padding: 0 16px 10px;
  background: #090a10;
}

.lumix-human-support-btn {
  width: 100%;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(217, 70, 239, 0.12);
  border: 1px solid rgba(217, 70, 239, 0.4);
  color: #f472b6;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.lumix-human-support-btn:hover {
  background: rgba(217, 70, 239, 0.22);
  transform: translateY(-1px);
}

.chat-win-form {
  padding: 12px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.chat-win-input {
  flex: 1;
  padding: 10px 14px;
  background: #08090e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: #ffffff;
  outline: none;
  font-size: 0.88rem;
}

.chat-win-input:focus {
  border-color: #c026d3;
}

.chat-win-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.chat-win-send-btn:hover {
  transform: scale(1.06);
}

/* Captcha Box */
.captcha-challenge-box {
  background: rgba(255, 107, 0, 0.08);
  border: 1px dashed rgba(255, 107, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1.2rem;
}

/* Responsive adjustment for chat bubble */
@media (max-width: 768px) {
  .live-chat-bubble {
    bottom: 80px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .live-chat-window {
    bottom: 145px;
    right: 16px;
  }
}
