/* 
 * ORGEEZ Luxury Design System & Stylesheet
 * Strict adherence to: Deep Obsidian Black, Exact Gold Palette, and Lama Sans Font
 */

@font-face {
  font-family: "Lama Sans";
  src: url("../fonts/LamaSans-VF.woff2") format("woff2-variations"),
       url("../fonts/LamaSans-VF.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

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

:root {
  --bg-deep: #070709;
  --bg-surface: #0e0e14;
  --bg-card: rgba(18, 18, 25, 0.75);
  --bg-card-hover: rgba(26, 26, 36, 0.9);
  
  /* Extracted from original ORGEEZ logo */
  --gold-primary: #d4be9c;
  --gold-metallic: #ba965d;
  --gold-light: #f5ebd9;
  --gold-dark: #8c6c39;
  --gold-gradient: linear-gradient(135deg, #f7eedd 0%, #d4be9c 45%, #ba965d 100%);
  --gold-border: rgba(186, 150, 93, 0.25);
  --gold-border-bright: rgba(212, 190, 156, 0.5);
  --gold-glow: rgba(212, 190, 156, 0.15);
  
  --text-white: #ffffff;
  --text-body: #d1d1db;
  --text-muted: #8e8e9e;
  
  --font-main: 'Lama Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  color: var(--text-white);
  direction: rtl;
  text-align: right;
  scroll-behavior: initial; /* Controlled by Lenis */
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  font-family: var(--font-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Background Ambient Lighting Canvas */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(212, 190, 156, 0.03) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

p, span, li, button, input {
  font-family: var(--font-main);
}

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

.text-gold-solid {
  color: var(--gold-primary);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Luxury Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 9, 0.7);
  border-bottom: 1px solid rgba(186, 150, 93, 0.12);
}

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

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 190, 156, 0.08);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-primary);
}

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

.nav-auth-btn {
  padding: 8px 16px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-auth-btn i {
  width: 15px;
  height: 15px;
}

.nav-checkout-btn {
  padding: 9px 20px;
  font-size: 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-checkout-btn i {
  width: 15px;
  height: 15px;
}

/* 3-Stripes Hamburger Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:active {
  background: rgba(212, 190, 156, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
}

.mobile-menu-toggle i {
  width: 22px;
  height: 22px;
}

/* Mobile Dropdown Menu Container */
.mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--gold-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 190, 156, 0.1);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 99;
}

.mobile-dropdown-menu.active {
  max-height: 520px;
  opacity: 1;
}

.mobile-dropdown-inner {
  padding: 18px 18px 22px 18px;
}

.mobile-menu-cta-wrap {
  margin-bottom: 10px;
}

.mobile-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 16px 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(212, 190, 156, 0.12);
  border-color: var(--gold-border);
  color: #fff;
}

.mobile-nav-link .link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 190, 156, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.mobile-nav-link .link-arrow {
  margin-right: auto;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

/* Luxury Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #070709;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 25px rgba(212, 190, 156, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg) translateY(-100%);
  transition: transform 0.8s ease;
}

.btn-gold:hover::after {
  transform: rotate(30deg) translateY(100%);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(212, 190, 156, 0.4);
}

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

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(18, 18, 25, 0.6);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: rgba(212, 190, 156, 0.1);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* HERO SECTION */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  z-index: 2;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 190, 156, 0.08);
  border: 1px solid var(--gold-border);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 36px;
}

.trust-badges-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--gold-primary);
  font-size: 16px;
}

/* 3D BOOK SHOWCASE */
.book-showcase-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1600px;
  padding: 40px 20px;
}

