/* ============================================================
   Camp PlanIt Help Center — Shared Stylesheet
   Brand: Camp_PlanIt_Brand_Guidelines_Updated.pdf
   ============================================================ */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ----- CSS Custom Properties (Brand Colors) ----- */
:root {
  --teal-logo:       #419B9C;
  --green-logo:      #217344;
  --teal-app:        #0D9488;
  --mint-accent:     #14B8A6;
  --soft-mint:       #F0FDFA;
  --grad-blue:       #2FA3B3;
  --grad-indigo:     #6B79CF;
  --grad-purple:     #9A5AE4;
  --white:           #FFFFFF;
  --text-dark:       #1A2E2E;
  --text-mid:        #4A6060;
  --text-light:      #7A9090;
  --border:          #D1EDE9;
  --shadow:          0 2px 12px rgba(13, 148, 136, 0.10);
  --shadow-card:     0 4px 20px rgba(13, 148, 136, 0.08);
  --radius:          12px;
  --radius-sm:       8px;
  --radius-pill:     999px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'SF Pro', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background-color: var(--soft-mint);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- Header ----- */
.site-header {
  background: linear-gradient(135deg, var(--grad-blue) 0%, var(--grad-indigo) 55%, var(--grad-purple) 100%);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(107, 121, 207, 0.25);
}

.site-header .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-header .logo-wrap img {
  height: 38px;
  width: auto;
}

.site-header .help-label {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.92;
  letter-spacing: 0.01em;
}

/* ----- Layout ----- */
.page-wrapper {
  display: flex;
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 24px;
  gap: 32px;
  align-items: flex-start;
}

/* ----- Sidebar Nav ----- */
.sidebar-nav {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 96px;
}

.sidebar-nav h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-left: 12px;
}

.sidebar-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.sidebar-nav ul li a:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--teal-app);
}

.sidebar-nav ul li a.active {
  background: rgba(13, 148, 136, 0.12);
  color: var(--teal-app);
  font-weight: 700;
}

.sidebar-nav ul li a .nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* ----- Main Content ----- */
.main-content {
  flex: 1;
  min-width: 0;
}

/* ----- Page Title ----- */
.page-title {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 580px;
}

/* ----- Section Headings ----- */
.main-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-logo);
  margin: 40px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.main-content h2:first-of-type { margin-top: 0; }

.main-content h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 8px;
}

/* ----- Paragraphs & Lists ----- */
.main-content p { margin-bottom: 14px; color: var(--text-mid); max-width: 640px; }

.main-content ul,
.main-content ol {
  margin: 0 0 18px 20px;
  color: var(--text-mid);
  max-width: 640px;
}

.main-content li { margin-bottom: 6px; }

/* ----- Step List ----- */
.steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  counter-reset: step;
  max-width: 640px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text-mid);
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-app);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 1px;
}

/* ----- Cards ----- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.14);
}

.feature-card .card-icon { font-size: 1.6rem; }

.feature-card .card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.feature-card .card-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ----- Screenshot / Phone Frame ----- */
.screenshot-wrap {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}

.phone-frame {
  width: 260px;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.18), 0 2px 8px rgba(0,0,0,0.10);
  overflow: hidden;
  border: 4px solid var(--white);
  outline: 1px solid var(--border);
}

.phone-frame img {
  width: 100%;
  display: block;
}

/* Two screenshots side by side */
.screenshot-pair {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0;
}

.screenshot-pair .phone-frame { width: 220px; }

/* Screenshot caption */
.screenshot-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: -16px;
  margin-bottom: 24px;
}

/* ----- Tip / Note Callout ----- */
.tip {
  background: rgba(20, 184, 166, 0.08);
  border-left: 4px solid var(--mint-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--text-mid);
  max-width: 640px;
}

.tip strong { color: var(--teal-app); }

/* ----- Important Callout (stands out more than .tip) ----- */
.callout {
  background: rgba(65, 155, 156, 0.10);
  border: 2px solid var(--teal-logo);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  max-width: 640px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout .callout-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout p { margin: 0; color: var(--text-dark); }
.callout p + p { margin-top: 6px; }
.callout strong { color: var(--teal-logo); }

/* ----- Chip / Badge ----- */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--teal-app);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.chip.mint { background: var(--mint-accent); }
.chip.purple { background: var(--grad-purple); }
.chip.outline {
  background: transparent;
  border: 1.5px solid var(--teal-app);
  color: var(--teal-app);
}

/* ----- Placeholder (for missing screenshots) ----- */
.screenshot-placeholder {
  width: 260px;
  height: 460px;
  border-radius: 32px;
  background: linear-gradient(160deg, var(--soft-mint) 0%, var(--border) 100%);
  border: 2px dashed var(--mint-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

.screenshot-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.5; }

/* ----- Footer ----- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

.site-footer a { color: var(--teal-app); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer .tagline {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 4px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
    padding: 20px 16px;
    gap: 24px;
  }

  .sidebar-nav {
    width: 100%;
    position: static;
  }

  .sidebar-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .sidebar-nav ul li a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .page-title { font-size: 1.5rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .phone-frame { width: 220px; }
  .screenshot-pair .phone-frame { width: 160px; }
}

/* ----- Pricing ----- */
.pricing-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.pricing-card {
  flex: 1;
  min-width: 180px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(13,148,136,.10);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--border);
}

.pricing-card.featured {
  border-top-color: var(--teal-app);
}

.pricing-card .plan-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.pricing-card.featured .plan-name {
  color: var(--teal-app);
}

.pricing-card .plan-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.pricing-card .plan-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.pricing-card .plan-cta {
  display: inline-block;
  margin-top: auto;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity .15s;
}

.pricing-card .plan-cta:hover { opacity: .85; }

.pricing-card .plan-cta.cta-outline {
  border: 2px solid var(--teal-app);
  color: var(--teal-app);
  background: transparent;
}

.pricing-card .plan-cta.cta-teal {
  background: var(--teal-app);
  color: #fff;
  border: 2px solid var(--teal-app);
}

.best-value-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--grad-indigo), var(--grad-purple));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.pricing-table th {
  background: linear-gradient(135deg, var(--grad-blue), var(--grad-indigo), var(--grad-purple));
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 12px 16px;
  text-align: center;
}

.pricing-table th:first-child { text-align: left; border-radius: 8px 0 0 0; }
.pricing-table th:last-child { border-radius: 0 8px 0 0; }

.pricing-table td {
  padding: 11px 16px;
  border: 1px solid var(--border);
  text-align: center;
  color: var(--text-mid);
}

.pricing-table td:first-child {
  text-align: left;
  color: var(--text-dark);
  font-weight: 500;
}

.pricing-table tr:nth-child(even) td { background: #f8fffe; }
.pricing-table td.col-premium { background: var(--soft-mint); }
.pricing-table tr:nth-child(even) td.col-premium { background: #e4fbf7; }

.pricing-check { color: var(--teal-app); font-weight: 700; font-size: 1rem; }
.pricing-x { color: #e05252; font-size: 1rem; }
.pricing-note { font-size: 0.8rem; color: var(--text-light); display: block; }

@media (max-width: 600px) {
  .pricing-cards { flex-direction: column; }
  .pricing-table { font-size: 0.8rem; }
  .pricing-table td, .pricing-table th { padding: 8px 10px; }
}

/* ----- Back to Main Site Link ----- */
.back-to-site {
  margin-left: auto;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.back-to-site:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.back-to-site:active {
  background: rgba(255, 255, 255, 0.25);
}
