/* Privacy Page Styles */

/* Variables */
:root {
  --gradient-admin: linear-gradient(135deg, rgba(91, 124, 250, 0.15), rgba(91, 124, 250, 0.05));
  --gradient-coordinator: linear-gradient(135deg, rgba(155, 123, 255, 0.15), rgba(155, 123, 255, 0.05));
  --gradient-member: linear-gradient(135deg, rgba(47, 191, 143, 0.15), rgba(47, 191, 143, 0.05));
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, rgba(91, 124, 250, 0.1), rgba(155, 123, 255, 0.1));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-content h1 {
    margin: 0 0 0.75rem 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.hero-content h1 i {
    color: var(--primary);
    font-size: 2.2rem;
}

.hero-subtitle {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Main Content */
.privacy-content {
    animation: fadeIn 300ms ease;
}

.privacy-section {
    background-color: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.privacy-section:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 35px -10px rgba(91, 124, 250, 0.25);
}

.privacy-section-highlight {
    background: linear-gradient(135deg, rgba(91, 124, 250, 0.08), rgba(155, 123, 255, 0.08));
    border: 1.5px solid var(--primary);
}

.privacy-section-tech {
    background: linear-gradient(135deg, var(--surface-2), var(--surface-solid));
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.section-icon {
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-soft);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 1.3rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

/* Section Body */
.section-body {
    animation: slideUp 300ms ease;
}

.section-body p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-body strong {
    color: var(--primary);
    font-weight: 600;
}

/* Roles Grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.role-card {
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    overflow: hidden;
    transition: all var(--transition);
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px -10px rgba(91, 124, 250, 0.3);
}

.role-admin { background: var(--gradient-admin); }
.role-coordinator { background: var(--gradient-coordinator); }
.role-member { background: var(--gradient-member); }

.role-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.role-icon {
    flex-shrink: 0;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.15rem;
}

.role-admin .role-icon { color: var(--primary); }
.role-coordinator .role-icon { color: var(--accent); }
.role-member .role-icon { color: var(--success); }

.role-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-primary);
}

.role-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
    font-style: italic;
}

.role-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.role-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.65rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.role-features li:last-child {
    margin-bottom: 0;
}

.role-features i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    font-size: 0.85rem;
}

.role-admin .role-features i { color: var(--primary); }
.role-coordinator .role-features i { color: var(--accent); }
.role-member .role-features i { color: var(--success); }

/* Feature Highlight */
.feature-highlight {
    background-color: rgba(91, 124, 250, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-soft);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.3rem;
}

.feature-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.feature-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.7;
}

/* Architecture */
.architecture-container {
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin: 1.5rem 0;
}

.architecture-item {
    text-align: center;
}

.arch-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-soft);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0 auto 0.85rem;
}

.architecture-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.architecture-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.architecture-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

/* Info Box */
.info-box {
    background-color: rgba(91, 124, 250, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.info-box p {
    margin: 0;
    color: var(--text-secondary);
}

/* Tech Stack */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.tech-item {
    background-color: rgba(91, 124, 250, 0.1);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: default;
}

.tech-item:hover {
    background-color: rgba(91, 124, 250, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tech-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.tech-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .privacy-section {
        padding: 1.5rem;
    }

    .section-header {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .section-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.15rem;
    }

    .section-header h2 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .architecture-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .architecture-divider {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .tech-stack {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }

    .privacy-section {
        padding: 1.25rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .section-body p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.3rem;
        gap: 0.5rem;
    }

    .hero-content h1 i {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .privacy-section {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .section-icon {
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.1rem;
    }

    .role-features li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .feature-highlight {
        flex-direction: column;
        text-align: center;
    }

    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}