.book-ambient-glow {
  position: absolute;
  width: 320px;
  height: 420px;
  background: radial-gradient(circle, rgba(212, 190, 156, 0.25) 0%, rgba(186, 150, 93, 0.08) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

/* Realistic CSS 3D Book */
.book-3d {
  width: 280px;
  height: 410px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(10deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  z-index: 2;
}

.book-3d:active {
  cursor: grabbing;
}

/* Book Front Cover */
.book-cover-front {
  position: absolute;
  inset: 0;
  background: #09090d;
  border-radius: 4px 14px 14px 4px;
  border: 1px solid var(--gold-border-bright);
  box-shadow: 
    inset 4px 0 10px rgba(0, 0, 0, 0.8),
    inset -2px 0 6px rgba(212, 190, 156, 0.3);
  transform: translateZ(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
}

.book-cover-front::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-border);
  border-radius: 2px 8px 8px 2px;
  pointer-events: none;
}

.book-spine-crease {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 20px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.book-brand-header {
  text-align: center;
  position: relative;
  z-index: 2;
}

.book-logo-img {
  height: 54px;
  width: auto;
  margin: 0 auto 6px;
  display: block;
}

.book-title-block {
  text-align: center;
  margin: auto 0;
  position: relative;
  z-index: 2;
}

.book-title-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.35;
  margin-bottom: 8px;
}

.book-title-highlight {
  font-size: 20px;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}

.book-tagline {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.book-footer-badge {
  background: rgba(212, 190, 156, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Book Spine (Right side in RTL) */
.book-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -32px;
  width: 32px;
  background: #060608;
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  transform: rotateY(90deg) translateZ(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
}

.book-spine span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: var(--gold-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Book Pages (Left thickness in RTL) */
.book-pages-side {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: -28px;
  width: 30px;
  background: repeating-linear-gradient(
    to bottom,
    #111116 0px,
    #111116 1px,
    #1b1b22 2px,
    #111116 3px
  );
  border-radius: 3px 0 0 3px;
  transform: rotateY(-90deg) translateZ(14px);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.9);
}

/* Realistic 3D Ground Shadow */
.book-shadow {
  position: absolute;
  bottom: -30px;
  width: 260px;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  filter: blur(8px);
  transform: rotateX(85deg) translateZ(-40px);
  pointer-events: none;
}

/* Interactive Hint */
.interactive-hint {
  position: absolute;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(14, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

/* SECTION HEADINGS */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* TRACKS SECTION (مسارا الدليل) */
.tracks-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 40px 34px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.track-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-border-bright);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -10px var(--gold-glow);
}

.track-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 190, 156, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  margin-bottom: 22px;
}

.track-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-white);
}

.track-desc {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
}

.track-features-list {
  list-style: none;
}

.track-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 14px;
}

.track-features-list li i {
  color: var(--gold-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

/* STORY & VALUE SECTION (قصة الـ 7 سنوات) */
.story-section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.story-box {
  background: linear-gradient(135deg, rgba(20, 20, 28, 0.85) 0%, rgba(10, 10, 14, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-radius: 28px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.story-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 190, 156, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.story-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(212, 190, 156, 0.1);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 26px;
  flex-shrink: 0;
}

.story-main-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.story-quote {
  font-size: 20px;
  color: #e5e5ed;
  line-height: 1.9;
  margin-bottom: 40px;
  padding-right: 20px;
  border-right: 3px solid var(--gold-primary);
}

.story-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.benefit-card {
  background: rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 20px;
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-3px);
  background: rgba(18, 18, 25, 0.9);
}

.benefit-card-icon {
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.benefit-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-white);
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA & PRICING BAR */
.checkout-section {
  padding: 100px 0 140px;
  position: relative;
  z-index: 2;
}

.pricing-card {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.9) 0%, rgba(12, 12, 16, 0.95) 100%);
  border: 2px solid var(--gold-border-bright);
  border-radius: 28px;
  padding: 50px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--gold-glow);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  right: 50%;
  transform: translateX(50%);
  background: var(--gold-gradient);
  color: #070709;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 20px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(212, 190, 156, 0.3);
}

.pricing-header h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 24px 0;
}

.current-price {
  font-size: 58px;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-body);
}

.original-price {
  font-size: 22px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 36px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
}

.perk-item i {
  color: var(--gold-primary);
}

/* Payment Icons */
.payment-methods-strip {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0.7;
}

.payment-chip {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--text-muted);
}


