/* TakeBackMyPhone — Brand: Navy #1B2F5E, Gold #F5A800 */
:root {
  --navy: #1B2F5E;
  --gold: #F5A800;
  --navy-light: #243d7a;
  --text: #1a1a2e;
  --muted: #6b7280;
  --bg: #f8f9fa;
  --white: #ffffff;
  --danger: #dc2626;
  --border: #e5e7eb;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; -webkit-max-logical-width: 100%; }

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Legal bar ── */
.legal-bar {
  background: #fefce8;
  border-bottom: 1px solid #fde68a;
  text-align: center;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  color: #78350f;
}

/* ── Navbar ── */
.navbar {
  background: var(--navy);
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-decoration: none;
}
.nav-logo {
  height: 54px;
  width: 54px;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
}
.brand-take, .brand-my { color: var(--white); }
.brand-back, .brand-phone { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.nav-links a:hover { color: var(--white); text-decoration: none; }
.btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
}
.btn-nav:hover { background: #e0970a; }

/* ── Flash ── */
.flash-container { max-width: 700px; margin: 1rem auto; padding: 0 1rem; }
.flash {
  background: #fef3c7; border: 1px solid #f59e0b; color: #92400e;
  padding: 0.75rem 1rem; border-radius: var(--radius); margin-bottom: 0.5rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 1.05rem;
  padding: 0.85rem 2rem; border-radius: var(--radius);
  border: none; cursor: pointer; transition: background 0.15s;
}
.btn-primary:hover { background: #e0970a; text-decoration: none; }
.btn-full { width: 100%; text-align: center; display: block; }
.btn-danger {
  display: inline-block; background: var(--danger); color: var(--white);
  font-weight: 600; padding: 0.65rem 1.5rem;
  border-radius: var(--radius); border: none; cursor: pointer;
}
.btn-danger:hover { background: #b91c1c; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); padding: 5rem 1.5rem; text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold); margin-bottom: 1rem;
}
.hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.25rem; }
.hero-brand { color: var(--gold); }
.hero-sub { font-size: 1.15rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-fine { font-size: 0.83rem; color: rgba(255,255,255,0.6); margin-top: 0.75rem; }

/* ── Hero logo (large centered version, homepage only) ── */
.hero-logo-wrap { margin-bottom: 1.25rem; }
.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

/* ── Sections ── */
.section-block { padding: 4rem 1.5rem; }
.section-alt { background: var(--white); }
.container { max-width: 1000px; margin: 0 auto; }
.section-title { font-size: 1.9rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 0.75rem; }
.section-intro { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 2.5rem; font-size: 1.05rem; }

/* ── Problem grid ── */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; }
.problem-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
}
.problem-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.problem-item h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }

/* ── Solution grid ── */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; margin-bottom: 1.75rem; }
.solution-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; position: relative;
}
.solution-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.solution-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.75rem; }
.solution-list { list-style: none; padding: 0; margin: 0.75rem 0; }
.solution-list li { padding: 0.3rem 0 0.3rem 1.25rem; position: relative; font-size: 0.93rem; }
.solution-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.card-disclaimer { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; font-style: italic; }

.community-callout {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white); border-radius: var(--radius); padding: 2rem;
  text-align: center;
}
.community-callout h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.community-callout p { color: rgba(255,255,255,0.85); }

/* ── Social Proof Section (homepage) ── */
.proof-checks-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
  justify-items: center;
}
.proof-check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.proof-check-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  -webkit-transform: translateZ(0);
}
.proof-check-label {
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  background: #f8f9fa;
  border-top: 1px solid var(--border);
  text-align: center;
  width: 100%;
}
.proof-instructor-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.proof-headshot {
  width: 90px;
  height: 90px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--gold);
  margin: 0 auto;
}
.proof-bio { font-size: 0.95rem; color: var(--text); }
.proof-bio a { color: var(--navy); font-weight: 600; }
.proof-disclaimer-sm {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  font-style: italic;
}

/* ── Pricing ── */
.pricing-card {
  max-width: 560px; margin: 0 auto;
  background: var(--white); border: 2px solid var(--navy);
  border-radius: var(--radius); padding: 2.5rem; text-align: center;
}
.pricing-badge {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.3rem 1rem; border-radius: 999px;
  margin-bottom: 1.5rem;
}
.pricing-main { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.pricing-onetime { font-size: 2rem; font-weight: 800; color: var(--navy); }
.pricing-monthly { font-size: 2rem; font-weight: 800; color: var(--navy); }
.pricing-plus { font-size: 1.5rem; color: var(--muted); }
.pricing-label { font-size: 0.9rem; font-weight: 400; color: var(--muted); display: block; }
.pricing-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-includes { list-style: none; text-align: left; margin: 0; padding: 0; }
.pricing-includes li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.93rem; }
.pricing-includes li:last-child { border-bottom: none; }
.pricing-fine { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }

