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

/* --- CUSTOM VARIABLES --- */
:root {
  --bg-dark: #050a15;
  --bg-card: rgba(13, 25, 48, 0.65);
  --bg-card-hover: rgba(18, 35, 66, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(245, 192, 24, 0.3);
  
  --primary-gold: #f5c018;
  --primary-gold-hover: #e0ad0c;
  --primary-gold-rgb: 245, 192, 24;
  
  --accent-blue: #1e40af;
  --accent-cyan: #06b6d4;
  --accent-cyan-rgb: 6, 182, 212;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 25px rgba(245, 192, 24, 0.25);
  --shadow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 192, 24, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(5, 10, 21, 0.8);
}

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

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

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-gold);
  box-shadow: 0 0 12px rgba(245, 192, 24, 0.25);
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 18px rgba(245, 192, 24, 0.45);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

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

.tagline-top {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tagline-top span {
  color: var(--primary-gold);
}

/* --- HERO SECTION --- */
.hero {
  padding: 60px 0 80px 0;
  flex: 1;
  display: flex;
  align-items: center;
}

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

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }
}

/* --- TYPOGRAPHY --- */
h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight {
  background: linear-gradient(to right, var(--primary-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 300;
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.2rem;
  }
  .lead-text {
    font-size: 1rem;
  }
}

/* --- BULLETS & VALUE PROP --- */
.value-props {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prop-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 968px) {
  .prop-item {
    justify-content: center;
    max-width: 550px;
    margin: 0 auto;
  }
}

.prop-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 192, 24, 0.1);
  border: 1px solid rgba(245, 192, 24, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.prop-text h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.prop-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- GLASS CARD & FORM --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-gold), var(--accent-cyan));
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-main);
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-container {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.form-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px 14px 46px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 192, 24, 0.15);
  background: rgba(15, 23, 42, 0.8);
}

/* --- BUTTONS --- */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-gold) 0%, #e09600 100%);
  color: var(--text-dark);
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(245, 192, 24, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 192, 24, 0.35);
  background: linear-gradient(135deg, #ffd33d 0%, var(--primary-gold) 100%);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-download {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0891b2 100%);
  color: var(--text-dark);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
  width: auto;
  min-width: 200px;
  display: inline-flex;
  text-decoration: none;
}

.btn-download:hover {
  background: linear-gradient(135deg, #22d3ee 0%, var(--accent-cyan) 100%);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
  transform: translateY(-2px);
  color: var(--text-dark);
}

.privacy-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- COVER VISUALS --- */
.visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.mockup-main {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 40px rgba(245, 192, 24, 0.15);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255,255,255,0.05);
}

.mockup-main:hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 50px rgba(245, 192, 24, 0.25);
}

/* --- BOTTOM TRUST RIBBON --- */
.trust-ribbon {
  background: rgba(10, 20, 42, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
  width: 100%;
  margin-top: auto;
}

.trust-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
}

.trust-item span {
  color: var(--primary-gold);
  font-weight: 700;
}

.trust-item-icon {
  color: var(--primary-gold);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 16px;
  }
}

/* --- THANK YOU & DOWNLOAD SPECIFICS --- */
.state-container {
  max-width: 650px;
  margin: 40px auto;
  text-align: center;
}

.status-icon-wrapper {
  margin: 0 auto 30px auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 192, 24, 0.1);
  border: 2px dashed var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  animation: pulse-glow 2s infinite;
}

.status-icon-wrapper.success {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
  border-style: solid;
  color: var(--accent-cyan);
  animation: pulse-glow-cyan 2s infinite;
}

.alert-box {
  background: rgba(239, 68, 68, 0.05);
  border: 1px dashed rgba(239, 68, 68, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 25px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.alert-box.info {
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--text-main);
}

.alert-icon {
  flex-shrink: 0;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.alert-box.info .alert-icon {
  color: var(--accent-cyan);
}

.alert-box.warning .alert-icon {
  color: #f59e0b;
}

.alert-box.warning {
  background: rgba(245, 192, 24, 0.03);
  border-color: rgba(245, 192, 24, 0.2);
}

.alert-content h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.alert-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- STEP TRACKER --- */
.steps-tracker {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 20px 0;
  position: relative;
  padding: 0 10px;
}

.steps-tracker::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  z-index: 1;
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step-label {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.step-node.completed .step-dot {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.step-node.completed .step-label {
  color: var(--accent-cyan);
}

.step-node.active .step-dot {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(245, 192, 24, 0.4);
}

.step-node.active .step-label {
  color: var(--primary-gold);
}

/* --- DOWNLOAD PAGE GRID --- */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 40px 0;
}

@media (max-width: 768px) {
  .download-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.download-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

.book-preview-container {
  width: 170px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.book-cover {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(5px 5px 12px rgba(0,0,0,0.45));
  transition: var(--transition-smooth);
}

.download-card:hover .book-cover {
  transform: translateY(-5px) scale(1.04);
  filter: drop-shadow(10px 15px 20px rgba(0,0,0,0.6));
}

.download-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.download-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
  max-width: 320px;
}

.btn-container {
  width: 100%;
}

.footer-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- ANIMATIONS --- */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 192, 24, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(245, 192, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 192, 24, 0);
  }
}

@keyframes pulse-glow-cyan {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(6, 182, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
