/* ── Content page styles (how-it-works, contact, privacy) ── */

/* Page hero banner */
.page-hero {
  padding: 64px 48px;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-size: 1.15rem;
  opacity: 0.6;
  max-width: 600px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

.page-hero .updated {
  font-size: 0.85rem;
  opacity: 0.4;
}

/* Content wrapper */
.page-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px;
}

/* Cards */
.content-card {
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 24px;
  transition: border-color 0.3s;
}

.content-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-card p {
  font-size: 0.95rem;
  opacity: 0.6;
  line-height: 1.7;
}

.content-card ul {
  list-style: none;
  padding: 0;
}

.content-card li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.6;
}

.content-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EB1414;
}

/* 4-step grid */
.steps-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.step-card-page {
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s;
}

.step-card-page .step-num {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: #EB1414;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.step-card-page h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 8px;
}

.step-card-page p {
  font-size: 0.9rem;
  opacity: 0.5;
  line-height: 1.6;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.benefit-card {
  border-radius: 20px;
  padding: 32px 28px;
  transition: border-color 0.3s;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  opacity: 0.5;
  line-height: 1.6;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.faq-item {
  border-radius: 16px;
  padding: 24px 28px;
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.9rem;
  opacity: 0.5;
  line-height: 1.6;
}

/* CTA banner */
.cta-section {
  text-align: center;
  padding: 64px 48px;
  margin: 48px 0;
  border-radius: 24px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  opacity: 0.6;
  margin-bottom: 32px;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: #EB1414;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
}

.contact-info-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info-item .value {
  color: #EB1414;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-info-item .desc {
  font-size: 0.8rem;
  opacity: 0.4;
  margin-top: 2px;
}

/* Contact form fields */
.contact-form {
  border-radius: 20px;
  padding: 32px;
}

.contact-form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 0.9rem;
  opacity: 0.5;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.7;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px rgba(235, 20, 20, 0.3);
}

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

.form-submit-btn {
  width: 100%;
  padding: 14px;
  background: #EB1414;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-submit-btn:hover {
  background: #d41111;
}

.form-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 32px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  stroke: #22c55e;
  margin-bottom: 16px;
}

.form-success p {
  font-weight: 600;
  opacity: 0.8;
}

/* Dark theme specifics */
.theme-dark .content-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .content-card:hover {
  border-color: rgba(235, 20, 20, 0.3);
}

.theme-dark .step-card-page {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .step-card-page:hover {
  border-color: rgba(235, 20, 20, 0.3);
}

.theme-dark .benefit-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .faq-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .cta-section {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .contact-info-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .contact-form {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-dark .form-group input,
.theme-dark .form-group textarea {
  background: #262626;
  color: #fafafa;
}

.theme-dark .form-group input::placeholder,
.theme-dark .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Light theme specifics */
.theme-light .content-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.theme-light .content-card:hover {
  border-color: rgba(235, 20, 20, 0.3);
}

.theme-light .step-card-page {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.theme-light .benefit-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.theme-light .faq-item {
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light .cta-section {
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.theme-light .contact-info-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.theme-light .contact-form {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.theme-light .form-group input,
.theme-light .form-group textarea {
  background: #f0f0f0;
  color: #1a1a1a;
}

.theme-light .form-group input::placeholder,
.theme-light .form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .page-hero {
    padding: 48px 24px;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .page-content {
    padding: 24px;
  }

  .steps-grid-4 {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 48px 24px;
  }
}
