/* ================================================================
   LEARNING COUPONS — Mobile App Guide Page Stylesheet
   Extends css/style.css + css/guide.css — do not use standalone.
   Only mobile-app-specific components are defined here.
================================================================ */

/* ============================================================
   APP FEATURE HIGHLIGHTS GRID
============================================================ */
.app-feature-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.app-fh-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}
.app-fh-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.app-fh-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}
.app-fh-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 6px;
}
.app-fh-card p {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   PLAN COMPARISON CARDS (Mobile-specific)
============================================================ */
.plan-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.plan-compare-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  transition: var(--transition);
}
.plan-compare-card.no-mobile {
  opacity: .75;
  border-style: dashed;
}
.plan-compare-card.has-mobile {
  border-color: var(--teal);
}
.plan-compare-card.recommended-plan {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(56,178,172,.18);
}
.pccard-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 30px;
  white-space: nowrap;
}
.pccard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pccard-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pccard-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 2px;
}
.pccard-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark-navy);
  font-family: var(--font-mono);
  line-height: 1;
}
.pccard-price span { font-size: 14px; font-weight: 500; color: var(--muted-gray); }
.pccard-price small { font-size: 11px; font-weight: 500; color: var(--muted-gray); margin-left: 2px; display: block; }
.pccard-mobile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}
.pccard-mobile-status.no {
  background: rgba(229,62,62,.08);
  color: #C53030;
}
.pccard-mobile-status.yes {
  background: rgba(72,187,120,.1);
  color: var(--green-dark);
}
.pccard-mobile-status .fas { font-size: 16px; flex-shrink: 0; }
.pccard-mobile-status strong { font-weight: 700; }
.pccard-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pccard-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
  padding: 5px 0;
  border-bottom: 1px solid var(--light-gray);
}
.pccard-features li:last-child { border-bottom: none; }
.pccard-features li .fas { color: var(--green); font-size: 11px; flex-shrink: 0; }
.pccard-note {
  font-size: 12px;
  color: var(--muted-gray);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   MOBILE ADD-ON PRICING BOX
============================================================ */
.addon-pricing-box {
  background: var(--light-gray);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}
.apb-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-gray);
}
.apb-header .fas { color: var(--teal); font-size: 18px; }
.apb-header h3 { font-size: 16px; font-weight: 700; color: var(--dark-navy); margin: 0; }
.apb-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.apb-tier {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.apb-tier.recommended-tier {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(237,137,54,.18);
}
.apb-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 30px;
  white-space: nowrap;
}
.apb-platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  color: var(--dark-navy);
  margin-bottom: 8px;
}
.apb-platform span {
  font-size: 13px;
  font-weight: 600;
  color: var(--body-text);
  line-height: 1.3;
}
.apb-cost {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark-navy);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 8px;
}
.apb-cost span { font-size: 16px; font-weight: 500; color: var(--muted-gray); }
.apb-desc {
  font-size: 12px;
  color: var(--muted-gray);
  line-height: 1.5;
}

/* ============================================================
   WIREFRAME CHECKLIST
============================================================ */
.wireframe-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.wf-item {
  display: flex;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition);
}
.wf-item:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.wf-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  flex-shrink: 0;
}
.wf-icon.teal-wf { background: linear-gradient(135deg, var(--teal), #2C9C96); }
.wf-icon.orange-wf { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.wf-icon.green-wf { background: linear-gradient(135deg, var(--green-dark), var(--teal)); }
.wf-content h4 { font-size: 14px; font-weight: 700; color: var(--dark-navy); margin-bottom: 5px; }
.wf-content p { font-size: 13px; color: var(--body-text); line-height: 1.55; margin: 0; }

/* ============================================================
   TEST PATHS GRID
============================================================ */
.test-paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.test-path-item {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  transition: var(--transition);
}
.test-path-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.tp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(72,187,120,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--green-dark);
  margin: 0 auto 10px;
}
.tp-icon.pass { background: rgba(72,187,120,.12); color: var(--green-dark); }
.test-path-item h4 { font-size: 13px; font-weight: 700; color: var(--dark-navy); margin-bottom: 5px; }
.test-path-item p { font-size: 12px; color: var(--body-text); line-height: 1.5; margin: 0; }

/* ============================================================
   ASSET LIST
============================================================ */
.asset-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
}
.asset-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-gray);
}
.asset-item:last-child { border-bottom: none; }
/* Numbers removed — hide if any old markup remains */
.asset-num { display: none; }
/* Icon: centred with the h4 line.
   h4 is 14px × 1.35 line-height ≈ 19px tall.
   Icon font-size 20px → natural height ≈ 20px.
   So icon centre ≈ 10px from top; h4 centre ≈ 9.5px → nearly perfect.
   Use align-items:center on the row so icon tracks h4 vertically. */
