@import url('shared.css');

.legal-hero-mesh { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(ellipse at 20% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 40%), radial-gradient(ellipse at 80% 60%, rgba(2, 132, 199, 0.08) 0%, transparent 45%); z-index: -1; filter: blur(40px); pointer-events: none; }
.legal-wrapper { max-width: 900px; margin: 140px auto 80px; padding: 0 5%; position: relative; }
.legal-box { background: var(--surface-solid); padding: 60px 70px; border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(2, 132, 199, 0.06); border: 1px solid rgba(2, 132, 199, 0.06); position: relative; overflow: hidden; }
.legal-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.legal-title { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; color: var(--text-dark); margin-bottom: 12px; letter-spacing: -2px; line-height: 1.1; }
.legal-subtitle { font-size: 1.1rem; color: var(--text-light); font-weight: 600; margin-bottom: 35px; }
.legal-date { display: inline-flex; align-items: center; gap: 10px; background: var(--primary-light); color: var(--primary); padding: 10px 20px; border-radius: 30px; font-size: 0.9rem; font-weight: 800; margin-bottom: 45px; text-transform: uppercase; }
.legal-date svg { width: 18px; height: 18px; fill: currentColor; }
.legal-box h2 { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin: 45px 0 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); letter-spacing: -0.03em; display: flex; align-items: center; gap: 12px; }
.legal-box h2 .section-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary-light); color: var(--primary); border-radius: 12px; font-size: 0.95rem; flex-shrink: 0; }
.legal-box p { font-size: 1.08rem; line-height: 1.85; color: var(--text-gray); margin-bottom: 22px; text-align: justify; }
.legal-box ul { margin-left: 8px; margin-bottom: 24px; padding-left: 0; list-style: none; }
.legal-box li { position: relative; padding: 12px 0 12px 36px; color: var(--text-gray); line-height: 1.75; font-size: 1.05rem; border-bottom: 1px solid #f1f5f9; font-weight: 500; }
.legal-box li:last-child { border-bottom: none; }
.legal-box li::before { content: ''; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; opacity: 0.8; }
.legal-box strong { color: var(--text-dark); font-weight: 700; }
.legal-box code { background: var(--primary-light); color: var(--primary); padding: 3px 10px; border-radius: 8px; font-size: 0.95em; font-weight: 700; }
.legal-box a { color: var(--primary); font-weight: 700; text-decoration: none; transition: color 0.3s; }
.legal-box a:hover { color: var(--primary-hover); text-decoration: underline; }

.footer-wrapper { margin-top: 80px; }

@media (max-width: 900px) {
    .legal-wrapper { margin-top: 120px; }
    .legal-box { padding: 40px 30px; border-radius: var(--radius-lg); }
}
@media (max-width: 600px) {
    .legal-wrapper { padding: 0 4%; margin-top: 100px;}
    .legal-box { padding: 35px 20px; border-radius: var(--radius-md); }
    .legal-title { font-size: 1.8rem; letter-spacing: -1px; }
    .legal-box h2 { font-size: 1.2rem; }
}
