/* ═══════════════════════════════════════════════════════
   LearnN'Succeed — Sales Page Template Styles
   ═══════════════════════════════════════════════════════ */

:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2740;
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-border: #1a1a25;
  --color-text: #e0e0e0;
  --color-text-muted: #8a8a9a;
  --color-white: #ffffff;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Header ──────────────────────────────────────── */
.header {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo { height: 32px; }
.header-cta {
  background: var(--color-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.header-cta:hover { background: var(--color-primary-dark); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto;
}
.hero .subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero .hero-cta {
  display: inline-block;
  margin-top: 32px;
  background: var(--color-primary);
  color: white;
  padding: 14px 40px;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.hero .hero-cta:hover { transform: translateY(-2px); background: var(--color-primary-dark); }

/* ── Instructor ──────────────────────────────────── */
.instructor {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}
.instructor-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.instructor-photo {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid var(--color-border);
}
.instructor h2 { color: var(--color-white); font-size: 1.5rem; }
.instructor p { color: var(--color-text-muted); margin-top: 8px; }

/* ── Modules ─────────────────────────────────────── */
.modules {
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}
.modules h2 {
  color: var(--color-white);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}
.module-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.module-card h3 { color: var(--color-primary); font-size: 1.125rem; }
.module-card .lessons { margin-top: 12px; }
.module-card .lesson {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.875rem;
}
.module-card .lesson:last-child { border-bottom: none; }
.module-card .lesson .duration { color: var(--color-text-muted); margin-left: auto; font-size: 0.75rem; }

/* ── Pricing ─────────────────────────────────────── */
.pricing-section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}
.pricing-section h2 {
  color: var(--color-white);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(196, 122, 42, 0.1);
}
.price-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.price-card h3 { color: var(--color-white); font-size: 1.25rem; margin-bottom: 8px; }
.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
}
.price-card .price small { font-size: 1rem; color: var(--color-text-muted); }
.price-card .features { margin-top: 24px; text-align: left; }
.price-card .feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--color-text);
}
.price-card .feature .check { color: #22c55e; }
.price-card .checkout-btn {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 12px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.price-card .checkout-btn:hover { background: var(--color-primary-dark); }

/* ── Testimonials ────────────────────────────────── */
.testimonials { padding: 60px 0; border-top: 1px solid var(--color-border); }
.testimonials h2 { color: var(--color-white); font-size: 2rem; text-align: center; margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}
.testimonial blockquote { color: var(--color-text); font-style: italic; }
.testimonial .author { margin-top: 12px; color: var(--color-primary); font-weight: 600; font-size: 0.875rem; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { padding: 60px 0; border-top: 1px solid var(--color-border); }
.faq h2 { color: var(--color-white); font-size: 2rem; text-align: center; margin-bottom: 40px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer { padding: 0 20px 16px; color: var(--color-text-muted); font-size: 0.875rem; display: none; }
.faq-item.open .faq-answer { display: block; }

/* ── Lead Form ───────────────────────────────────── */
.lead-section { padding: 60px 0; border-top: 1px solid var(--color-border); }
.lead-form {
  max-width: 500px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.lead-form h3 { color: var(--color-white); font-size: 1.25rem; }
.lead-form p { color: var(--color-text-muted); margin-top: 8px; font-size: 0.875rem; }
.lead-form input {
  width: 100%;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: white;
  font-size: 0.875rem;
}
.lead-form input::placeholder { color: var(--color-text-muted); }
.lead-form button {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 40px 0; }
  .instructor-grid { grid-template-columns: 1fr; text-align: center; }
  .instructor-photo { margin: 0 auto; width: 150px; height: 150px; }
  .pricing-grid { grid-template-columns: 1fr; }
}
