/* === Variables === */
:root {
    --primary-color: #00E7FF;
    --primary-dark: #0099CC;
    --text-color: #ffffff;
    --text-muted: #8A8D93;
    --bg-dark: #101010;
    --bg-card: rgba(16, 16, 16, 0.7);
    --border-color: rgba(0, 231, 255, 0.1);
}

/* === Base Styles === */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* === Legal Pages Shared Styles === */

/* Base Layout */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
    color: var(--text-color);
}

/* Header Section */
.legal-header {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeIn 0.5s ease-out;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.legal-meta strong {
    color: var(--text-color);
}

.legal-intro {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.legal-section {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    animation: slideUp 0.5s ease-out;
    animation-fill-mode: both;
}

.legal-section:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.legal-section h2,
.legal-section h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section h2::before,
.legal-section h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 9999px;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 24px 0 16px;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Lists */
.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.legal-section li {
    color: var(--text-muted);
    padding-left: 24px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Links */
.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.legal-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.legal-section a:hover {
    color: #66F2FF;
}

.legal-section a:hover::after {
    width: 100%;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin: 48px 0;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 231, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.contact-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 9999px;
    color: #000000;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: #000000;
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
}

/* Feature Grid (About Page) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.feature-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    color: #000000;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Team Section (About Page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.team-member:hover img {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-member h3 {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-member p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #000000;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.stat-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Delays */
.legal-section:nth-child(1) { animation-delay: 0.1s; }
.legal-section:nth-child(2) { animation-delay: 0.2s; }
.legal-section:nth-child(3) { animation-delay: 0.3s; }
.legal-section:nth-child(4) { animation-delay: 0.4s; }
.legal-section:nth-child(5) { animation-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .legal-container {
        padding: 24px 16px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-intro {
        font-size: 16px;
    }

    .legal-section {
        padding: 24px;
    }

    .legal-meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

/* Print Styles */
@media print {
    .legal-container {
        max-width: 100%;
        padding: 0;
    }

    .legal-section {
        break-inside: avoid;
        page-break-inside: avoid;
        background: none;
        border: none;
        padding: 16px 0;
    }

    .legal-section h2::before,
    .legal-section h4::before {
        display: none;
    }

    .back-to-top,
    .contact-section {
        display: none;
    }
} 