/* RochaStack Afiliados — Layout SaaS Leadlovers Inspired */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.saas-theme {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #f8fafc;
  background-color: #090d16;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-cyan: #06b6d4;
  --bg-dark: #090d16;
  --bg-card: rgba(30, 41, 59, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-muted: #94a3b8;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 72px 0;
  position: relative;
}

.section__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #ffffff;
}

.section__title--center { text-align: center; }

/* Topbar */
.topbar {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__logo { font-size: 18px; font-weight: 900; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

.btn--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5);
}

.btn--glow {
  position: relative;
}

.btn--lg { padding: 18px 36px; font-size: 18px; border-radius: 12px; }
.btn--sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; }
.btn--block { width: 100%; }

.btn--header {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
}

.btn--cta-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: #fff;
}

/* Badges */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.badge--glow {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.badge--discount {
  background: #22c55e;
  color: #fff;
}

.eyebrow {
  display: inline-block;
  color: #818cf8;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.eyebrow--pill {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
}

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

.hero__headline {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero__headline mark {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subheadline {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 32px;
}

.rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 14px;
}
.stars { color: #f59e0b; }

.hero__mockup-frame {
  margin-top: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0f172a;
  padding: 8px;
  box-shadow: 0 25px 60px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}
.hero__mockup-frame img { border-radius: 10px; width: 100%; }

/* Countdown Bar */
.countdown-bar {
  background: rgba(15, 23, 42, 0.8);
  border-y: 1px solid var(--border-color);
  padding: 16px 0;
}
.countdown-bar__inner { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.countdown-bar__label { font-weight: 800; font-size: 15px; color: #f8fafc; }
.countdown { display: flex; gap: 10px; }
.countdown__unit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  min-width: 60px;
}
.countdown__unit span { display: block; font-size: 22px; font-weight: 900; color: #818cf8; }
.countdown__unit small { font-size: 10px; text-transform: uppercase; color: var(--text-muted); }

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.cards-grid--2col { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}
.card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
}
.card__icon { font-size: 28px; margin-bottom: 12px; display: block; }
.card__title { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.card__desc, .card__text { color: var(--text-muted); font-size: 15px; }

/* Stats Section */
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.stat-card__val { display: block; font-size: 36px; font-weight: 900; color: #818cf8; }
.stat-card__label { color: var(--text-muted); font-size: 14px; font-weight: 600; }

/* VSL Video */
.vsl__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 24px;
}
.vsl__wrapper iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }
.vsl__caption { text-align: center; color: var(--text-muted); font-size: 14px; margin-top: 14px; }

/* Gallery & Before-After */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.gallery__item img { border-radius: 12px; width:100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border-color); }

.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.before-after-card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); }
.before-after-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.badge--before { position: absolute; top:12px; left:12px; background: #475569; color:#fff; }
.badge--after { position: absolute; top:12px; left:12px; background: var(--primary); color:#fff; }

/* Steps */
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  counter-increment: step-counter;
}
.step-card__num::before {
  content: "0" counter(step-counter);
  font-size: 28px;
  font-weight: 900;
  color: #818cf8;
  display: block;
  margin-bottom: 12px;
}
.step-card__title { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.step-card__text { color: var(--text-muted); font-size: 14px; }

/* Bonus */
.bonus__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.bonus-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 16px;
  padding: 24px;
}
.bonus-card__badge { font-size: 11px; font-weight: 800; color: #c084fc; letter-spacing: 0.05em; display: block; margin-bottom: 8px; }
.bonus-card__name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.bonus-card__desc { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.bonus-card__price { font-size: 14px; color: #94a3b8; }
.bonus-card__price strong { color: #22c55e; }

/* Testimonials */
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; }
.testimonial-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-card__name { display: block; font-size: 15px; color: #fff; }
.testimonial-card__info { font-size: 12px; color: var(--text-muted); display: block; }
.testimonial-card__quote { color: var(--text-muted); font-size: 14px; font-style: italic; }

/* Offer Box */
.offer-section { padding: 90px 0; }
.offer-box {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  max-width: 780px;
  margin: 0 auto;
}
.offer-box__title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 28px; color: #fff; }

.price-card { text-align: center; margin-bottom: 28px; }
.price-card__from { color: var(--text-muted); font-size: 16px; }
.price-card__main { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 8px 0; }
.price-card__price { font-size: 48px; font-weight: 900; color: #fff; }
.price-card__installment { color: #818cf8; font-weight: 700; font-size: 16px; }

.kits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 32px 0; }
.kit-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 14px; padding: 20px; text-align: center; }
.kit-card--highlight { border-color: var(--primary); background: rgba(99, 102, 241, 0.15); box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2); }
.kit-card__title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.kit-card__price { font-size: 22px; font-weight: 900; color: #818cf8; margin-bottom: 14px; }
.kit-card__badge { font-size: 10px; font-weight: 800; background: var(--primary); color: #fff; padding: 2px 8px; border-radius: 99px; display: inline-block; margin-bottom: 8px; }

/* Cross Sell */
.cross-sell-box {
  background: rgba(168, 85, 247, 0.1);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cross-sell__title { font-size: 22px; font-weight: 800; color: #fff; margin: 12px 0 6px; }
.cross-sell__desc { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.cross-sell__price { font-size: 24px; font-weight: 900; color: #c084fc; margin-bottom: 16px; }

/* Guarantee */
.guarantee__inner { display: flex; align-items: center; gap: 32px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px; padding: 36px; }
.guarantee__seal { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; font-size: 32px; font-weight: 900; border-radius: 50%; min-width: 90px; height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.guarantee__seal small { font-size: 10px; opacity: 0.8; }

/* Instructor */
.instructor__inner { display: flex; align-items: center; gap: 32px; }
.instructor__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }

/* FAQ Accordion */
.accordion { margin-top: 32px; max-width: 800px; margin-left: auto; margin-right: auto; }
.accordion__item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.accordion__trigger { width: 100%; background: transparent; border: none; padding: 18px 24px; color: #fff; font-weight: 700; font-size: 16px; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion__panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); font-size: 15px; }
.accordion__item.is-open .accordion__panel { padding-bottom: 18px; }

/* Footer */
.footer { background: #020617; border-top: 1px solid var(--border-color); padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 13px; }
.footer p { margin-bottom: 8px; }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; text-align: center; padding: 14px; font-weight: 800;
  transform: translateY(100%); transition: transform 0.2s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

@media (max-width: 768px) {
  .hero__headline { font-size: 32px; }
  .hero__subheadline { font-size: 16px; }
  .guarantee__inner, .instructor__inner { flex-direction: column; text-align: center; }
  .before-after-grid { grid-template-columns: 1fr; }
}
