/* ============================================================
   SECTIONS — Trial, Problems, How It Works, Features, Tracker, CTA
   ============================================================ */

/* ─── FREE TRIAL BANNER ──────────────────────────────────── */
.trial-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 6vw, 6rem);
  position: relative; overflow: hidden;
}
.trial-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.trial-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.trial-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px; padding: .3rem .9rem;
  font-size: .75rem; font-weight: 700; color: #6ee7b7;
  margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase;
}
.trial-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.04em; color: #fff; margin-bottom: 1rem;
}
.trial-section h2 .gold { color: #fbbf24; }
.trial-desc {
  font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.7;
  max-width: 480px; margin-bottom: 2rem;
}
.trial-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.trial-feat {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: rgba(255,255,255,0.85);
}
.trial-feat .ck {
  width: 20px; height: 20px; background: rgba(16,185,129,0.2);
  border: 1px solid rgba(16,185,129,0.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: #6ee7b7; flex-shrink: 0;
}

.trial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 2rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-width: 260px;
}
.trial-card-title {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,0.4); margin-bottom: 1.2rem;
}
.trial-days {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4rem; font-weight: 800; color: #fff; line-height: 1;
  letter-spacing: -0.04em; margin-bottom: .2rem;
}
.trial-days span   { color: #fbbf24; }
.trial-card-sub    { font-size: .85rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.trial-list        { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.trial-list li     { font-size: .82rem; color: rgba(255,255,255,0.7); display: flex; gap: .5rem; align-items: center; }
.trial-list li::before { content: '→'; color: #fbbf24; font-weight: 700; }
.trial-no-cc       { font-size: .72rem; color: rgba(255,255,255,0.35); margin-top: 1.2rem; text-align: center; }

/* ─── PROBLEMS ───────────────────────────────────────────── */
.problems-bg { background: var(--white); }
.problems-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 3rem; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.prob-item { background: var(--white); padding: 2rem 1.5rem; }
.prob-big {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem; font-weight: 800; color: var(--ink);
  line-height: 1; letter-spacing: -0.04em; margin-bottom: .5rem;
  animation: numberGlow 4s ease-in-out infinite;
}
.prob-big .accent { color: var(--blue); }
.prob-item h4 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.prob-item p  { font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.how-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.how-card:hover::before { transform: scaleX(1); }
.how-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.how-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  color: var(--blue-mid); letter-spacing: -0.04em; margin-bottom: .5rem;
}
.how-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.how-card p  { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }

/* ─── FEATURES ───────────────────────────────────────────── */
.features-bg {
  background: linear-gradient(160deg, #f8faff 0%, var(--paper) 50%, #f5f3ff 100%);
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.feat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.7rem; transition: all .2s;
}
.feat-card:hover { border-color: var(--blue-mid); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.1rem;
  color: var(--blue);
  transition: background .2s, color .2s;
}
.feat-card:hover .feat-icon { background: var(--blue); color: #fff; }
.feat-card h4 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .4rem; }
.feat-card p  { font-size: .85rem; color: var(--ink-soft); line-height: 1.65; }

/* ─── TRACKER ────────────────────────────────────────────── */
.tracker-section {
  background: linear-gradient(180deg, var(--white) 0%, #f8faff 100%);
  position: relative;
}
.tracker-wrap {
  margin-top: 2.5rem; background: var(--white);
  border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  position: relative;
}
/* Live scan-line effect — feels like an active data feed */
.tracker-wrap::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(37,99,235,0.55) 25%,
    rgba(14,165,233,0.9) 50%, rgba(37,99,235,0.55) 75%, transparent 100%);
  animation: scanLine 4s ease-in-out infinite;
  pointer-events: none; z-index: 3;
}
.tracker-topbar {
  background: #18181b; padding: .75rem 1.2rem;
  display: flex; align-items: center; gap: .6rem;
}
.t-dots { display: flex; gap: .4rem; }
.t-dots span { width: 11px; height: 11px; border-radius: 50%; }
.t-r { background: #FF5F57; } .t-y { background: #FFBD2E; } .t-g { background: #28CA41; }
.t-title { font-size: .78rem; color: #71717A; flex: 1; text-align: center; font-family: 'Instrument Sans', sans-serif; }
.t-live  { font-size: .7rem; background: rgba(16,185,129,0.15); color: #6ee7b7; padding: .15rem .5rem; border-radius: 100px; font-weight: 700; }

.tracker-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.tracker-table th {
  background: #fafafa; color: var(--ink-mute);
  padding: .65rem 1.1rem; text-align: left;
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.tracker-table td { padding: .7rem 1.1rem; border-bottom: 1px solid var(--border); color: var(--ink-mid); }
.tracker-table tr:last-child td { border-bottom: none; }
.tracker-table tr:hover td { background: #fafafa; }
.td-co { font-weight: 700; color: var(--ink); }

/* ─── FINAL CTA ──────────────────────────────────────────── */
.final-cta-section {
  background: var(--ink); padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
  text-align: center; position: relative; overflow: hidden;
}
.final-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(37,99,235,0.2), transparent 70%);
  pointer-events: none;
}
.final-cta-section h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800;
  line-height: 1.06; letter-spacing: -0.04em; color: #fff; margin-bottom: 1rem;
  position: relative;
}
.final-cta-section h2 em { color: #fbbf24; font-style: normal; }
.final-cta-section p     { color: rgba(255,255,255,0.55); font-size: 1.05rem; margin-bottom: 2.5rem; position: relative; }
.cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-note  { font-size: .8rem; color: rgba(255,255,255,0.3); margin-top: 1.2rem; position: relative; }

/* ─── STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem clamp(1.5rem, 6vw, 6rem);
}
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 1.2rem;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: .2rem;
  text-align: center; flex: 1; min-width: 120px;
}
.stat-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--blue); letter-spacing: -0.04em; line-height: 1;
}
.stat-plus { font-size: 1.6rem; color: var(--emerald); }
.stat-k    { font-size: 1.6rem; }
.stat-star { font-size: 1.4rem; color: var(--amber); }
.stat-label {
  font-size: .72rem; font-weight: 600; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: .07em;
}
.stat-divider {
  width: 1px; height: 40px; background: var(--border); flex-shrink: 0;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-bg {
  background: linear-gradient(160deg, #f0f4ff 0%, var(--paper) 60%);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem; margin-top: 3rem;
}
.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: box-shadow .2s, transform .2s;
}
.tcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.tcard-top {
  display: flex; align-items: center; gap: .9rem;
}
.tcard-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: .8rem; font-weight: 800; flex-shrink: 0;
}
.tcard-meta { flex: 1; }
.tcard-name { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.tcard-role { font-size: .75rem; color: var(--ink-mute); margin-top: .1rem; }
.tcard-stars { color: var(--amber); font-size: .85rem; letter-spacing: .05em; flex-shrink: 0; }
.tcard-quote {
  font-size: .86rem; color: var(--ink-soft); line-height: 1.75;
  border-left: 3px solid var(--blue-mid); padding-left: .9rem;
  flex: 1;
}
.tcard-result { margin-top: auto; }
.tcard-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--blue-light); color: var(--blue);
  border: 1px solid var(--blue-mid);
  font-size: .72rem; font-weight: 700;
  padding: .25rem .7rem; border-radius: 100px;
}
.testimonials-note {
  text-align: center; font-size: .76rem; color: var(--ink-mute);
  margin-top: 2rem; font-style: italic;
}

/* ─── SECTIONS RESPONSIVE ────────────────────────────────── */
@media (max-width: 900px) {
  .problems-grid    { grid-template-columns: 1fr 1fr; }
  .how-grid         { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; }
  .trial-inner      { grid-template-columns: 1fr; }
  .trial-card       { display: none; }
  .stat-divider     { display: none; }
}
@media (max-width: 600px) {
  .problems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }

  /* Section padding tighter on mobile */
  .section { padding: clamp(2.5rem, 6vw, 4rem) 1.2rem; }

  /* Trial section */
  .trial-section { padding: 2.5rem 1.2rem; }

  /* Final CTA */
  .final-cta-section { padding: 3.5rem 1.2rem; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .btn-yellow,
  .cta-group .btn-white-ghost { width: 100%; justify-content: center; }

  /* Tracker table — allow horizontal scroll, reduce font */
  .tracker-table th,
  .tracker-table td { padding: .5rem .7rem; font-size: .75rem; }

  /* Pricing cards stacked */
  .pricing-wrap { padding-top: 1rem; }

  /* Testimonial cards */
  .testimonials-grid { max-width: 100%; }
  .tcard { padding: 1.4rem; }

  /* FAQ */
  .faq-q { font-size: .88rem; }
}
