/* ==========================================================================
   AI LightLab — Landing Page Styles
   Dark photo-focused theme with light accent sections
   ========================================================================== */

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

:root {
  --bg-dark:    #0d0d0d;
  --bg-card:    #1a1a1a;
  --bg-light:   #f5f5f5;
  --text-light: #e8e8e8;
  --text-dim:   #999;
  --text-dark:  #222;
  --accent:     #4f8cff;
  --accent-hover:#3a6fdb;
  --gold:       #f0c040;
  --radius:     10px;
  --max-width:  1100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

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

/* --- Header / Nav --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
nav a { color: var(--text-dim); margin-left: 28px; font-size: 0.9rem; font-weight: 500; }
nav a:hover { color: #fff; text-decoration: none; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 32px;
  border-radius: var(--radius); font-weight: 600; font-size: 1rem;
  transition: all 0.2s; cursor: pointer; border: none; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; text-decoration: none; }

/* --- Sections --- */
section { padding: 100px 0; }

/* Hero */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 20px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.2rem; color: var(--text-dim);
  max-width: 600px; margin: 0 auto 36px;
}
.hero-badges { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hero-badges span {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 18px; border-radius: 50px; font-size: 0.85rem; color: var(--text-dim);
}

/* How It Works */
.how-it-works { background: var(--bg-card); }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center; color: var(--text-dim);
  font-size: 1.05rem; margin-bottom: 60px; max-width: 550px; margin-left: auto; margin-right: auto;
}
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.step {
  text-align: center; padding: 32px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 1.2rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p  { color: var(--text-dim); font-size: 0.95rem; }

/* Before / After Showcase */
.showcase { background: var(--bg-dark); }
.showcase-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;
}
.showcase-item {
  background: var(--bg-card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.showcase-item .images {
  display: grid; grid-template-columns: 1fr 1fr; position: relative;
}
.showcase-item .images img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
}
.showcase-item .label {
  position: absolute; top: 8px; padding: 4px 10px;
  background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem;
  border-radius: 4px; font-weight: 600; text-transform: uppercase;
}
.showcase-item .label-before { left: 8px; }
.showcase-item .label-after  { right: 8px; }
.showcase-item .caption { padding: 16px; font-size: 0.9rem; color: var(--text-dim); }

/* Placeholder for user photos */
.showcase-placeholder {
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 60px 24px;
  text-align: center; color: var(--text-dim); font-size: 0.95rem;
}

/* Demo Video */
.demo { background: var(--bg-card); text-align: center; }
.video-wrapper {
  max-width: 800px; margin: 0 auto;
  aspect-ratio: 16/9; background: #000;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 1rem;
}
.video-wrapper iframe { width: 100%; height: 100%; border: none; }

/* Features */
.features { background: var(--bg-dark); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px;
}
.feature-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
}
.feature-card .icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p  { color: var(--text-dim); font-size: 0.9rem; }

/* Pricing */
.pricing { background: var(--bg-card); }
.pricing-row {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.price-card {
  background: var(--bg-dark); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 36px 32px; text-align: center;
  flex: 1; min-width: 260px; max-width: 340px; position: relative;
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(79,140,255,0.15);
}
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 16px;
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.price-card .price {
  font-size: 2.4rem; font-weight: 800; margin: 12px 0; letter-spacing: -0.03em;
}
.price-card .price small { font-size: 0.9rem; font-weight: 400; color: var(--text-dim); }
.price-card ul { list-style: none; margin: 20px 0 28px; text-align: left; }
.price-card ul li {
  padding: 6px 0; font-size: 0.9rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.price-card ul li::before { content: "\2713 "; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Credit Packs Table */
.credit-table { width: 100%; border-collapse: collapse; max-width: 650px; margin: 0 auto; }
.credit-table th {
  text-align: left; padding: 12px 16px; font-size: 0.85rem;
  color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.credit-table td {
  padding: 14px 16px; font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.credit-table tr:hover { background: rgba(255,255,255,0.02); }
.credit-table .pack-name { font-weight: 600; }
.credit-table .pack-price { color: var(--accent); font-weight: 600; }
.credit-table .pack-perunit { color: var(--text-dim); font-size: 0.85rem; }
.welcome-note {
  text-align: center; margin-top: 24px; padding: 16px;
  background: rgba(79,140,255,0.08); border-radius: var(--radius);
  border: 1px solid rgba(79,140,255,0.2); color: var(--accent); font-weight: 500;
}

/* FAQ */
.faq { background: var(--bg-dark); }
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-question {
  width: 100%; background: none; border: none; color: var(--text-light);
  padding: 20px 0; font-size: 1.05rem; font-weight: 600;
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--accent); }
.faq-question::after { content: "+"; font-size: 1.4rem; color: var(--text-dim); transition: transform 0.2s; }
.faq-item.open .faq-question::after { content: "\2212"; color: var(--accent); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  color: var(--text-dim); font-size: 0.95rem; line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }

/* Footer */
.site-footer {
  background: var(--bg-card); padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; margin-top: 8px; max-width: 300px; }
.footer-links h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 8px; }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; color: var(--text-dim); font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .pricing-row { flex-direction: column; align-items: center; }
  .price-card { max-width: 100%; }
  nav { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 120px 0 80px; }
  .footer-content { flex-direction: column; }
}

/* --- Legal Pages --- */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; }
.legal-page .last-updated { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; color: #fff; }
.legal-page p, .legal-page li { color: var(--text-dim); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { margin-left: 24px; margin-bottom: 16px; }
.legal-page a { color: var(--accent); }
