/* ══════════════════════════════════════════════
   المدير الأعمى — Audiobook Landing Page
   Aesthetic: Editorial Luxury + Arabic Heritage
   Palette: Teal/Coral from book cover
   ══════════════════════════════════════════════ */

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

:root {
  /* Color System — Elevated Premium */
  --teal-deep: #0f4f41;
  --teal-mid: #1d7b69;
  --teal-light: #35a58e;
  --teal-pale: #e2f4f0;
  --coral: #e55a39;
  --coral-dark: #bf3f20;
  --coral-light: #ff7e5b;
  --cream: #fdfcfb;
  --cream-dark: #f0ebe1;
  --charcoal: #11111a;
  --slate: #2b2b3c;
  --mist: #7b7b93;
  --white: #ffffff;
  --gold: #d4af37;

  /* Typography */
  --font-display: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;

  /* Spacing Rhythm */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.3s;
  --duration-med: 0.6s;
  --duration-slow: 1s;

  /* Premium Shadows */
  --shadow-book: 0 35px 65px -15px rgba(15, 79, 65, 0.4),
                 0 15px 30px -10px rgba(0,0,0,0.25), 
                 inset 0 1px 0 rgba(255,255,255,0.15);
  --shadow-card: 0 12px 36px rgba(17, 17, 26, 0.06), 
                 inset 0 1px 0 rgba(255,255,255,0.8);
  --shadow-hover: 0 24px 60px rgba(29, 123, 105, 0.12), 
                  inset 0 1px 0 rgba(255,255,255,1);
  --shadow-glow: 0 0 80px rgba(53, 165, 142, 0.25);
  
  --glass-bg: rgba(253, 252, 251, 0.75);
  --glass-border: rgba(255, 255, 255, 0.85);
}

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

body {
  font-family: var(--font-body);
  background: var(--cream);
  background-image: radial-gradient(circle at top right, #fff, var(--cream) 60%);
  color: var(--charcoal);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle noise texture overlay for luxury editorial feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ─── Utility ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal-mid);
  display: inline-block;
}

/* ─── Preloader ─── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-mid), var(--coral));
  border-radius: 2px;
  animation: loadBar 1.8s var(--ease-out) forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--duration-fast) var(--ease-out);
}

.navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  padding: var(--space-xs) 0;
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--charcoal);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.nav-logo span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  position: relative;
  transition: color var(--duration-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width var(--duration-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--teal-deep);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--teal-deep) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 8px;
  transition: background var(--duration-fast), transform var(--duration-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--teal-mid) !important;
  transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero Section ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-3xl) 0 var(--space-2xl);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 158, 138, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 103, 74, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--teal-pale), rgba(45, 158, 138, 0.1));
  border: 1px solid rgba(45, 158, 138, 0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-bottom: var(--space-md);
}

.hero-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  background: linear-gradient(135deg, var(--charcoal), var(--slate));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 500;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 520px;
  margin-bottom: var(--space-lg);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: 0 10px 20px -5px rgba(229, 90, 57, 0.4), inset 0 1px 1px rgba(255,255,255,0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(229, 90, 57, 0.5), inset 0 1px 1px rgba(255,255,255,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--teal-deep);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
}

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

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--teal-deep);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--mist);
  font-weight: 600;
}

/* Hero Book Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.book-showcase {
  position: relative;
  perspective: 1200px;
}

.book-3d {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-8deg);
  transition: transform var(--duration-med) var(--ease-out);
  cursor: pointer;
}

.book-3d:hover {
  transform: rotateY(0deg) scale(1.03);
}

.book-cover-img {
  width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-book);
  position: relative;
  z-index: 2;
}

.book-spine {
  position: absolute;
  top: 0;
  right: -20px;
  width: 20px;
  height: 100%;
  background: linear-gradient(to left, var(--teal-deep), #15584a);
  border-radius: 0 4px 4px 0;
  transform: rotateY(90deg);
  transform-origin: left center;
  z-index: 1;
}

.book-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(45, 158, 138, 0.15) 0%, transparent 70%);
  z-index: 0;
  filter: blur(20px);
  animation: glowPulse 4s ease-in-out infinite;
}

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

/* Floating geometric elements */
.float-shape {
  position: absolute;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.float-shape-1 {
  top: -30px;
  left: -60px;
  width: 120px;
  height: 120px;
  background: var(--coral);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  animation: float 8s ease-in-out infinite;
}

.float-shape-2 {
  bottom: -20px;
  right: -40px;
  width: 80px;
  height: 80px;
  background: var(--teal-mid);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 6s ease-in-out infinite reverse;
}

.float-shape-3 {
  top: 40%;
  left: -80px;
  width: 60px;
  height: 60px;
  border: 3px solid var(--teal-light);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -15px) rotate(5deg); }
  66% { transform: translate(-5px, 10px) rotate(-3deg); }
}

/* ─── About Section ─── */
.about {
  padding: var(--space-3xl) 0;
  position: relative;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  transition: transform var(--duration-slow) var(--ease-out);
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.03);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 46, 0.5) 100%);
  border-radius: 20px;
  pointer-events: none;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.about-content h2 span {
  color: var(--teal-deep);
}

.about-text {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 2;
  margin-bottom: var(--space-md);
}

.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}