.modal-dialog {
  width: 100%;
  max-width: 520px;
  background: #0e0e14;
  border: 1px solid var(--gold-border-bright);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.form-group {
  margin-bottom: 18px;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-body);
}

.form-input {
  width: 100%;
  background: #08080b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-main);
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 190, 156, 0.15);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
  position: relative;
  z-index: 2;
  text-align: center;
  background: #060608;
}

.footer-logo {
  height: 42px;
  margin: 0 auto 16px;
  display: block;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* RESPONSIVE DESIGN (Mobile-First Optimization) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .trust-badges-row {
    justify-content: center;
  }
  
  .tracks-grid {
    grid-template-columns: 1fr;
  }
  
  .story-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 0 !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(7, 7, 9, 0.9);
  }

  .nav-wrapper {
    padding: 0 4px;
  }

  .brand-logo-img {
    height: 36px !important; /* Elegant compact height on mobile */
  }

  /* إخفاء الشارة تماماً على الجوال لمنع أي زحمة */
  .nav-badge {
    display: none !important;
  }

  .nav-actions {
    gap: 8px !important;
  }

  /* زر السلة: مدمج 36px دائري */
  .nav-cart-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  .nav-cart-btn i {
    width: 17px !important;
    height: 17px !important;
  }

  .cart-badge {
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    top: -2px !important;
    right: -2px !important;
  }

  /* إخفاء أزرار تسجيل الدخول وامتلك نسختك من شريط الهيدر في الموبايل تماماً */
  .desktop-only,
  .nav-auth-btn,
  #openAuthModalBtn,
  .nav-checkout-btn,
  #navCheckoutBtn {
    display: none !important;
  }

  /* إظهار زر الثلاث شخطات والسلة فقط بجانب الشعار */
  .mobile-menu-toggle {
    display: inline-flex !important;
  }

  .mobile-dropdown-menu {
    display: block;
  }
}

