/* RepStack "before": styled section by section by an AI tool, never as a whole.
   Every problem here is planted for the Veriflect video. */
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: #333333; background: #ffffff; font-size: 15.5px; }
a { color: #7c3aed; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px; background: #fff; border-bottom: 1px solid #ececec; }
.brand { font-weight: 800; font-size: 21px; color: #6d28d9; text-decoration: none; }
.links a { margin-left: 18px; color: #3a3a3a; text-decoration: none; font-size: 14.5px; }
.nav-cta { background: #7c3aed; color: #fff !important; padding: 8px 14px; border-radius: 999px; }

.hero { text-align: center; padding: 80px 24px 0; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #a855f7 100%); color: #fff; }
.hero h1 { font-size: 54px; margin: 0 0 16px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; opacity: .85; max-width: 680px; margin: 0 auto 28px; }
.hero-btn { display: inline-block; background: #fff; color: #6d28d9; padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 16.5px; text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.hero-img { display: block; width: 900px; max-width: 100%; height: 260px; margin: 40px auto 0; border-radius: 20px 20px 0 0; }

.features { padding: 64px 32px; }
.features h2, .cta h2, .about h2 { text-align: center; font-size: 34px; color: #1f1f1f; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 24px; border-radius: 18px; background: #fafafa; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.feature h3 { font-size: 19px; color: #222222; margin: 0 0 8px; }
.feature p { color: #707070; font-size: 14px; }

.about { padding: 48px 32px; background: #f6f6f6; }
.about p { font-size: 16px; color: #555555; line-height: 1.6; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 48px 32px; }
.t { padding: 20px; border-radius: 14px; background: #f5f3ff; font-size: 14.5px; color: #3d3d3d; font-style: italic; }
.t span { display: block; margin-top: 10px; font-size: 12.5px; color: #8a8a8a; font-style: normal; }

.cta { text-align: center; padding: 56px 24px; background: linear-gradient(90deg, #8b5cf6, #6366f1); color: #fff; }
.cta h2 { color: #fff; }
.cta-sub { font-size: 17px; color: #c4b5fd; }
.cta-btn { display: inline-block; width: 190px; overflow: hidden; white-space: nowrap; background: #1e1b4b; color: #fff; padding: 14px 20px; border-radius: 12px; text-decoration: none; font-size: 15px; }

footer { padding: 28px 32px; font-size: 13px; color: #737373; }
.tiny { font-size: 10px; color: #a3a3a3; margin: 4px 0; }
.socials a, .toolbar a { display: inline-block; width: 18px; height: 18px; margin-right: 2px; border-radius: 5px; background: #e9e5ff; }

.dash { padding: 32px; }
.dash h1 { font-size: 30px; color: #262626; }
.dash h2 { font-size: 22px; color: #282828; margin-top: 36px; }
.stats { display: flex; gap: 16px; }
.stat { flex: 1; padding: 20px; border-radius: 16px; background: #f5f3ff; }
.stat .num { font-size: 32px; font-weight: 800; color: #6d28d9; }
.stat .label { font-size: 13px; color: #6b6b6b; }
.workout-card { border: 1px solid #efefef; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.07); }
.row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.log-btn { width: 96px; overflow: hidden; white-space: nowrap; background: #7c3aed; color: #fff; border: 0; padding: 9px 12px; border-radius: 8px; font-size: 13.5px; }
.history { width: 1100px; border-collapse: collapse; margin-top: 16px; font-size: 13px; }
.history td, .history th { padding: 10px; border-bottom: 1px solid #eeeeee; text-align: left; }
.toolbar { margin-top: 20px; }

.form-page { max-width: 420px; margin: 60px auto; padding: 0 20px; }
.form-page input { display: block; width: 100%; padding: 12px; margin: 10px 0; border: 1px solid #e4e4e4; border-radius: 10px; font-size: 15px; }
.form-page button { width: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6); color: #fff; border: 0; padding: 14px; border-radius: 12px; font-size: 16px; }
.form-page .tiny a { color: #c4b5fd; }

.pricing { padding: 56px 32px; text-align: center; }
.pricing h1 { font-size: 38px; }
.plans { display: flex; gap: 24px; justify-content: center; }
.plan { width: 300px; padding: 28px; border-radius: 22px; box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.plan.pro { background: linear-gradient(135deg, #6366f1, #a855f7); color: #fff; }
.plan .price { font-size: 42px; font-weight: 800; }
.plan-btn { display: inline-block; margin-top: 12px; padding: 12px 20px; border-radius: 10px; background: #111; color: #fff; text-decoration: none; }

@media (max-width: 600px) {
  .feature-grid, .testimonials { grid-template-columns: 1fr; }
  .links a { margin-left: 8px; font-size: 11px; }
  .hero h1 { font-size: 36px; }
  .stats, .plans { flex-direction: column; }
}
