/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

:root {
  /* Colors */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-secondary: #f59e0b;
  --color-success: #10b981;
  --color-danger: #ef4444;

  --color-bg-dark: #0f172a;
  --color-bg-light: #1e293b;
  --color-bg-card: #1e293b;
  --color-bg-card-hover: #334155;

  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;

  --color-border: #334155;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica", "Arial", sans-serif;
  --font-mono: "SF Mono", "Consolas", "Liberation Mono", "Menlo", monospace;

  /* Borders */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding: var(--spacing-3xl) 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--color-bg-dark) 0%,
    var(--color-bg-light) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 20%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  color: var(--color-primary-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
  animation: pulse-badge 2s ease-in-out infinite;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-note {
  margin-top: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  width: 100%;
  text-align: center;
}

.cta-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button.secondary {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  border: 2px solid var(--color-border);
}

.cta-button.secondary:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-primary);
}

.cta-button.pulse {
  animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
  0%,
  100% {
    box-shadow: var(--shadow-lg);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.2), var(--shadow-xl);
  }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */

.problem {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-dark);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.problem-card {
  background: var(--color-bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.problem-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   WHAT'S INSIDE SECTION
   ============================================ */

.inside {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-light);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.chapters {
  display: grid;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.chapter {
  background: var(--color-bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  gap: var(--spacing-lg);
  transition: all var(--transition-base);
}

.chapter:hover {
  border-color: var(--color-primary);
  transform: translateX(8px);
}

.chapter.highlight {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(239, 68, 68, 0.1) 100%
  );
  border-color: var(--color-secondary);
}

.chapter-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  font-family: var(--font-mono);
}

.chapter-title {
  width: 30%;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.chapter-desc {
  width: 55%;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   SOCIAL PROOF SECTION
   ============================================ */

.social-proof {
  padding: var(--spacing-2xl) 0;
  background: var(--color-bg-dark);
}

.companies {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  margin-top: var(--spacing-xl);
}

.company {
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */

.author {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-light);
}

.author-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.author-image {
  flex-shrink: 0;
}

.avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.author-text h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.author-text p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

/* ============================================
   CTA SECTION (TWO OPTIONS)
   ============================================ */

.cta-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-dark);
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
  position: relative;
  transition: all var(--transition-base);
}

.cta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cta-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-xl);
}

.cta-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--color-bg-dark);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.cta-badge.highlight {
  background: var(--gradient-accent);
  color: white;
}

.cta-title {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
}

.cta-price {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.price-strike {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.price-main {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discount-label {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--color-success);
  border-radius: var(--border-radius-sm);
  color: var(--color-success);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.cta-features {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.cta-features li {
  padding: var(--spacing-sm) 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
  border-bottom: 1px solid var(--color-border);
}

.cta-features li:last-child {
  border-bottom: none;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.email-input {
  padding: var(--spacing-md);
  background: var(--color-bg-dark);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

.email-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.email-input::placeholder {
  color: var(--color-text-muted);
}

.cta-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.bonus-alert {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-md);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.trust-signals {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.trust-item {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
  padding: var(--spacing-3xl) 0;
  background: var(--color-bg-light);
}

.faq-list {
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  background: var(--color-bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--color-primary);
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-primary);
}

.faq-answer {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* ============================================
   RESPONSIVE DESIGN - TABLETS
   ============================================ */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .author-content {
    flex-direction: column;
    text-align: center;
  }

  .avatar {
    width: 150px;
    height: 150px;
    font-size: 4rem;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
  :root {
    --spacing-3xl: 3rem;
    --spacing-2xl: 2.5rem;
    --spacing-xl: 2rem;
  }

  .hero {
    padding: var(--spacing-2xl) 0;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: var(--spacing-md);
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .chapter {
    flex-direction: column;
  }

  .chapter:hover {
    transform: translateX(0) translateY(-4px);
  }

  .chapter-title {
    width: 100%;
  }

  .chapter-desc {
    width: 100%;
  }

  .companies {
    gap: var(--spacing-sm);
  }

  .company {
    font-size: 0.75rem;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-price {
    font-size: 2.5rem;
  }

  .price-strike {
    font-size: 1.25rem;
  }

  .trust-signals {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .avatar {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem var(--spacing-sm);
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .chapter-number {
    font-size: 1.5rem;
  }

  .chapter-title {
    font-size: 1.25rem;
  }

  .author-text h2 {
    font-size: 1.5rem;
  }

  .author-text p {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-price {
    font-size: 2rem;
  }

  .faq-question {
    font-size: 1.125rem;
  }
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background: var(--color-bg-card);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-xl);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

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

.modal-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin: 0;
  color: var(--color-text-primary);
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-bg-dark);
  color: var(--color-text-primary);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-message {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.modal-message strong {
  color: var(--color-primary-light);
}

.modal-question {
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.feedback-textarea {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--color-bg-dark);
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-primary);
  font-size: 1rem;
  font-family: var(--font-sans);
  line-height: 1.5;
  resize: vertical;
  min-height: 120px;
  transition: all var(--transition-base);
}

.feedback-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.feedback-textarea::placeholder {
  color: var(--color-text-muted);
}

.modal-footer {
  padding: var(--spacing-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

.modal-button {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition-base);
}

.modal-button.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.modal-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.modal-button.primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal-button.secondary {
  background: var(--color-bg-dark);
  color: var(--color-text-secondary);
  border: 2px solid var(--color-border);
}

.modal-button.secondary:hover {
  background: var(--color-bg-card-hover);
  color: var(--color-text-primary);
  border-color: var(--color-primary);
}

/* Modal responsive styles */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: var(--spacing-lg);
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: var(--spacing-lg);
  }

  .modal-footer {
    padding: var(--spacing-lg);
    flex-direction: column;
  }

  .modal-button {
    width: 100%;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  body {
    background: white;
    color: black;
  }

  .hero-badge,
  .cta-button,
  .cta-form,
  .footer,
  .modal {
    display: none;
  }
}
