/* ═══════════════════════════════════════════════════════════════
   MintFee Landing — Page-Specific Styles
   Privacy, Terms, Contact, FAQ, How-It-Works
   ═══════════════════════════════════════════════════════════════ */

/* ── Page Hero (used on inner pages) ──────────────────────────── */
.page-hero {
  padding: 140px 0 60px;
  background: var(--grad-hero-light);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.page-hero .breadcrumb a {
  color: var(--mint);
  font-weight: 500;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero .breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* ── Legal Pages (Privacy, Terms) ─────────────────────────────── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) 24px;
}

.legal-content .last-updated {
  display: inline-block;
  padding: 6px 16px;
  background: var(--mint-50);
  border: 1px solid var(--mint-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mint);
  margin-bottom: var(--space-xl);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--mint-100);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.legal-content a {
  color: var(--mint);
  font-weight: 500;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-section {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.contact-info > p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.contact-detail .detail-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--mint-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-detail .detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--mint);
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--duration) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(15,118,45,0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group .error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--rose);
  margin-top: 4px;
  font-weight: 500;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(244,63,94,0.1);
}

.form-group.error .error-msg {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── FAQ Page (full version) ──────────────────────────────────── */
.faq-page-section {
  padding: var(--space-3xl) 0;
}

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.faq-cat-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
  border-color: var(--mint);
  color: var(--mint);
  background: var(--mint-50);
}

.faq-page-list {
  max-width: 760px;
  margin: 0 auto;
}

/* ── How It Works Page ────────────────────────────────────────── */
.hiw-section {
  padding: var(--space-3xl) 0;
}

.hiw-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hiw-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 39px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--mint-200) 0%, var(--mint) 50%, var(--mint-200) 100%);
}

.hiw-step {
  display: flex;
  gap: 32px;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.hiw-step:last-child {
  margin-bottom: 0;
}

.hiw-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-mint);
  position: relative;
  z-index: 1;
}

.hiw-step-content {
  padding-top: 16px;
  flex: 1;
}

.hiw-step-content h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.hiw-step-content p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.hiw-step-content .step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.hiw-step-content .step-features span {
  padding: 4px 14px;
  background: var(--mint-50);
  color: var(--mint);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
