/* 
  Readingg Elite Sales Landing
  V3.0 - Premium Sales (No Fluff)
  Dribbble Style: Vibrant Blobs + Deep Glassmorphism + Luxury Typography
*/

:root {
  --bg-dark: #02040a;
  --accent-primary: #465FFF;
  --accent-secondary: #2dd4bf;
  --accent-hot: #ff007a;
  --accent-luxury: #7c3aed;
  --text-main: #ffffff;
  --text-dim: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 16px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1100px;
}

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

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Visuals */
#noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.03;
  pointer-events: none;
  z-index: 999;
}

.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.2;
  animation: blob-move 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -10%;
  right: -10%;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-hot);
  bottom: -5%;
  left: -5%;
  animation-delay: -5s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--accent-secondary);
  top: 40%;
  left: 10%;
  opacity: 0.1;
  animation-delay: -10s;
}

@keyframes blob-move {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 150px) scale(1.2); }
}

/* Header */
.header {
  height: 100px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
}

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

.logo img {
  height: 24px;
  width: auto;
}

/* Button UI */
.btn {
  padding: 14px 32px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-dark);
}

.btn-glow-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 0 30px rgba(70, 95, 255, 0.4);
  font-size: 1.1rem;
  padding: 18px 48px;
  letter-spacing: -0.5px;
}

.btn-glow-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 45px rgba(70, 95, 255, 0.6);
}

/* Hero - Luxury Typography */
.hero-sales {
  padding: 180px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.pill-badge {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-primary);
  display: inline-block;
  margin-bottom: 24px;
}

.sales-h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -2px;
  color: #fff;
}

.title-highlight {
  background: linear-gradient(135deg, #465FFF 0%, #2dd4bf 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.sales-subtitle {
  font-size: 1.35rem;
  color: var(--text-dim);
  margin-bottom: 48px;
  max-width: 550px;
  line-height: 1.5;
}

/* Glass Components */
.glass-premium {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 60px;
  width: fit-content;
  margin-bottom: 48px;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hot));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  font-size: 1.1rem;
}

.author-meta .label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  opacity: 0.7;
}

.author-meta .handle {
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
}

.cta-direct {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.price-display {
  display: flex;
  flex-direction: column;
  padding: 14px 28px;
  border-radius: 40px;
}

.price-display .credits {
  font-size: 1.6rem;
  font-weight: 900;
}

.price-display .usd {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Perspective Mockup */
.cover-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  perspective: 2000px;
}

.main-cover {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 
    30px 40px 100px rgba(0,0,0,0.7),
    0 0 40px rgba(70, 95, 255, 0.2);
  transform: rotateY(-20deg) rotateX(8deg) scale(1.05);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cover-box:hover .main-cover {
  transform: rotateY(-5deg) rotateX(2deg) scale(1.1);
}

/* Benefits row - Solid icons and centering */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 120px;
}

.benefit-card {
  padding: 48px 32px;
  border-radius: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.solid-icon {
  width: 56px;
  height: 56px;
  color: var(--accent-primary);
  opacity: 0.9;
}

.solid-icon svg { width: 100%; height: 100%; }

.benefit-card p {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.5;
  font-weight: 500;
}

/* Synopsis Section */
.synopsis-wrapper {
  margin-bottom: 160px;
}

.editorial-card {
  padding: 80px 60px;
  border-radius: 40px;
}

.synopsis-text {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #fff;
  opacity: 0.85;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  font-weight: 400;
}

/* Footer Minimalist */
.footer-ultra-minimal {
  padding: 80px 0;
  border-top: 1px dashed rgba(255,255,255,0.1);
}

.footer-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  opacity: 0.5;
}

.footer-flex .brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-flex .copyright { font-size: 0.8rem; }

/* States & Transitions */
.hidden { display: none; }

.state-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.05);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Simple Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-info { display: flex; flex-direction: column; align-items: center; }
  .sales-h1 { font-size: 2.8rem; }
  .sales-subtitle { font-size: 1.1rem; }
  .benefits-row { grid-template-columns: 1fr; }
  .main-cover { transform: none; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
  .editorial-card { padding: 60px 32px; }
}
