/* =========================================================
   Saimin Moon — Shared Stylesheet
   ========================================================= */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

a { color: inherit; }

/* ── Header ── */
header {
  background: #1e293b;
  color: white;
  padding: 0 1.5rem;
}
.header-inner {
  max-width: 960px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: white;
}
.logo:hover { opacity: 0.85; }
nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 1.5rem;
  transition: color 0.15s;
}
nav a:hover { color: white; }

/* ── Footer ── */
footer {
  background: #1e293b;
  color: #64748b;
  font-size: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  margin-top: 4rem;
}
footer a { color: #64748b; text-decoration: none; margin: 0 0.6rem; }
footer a:hover { color: #94a3b8; }

/* ── Layout ── */
.container {
  max-width: 960px;
  margin: auto;
  padding: 3rem 1.5rem;
}

/* ── Hero ── */
.hero {
  background: #1e293b;
  color: white;
  text-align: center;
  padding: 5rem 1.5rem;
}
.hero h1 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.5px; margin: 0.5rem 0; }
.hero p  { color: #94a3b8; font-size: 1.1rem; max-width: 480px; margin: 0.75rem auto 2rem; }
.hero-emoji { font-size: 3.5rem; }
.hero-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-white  { background: white; color: #1e293b; }
.btn-outline { border: 1.5px solid #475569; color: white; }
.btn-dark   { background: #1e293b; color: white; }

/* ── App Grid ── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.app-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.15s;
}
.app-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.app-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* ── App Store Button ── */
.appstore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #0071e3;
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
  margin-top: 0.65rem;
}
.appstore-link:hover { opacity: 0.82; }

/* ── Page Header ── */
.page-header { text-align: center; margin-bottom: 3rem; }
.page-header h1 { font-size: 2.25rem; font-weight: 700; }
.page-header p  { color: #64748b; margin-top: 0.5rem; font-size: 1rem; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.85rem; color: #94a3b8; margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; color: #64748b; }
.breadcrumb a:hover { color: #1e293b; }
.breadcrumb span { margin: 0 0.4rem; }

/* ── App Support Page Header ── */
.support-app-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.support-app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  flex-shrink: 0;
}
.support-app-header h1 { font-size: 2rem; font-weight: 700; }
.support-app-header p  { color: #64748b; font-size: 0.95rem; margin-top: 0.25rem; }

/* ── FAQ ── */
.faq { margin-top: 2.5rem; }
.faq h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.75rem;
}
.faq-q { font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }
.faq-a { color: #475569; font-size: 0.875rem; line-height: 1.65; }

/* ── Contact Box ── */
.contact-box {
  background: #1e293b;
  color: white;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}
.contact-box h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.contact-box p  { color: #94a3b8; font-size: 0.875rem; margin-bottom: 1.25rem; }
.back-link {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
}
.back-link:hover { color: #64748b; }

/* ── Privacy Policy ── */
.apps-covered {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.apps-covered h2 { font-size: 0.9rem; font-weight: 700; color: #64748b; margin-bottom: 1rem; }
.apps-covered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem;
}
.app-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
}
.app-badge-emoji { font-size: 1.4rem; }

.policy-body { max-width: 680px; }
.policy-section { margin-bottom: 2rem; }
.policy-section h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}
.policy-section p  { font-size: 0.875rem; color: #374151; line-height: 1.75; margin-bottom: 0.6rem; }
.policy-section ul { padding-left: 1.4rem; }
.policy-section li { font-size: 0.875rem; color: #374151; line-height: 1.75; margin-bottom: 0.3rem; }
.policy-section a  { color: #2563eb; text-decoration: underline; }

/* ── Section title ── */
.section-title { font-size: 1.5rem; font-weight: 700; }
.section-sub   { color: #64748b; font-size: 0.9rem; margin-top: 0.25rem; }

/* ── Marketing Page ── */
.marketing-hero {
  text-align: center;
  padding: 2.5rem 0 3rem;
  max-width: 600px;
  margin: 0 auto;
}
.marketing-hero img {
  border-radius: 28px;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}
.marketing-badge {
  display: inline-flex;
  align-items: center;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.85rem;
}
.marketing-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}
.marketing-tagline {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}
.marketing-section {
  margin-top: 3.5rem;
}
.marketing-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 0.85rem;
}
.feature-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}
.feature-card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}
.feature-card p {
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}
.marketing-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
}
.marketing-links .appstore-link { margin-top: 0; }
.screenshots-slot {
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 3rem;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .support-app-header { flex-direction: column; align-items: flex-start; }
  .support-app-icon { width: 64px; height: 64px; font-size: 1.75rem; }
}
