/* ============================================
   The Profit Lab — Landing Page Styles
   Premium dark theme, conversion-optimized
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a2e;
  --border: #1e1e2e;
  --text: #e4e4e7;
  --text-muted: #9ca3af;
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --green: #22c55e;
  --coral: #f97316;
  --blue: #3b82f6;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 12px;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; display: block; }

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

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: #fff; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-large { padding: 20px 40px; font-size: 1.15rem; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-urgency {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.hero h1 { margin-bottom: 20px; position: relative; }
.hero h1 span { color: var(--accent); }

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-badge svg { width: 18px; height: 18px; color: var(--green); }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Email Capture --- */
.email-capture {
  padding: 40px 0 60px;
}

.email-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1028 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.email-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.email-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.email-card h2 { margin-bottom: 12px; position: relative; }

.email-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
  position: relative;
}

.email-form {
  display: flex;
  gap: 12px;
  position: relative;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.email-form input[type="email"]:focus {
  border-color: var(--accent);
}

.email-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.email-form .btn { white-space: nowrap; }

.email-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  position: relative;
}

/* --- Product Cards --- */
.products { padding: 80px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.product-featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.product-tag-hot {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.product-card h3 { margin-bottom: 4px; }

.product-for {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.product-card .product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex: 1;
}

.product-highlights {
  list-style: none;
  margin-bottom: 24px;
}

.product-highlights li {
  padding: 4px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-highlights li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-price .price-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.product-price .price {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.product-price .price-savings {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-price .price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-card .btn { width: 100%; }

/* --- Bundle Section --- */
.bundle {
  padding: 80px 0;
  position: relative;
}

.bundle-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a1035 100%);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bundle-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.bundle-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.bundle-card h2 { margin-bottom: 12px; position: relative; }

.bundle-sub {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.bundle-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
  text-align: left;
}

.bundle-product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
}

.bundle-item-value {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.bundle-pricing {
  margin: 32px 0;
  position: relative;
}

.bundle-pricing .original-price {
  font-size: 1.2rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.bundle-pricing .bundle-price {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin: 8px 0;
}

.bundle-pricing .save-tag {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.bundle-guarantee {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 16px;
  position: relative;
}

/* --- Social Proof --- */
.social-proof {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.proof-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Features / Trust --- */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 32px 24px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-item h4 { margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Testimonials --- */
.testimonials { padding: 80px 0; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-stars { color: var(--amber); margin-bottom: 12px; font-size: 1rem; }

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- FAQ --- */
.faq { padding: 80px 0; }

.faq-list {
  max-width: 700px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-top: 12px;
}

/* --- Final CTA --- */
.final-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, #12101f 100%);
}

.final-cta h2 { margin-bottom: 16px; }
.final-cta p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

/* --- Product Page Specific --- */
.product-hero {
  padding: 140px 0 60px;
}

.product-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-hero-text .product-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-hero-text h1 { margin-bottom: 16px; }

.product-hero-text .product-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.product-hero-text .product-price-hero {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
}

.product-hero-image {
  display: flex;
  justify-content: center;
}

.product-mockup {
  width: 320px;
  height: 420px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* What's Inside */
.whats-inside { padding: 80px 0; }

.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.inside-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.inside-item h4 { margin-bottom: 4px; }
.inside-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Who It's For */
.who-for { padding: 80px 0; }

.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.who-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.who-item .check {
  color: var(--green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* CTA Strip */
.cta-strip {
  padding: 80px 0;
  text-align: center;
}

.cta-strip h2 { margin-bottom: 16px; }
.cta-strip p { color: var(--text-muted); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 120px 0 60px; }

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

  .bundle-card { padding: 32px 20px; }
  .bundle-products { grid-template-columns: 1fr; }

  .email-form { flex-direction: column; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .product-hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .product-mockup { width: 260px; height: 340px; margin: 0 auto; }

  .hero-cta { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .proof-number { font-size: 2rem; }
  .bundle-pricing .bundle-price { font-size: 2.5rem; }
}
