/* ========================================
   PRIVACY POLICY & TERMS OF SERVICE PAGE STYLES
   ======================================== */

/* Common Legal Pages Hero Section */
.privacy-hero-section, .terms-hero-section {
    position: relative;
    background: var(--corporate-gradient-hero);
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.privacy-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%);
    animation: privacyBackgroundShift 20s ease-in-out infinite;
}

@keyframes privacyBackgroundShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Icons */
.privacy-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 auto;
    animation: privacyIconFloat 3s ease-in-out infinite;
}

.privacy-hero-icon i {
    font-size: 3rem;
    color: var(--corporate-white);
    position: relative;
    z-index: 2;
}

@keyframes privacyIconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.terms-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto;
    animation: termsFloat 4s ease-in-out infinite;
}

.terms-hero-icon i {
    font-size: 3rem;
    color: var(--corporate-white);
}

@keyframes termsFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(0px) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

/* Badge Animations */
.privacy-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    animation: badgeSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.privacy-badges .badge:nth-child(1) { animation-delay: 0.2s; }
.privacy-badges .badge:nth-child(2) { animation-delay: 0.4s; }
.privacy-badges .badge:nth-child(3) { animation-delay: 0.6s; }

@keyframes badgeSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

.terms-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    animation: termsBadgeSlideIn 1s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.terms-badges .badge:nth-child(1) { animation-delay: 0.3s; }
.terms-badges .badge:nth-child(2) { animation-delay: 0.5s; }
.terms-badges .badge:nth-child(3) { animation-delay: 0.7s; }

@keyframes termsBadgeSlideIn {
    to { opacity: 1; transform: translateX(0); }
}

/* Table of Contents */
.privacy-toc li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--corporate-lighter);
    transition: all 0.3s ease;
}

.privacy-toc li:last-child {
    border-bottom: none;
}

.privacy-toc li:hover {
    background: var(--corporate-light);
    padding-left: 1rem;
    border-radius: 8px;
}

.privacy-toc a {
    color: var(--corporate-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.privacy-toc a:hover {
    color: var(--corporate-accent);
    transform: translateX(5px);
}

/* Section Animations */
.privacy-section {
    scroll-margin-top: 100px;
    animation: sectionFadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.privacy-section:nth-child(1) { animation-delay: 0.1s; }
.privacy-section:nth-child(2) { animation-delay: 0.2s; }
.privacy-section:nth-child(3) { animation-delay: 0.3s; }
.privacy-section:nth-child(4) { animation-delay: 0.4s; }
.privacy-section:nth-child(5) { animation-delay: 0.5s; }

@keyframes sectionFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.terms-section {
    animation: termsSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
}

.terms-section:nth-child(1) { animation-delay: 0.1s; }
.terms-section:nth-child(2) { animation-delay: 0.2s; }
.terms-section:nth-child(3) { animation-delay: 0.3s; }
.terms-section:nth-child(4) { animation-delay: 0.4s; }
.terms-section:nth-child(5) { animation-delay: 0.5s; }
.terms-section:nth-child(6) { animation-delay: 0.6s; }

@keyframes termsSlideIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Lists */
.privacy-list {
    list-style: none;
    padding-left: 0;
}

.privacy-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.privacy-list li:hover {
    background: var(--corporate-light);
    padding-left: 2.5rem;
}

.privacy-list li::before {
    content: "✓";
    color: var(--corporate-success);
    font-weight: bold;
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    font-size: 1.2rem;
}

.terms-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.terms-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--corporate-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--corporate-success);
}

.terms-item:hover {
    background: var(--corporate-white);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.terms-feature-list {
    list-style: none;
    padding-left: 0;
}

.terms-feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
}

.terms-feature-list li:hover {
    color: var(--corporate-primary);
    transform: translateX(5px);
}

.terms-feature-list li::before {
    content: "•";
    color: var(--corporate-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Feature Cards */
.feature-card {
    background: var(--corporate-light);
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid var(--corporate-lighter);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: var(--corporate-white);
    border-color: var(--corporate-primary);
}

.feature-card .feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

/* Security Items */
.security-item {
    padding: 1.5rem;
    background: var(--corporate-light);
    border-radius: 12px;
    border-left: 4px solid var(--corporate-primary);
    transition: all 0.3s ease;
    height: 100%;
}

.security-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: var(--corporate-white);
    border-left-color: var(--corporate-accent);
}

.security-icon {
    transition: all 0.3s ease;
}

.security-item:hover .security-icon {
    transform: scale(1.1);
}

/* Rights List */
.rights-list .right-item {
    padding: 1rem;
    background: var(--corporate-light);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid var(--corporate-lighter);
}

.rights-list .right-item:hover {
    background: var(--corporate-white);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--corporate-primary);
}

.rights-list .right-item i {
    transition: all 0.3s ease;
}

.rights-list .right-item:hover i {
    transform: scale(1.2);
}

/* Summary Cards */
.terms-summary-card {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid var(--corporate-lighter);
}

.summary-item {
    padding: 1.5rem;
    background: var(--corporate-white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--corporate-lighter);
    height: 100%;
}

.summary-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--corporate-primary);
}

