/* Privacy Policy Page - Modern Design */
.privacy-page {
    position: relative;
    min-height: 100vh;
    padding: 140px 20px 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Animated Background */
.privacy-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.privacy-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(3, 171, 197, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 171, 197, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), #4FACFE);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(3, 171, 197, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.privacy-icon i {
    font-size: 40px;
    color: white;
}

.privacy-title {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Content */
.privacy-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.light-theme .privacy-content {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.privacy-section {
    margin-bottom: 50px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.privacy-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.privacy-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.privacy-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.privacy-section ul li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* Info Boxes */
.info-box {
    background: rgba(3, 171, 197, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    margin: 24px 0;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.info-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.info-box ul {
    margin: 0;
}

/* Purpose List */
.purpose-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.purpose-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.light-theme .purpose-list li {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.purpose-list li:hover {
    transform: translateX(8px);
    background: rgba(3, 171, 197, 0.1);
    border-color: var(--primary-color);
}

.purpose-list li i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.security-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.light-theme .security-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.security-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(3, 171, 197, 0.2);
}

.security-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.security-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.security-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.cookie-type {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.light-theme .cookie-type {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cookie-type:hover {
    transform: translateX(5px);
}

.cookie-type h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-type h4 i {
    color: var(--primary-color);
}

.cookie-type p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-note {
    background: rgba(3, 171, 197, 0.1);
    border: 1px solid rgba(3, 171, 197, 0.3);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 20px;
}

/* Sharing List */
.sharing-list {
    margin: 24px 0;
}

.sharing-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.light-theme .sharing-list li {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sharing-list li:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.sharing-list li i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
}

.note-text {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left: 4px solid #ffc107;
    margin-top: 20px;
}

.light-theme .note-text {
    background: #fff3cd;
    color: #856404;
    border-color: #ffc107;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.right-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.light-theme .right-card {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.right-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(3, 171, 197, 0.2);
}

.right-card i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.right-card p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Storage List */
.storage-list {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.light-theme .storage-list {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.storage-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.light-theme .storage-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.storage-list li:last-child {
    border-bottom: none;
}

.storage-list strong {
    color: var(--primary-color);
}

/* Contact Info Box */
.contact-info-box {
    background: rgba(3, 171, 197, 0.05);
    border: 1px solid rgba(3, 171, 197, 0.2);
    padding: 30px;
    border-radius: 16px;
    margin: 24px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Update Note */
.update-note {
    background: rgba(3, 171, 197, 0.1);
    border: 1px solid rgba(3, 171, 197, 0.3);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.update-note i {
    color: var(--primary-color);
    font-size: 20px;
}

.update-note strong {
    color: var(--primary-color);
}

/* Consent Section */
.consent-section {
    margin-top: 40px;
}

.consent-box {
    background: linear-gradient(135deg, rgba(3, 171, 197, 0.1), rgba(79, 172, 254, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.consent-box i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.consent-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.consent-box p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Back Button */
.back-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary-color), #4FACFE);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(3, 171, 197, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(3, 171, 197, 0.5);
}

.back-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-page {
        padding: 120px 15px 60px;
    }

    .privacy-title {
        font-size: 32px;
    }

    .privacy-content {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        gap: 12px;
    }

    .consent-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .privacy-title {
        font-size: 28px;
    }

    .privacy-icon {
        width: 60px;
        height: 60px;
    }

    .privacy-icon i {
        font-size: 30px;
    }

    .section-title {
        font-size: 20px;
    }

    .privacy-content {
        padding: 24px 16px;
    }

    .back-button {
        padding: 14px 28px;
        font-size: 15px;
    }
}
