/* support.css — Page-specific styles for support.html */

/* Page overrides */
.support-page .container {
  max-width: 1000px;
}
body.support-page {
  line-height: 1.7;
}

/* Footer override for support page */
.support-page footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0;
  margin-top: 60px;
  border-top: none;
}

/* Main */
main {
  padding: 60px 0;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 48px;
}
.hero h1 {
  color: #1d3557;
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Support grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

/* Support cards */
.support-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.support-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.support-card .icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.support-card h3 {
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 1.25rem;
}
.support-card p {
  color: #666;
  font-size: 0.95rem;
}
.support-card--static {
  cursor: default;
}
.support-card-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 8px;
}

/* Section panels */
.section {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 32px;
}
.section h2 {
  color: #1d3557;
  font-size: 1.8rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section p {
  color: #444;
  margin-bottom: 16px;
}
.section ul,
.section ol {
  margin: 16px 0 16px 24px;
  color: #444;
}
.section li {
  margin-bottom: 12px;
}
.section li strong {
  color: #1a1a1a;
}

/* Section subtitles (h3 within sections) */
.section-subtitle {
  color: #1a1a1a;
}
.section-subtitle--mt32 {
  margin-top: 32px;
}
.section-subtitle--mt24 {
  margin-top: 24px;
}

/* Resolution steps */
.resolution-steps {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}
.resolution-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1d3557 0%, #15293e 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h4 {
  color: #1a1a1a;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.step-content p {
  color: #555;
  margin: 0;
}

/* Warning box */
.warning-box {
  background: #fef9e7;
  border-left: 4px solid #f9c74f;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.warning-box h4 {
  color: #8a6d15;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.warning-box p {
  color: #8a6d15;
  margin: 0;
}

/* Info box */
.info-box {
  background: #e8eaed;
  border-left: 4px solid #1d3557;
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}
.info-box h4 {
  color: #1d3557;
  margin-bottom: 8px;
}
.info-box p {
  color: #3d5a6a;
  margin: 0;
}

/* Escalation path */
.escalation-path {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0;
  padding: 24px;
  background: #f7f7f5;
  border-radius: 12px;
}
.escalation-item {
  text-align: center;
  padding: 16px 24px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.escalation-item .label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}
.escalation-item .title {
  font-weight: 600;
  color: #1a1a1a;
}
.escalation-arrow {
  font-size: 1.5rem;
  color: #1d3557;
}

/* Timeline */
.timeline {
  margin: 24px 0;
  padding: 24px;
  background: #f7f7f5;
  border-radius: 12px;
}
.timeline h4 {
  color: #1a1a1a;
  margin-bottom: 16px;
}
.timeline-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  width: 12px;
  height: 12px;
  background: #1d3557;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.timeline-item strong {
  color: #1d3557;
}

/* Contact form */
.contact-form {
  background: #f7f7f5;
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}
.contact-form h3 {
  color: #1a1a1a;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #1d3557;
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-hint {
  color: #666;
  font-size: 0.8rem;
}

/* Support page btn-primary override (larger padding & border-radius) */
.support-page .btn-primary {
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
}

/* Form success message */
.form-success {
  margin-top: 24px;
  padding: 20px;
  background: #d0e8ee;
  border-radius: 8px;
  text-align: center;
}
.form-success h4 {
  color: #3d5a3f;
  margin-bottom: 8px;
}
.form-success p {
  color: #3d5a3f;
  margin: 0;
}
.form-success p + p {
  margin-top: 12px;
}
.form-success .ticket-id {
  font-weight: 600;
}
.form-success .ticket-code {
  font-family: monospace;
  background: #d0e8ee;
  padding: 4px 8px;
  border-radius: 4px;
}
.form-success .text-sm {
  font-size: 14px;
}

/* Form error message */
.form-error {
  margin-top: 16px;
  padding: 16px;
  background: #fef0eb;
  border-radius: 8px;
  color: #f9844a;
}

/* Active nav link */
.nav-link-active {
  color: #1d3557 !important;
}

/* Margin-top utility for 32px (not in common.css) */
.mt-32 {
  margin-top: 32px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .section {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .escalation-path {
    flex-direction: column;
  }
  .escalation-arrow {
    transform: rotate(90deg);
  }
}
