/* Shared layout for Studio legal pages (privacy, terms, contact, how-it-works) */
.legal-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(160deg, #0a0a0f 0%, #1a1a2e 40%, #16213e 100%);
    padding-top: 70px;
    position: relative;
    overflow-x: hidden;
}
.legal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 24px;
    padding: 16px 24px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(131, 58, 180, 0.3);
    z-index: 100;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.legal-nav a {
    color: #e8e8f0;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.legal-nav a:hover {
    color: #fff;
    background: rgba(131, 58, 180, 0.2);
}
.legal-nav-active {
    color: #fff !important;
    background: linear-gradient(135deg, #833AB4, #FD1D1D) !important;
}
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    position: relative;
    z-index: 1;
}
.legal-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 36px 28px;
    background: linear-gradient(145deg, rgba(131, 58, 180, 0.18), rgba(253, 29, 29, 0.1), rgba(252, 175, 69, 0.06));
    border-radius: 24px;
    border: 1px solid rgba(131, 58, 180, 0.35);
}
.legal-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #833AB4, #FD1D1D, #FCAF45);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.legal-updated {
    color: #8b8ba8;
    font-size: 0.95rem;
}
.legal-card {
    background: rgba(22, 22, 40, 0.7);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(131, 58, 180, 0.2);
}
.legal-card h2 {
    font-size: 1.2rem;
    margin-bottom: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.legal-card h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #833AB4, #FD1D1D);
    border-radius: 2px;
}
.legal-card p, .legal-card li {
    color: #b8b8d0;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 10px;
}
.legal-card ul {
    margin-left: 22px;
    margin-bottom: 12px;
}
.legal-card a {
    color: #FCAF45;
    text-decoration: none;
}
.legal-card a:hover {
    color: #fff;
    text-decoration: underline;
}
.legal-highlight {
    background: linear-gradient(90deg, rgba(131, 58, 180, 0.18), rgba(253, 29, 29, 0.1), rgba(252, 175, 69, 0.06));
    padding: 18px 22px;
    border-radius: 14px;
    border-left: 4px solid #FCAF45;
    margin: 16px 0;
}
.legal-highlight p { margin: 0; color: #e8e8f0; }
.contact-card { text-align: center; padding: 32px; }
.contact-email {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FCAF45;
    text-decoration: none;
    display: inline-block;
    margin: 12px 0;
    padding: 12px 24px;
    background: rgba(252, 175, 69, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(252, 175, 69, 0.3);
    transition: all 0.3s;
}
.contact-email:hover {
    background: rgba(252, 175, 69, 0.2);
    box-shadow: 0 0 20px rgba(252, 175, 69, 0.2);
}
.legal-back {
    margin-top: 48px;
    padding: 24px;
    text-align: center;
    background: rgba(22, 22, 40, 0.5);
    border-radius: 14px;
}
.legal-back a {
    color: #FCAF45;
    text-decoration: none;
    font-weight: 600;
}
.legal-back a:hover {
    color: #fff;
    text-decoration: underline;
}
