/* Policy Pages Common Styles */
.policy-section {
    min-height: 80vh;
    background: linear-gradient(135deg, #00CFC1 0%, #6D2077 100%);
    position: relative;
    overflow: hidden;
}

.policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legalPattern" width="50" height="50" patternUnits="userSpaceOnUse"><rect width="50" height="50" fill="none"/><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><rect x="20" y="20" width="10" height="10" fill="none" stroke="white" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23legalPattern)"/></svg>');
    animation: legalPattern 25s linear infinite;
}

@keyframes legalPattern {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, -10px); }
    75% { transform: translate(-10px, 10px); }
    100% { transform: translate(0, 0); }
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.policy-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFD700 0%, #B3FFD9 50%, #00CFC1 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    position: relative;
}

.policy-title {
    font-size: 2.5rem;
    color: #002B7F;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #002B7F 0%, #6D2077 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 1s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-subtitle {
    font-size: 1.1rem;
    color: #1B1B1B;
    opacity: 0.8;
    margin-bottom: 1rem;
    animation: slideInDown 1s ease-out 0.3s both;
}

.policy-updated {
    font-size: 0.9rem;
    color: #6D2077;
    font-weight: 600;
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: slideInDown 1s ease-out 0.6s both;
}

.policy-body {
    animation: fadeInUp 1s ease-out 0.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-section-title {
    font-size: 1.8rem;
    color: #002B7F;
    margin: 2.5rem 0 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #FFD700;
    position: relative;
    background: rgba(255, 215, 0, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

.policy-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFD700 0%, #B3FFD9 100%);
    border-radius: 0 2px 2px 0;
}

.policy-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #1B1B1B;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.policy-text:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: #002B7F;
    background: rgba(0, 43, 127, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 43, 127, 0.1);
    margin-bottom: 2rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    color: #1B1B1B;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(5px);
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    top: 0.5rem;
}

.policy-list.numbered {
    counter-reset: policy-counter;
}

.policy-list.numbered li {
    counter-increment: policy-counter;
}

.policy-list.numbered li::before {
    content: counter(policy-counter) '.';
    color: #002B7F;
    font-weight: 600;
    font-size: 1rem;
    width: 1.5rem;
    text-align: right;
}

.policy-highlight {
    background: rgba(255, 215, 0, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #FFD700;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.policy-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.policy-highlight:hover::before {
    transform: translateX(100%);
}

.policy-highlight h3 {
    color: #002B7F;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-highlight p {
    color: #1B1B1B;
    margin: 0;
    font-weight: 500;
}

.policy-important {
    background: rgba(109, 32, 119, 0.1);
    border-left-color: #6D2077;
    border: 1px solid rgba(109, 32, 119, 0.2);
}

.policy-important h3 {
    color: #6D2077;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.policy-table th {
    background: linear-gradient(135deg, #002B7F 0%, #6D2077 100%);
    color: #FFFFFF;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.policy-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #1B1B1B;
}

.policy-table tr:last-child td {
    border-bottom: none;
}

.policy-table tr:nth-child(even) {
    background: rgba(255, 215, 0, 0.05);
}

.policy-table tr:hover {
    background: rgba(255, 215, 0, 0.1);
}

.policy-contact {
    background: rgba(0, 207, 193, 0.1);
    border: 2px solid rgba(0, 207, 193, 0.3);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
}

.policy-contact::before {
    content: '📞';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    border: 2px solid #00CFC1;
}

.policy-contact h3 {
    color: #00CFC1;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.policy-contact p {
    color: #1B1B1B;
    margin-bottom: 1rem;
}

.policy-contact a {
    color: #002B7F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.policy-contact a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.policy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #002B7F 0%, #6D2077 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 43, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.policy-back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.policy-back-btn:hover::before {
    left: 100%;
}

.policy-back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 43, 127, 0.4);
}

.policy-back-btn::after {
    content: '←';
    margin-right: 0.5rem;
}

/* Cookie specific styles */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.cookie-type {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cookie-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #B3FFD9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cookie-type:hover::before {
    transform: scaleX(1);
}

.cookie-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #FFD700;
}

.cookie-type h4 {
    color: #002B7F;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cookie-type p {
    color: #1B1B1B;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-container {
        padding: 1rem;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-section-title {
        font-size: 1.5rem;
    }
    
    .cookie-types {
        grid-template-columns: 1fr;
    }
    
    .policy-table {
        font-size: 0.9rem;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 1.5rem;
    }
    
    .policy-title {
        font-size: 1.8rem;
    }
    
    .policy-section-title {
        font-size: 1.3rem;
        padding: 0.8rem;
    }
    
    .policy-text {
        font-size: 0.9rem;
    }
    
    .policy-back-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
} 