:root {
  --primary: #FF6B9D;
  --purple: #B86BFF;
  --bg-dark: #0D0818;
  --bg-card: rgba(255,255,255,0.04);
  --text-light: #F8F9FA;
  --text-muted: #9A97B0;
  --glass-border: rgba(255,255,255,0.1);
  --gradient: linear-gradient(135deg, #FF6B9D 0%, #B86BFF 100%);
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
  --radius: 20px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text { font-family: 'Outfit', sans-serif; font-weight: 700; }

.container { max-width: 860px; margin: 0 auto; padding: 0 1.5rem; }

/* Navbar */
.navbar {
  padding: 1.2rem 0;
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,8,24,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-size: 1.25rem;
}
.logo span:first-child { font-size: 1.6rem; }
.logo-text { color: var(--text-light); font-family: 'Outfit', sans-serif; font-weight: 700; }

.back-link {
  color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
  font-weight: 500; transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }

/* Page Layout */
.legal-page { padding: 4rem 0 6rem; }

.legal-header {
  text-align: center; margin-bottom: 3rem;
}
.legal-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.legal-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800; margin-bottom: 0.75rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.legal-meta { color: var(--text-muted); font-size: 0.9rem; }
.legal-meta strong { color: var(--text-light); }

/* Main Card */
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.intro-box {
  background: rgba(255,107,157,0.07);
  border: 1px solid rgba(255,107,157,0.2);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.5rem;
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.7;
}
.intro-box strong { color: var(--primary); }

/* Sections */
.section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--glass-border); }
.section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.section h2 {
  font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem; color: var(--text-light);
}
.section-num {
  font-family: 'Outfit', sans-serif; font-size: 0.75rem; font-weight: 800;
  color: var(--primary); background: rgba(255,107,157,0.12);
  border: 1px solid rgba(255,107,157,0.25);
  padding: 0.15rem 0.55rem; border-radius: 50px;
  letter-spacing: 1px;
}

.section p { color: var(--text-muted); margin-bottom: 0.75rem; font-size: 0.97rem; }
.section p:last-child { margin-bottom: 0; }

.section ul {
  list-style: none; margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.5rem;
}
.section ul li {
  color: var(--text-muted); font-size: 0.97rem;
  padding-left: 1.4rem; position: relative;
}
.section ul li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--primary); font-weight: 700; font-size: 1.1rem;
}
.section a { color: var(--primary); text-decoration: none; }
.section a:hover { text-decoration: underline; }

.contact-btn {
  display: inline-block; margin-top: 1rem;
  background: var(--gradient); color: #fff;
  padding: 0.7rem 1.6rem; border-radius: 50px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,107,157,0.35); }

/* Contact Grid (Support page) */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.contact-card {
  background: var(--bg-card); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; transition: transform 0.25s, border-color 0.25s;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(255,107,157,0.4); }
.contact-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.contact-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.5; }
.contact-card .contact-btn { font-size: 0.85rem; padding: 0.55rem 1.2rem; }

/* FAQ (Support page) */
.faq-title {
  font-size: 1.5rem; margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; gap: 1rem; text-align: left;
  color: var(--text-light); font-family: 'Inter', sans-serif;
  font-size: 1rem; font-weight: 600; transition: color 0.2s;
}
.faq-q:hover { color: var(--primary); }
.faq-arrow {
  font-size: 1.2rem; color: var(--primary); flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.2rem; }
.faq-a p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.faq-a a { color: var(--primary); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-a ul { list-style: none; margin: 0.5rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.faq-a ul li { color: var(--text-muted); font-size: 0.93rem; padding-left: 1.2rem; position: relative; }
.faq-a ul li::before { content: '›'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* Footer */
.legal-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-border);
  background: #080512;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.2rem; text-align: center;
}
.footer-logo { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.1rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.copyright { color: var(--text-muted); font-size: 0.8rem; }

/* Responsive */
@media (max-width: 600px) {
  .legal-page { padding: 2.5rem 0 4rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 1.2rem; }
}
