/* css/privacy_policy.css */
:root {
    --dark-bg: #0a0a0f;
    --dark-card: #111118;
    --dark-border: #22222a;
    --light-text: #f0f0ff;
    --muted-text: #a0a0c0;
    --yellow-primary: #ffd700;
    --yellow-muted: rgba(255, 215, 0, 0.5);
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-red: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
}

.privacy-header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.back-home {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.back-home:hover {
    color: var(--yellow-primary);
}

.back-home svg {
    width: 20px;
    height: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--light-text);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-terms, .btn-register {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.btn-terms {
    background: transparent;
    color: var(--muted-text);
    border: 1px solid var(--dark-border);
}

.btn-terms:hover {
    border-color: var(--yellow-muted);
    color: var(--yellow-primary);
}

.btn-register {
    background: var(--yellow-primary);
    color: var(--dark-bg);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
}


.privacy-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, 
        rgba(17, 17, 24, 0.9), 
        rgba(10, 10, 15, 0.9));
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, 
        rgba(59, 130, 246, 0.1) 0%, 
        transparent 50%),
        radial-gradient(circle at 70% 80%, 
        rgba(16, 185, 129, 0.1) 0%, 
        transparent 50%);
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.privacy-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}

.privacy-subtitle {
    font-size: 1.125rem;
    color: var(--muted-text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.privacy-intro {
    font-size: 1rem;
    color: var(--muted-text);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.privacy-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.stat-number {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--muted-text);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.privacy-navigation {
    position: sticky;
    top: 120px;
    height: fit-content;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.nav-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--dark-border);
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--muted-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.nav-link:hover {
    color: var(--light-text);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--accent-blue);
}

.nav-link.active::after {
    content: '→';
    position: absolute;
    right: 1rem;
    opacity: 0.7;
}

.privacy-sections {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 3rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--dark-border);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.privacy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.section-content {
    color: var(--muted-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.section-content strong {
    color: var(--light-text);
    font-weight: 400;
}

.section-content ul {
    list-style: none;
    margin: 1rem 0;
}

.section-content li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.section-content li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.privacy-summary {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.summary-card {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1), 
        rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 3rem;
}

.summary-card h3 {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--light-text);
    text-align: center;
}

.summary-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.summary-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.point-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.point-text strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.point-text p {
    color: var(--muted-text);
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-actions {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

.actions-container {
    text-align: center;
}

.actions-container h3 {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.actions-container p {
    color: var(--muted-text);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.privacy-footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 3rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-name {
    font-size: 1.25rem;
    color: var(--light-text);
    font-weight: 300;
}

.footer-tag {
    font-size: 0.875rem;
    color: var(--accent-blue);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.link-group h4 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.link-group .footer-link {
    display: block;
    color: var(--muted-text);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-group .footer-link:hover {
    color: var(--accent-blue);
}

.link-group .footer-link.active {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--muted-text);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.compliance {
    color: var(--muted-text);
    font-size: 0.75rem;
    opacity: 0.7;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--light-text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted-text);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
}

.modal-body {
    padding: 1.5rem;
    color: var(--muted-text);
    line-height: 1.6;
}

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

.privacy-section {
    animation-delay: calc(var(--index) * 0.1s);
}

/* responsive */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .privacy-navigation {
        position: static;
    }
    
    .nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .nav-item {
        margin-bottom: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .privacy-title {
        font-size: 2.5rem;
    }
    
    .summary-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .privacy-hero {
        padding: 3rem 1rem;
    }
    
    .privacy-title {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 0 1rem 3rem;
    }
    
    .privacy-sections {
        padding: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .privacy-sections {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-content {
        font-size: 0.9rem;
    }
    
    .stat-card {
        min-width: 120px;
        padding: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.25rem 1rem;
    }
}