/* ============================================================
   Lumireel — style.css
   ============================================================ */

/* ---- Variables ---- */
:root {
  --purple:    #7C3AED;
  --pink:      #EC4899;
  --grad:      linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.12), rgba(236,72,153,.12));
  --dark:      #0F0F0F;
  --dark2:     #161618;
  --white:     #FFFFFF;
  --light:     #F7F7F9;
  --gray:      #6B7280;
  --gray-lt:   #9CA3AF;
  --border:    #E5E7EB;
  --border-dk: rgba(255,255,255,.1);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --nav-h:     72px;
  --shadow-sm: 0 4px 16px rgba(17,17,17,.06);
  --shadow-md: 0 12px 32px rgba(17,17,17,.1);
  --shadow-lg: 0 24px 56px rgba(17,17,17,.14);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: #111;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

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

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

.section-block { padding: 96px 0; }

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.13;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 18px;
  color: var(--gray);
}

.bg-light { background: var(--light); }
.bg-dark  { background: var(--dark); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
  line-height: 1;
}
.btn-grad {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124,58,237,.35);
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(236,72,153,.45); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #111;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn-lg { font-size: 17px; padding: 16px 34px; }
.btn-sm { font-size: 14px; padding: 10px 22px; }
.btn-full { width: 100%; }

/* ---- NAV ---- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
#header.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
  display: block;
}
.logo-icon-fallback {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
#header.scrolled .nav-links a { color: #374151; }
#header.scrolled .nav-links a:hover { color: var(--purple); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
#header.scrolled .nav-right .btn-grad { /* stays same */ }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
#header.scrolled .hamburger span { background: #111; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 82vw);
  height: 100vh;
  background: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 88px 28px 28px;
  gap: 4px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 20px; right: 22px;
  background: var(--light);
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #111;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.mobile-menu a {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  padding: 14px 6px;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--purple); }
.mobile-menu .btn { margin-top: 18px; text-align: center; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: calc(var(--nav-h) + 100px) 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.38) 0%, rgba(236,72,153,.2) 30%, transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 40%, rgba(124,58,237,.18) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 65%, rgba(236,72,153,.18) 0%, transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 900px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(17px, 2.3vw, 21px);
  color: #bbb;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-fine {
  font-size: 14px;
  color: #777;
}

/* ---- SOCIAL PROOF ---- */
.social-bar {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.social-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  text-align: center;
}
.social-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
}
.stars { color: #F59E0B; font-size: 20px; letter-spacing: 2px; }
.bfs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
.bfs-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---- PROBLEM / SOLUTION ---- */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 10px;
}
.ps-card {
  border-radius: var(--radius);
  padding: 40px;
}
.ps-card.problem {
  background: #fff;
  border: 1px solid var(--border);
}
.ps-card.solution {
  background: var(--grad);
  color: #fff;
}
.ps-card .ps-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.ps-card.problem .ps-label { color: var(--pink); }
.ps-card.solution .ps-label { color: rgba(255,255,255,.8); }
.ps-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.ps-card p {
  font-size: 16px;
  line-height: 1.7;
}
.ps-card.problem p { color: var(--gray); }
.ps-card.solution p { color: rgba(255,255,255,.9); }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feat-icon {
  width: 54px; height: 54px;
  border-radius: 13px;
  background: var(--grad-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.2px;
  margin-bottom: 10px;
}
.feat-card p { font-size: 15px; color: var(--gray); line-height: 1.65; }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 42px;
  left: calc(16.666% + 20px);
  right: calc(16.666% + 20px);
  height: 2px;
  background: linear-gradient(90deg, rgba(124,58,237,.2), rgba(236,72,153,.2));
}
.step { text-align: center; position: relative; }
.step-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.step-icon-wrap {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 28px rgba(124,58,237,.3);
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.3px;
}
.step p { font-size: 15.5px; color: var(--gray); }

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.popular {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: 0 24px 56px rgba(124,58,237,.2);
}
.popular-pill {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}
.plan-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}
.plan-price {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  vertical-align: bottom;
  line-height: 2.8;
}
.plan-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 26px;
  margin-top: 4px;
}
.plan-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #374151;
}
.plan-features li .fi {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  margin-top: 1px;
  width: 18px;
}
.plan-features li.yes .fi { color: #16A34A; }
.plan-features li.no  { color: var(--gray-lt); }
.plan-features li.no .fi { color: #D1D5DB; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-top: 32px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 6px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color .2s;
}
.faq-btn:hover { color: var(--purple); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 300;
  transition: transform .3s ease, background .3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff;
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
  padding: 2px 6px 22px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 40%, rgba(124,58,237,.5) 0%, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(236,72,153,.45) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 2; max-width: 700px; }
.cta-banner h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 18px;
}
.cta-banner p {
  font-size: 18px;
  color: #bbb;
  margin-bottom: 36px;
}
.cta-stars {
  margin-top: 22px;
  font-size: 15px;
  color: #999;
}
.cta-stars .stars { font-size: 17px; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark2);
  color: #fff;
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 30px;
}
.footer-brand .logo-text { font-size: 22px; font-weight: 800; display: block; margin-bottom: 10px; }
.footer-brand p { color: #9CA3AF; font-size: 14.5px; max-width: 280px; }
.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: #9CA3AF;
  padding: 5px 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--pink); }
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #6B7280;
}

/* ---- PRIVACY PAGE ---- */
.privacy-hero {
  background: var(--dark);
  color: #fff;
  padding: calc(var(--nav-h) + 70px) 0 70px;
  text-align: center;
}
.privacy-hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.privacy-hero p { color: #999; font-size: 16px; }

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 24px 100px;
}
.privacy-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 42px 0 14px;
  letter-spacing: -.3px;
}
.privacy-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 10px;
  color: #333;
}
.privacy-content p {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.75;
}
.privacy-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}
.privacy-content ul li {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 8px;
  line-height: 1.65;
}
.privacy-content a { color: var(--purple); }
.privacy-content a:hover { text-decoration: underline; }
.privacy-last-updated {
  display: inline-block;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 40px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-grid::before { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: 84px 1fr; gap: 0 20px; align-items: start; }
  .step-icon-wrap { margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .ps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-right .btn { display: none; }
}
@media (max-width: 660px) {
  .section-block { padding: 68px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .social-inner { flex-direction: column; gap: 14px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 36px; }
  .step { grid-template-columns: 1fr; text-align: center; }
  .step-icon-wrap { margin: 0 auto 20px; }
  .step h3, .step p { grid-column: 1; }
}