.about-highlights li .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--teal-pale), rgba(45, 158, 138, 0.15));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ─── Features / What You'll Learn ─── */
.features {
  padding: var(--space-3xl) 0;
  background: var(--charcoal);
  background-image: 
    radial-gradient(ellipse at 0% 0%, rgba(29, 123, 105, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(229, 90, 57, 0.1) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.features-header .section-label {
  color: var(--teal-light);
  justify-content: center;
}

.features-header .section-label::before {
  background: var(--teal-light);
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.features-header p {
  font-size: 1.1rem;
  color: var(--mist);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: var(--space-lg);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(45, 158, 138, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(45, 158, 138, 0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-mid));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 12px rgba(26, 107, 90, 0.3);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

/* ─── Quote / Testimonial Banner ─── */
.quote-banner {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--teal-deep), var(--charcoal));
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.quote-banner::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: 10%;
  font-size: 20rem;
  font-family: var(--font-display);
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
  pointer-events: none;
}

.quote-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(29, 123, 105, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

.quote-author {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Platforms Section ─── */
.platforms {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.platforms-header {
  margin-bottom: var(--space-2xl);
}

.platforms-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.platforms-header p {
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 550px;
  margin: 0 auto;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.platform-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-md);
  text-decoration: none;
  color: var(--charcoal);
  transition: all var(--duration-fast) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.platform-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-mid), var(--coral));
  transform: scaleX(0);
  transition: transform var(--duration-fast) var(--ease-out);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 158, 138, 0.15);
}

.platform-card:hover::after {
  transform: scaleX(1);
}

.platform-logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.8rem;
  font-weight: 900;
}

.platform-logo.spotify { background: linear-gradient(135deg, #1DB954, #168D40); color: white; }
.platform-logo.apple { background: linear-gradient(135deg, #FC3C44, #D62E36); color: white; }
.platform-logo.google { background: linear-gradient(135deg, #4285F4, #34A853); color: white; }
.platform-logo.storytel { background: linear-gradient(135deg, #FF6B35, #F74E1F); color: white; }
.platform-logo.kobo { background: linear-gradient(135deg, #BF0000, #8E0000); color: white; }
.platform-logo.libro { background: linear-gradient(135deg, #2E86AB, #205F7A); color: white; }

.platform-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.platform-action {
  font-size: 0.8rem;
  color: var(--teal-mid);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.platform-action svg {
  transition: transform var(--duration-fast) var(--ease-out);
}

.platform-card:hover .platform-action svg {
  transform: translateX(-4px);
}

/* ─── Author Section ─── */
.author {
  padding: var(--space-3xl) 0;
  background: var(--cream-dark);
  position: relative;
}

.author .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: center;
}

.author-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.author-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-book);
  position: relative;
  z-index: 2;
}

.author-photo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border: 1px solid rgba(212, 175, 55, 0.3); /* gold accent */
  border-radius: 50%;
  animation: spinSlow 30s linear infinite;
  z-index: 1;
}
.author-photo-ring::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
  filter: blur(4px);
  transform: translateX(-50%);
}

@keyframes spinSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.author-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.author-info h2 span {
  color: var(--teal-deep);
}

.author-info .author-role {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.author-info .author-bio {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 2;
  margin-bottom: var(--space-md);
}

/* ─── CTA Section ─── */
.cta {
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, var(--charcoal), var(--teal-deep));
  border-radius: 32px;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(15, 79, 65, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(53, 165, 142, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(229, 90, 57, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─── Footer ─── */
.footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(26, 107, 90, 0.08);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-text {
  font-size: 0.85rem;
  color: var(--mist);
}

.footer-text a {
  color: var(--teal-mid);
  text-decoration: none;
  font-weight: 600;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  background: var(--teal-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 79, 65, 0.25);
}

/* Brand-tinted hover per network */
.footer-social a[aria-label="Facebook"]:hover     { background: #1877F2; }
.footer-social a[aria-label="Instagram"]:hover    { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social a[aria-label="TikTok"]:hover       { background: #000; }
.footer-social a[aria-label="Spotify"]:hover      { background: #1DB954; }
.footer-social a[aria-label="Apple Books"]:hover  { background: #ff2d55; }
.footer-social a[aria-label="Storytel"]:hover     { background: var(--coral); }

.footer-nav {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mist);
  margin-top: var(--space-xs);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(26, 107, 90, 0.06);
}

.footer-nav a {
  color: var(--mist);
  text-decoration: none;
  padding: 0 0.35rem;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover {
  color: var(--teal-deep);
}

.footer-nav span {
  color: rgba(123, 123, 147, 0.4);
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Audio Player Mini ─── */
.audio-sample {
  padding: var(--space-2xl) 0;
  background: var(--white);
}

.audio-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.audio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.8), transparent 60%);
  pointer-events: none;
}

.audio-cover {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.audio-info {
  flex: 1;
}

.audio-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.audio-info p {
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: var(--space-sm);
}

.audio-narrator {
  font-size: 0.8rem;
  color: var(--teal-mid);
  font-weight: 600;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .book-cover-img {
    width: 260px;
  }
  
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-image {
    height: 350px;
  }
  
  .author .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .book-cover-img {
    width: 220px;
  }
  
  .author-photo {
    width: 200px;
    height: 200px;
  }
  
  .author-photo-ring {
    width: 240px;
    height: 240px;
  }
  
  .audio-card {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-card {
    padding: var(--space-xl) var(--space-md);
  }
  
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
