@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Ultra Premium Palette */
  --bg-dark: #050505;
  --bg-surface: #0a0a0a;
  
  /* Assume the E-book is green/gold for financial themes */
  --primary: #10b981; /* Emerald */
  --primary-glow: rgba(16, 185, 129, 0.3);
  
  --accent: #fbbf24; /* Gold */
  --accent-glow: rgba(251, 191, 36, 0.2);
  
  --danger: #ef4444; /* Rose/Red */
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Premium Backgrounds --- */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15), transparent 60%),
              radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.08), transparent 50%);
}

.noise {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -9;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2, h3, .serif {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 300;
  max-width: 600px;
}

/* Gradients */
.text-gold {
  background: linear-gradient(135deg, #fde68a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-emerald {
  background: linear-gradient(135deg, #6ee7b7, #047857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-danger {
  background: linear-gradient(135deg, #fca5a5, #be123c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0;
  position: relative;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

/* --- Premium UI Components --- */
.glass-panel {
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.8);
}

.book-mockup {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  background: linear-gradient(145deg, #111, #000);
  border-radius: 16px 2px 2px 16px;
  border-left: 12px solid var(--primary);
  box-shadow: 
    -20px 20px 50px rgba(0,0,0,0.8),
    inset 2px 0 5px rgba(255,255,255,0.2),
    0 0 80px var(--primary-glow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
  transform-style: preserve-3d;
}

.book-mockup::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 40%, transparent 50%);
  z-index: 2;
}

/* --- Buttons --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: linear-gradient(135deg, #fef08a, #d97706);
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px -10px var(--accent-glow);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: left 0.6s ease;
}

.btn-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -10px rgba(217, 119, 6, 0.5);
}

.btn-premium:hover::before { left: 100%; }

/* --- Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* --- Features --- */
.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.icon-red { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--primary); border: 1px solid rgba(16,185,129,0.2); }

/* --- Price Box --- */
.price-box {
  text-align: center;
  padding: 5rem 2rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: inset 0 0 50px rgba(251, 191, 36, 0.05), 0 30px 60px rgba(0,0,0,0.9);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 4rem; }

/* GSAP Initial States */
.gsap-reveal { visibility: hidden; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  section { padding: 6rem 0; }
  h1 { font-size: 3rem; }
  .btn-premium { width: 100%; padding: 1.2rem 2rem; }
}