@media (max-width: 380px) {
  .brand-logo-img {
    height: 32px !important;
  }
  .nav-cart-btn,
  .nav-auth-btn,
  #openAuthModalBtn {
    width: 33px !important;
    height: 33px !important;
  }
  .nav-checkout-btn,
  #navCheckoutBtn,
  .nav-actions .btn-gold {
    padding: 7px 11px !important;
    font-size: 11px !important;
  }
  .nav-actions {
    gap: 5px !important;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
  
  .hero-section {
    padding-top: 95px;
    padding-bottom: 45px;
  }
  
  .hero-title {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .btn-gold {
    width: 100%;
    padding: 16px;
    font-size: 16px;
  }
  
  .book-3d {
    width: 230px;
    height: 340px;
  }
  
  .book-cover-front {
    padding: 18px 16px;
  }
  
  .book-title-main {
    font-size: 18px;
  }
  
  .book-title-highlight {
    font-size: 16px;
  }
  
  .story-box {
    padding: 28px 20px;
    border-radius: 20px;
  }
  
  .story-quote {
    font-size: 16px;
  }
  
  .story-benefits-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .pricing-card {
    padding: 34px 20px;
    border-radius: 20px;
  }
  
  .current-price {
    font-size: 44px;
  }
}

/* ===================================================
   LUXURY CUSTOMER DASHBOARD & PROTECTED READER STYLES
   =================================================== */

.reader-body {
  background-color: #060608;
  color: var(--text-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Security Watermark */
.security-watermark-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.watermark-text {
  font-size: 14px;
  color: rgba(212, 190, 156, 0.05);
  font-weight: 700;
  transform: rotate(-25deg);
  white-space: nowrap;
  letter-spacing: 4px;
  line-height: 180px;
  text-align: center;
  user-select: none;
  pointer-events: none;
}

/* Reader Top Navbar */
.reader-navbar {
  height: 70px;
  background: rgba(10, 10, 14, 0.9);
  border-bottom: 1px solid var(--gold-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}

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

.reader-nav-brand img {
  height: 38px;
}

.reader-progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar-bg {
  width: 140px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  width: 35%;
  border-radius: 999px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 700;
}

.reader-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-body);
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tool-btn:hover {
  background: rgba(212, 190, 156, 0.12);
  color: var(--gold-primary);
  border-color: var(--gold-border);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #070709;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* Reader Main Layout */
.reader-layout {
  display: flex;
  flex: 1;
  min-height: calc(100vh - 70px);
}

/* Chapter Navigation Sidebar */
.reader-sidebar {
  width: 320px;
  background: #09090d;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-header h3 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chapters-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  padding: 14px;
}

.chapter-category {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 14px 6px;
}

.chapter-item {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-body);
  transition: var(--transition-smooth);
}

.chapter-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.chapter-item.active {
  background: rgba(212, 190, 156, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-weight: 700;
}

.chapter-item .check-icon {
  opacity: 0;
  color: var(--gold-primary);
}

.chapter-item.read .check-icon {
  opacity: 1;
}

/* Protected Reader Stage */
.reader-stage {
  flex: 1;
  background: #070709;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 80px;
  overflow-y: auto;
  position: relative;
}

/* Book Paper Frame (Read-Only Luxury Page) */
.reader-page-card {
  width: 100%;
  max-width: 820px;
  background: #0d0d12;
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 60px 68px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px -15px var(--gold-glow);
  position: relative;
  line-height: 2.1;
  font-size: 17px;
  color: #e2e2ec;
  min-height: 800px;
}

.reader-page-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 12px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.chapter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.reader-chapter-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reader-content p {
  margin-bottom: 22px;
}

.reader-callout {
  background: rgba(212, 190, 156, 0.06);
  border-right: 4px solid var(--gold-primary);
  border-radius: 12px 0 0 12px;
  padding: 20px 24px;
  margin: 32px 0;
  color: #fff;
}

.reader-callout h4 {
  font-size: 16px;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

/* Page Navigation Footer */
.reader-page-footer {
  width: 100%;
  max-width: 820px;
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.security-badge-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.security-badge-footer i {
  color: var(--gold-primary);
}

/* Reader Mobile Responsive */
@media (max-width: 900px) {
  .reader-sidebar {
    position: fixed;
    top: 70px;
    bottom: 0;
    right: 0;
    z-index: 40;
    transform: translateX(100%);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .reader-sidebar.open {
    transform: translateX(0);
  }

  .reader-page-card {
    padding: 36px 24px;
    border-radius: 16px;
  }

  .reader-chapter-title {
    font-size: 24px;
  }
}

/* ===================================================
   TUTOR LMS STYLE: CURRICULUM, PROGRESS & CERTIFICATE
   =================================================== */

.btn-complete-lesson {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #070709;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 190, 156, 0.3);
  transition: var(--transition-smooth);
}

.btn-complete-lesson:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 190, 156, 0.45);
}

.lesson-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.lesson-status-badge.completed {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.lesson-status-badge.in-progress {
  background: rgba(212, 190, 156, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

/* Certificate Modal */
.certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.certificate-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.certificate-frame {
  width: 100%;
  max-width: 820px;
  background: #0b0b0f;
  border: 4px solid var(--gold-metallic);
  border-radius: 18px;
  padding: 50px 60px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 50px var(--gold-glow);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.certificate-modal.active .certificate-frame {
  transform: scale(1);
}

.certificate-inner-border {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(212, 190, 156, 0.35);
  border-radius: 10px;
  pointer-events: none;
}

.certificate-seal {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #070709;
  box-shadow: 0 0 30px rgba(212, 190, 156, 0.5);
}

.certificate-student-name {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 18px 0 10px;
  border-bottom: 2px solid var(--gold-border);
  display: inline-block;
  padding: 0 40px 8px;
}

.certificate-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .certificate-frame {
    padding: 30px 20px;
  }
  .certificate-student-name {
    font-size: 24px;
    padding: 0 15px 6px;
  }
  .certificate-footer {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   TUTOR LMS & ECOMMERCE SUITE: CART DRAWER, AUTH MODAL & CHECKOUT
   ========================================================================== */

/* Cart & Account Header Buttons */
.nav-cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-cart-btn:hover {
  background: rgba(212, 190, 156, 0.12);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #070709;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(212, 190, 156, 0.6);
}

/* Slide-over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #09090d;
  border-right: 1px solid var(--gold-border);
  box-shadow: 10px 0 50px rgba(0, 0, 0, 0.9);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 190, 156, 0.15);
  border-radius: 14px;
  padding: 16px;
  position: relative;
}

.cart-item-img {
  width: 70px;
  height: 95px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--gold-border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 4px;
}

.cart-item-badge {
  font-size: 11px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-top: 8px;
}

.cart-coupon-wrap {
  margin-top: 24px;
  display: flex;
  gap: 8px;
}

.cart-coupon-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}

.cart-coupon-input:focus {
  border-color: var(--gold-primary);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07070a;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cart-summary-row.total {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.cart-summary-row.total .price {
  color: var(--gold-primary);
}

/* Luxury Auth Modal (Login & Sign Up) */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.auth-dialog {
  width: 100%;
  max-width: 460px;
  background: #0c0c11;
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(212, 190, 156, 0.1);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-modal.active .auth-dialog {
  transform: scale(1);
}

.auth-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

.auth-tab-btn.active {
  background: var(--gold-gradient);
  color: #070709;
  box-shadow: 0 2px 10px rgba(212, 190, 156, 0.3);
}

.auth-form-panel {
  display: none;
}

.auth-form-panel.active {
  display: block;
}

/* Luxury Multi-Gateway Checkout Modal - Rock-Solid Mobile Block Scrolling */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10010;
  display: block; /* Native block scrolling context - 100% reliable in Safari & Chrome */
  padding: 30px 16px 80px 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-x: hidden;
  overflow-y: scroll !important; /* Force native scrolling context in iOS */
  -webkit-overflow-scrolling: touch !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: contain;
}

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.checkout-dialog {
  width: 100%;
  max-width: 840px;
  margin: 10px auto 60px auto;
  background: #0a0a0f;
  border: 1px solid var(--gold-border);
  border-radius: 22px;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.98), 0 0 50px rgba(186, 150, 93, 0.15);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  touch-action: pan-y !important;
}

.checkout-modal.active .checkout-dialog {
  transform: scale(1);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  margin-top: 24px;
}

.checkout-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Payment Methods Selector */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.payment-method-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.payment-method-card:hover {
  border-color: rgba(212, 190, 156, 0.5);
  background: rgba(212, 190, 156, 0.05);
}

.payment-method-card.active {
  border-color: var(--gold-primary);
  background: rgba(212, 190, 156, 0.12);
  box-shadow: 0 0 15px rgba(212, 190, 156, 0.2);
}

.payment-method-card .name {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 6px;
}

/* Card Input Row */
.card-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-details-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 18px;
}

/* Checkout Processing Screen */
.checkout-processing {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.checkout-processing.active {
  display: block;
}

.checkout-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(212, 190, 156, 0.2);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 850px) {
  .checkout-modal {
    padding: 14px 10px 90px 10px;
  }
  .checkout-dialog {
    margin: 0 auto 70px auto;
    padding: 24px 16px;
    border-radius: 18px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .form-input {
    font-size: 16px !important; /* Critical: Prevents iOS Safari from auto-zooming and locking scroll on mobile! */
  }
  .mobile-scroll-hint {
    display: flex !important;
  }
}

/* Reader Paywall & Locked Content Screen */
.reader-paywall-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 30px;
  max-width: 620px;
  margin: 40px auto;
  background: #0a0a0f;
  border: 2px solid var(--gold-border);
  border-radius: 22px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(212, 190, 156, 0.12);
  position: relative;
  z-index: 10;
}

.reader-paywall-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(212, 190, 156, 0.1);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 30px rgba(212, 190, 156, 0.25);
}

.checkout-notice-banner {
  background: rgba(212, 190, 156, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 18px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 13px;
}

