/* ============================================
   PROMPTDRIVEN — Premium Brand CSS
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #6C63FF;
  --primary-dark: #5B54E6;
  --accent: #3B82F6;
  --bg: #FAFBFF;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --gradient: linear-gradient(135deg, #6C63FF 0%, #3B82F6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(108,99,255,.08) 0%, rgba(59,130,246,.08) 100%);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.12);
  --shadow-glow: 0 0 40px rgba(108,99,255,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- CONTAINER --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--text-light); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  background: var(--gradient-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all .25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 4px 20px rgba(108,99,255,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108,99,255,.4);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text);
  padding: 14px 28px;
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  border-radius: 14px;
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,251,255,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; }
.nav-logo svg { width: 140px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-light); transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { font-size: .85rem !important; padding: 10px 22px !important; }

/* --- HERO --- */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,.06) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(108,99,255,.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.15rem; max-width: 560px; margin: 0 auto 36px; line-height: 1.8; }
.hero-cta-group { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-trust { margin-top: 20px; font-size: .82rem; color: var(--text-lighter); display: flex; align-items: center; justify-content: center; gap: 6px; }
.hero-trust svg { width: 14px; height: 14px; }

.hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}
.hero-price .old { font-size: 1rem; color: var(--text-lighter); text-decoration: line-through; }
.hero-price .current { font-size: 1.5rem; font-weight: 700; color: var(--primary); }

/* --- SOCIAL BAR --- */
.social-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}
.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.social-stat { text-align: center; }
.social-stat .num { font-size: 1.6rem; font-weight: 700; color: var(--text); }
.social-stat .label { font-size: .82rem; color: var(--text-lighter); margin-top: 2px; }

/* --- SECTIONS --- */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header p { margin-top: 12px; font-size: 1.05rem; }

/* --- PROBLEM --- */
.problem { background: var(--bg-dark); color: #fff; }
.problem h2, .problem h3 { color: #fff; }
.problem p { color: #94A3B8; }
.problem .section-label { background: rgba(108,99,255,.15); }
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.problem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: all .3s ease;
}
.problem-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.problem-icon { width: 48px; height: 48px; background: rgba(108,99,255,.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.4rem; }
.problem-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.problem-card p { font-size: .92rem; line-height: 1.7; }

/* --- SOLUTION --- */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.solution-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity .3s;
}
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.solution-card:hover::before { opacity: 1; }
.solution-icon { width: 52px; height: 52px; background: var(--gradient-soft); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.solution-card h3 { margin-bottom: 8px; }
.solution-card p { font-size: .92rem; }

/* --- PRODUCT --- */
.product { background: var(--bg-white); }
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-visual {
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow);
}
.product-mockup {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.product-mockup h4 { font-size: 1rem; color: var(--primary); margin-bottom: 16px; }
.product-mockup-line {
  height: 8px;
  background: var(--gradient-soft);
  border-radius: 4px;
  margin-bottom: 10px;
}
.product-mockup-line:nth-child(2) { width: 80%; }
.product-mockup-line:nth-child(3) { width: 60%; }
.product-mockup-line:nth-child(4) { width: 90%; }
.product-mockup-line:nth-child(5) { width: 45%; }
.product-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  margin-top: 16px;
}

.product-info h2 { margin-bottom: 16px; }
.product-info > p { margin-bottom: 28px; font-size: 1.05rem; }

.product-modules { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.module {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all .2s ease;
}
.module:hover { border-color: var(--primary); background: var(--gradient-soft); }
.module-icon { width: 40px; height: 40px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.module h3 { font-size: 1rem; margin-bottom: 4px; }
.module p { font-size: .85rem; }

.product-meta { display: flex; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.product-meta-item { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--text-light); }
.product-meta-item svg { color: var(--primary); }

/* --- BONUS --- */
.bonus { background: var(--gradient-soft); }
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.bonus-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.bonus-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  background: var(--gradient-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.bonus-card h3 { margin-bottom: 8px; }
.bonus-card p { font-size: .9rem; }

/* --- TESTIMONIALS --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s;
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: #F59E0B; font-size: .9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.testimonial-role { font-size: .8rem; color: var(--text-lighter); }

/* --- FAQ --- */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform .3s; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--text-light);
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }

/* --- FINAL CTA --- */
.final-cta {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,.12) 0%, transparent 70%);
}
.final-cta h2 { color: #fff; margin-bottom: 16px; }
.final-cta p { color: #94A3B8; max-width: 500px; margin: 0 auto 36px; font-size: 1.05rem; }

/* --- FOOTER --- */
.footer {
  background: var(--bg-dark);
  color: #94A3B8;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 60px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: .88rem; line-height: 1.8; margin-top: 16px; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: .88rem; margin-bottom: 10px; color: #94A3B8; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; text-align: center; font-size: .82rem; }
.footer-seo { margin-top: 40px; font-size: .82rem; line-height: 1.9; color: #475569; }

/* --- ANIMATIONS --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 0 60px; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .social-bar-inner { gap: 24px; }
  section { padding: 60px 0; }
  .hero-cta-group { flex-direction: column; }
  .btn-large { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .problem-grid, .solution-grid, .bonus-grid, .testimonials-grid { grid-template-columns: 1fr; }
}
