/* Legal / Terms pages shared styles */

.legal-hero {
    position: relative;
    padding: 10rem 2rem 4rem;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 40% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 60% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.legal-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-hero .section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.legal-hero .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-hero .section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.legal-content {
    position: relative;
    padding: 2rem 2rem 6rem;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.legal-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 3rem 3rem;
    position: relative;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.legal-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.legal-section ul,
.legal-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.legal-section ol li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-section a {
    color: var(--accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    transition: var(--transition);
}

.legal-section a:hover {
    border-bottom-color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-contact {
    font-size: 1rem !important;
    color: var(--accent-cyan) !important;
}

.legal-contact a {
    font-size: 1rem;
}

/* Info blocks */
.legal-info-block {
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin: 1rem 0;
}

.legal-info-block h4 {
    margin-top: 0 !important;
    margin-bottom: 0.6rem !important;
    color: var(--accent-cyan);
    font-size: 0.95rem;
}

/* Cookie table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.legal-table th {
    color: var(--text-primary);
    font-weight: 600;
    background: rgba(0, 240, 255, 0.03);
}

.legal-table tr:hover td {
    background: rgba(0, 240, 255, 0.02);
}

/* VTC features grid */
.vtc-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.vtc-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
    transition: var(--transition);
}

.vtc-feature-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.06);
    transform: translateX(4px);
}

.vtc-feature-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.vtc-feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.vtc-feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* VTC highlight box */
.vtc-highlight-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.vtc-highlight-item {
    text-align: center;
    padding: 1.2rem 1rem;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
}

.vtc-highlight-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.vtc-highlight-value {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Steps */
.legal-steps {
    list-style: none;
    padding-left: 0;
    counter-reset: step-counter;
}

.legal-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.legal-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-steps li strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.legal-steps li p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* FAQ */
.legal-faq {
    margin-top: 1rem;
}

.legal-faq-item {
    padding: 1.2rem 1.5rem;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 0.8rem;
}

.legal-faq-item h4 {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.95rem;
    color: var(--accent-cyan);
}

.legal-faq-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-hero {
        padding: 8rem 1.5rem 3rem;
    }

    .legal-card {
        padding: 2rem 1.5rem;
    }

    .vtc-features {
        grid-template-columns: 1fr;
    }

    .vtc-highlight-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-table {
        font-size: 0.8rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 0.5rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .vtc-highlight-box {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .vtc-highlight-item {
        padding: 0.8rem 0.6rem;
    }
}