.guarantee-box {
  max-width: 560px; margin: 2rem auto 0;
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius); padding: 1.75rem;
}
.guarantee-box h3 { color: #166534; margin-bottom: 0.5rem; }
.guarantee-fine { font-size: 0.8rem; color: #374151; margin-top: 0.75rem; font-style: italic; }

/* ── Disclaimer section ── */
.section-disclaimer { background: #fefce8; border-top: 1px solid #fde68a; }
.disclaimer-box { max-width: 800px; margin: 0 auto; }
.disclaimer-box h3 { color: #78350f; margin-bottom: 1rem; font-size: 1.1rem; }
.disclaimer-box p { font-size: 0.9rem; color: #374151; margin-bottom: 0.75rem; }

/* ── Forms ── */
.form-page {
  max-width: 580px; margin: 2.5rem auto;
  padding: 2.5rem; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.form-page h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 1.5rem; }
.form-section-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin-bottom: 1rem; margin-top: 0.5rem; }
.form-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
.hint { font-weight: 400; color: var(--muted); }
.form-group input {
  width: 100%; padding: 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 0.95rem; transition: border-color 0.15s;
}
.form-group input:focus { outline: none; border-color: var(--navy); }
.privacy-note {
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: 6px; padding: 0.7rem 0.85rem;
  font-size: 0.83rem; color: #1e40af; margin-bottom: 1.25rem;
}

/* Pricing summary on register page */
.pricing-summary-box {
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.75rem;
}
.ps-row { display: flex; justify-content: space-between; padding: 0.35rem 0; font-size: 0.9rem; }
.ps-total { font-size: 1rem; font-weight: 700; color: var(--navy); }
.ps-divider { border-top: 1px solid #86efac; margin: 0.5rem 0; }
.ps-note { font-size: 0.78rem; color: #374151; margin-top: 0.5rem; }

/* Stripe element */
.stripe-element {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 0.7rem 0.85rem; background: var(--white);
  margin-bottom: 0.5rem;
}
.card-errors { color: var(--danger); font-size: 0.85rem; min-height: 1.2rem; margin-bottom: 0.75rem; }

/* Consent */
.consent-block { margin: 1.25rem 0; }
.consent-label { display: flex; gap: 0.6rem; font-size: 0.85rem; color: #374151; cursor: pointer; align-items: flex-start; }
.consent-label input[type="checkbox"] { margin-top: 0.2rem; flex-shrink: 0; }

.form-fine { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }
.form-link { margin-top: 1.25rem; font-size: 0.9rem; color: var(--muted); text-align: center; }
.cf-turnstile { margin-bottom: 1rem; }

/* ── Dashboard ── */
.dashboard { max-width: 900px; margin: 2.5rem auto; padding: 0 1.5rem; }
.welcome-banner {
  background: #dcfce7; border: 1px solid #86efac;
  border-radius: var(--radius); padding: 1rem 1.25rem;
  color: #166534; font-weight: 600; margin-bottom: 1.5rem;
}
.dash-header { margin-bottom: 2rem; }
.dash-header h2 { font-size: 1.8rem; color: var(--navy); }
.dash-sub { color: var(--muted); margin-top: 0.3rem; }
.status-badge {
  display: inline-block; padding: 0.2rem 0.75rem;
  border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.status-active { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-pending_payment { background: #fef3c7; color: #92400e; }
.dash-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem;
}
.dash-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 1.1rem; }
.dash-card-danger { border-color: #fca5a5; }
.progress-summary { font-size: 1.3rem; margin-bottom: 0.6rem; }
.progress-num { font-weight: 700; color: var(--navy); }
.progress-bar-wrap { background: #e5e7eb; border-radius: 999px; height: 12px; margin-bottom: 1.25rem; overflow: hidden; }
.progress-bar { background: var(--gold); height: 100%; border-radius: 999px; transition: width 0.3s; }
.results-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.results-table th { text-align: left; padding: 0.5rem 0.75rem; background: #f3f4f6; color: var(--muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.results-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
.site-status { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.site-removed { background: #dcfce7; color: #166534; }
.site-pending { background: #fef3c7; color: #92400e; }
.site-found { background: #fee2e2; color: #991b1b; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; }
.detail-list dt { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.detail-list dd { font-size: 0.95rem; }
.muted { color: var(--muted); }

/* ── Footer ── */
.footer {
  padding: 2.5rem 1.5rem; background: var(--navy); color: rgba(255,255,255,0.65);
  font-size: 0.82rem; text-align: center; margin-top: 0;
  border-top: 3px solid var(--gold);
}
.footer p { max-width: 800px; margin: 0 auto 0.5rem; line-height: 1.6; }
.footer a { color: rgba(255,255,255,0.65); }
.footer a:hover { color: var(--white); }

/* ── Error page ── */
.error-page { text-align: center; padding: 5rem 1rem; }
.error-page h1 { font-size: 4rem; color: var(--navy); }
.error-page p { color: var(--muted); margin-top: 1rem; font-size: 1.1rem; }

/* ── About Page ── */
.hero-short { padding: 3rem 1.5rem; }

.about-instructor {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}
.about-photo-col { text-align: center; }
.about-headshot {
  width: 100%;
  max-width: 220px;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  display: block;
  margin: 0 auto 0.75rem;
}
.about-photo-caption {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.about-bio-col h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.about-bio-lead {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.about-bio-col p { margin-bottom: 1rem; }
.about-quote {
  border-left: 4px solid var(--gold);
  padding: 0.75rem 1.25rem;
  color: var(--navy);
  font-style: italic;
  font-size: 1.05rem;
  margin: 1.5rem 0;
  background: #f8f9fa;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── About Check Cards ── */
.checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-items: center;
}
.check-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.check-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  -webkit-transform: translateZ(0);
}
.check-details {
  padding: 1.25rem;
  text-align: center;
  width: 100%;
}
.check-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.check-desc {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.check-date {
  font-size: 0.82rem;
  color: var(--muted);
}
.proof-disclaimer {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}
.link-more { color: var(--navy); font-weight: 600; }

/* ── Responsive — Mobile ── */
@media (max-width: 700px) {
  /* Hero */
  .hero { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 1rem; }
  .hero-logo { width: 110px; height: 110px; }

  /* Sections */
  .section-block { padding: 2.5rem 1.25rem; }
  .section-title { font-size: 1.55rem; }

  /* Proof checks: stack vertically, full width */
  .proof-checks-row {
    grid-template-columns: 1fr;
  }
  .proof-check-card {
    width: 100%;
    max-width: 100%;
  }

  /* About checks: stack vertically */
  .checks-grid {
    grid-template-columns: 1fr;
  }
  .check-card {
    width: 100%;
    max-width: 100%;
  }

  /* About instructor: stack vertically */
  .about-instructor {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-headshot { max-width: 180px; }

  /* Solution: single column */
  .solution-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing-card { padding: 1.5rem 1rem; }

  /* Forms */
  .form-page { margin: 1rem; padding: 1.5rem 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-main { flex-direction: column; gap: 0.25rem; }

  /* Nav */
  .nav-brand span { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.55rem; }
  .proof-instructor-row { padding: 1rem; }
  .proof-headshot { width: 72px; height: 72px; }
  .about-headshot { max-width: 140px; }
  .check-amount { font-size: 1.5rem; }
}


/* ── Why Hasn't This Been Solved section ── */
.section-dark { background: var(--navy); }
.villain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem; margin-bottom: 2.5rem; }
.villain-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.villain-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.villain-card h3 { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.villain-card p { font-size: 0.92rem; color: rgba(255,255,255,0.82); line-height: 1.6; margin: 0; }
.villain-pivot {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 0.5rem;
}
.villain-pivot p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 1rem; }
.villain-pivot strong { color: var(--white); font-size: 1.1rem; display: block; margin-bottom: 1.5rem; }
.section-dark .section-title { color: var(--white); }
.section-dark .section-intro { color: rgba(255,255,255,0.72); }

.villain-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.villain-list li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
  padding-left: 1rem;
  position: relative;
}
.villain-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.villain-list li strong { color: var(--white); }
.villain-intro-p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.55;
  margin: 0 0 0.5rem 0;
}

/* Industry Quote Block */
.industry-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 0;
}
.industry-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 0 0 1rem 0;
  text-align: left;
  background: rgba(245,168,0,0.06);
  border-radius: 0 6px 6px 0;
}
.quote-attribution {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 1.25rem 0;
}
.quote-attribution a {
  color: var(--navy);
  text-decoration: underline;
}
.quote-tagline {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