.asset-item {
  align-items: center;
}
.asset-icon {
  font-size: 20px;
  color: var(--teal);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Keep icon pinned to top of content block (beside h4),
     not centre of the whole multi-line content */
  align-self: flex-start;
  margin-top: 1px;
}
.asset-content { flex: 1; min-width: 0; }
.asset-content h4 { font-size: 14px; font-weight: 700; color: var(--dark-navy); margin-bottom: 5px; line-height: 1.35; }
.asset-content p { font-size: 13px; color: var(--body-text); line-height: 1.6; margin: 0; word-wrap: break-word; overflow-wrap: break-word; }
.asset-content em { color: var(--teal); font-style: italic; }

/* ============================================================
   SUBMISSION TIMELINE (Apple vs Google)
============================================================ */
.submission-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.st-platform {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gray);
  padding: 20px;
  background: var(--white);
}
.apple-platform { border-top: 3px solid #555; }
.google-platform { border-top: 3px solid var(--green); }
.stp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-gray);
}
.stp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45,55,72,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--dark-navy);
  flex-shrink: 0;
}
.stp-header h4 { font-size: 15px; font-weight: 700; color: var(--dark-navy); margin-bottom: 2px; }
.stp-time { font-size: 12px; color: var(--muted-gray); display: flex; align-items: center; gap: 5px; }
.stp-time .fas { color: var(--orange); font-size: 11px; }
.stp-notes {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.stp-notes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--body-text);
  padding: 5px 0;
}
.stp-notes li .fas { font-size: 12px; flex-shrink: 0; margin-top: 2px; }
.stp-notes li .fa-check { color: var(--green); }
.stp-fee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-gray);
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.stp-fee .fas { color: var(--orange); }
.stp-fee strong { color: var(--dark-navy); }

/* ============================================================
   LAUNCH STRATEGY GRID
============================================================ */
.launch-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}
.ls-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}
.ls-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.ls-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 12px;
}
.ls-card h4 { font-size: 14px; font-weight: 700; color: var(--dark-navy); margin-bottom: 7px; }
.ls-card p { font-size: 13px; color: var(--body-text); line-height: 1.6; margin: 0; }

/* ============================================================
   METRICS GRID
============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  border-top: 3px solid var(--green);
  transition: var(--transition);
}
.metric-card.teal-metric { border-top-color: var(--teal); }
.metric-card.orange-metric { border-top-color: var(--orange); }
.metric-card.green-metric { border-top-color: var(--green-dark); }
.metric-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mc-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-navy);
  font-family: var(--font-mono);
  line-height: 1.1;
  margin-bottom: 4px;
}
.metric-card.teal-metric .mc-val { color: var(--teal); }
.metric-card.orange-metric .mc-val { color: var(--orange); }
.metric-card.green-metric .mc-val { color: var(--green-dark); }
.mc-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-gray);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
}
.metric-card p { font-size: 12px; color: var(--body-text); line-height: 1.5; margin: 0; }

/* ============================================================
   COST TABLE SPECIFIC STYLES
============================================================ */
.cost-table td.cost-once { color: var(--orange); font-weight: 700; }
.cost-table td.cost-monthly { color: var(--teal); font-weight: 700; }
.cost-table td.cost-zero { color: var(--muted-gray); }
.cost-table td.cost-optional { color: var(--purple); font-style: italic; }
.cost-total-row td {
  background: var(--dark-navy) !important;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 15px;
}

/* ============================================================
   PITFALLS LIST
============================================================ */
.pitfalls-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.pitfall-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #FED7D7;
  border-left: 4px solid #E53E3E;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}
.pitfall-item:hover { box-shadow: var(--shadow-sm); }
.pitfall-icon {
  font-size: 22px;
  color: #E53E3E;
  flex-shrink: 0;
  margin-top: 2px;
}
.pitfall-icon.orange-pitfall { color: var(--orange); }
.pitfall-content h4 { font-size: 14px; font-weight: 700; color: var(--dark-navy); margin-bottom: 6px; }
.pitfall-content p { font-size: 13px; color: var(--body-text); line-height: 1.65; margin: 0; }
.pitfall-content strong { color: var(--dark-navy); }

