/* ─── Static Pages — About, Contact, Privacy, Terms ────────── */
/* All styling for production-quality static pages on cf.store  */
/* Dark mode only — matches data-theme="dark" throughout app   */

/* ─── Layout & Container ─────────────────────────────────── */
.sp-page {
  background: #0a0a0c;
  min-height: 100vh;
  color: #94a3b8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.sp-container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Hero Section ───────────────────────────────────────── */
.sp-hero {
  padding: 64px 20px 48px;
  text-align: center;
  position: relative;
}

.sp-hero::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #FF6B35, rgba(255, 107, 53, 0.2));
  border-radius: 2px;
  margin: 32px auto 0;
}

.sp-hero-title {
  font-size: 40px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.sp-hero-subtitle {
  font-size: 18px;
  color: #94a3b8;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.sp-hero-meta {
  font-size: 13px;
  color: #64748b;
  margin-top: 8px;
}

/* ─── Back Link ──────────────────────────────────────────── */
.sp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #FF6B35;
  text-decoration: none;
  padding: 16px 20px;
  transition: opacity 0.15s;
}

.sp-back-link:hover {
  opacity: 0.8;
}

.sp-back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ─── Section Blocks ─────────────────────────────────────── */
.sp-section {
  padding: 48px 0;
}

.sp-section + .sp-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sp-section-text {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.7;
  margin: 0 0 16px;
}

.sp-section-text:last-child {
  margin-bottom: 0;
}

/* ─── Stats Row (About page) ─────────────────────────────── */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 48px 0;
}

.sp-stat-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.sp-stat-card:hover {
  border-color: rgba(255, 107, 53, 0.25);
  transform: translateY(-2px);
}

.sp-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #FF6B35;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.sp-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

/* ─── CTA Button ─────────────────────────────────────────── */
.sp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FF6B35;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}

.sp-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.sp-cta:active {
  transform: scale(0.97);
}

.sp-cta-center {
  text-align: center;
  padding: 32px 0 48px;
}

/* ─── Contact Cards ──────────────────────────────────────── */
.sp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 0 48px;
}

.sp-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.sp-card:hover {
  border-color: rgba(255, 107, 53, 0.2);
  transform: translateY(-2px);
}

.sp-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 107, 53, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sp-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #FF6B35;
  fill: none;
  stroke-width: 2;
}

.sp-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.sp-card-text {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.sp-card-link {
  color: #FF6B35;
  text-decoration: none;
  font-weight: 600;
}

.sp-card-link:hover {
  text-decoration: underline;
}

.sp-card-address {
  font-style: normal;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 12px;
}

/* ─── FAQ Accordion ──────────────────────────────────────── */
.sp-faq {
  padding: 48px 0;
}

.sp-faq-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 24px;
  text-align: center;
}

.sp-faq-item {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.sp-faq-item:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.sp-faq-item[open] {
  border-color: rgba(255, 107, 53, 0.2);
}

.sp-faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.sp-faq-item summary::-webkit-details-marker {
  display: none;
}

.sp-faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: #64748b;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.sp-faq-item[open] summary::after {
  content: "\2212";
  color: #FF6B35;
}

.sp-faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}

/* ─── Legal Pages (Privacy, Terms) ───────────────────────── */
.sp-legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0 80px;
}

.sp-legal-nav {
  position: sticky;
  top: 24px;
  align-self: start;
}

.sp-legal-nav-title {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 12px;
}

.sp-legal-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-legal-nav-list li {
  margin-bottom: 2px;
}

.sp-legal-nav-link {
  display: block;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.sp-legal-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(255, 107, 53, 0.3);
}

.sp-legal-content {
  min-width: 0;
}

.sp-legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 24px;
}

.sp-legal-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-legal-text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin: 0 0 12px;
}

.sp-legal-text:last-child {
  margin-bottom: 0;
}

.sp-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.sp-legal-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 4px;
}

.sp-legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B35;
}

.sp-legal-strong {
  color: #ffffff;
  font-weight: 600;
}

.sp-legal-link {
  color: #FF6B35;
  text-decoration: none;
}

.sp-legal-link:hover {
  text-decoration: underline;
}

/* ─── Shared Footer ──────────────────────────────────────── */
.sp-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 20px;
  text-align: center;
}

.sp-footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sp-footer-link {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}

.sp-footer-link:hover {
  color: #FF6B35;
}

.sp-footer-brand {
  font-size: 12px;
  color: #4b5563;
  margin: 0 0 4px;
}

.sp-footer-copy {
  font-size: 12px;
  color: #4b5563;
  margin: 0;
}

/* ─── About Page — Feature Grid ──────────────────────────── */
.sp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.sp-feature-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s;
}

.sp-feature-card:hover {
  border-color: rgba(255, 107, 53, 0.2);
}

.sp-feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.sp-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.sp-feature-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* ─── About Page — Credibility Section ───────────────────── */
.sp-credibility {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  margin: 24px 0;
  text-align: center;
}

.sp-credibility-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FF6B35, #ff4500);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.sp-credibility-logo svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

.sp-credibility-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.sp-credibility-text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .sp-hero {
    padding: 48px 20px 32px;
  }

  .sp-hero-title {
    font-size: 28px;
  }

  .sp-hero-subtitle {
    font-size: 16px;
  }

  .sp-section {
    padding: 32px 0;
  }

  .sp-section-title {
    font-size: 20px;
  }

  .sp-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 32px 0;
  }

  .sp-stat-card {
    padding: 16px 8px;
  }

  .sp-stat-value {
    font-size: 22px;
  }

  .sp-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sp-feature-grid {
    grid-template-columns: 1fr;
  }

  .sp-legal-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 0 60px;
  }

  .sp-legal-nav {
    position: static;
    margin-bottom: 32px;
    padding: 16px;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
  }

  .sp-legal-nav-link {
    padding: 4px 12px;
    font-size: 12px;
  }

  .sp-legal-section-title {
    font-size: 18px;
  }

  .sp-credibility {
    padding: 24px 16px;
  }

  .sp-footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .sp-hero-title {
    font-size: 24px;
  }

  .sp-stat-value {
    font-size: 18px;
  }

  .sp-stat-label {
    font-size: 9px;
  }

  .sp-card {
    padding: 20px;
  }
}