.summary-icon {
    transition: all 0.3s ease;
}

.summary-item:hover .summary-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Responsibility Items */
.responsibility-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.responsibility-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.responsibility-item.allowed {
    background: rgba(5, 150, 105, 0.1);
    border-left: 4px solid var(--corporate-success);
}

.responsibility-item.prohibited {
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid var(--corporate-warning);
}

.responsibility-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.responsibility-item.allowed:hover {
    background: rgba(5, 150, 105, 0.15);
}

.responsibility-item.prohibited:hover {
    background: rgba(220, 38, 38, 0.15);
}

/* Billing Cards */
.billing-card {
    background: var(--corporate-light);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--corporate-lighter);
    height: 100%;
}

.billing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--corporate-primary);
}

.billing-card.premium {
    background: linear-gradient(135deg, var(--corporate-light) 0%, rgba(245, 158, 11, 0.1) 100%);
    border-color: var(--corporate-accent);
}

.billing-card.premium:hover {
    border-color: var(--corporate-accent);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}

.billing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.billing-features li {
    padding: 0.5rem 0;
    color: var(--corporate-secondary);
    font-size: 0.9rem;
}

.billing-features li::before {
    content: "✓";
    color: var(--corporate-success);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Disclaimer Lists */
.disclaimer-list,
.liability-list {
    list-style: none;
    padding: 0;
}

.disclaimer-list li,
.liability-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--corporate-secondary);
}

.disclaimer-list li::before {
    content: "⚠";
    color: var(--corporate-warning);
    position: absolute;
    left: 0;
}

.liability-list li::before {
    content: "!";
    color: var(--corporate-warning);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .privacy-hero-section, .terms-hero-section {
        padding: 80px 0 60px;
        min-height: 50vh;
    }
    
    .privacy-hero-icon, .terms-hero-icon {
        width: 80px;
        height: 80px;
    }
    
    .privacy-hero-icon i, .terms-hero-icon i {
        font-size: 2rem;
    }
    
    .privacy-badges, .terms-badges {
        text-align: center;
    }
    
    .privacy-badges .badge, .terms-badges .badge {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }
    
    .feature-card,
    .security-item,
    .rights-list .right-item {
        margin-bottom: 1rem;
    }
    
    .privacy-toc li:hover {
        padding-left: 0.5rem;
    }
    
    .summary-item {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .billing-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .responsibility-item,
    .terms-item {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero-section, .terms-hero-section {
        padding: 60px 0 40px;
        min-height: 40vh;
    }
    
    .privacy-hero-icon, .terms-hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .privacy-hero-icon i, .terms-hero-icon i {
        font-size: 1.5rem;
    }
    
    .privacy-section .card-header h3,
    .terms-section .card-header h3 {
        font-size: 1.25rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .summary-item:hover,
    .billing-card:hover {
        transform: translateY(-3px);
    }
    
    .security-item:hover,
    .rights-list .right-item:hover,
    .responsibility-item:hover,
    .terms-item:hover {
        transform: translateX(3px);
    }
}