/* ============================================================
   INTERACTIVE LAUNCH CHECKLIST
============================================================ */
.launch-checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 20px 0;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.checklist-item:hover { border-color: var(--teal); background: #f8fffe; }
.checklist-item.checked {
  background: #f0fff4;
  border-color: var(--green);
}
.cl-checkbox { display: none; }
.cl-checkmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--border-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: var(--transition);
  background: var(--white);
}
.cl-checkmark .fas { font-size: 12px; color: var(--white); opacity: 0; transition: var(--transition); }
.checklist-item.checked .cl-checkmark {
  background: var(--green);
  border-color: var(--green);
}
.checklist-item.checked .cl-checkmark .fas { opacity: 1; }
.cl-content { flex: 1; }
.cl-content strong {
  display: block;
  font-size: 14px;
  color: var(--dark-navy);
  margin-bottom: 2px;
  transition: var(--transition);
}
.checklist-item.checked .cl-content strong {
  text-decoration: line-through;
  color: var(--muted-gray);
}
.cl-content span { font-size: 12px; color: var(--muted-gray); }

/* Checklist Progress Bar */
.checklist-progress-wrap {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gray);
}
.cp-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 8px;
}
.cp-track {
  height: 8px;
  background: var(--border-gray);
  border-radius: 4px;
  overflow: hidden;
}
.cp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ============================================================
   RESPONSIVE — MOBILE APP PAGE
============================================================ */
@media (max-width: 1024px) {
  .plan-compare-grid { grid-template-columns: 1fr; }
  .submission-timeline { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .app-feature-highlights { grid-template-columns: repeat(2, 1fr); }
  .test-paths-grid { grid-template-columns: repeat(2, 1fr); }
  .launch-strategy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .plan-compare-grid { grid-template-columns: 1fr; }
  .wireframe-checklist { grid-template-columns: 1fr; }
  .apb-tiers { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .app-feature-highlights { grid-template-columns: repeat(2, 1fr); }
  .test-paths-grid { grid-template-columns: 1fr 1fr; }
  .launch-strategy-grid { grid-template-columns: 1fr; }
  .submission-timeline { grid-template-columns: 1fr; }
  .pitfall-cards-grid { grid-template-columns: 1fr; }
  /* Cost breakdown table: horizontal scroll */
  .cost-breakdown-outer { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
  .cost-breakdown-table { min-width: 460px; font-size: 12px; }
  .cost-breakdown-table th,
  .cost-breakdown-table td { padding: 8px 10px; font-size: 12px; }
  /* Checklist */
  .launch-checklist { padding: 16px; }
  .checklist-item { font-size: 13px; padding: 10px 12px; }
  .cl-progress-row { flex-direction: column; gap: 8px; align-items: flex-start; }
  /* Mobile plan CTA buttons */
  .plan-cta-row { flex-direction: column; gap: 10px; }
  .plan-cta-row a { width: 100%; text-align: center; justify-content: center; }
  /* Video embed */
  .yt-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-md); }
  .yt-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; border: none; }
  /* Addon pricing box */
  .mobile-addon-pricing { padding: 16px; }
  .addon-price-row { flex-direction: column; gap: 8px; align-items: flex-start; }
  /* Section headings */
  .app-step-title { font-size: clamp(1.1rem, 4.5vw, 1.4rem); }
  /* Asset list — icon stays left, aligned to heading */
  .asset-item { gap: 12px; padding: 14px 0; }
  .asset-icon { font-size: 18px; width: 24px; height: 24px; margin-top: 1px; }
  .asset-content h4 { font-size: 13px; }
  .asset-content p  { font-size: 12px; }
}
@media (max-width: 480px) {
  .app-feature-highlights { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .test-paths-grid { grid-template-columns: 1fr; }
  .mc-val { font-size: 1.5rem; }
  .checklist-progress-label { font-size: 12px; }
  .cl-progress-bar-wrap { flex-direction: column; gap: 6px; }
  .asset-checklist li { font-size: 13px; }
  .cost-breakdown-table { min-width: 380px; }
  .submission-card { padding: 16px; }
  .sub-card-icon { width: 36px; height: 36px; font-size: 18px; }
  /* Asset list small screens */
  .asset-item { gap: 10px; padding: 12px 0; }
  .asset-icon { font-size: 16px; width: 20px; height: 20px; margin-top: 1px; }
  .asset-content h4 { font-size: 12px; }
  .asset-content p  { font-size: 12px; }
}
