/* Legal Pages Shared Styles — legal.css */

/* Hero */
.legal-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #050a0f 0%, #0b1520 100%);
  text-align: center;
}

.legal-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.legal-hero-bg .orb-1 { top: -150px; left: -150px; }
.legal-hero-bg .orb-2 { bottom: -100px; right: -100px; }

.legal-hero-content { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.legal-icon { font-size: 64px; margin-bottom: 20px; animation: fadeInUp 0.5s ease both; }

.legal-title {
  font-family: Outfit, sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #f0f6fc;
  margin-bottom: 12px;
  animation: fadeInUp 0.5s 0.1s ease both;
}

.legal-subtitle {
  font-size: 15px;
  color: #8b9db0;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s 0.2s ease both;
}

.legal-subtitle strong { color: #18A190; }

.legal-intro {
  font-size: 17px;
  color: #8b9db0;
  line-height: 1.7;
  animation: fadeInUp 0.5s 0.3s ease both;
}

/* Support hero email button */
.support-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  background: linear-gradient(135deg, #18A190, #22D3BE);
  color: #fff;
  padding: 18px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(24,161,144,0.4);
  animation: fadeInUp 0.5s 0.4s ease both;
}

.support-email-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(24,161,144,0.55); filter: brightness(1.08); }
.se-icon { font-size: 22px; }
.se-label { font-size: 11px; opacity: 0.8; margin-bottom: 2px; font-weight: 500; }
.se-address { font-size: 16px; font-weight: 800; font-family: Outfit, sans-serif; }
.se-arrow { font-size: 20px; opacity: 0.8; }

/* Legal body layout */
.legal-body { padding: 80px 0 100px; }

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

/* TOC */
.legal-toc { position: sticky; top: 100px; }

.toc-card {
  background: #0f1c28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
}

.toc-card h3 {
  font-family: Outfit, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.toc-card ul { display: flex; flex-direction: column; gap: 6px; }

.toc-card a {
  display: block;
  font-size: 13px;
  color: #8b9db0;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.toc-card a:hover { color: #18A190; background: rgba(24,161,144,0.1); }

/* Legal content */
.legal-content { max-width: 100%; }

.legal-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(24,161,144,0.08);
  border: 1px solid rgba(24,161,144,0.2);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: 15px;
  color: #8b9db0;
  line-height: 1.65;
}

.highlight-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.legal-highlight strong { color: #f0f6fc; }

.legal-section { margin-bottom: 56px; }

.legal-section h2 {
  font-family: Outfit, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #f0f6fc;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #22D3BE;
  margin: 24px 0 12px;
  letter-spacing: 0.3px;
}

.legal-section p {
  font-size: 15px;
  color: #8b9db0;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul, .legal-section ol {
  margin: 12px 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li { list-style: disc; }
.legal-section ol li { list-style: decimal; }

.legal-section li {
  font-size: 15px;
  color: #8b9db0;
  line-height: 1.7;
}

.legal-section li strong { color: #f0f6fc; }

.legal-link {
  color: #18A190;
  font-weight: 600;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-link:hover { color: #22D3BE; }

/* Callouts */
.legal-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.65;
}

.legal-callout span:first-child { font-size: 20px; flex-shrink: 0; }
.legal-callout p { color: inherit; margin: 0; }

.callout-info { background: rgba(24,161,144,0.08); border: 1px solid rgba(24,161,144,0.2); color: #8b9db0; }
.callout-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #9ca3af; }

/* Table */
.legal-table-wrap { overflow-x: auto; margin: 20px 0; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(24,161,144,0.1);
  color: #18A190;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(24,161,144,0.2);
}

.legal-table td {
  padding: 13px 16px;
  color: #8b9db0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Contact info card */
.contact-info-card {
  background: #0f1c28;
  border: 1px solid rgba(24,161,144,0.2);
  border-radius: 18px;
  padding: 28px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-row { display: flex; align-items: flex-start; gap: 16px; }

.ci-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: rgba(24,161,144,0.12);
  border: 1px solid rgba(24,161,144,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #4a6070; margin-bottom: 4px; }
.ci-value { font-size: 15px; font-weight: 600; color: #f0f6fc; }

/* ─── SUPPORT PAGE ─── */

.support-contact-bar { padding: 0 0 60px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: #0f1c28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  cursor: default;
}

a.contact-card { cursor: pointer; }

a.contact-card:hover {
  border-color: rgba(24,161,144,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(24,161,144,0.15);
}

.cc-icon { font-size: 40px; margin-bottom: 14px; }
.cc-title { font-family: Outfit, sans-serif; font-size: 18px; font-weight: 700; color: #f0f6fc; margin-bottom: 8px; }
.cc-desc { font-size: 14px; color: #18A190; font-weight: 600; margin-bottom: 6px; }
.cc-time { font-size: 12px; color: #4a6070; }

/* FAQ */
.faq-section { padding: 0 0 100px; }

.faq-categories { display: flex; flex-direction: column; gap: 48px; }

.faq-category {}

.faq-cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.faq-cat-icon { font-size: 28px; }

.faq-cat-header h3 {
  font-family: Outfit, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #f0f6fc;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #0f1c28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open { border-color: rgba(24,161,144,0.3); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: #f0f6fc;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: #18A190;
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-question:hover { color: #22D3BE; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p, .faq-answer ol, .faq-answer ul {
  padding: 0 24px 20px;
  font-size: 14px;
  color: #8b9db0;
  line-height: 1.75;
}

.faq-answer ol, .faq-answer ul { padding-left: 40px; }
.faq-answer ol { list-style: decimal; }
.faq-answer ul { list-style: disc; }
.faq-answer li { margin-bottom: 6px; }

/* Support CTA */
.support-cta { padding: 0 0 100px; }

.support-cta-card {
  background: linear-gradient(135deg, #0f1c28 0%, #0d2234 100%);
  border: 1px solid rgba(24,161,144,0.25);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(24,161,144,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.scc-icon { font-size: 56px; margin-bottom: 20px; position: relative; z-index: 1; }

.support-cta-card h2 {
  font-family: Outfit, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #f0f6fc;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.support-cta-card > p {
  font-size: 16px;
  color: #8b9db0;
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.scc-email-display {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(24,161,144,0.1);
  border: 1px solid rgba(24,161,144,0.25);
  border-radius: 999px;
  padding: 14px 28px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.scc-email-label { font-size: 13px; color: #4a6070; font-weight: 500; }

.scc-email-link {
  font-size: 18px;
  font-weight: 800;
  color: #22D3BE;
  font-family: Outfit, sans-serif;
  transition: color 0.2s ease;
}

.scc-email-link:hover { color: #fff; }

.scc-tips {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 12px;
  padding: 14px 20px;
  max-width: 560px;
  margin: 0 auto;
  font-size: 13px;
  color: #8b9db0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.scc-tips strong { color: #f59e0b; }

/* Responsive */
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .legal-body { padding: 60px 0 80px; }
  .support-cta-card { padding: 40px 24px; }
  .support-cta-card h2 { font-size: 26px; }
  .scc-email-display { flex-direction: column; gap: 6px; }
}
