/* ============================
   Privacy Policy Specific Styles
   ============================ */

.privacy-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0 3rem 0;
}

.privacy-header h1 {
    color: var(--dark-color);
    position: relative;
}

.privacy-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.privacy-content {
    line-height: 1.8;
}

/* ============================
   Policy Sections
   ============================ */
.policy-section {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.policy-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.section-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
}

.section-title i {
    font-size: 1.8rem;
}

.policy-content {
    color: var(--text-color);
    font-size: 1rem;
}

.lead-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(44, 90, 160, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ============================
   Lists
   ============================ */
.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

/* ============================
   Exception Box
   ============================ */
.exception-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.exception-title {
    color: #856404;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.exception-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.exception-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: #856404;
    line-height: 1.6;
}

.exception-list li::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: #ffc107;
}

/* ============================
   Security Points
   ============================ */
.security-points {
    margin-top: 2rem;
}

.security-point {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.security-point:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.point-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.security-point p {
    margin-bottom: 0;
    line-height: 1.7;
}

/* ============================
   Signature Section
   ============================ */
.signature-section {
    margin-top: 3rem;
    text-align: center;
}

.signature-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.3);
}

.signature-date {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.signature-company {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.signature-name {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ============================
   Contact Info
   ============================ */
.contact-info {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-top: 1rem;
}

.contact-info p {
    color: var(--text-color);
    font-size: 1rem;
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 768px) {
    .privacy-header {
        padding: 3rem 0 2rem 0;
    }
    
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-title i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    
    .lead-text {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .security-point {
        padding: 1rem;
    }
    
    .signature-box {
        padding: 1.5rem;
        width: 100%;
    }
    
    .contact-info {
        width: 100%;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .policy-section {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .point-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .point-title i {
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* ============================
   Print Styles
   ============================ */
@media print {
    .privacy-header,
    .btn,
    .contact-info {
        display: none !important;
    }
    
    .policy-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .security-point {
        background: white;
        border: 1px solid #ddd;
    }
    
    .signature-box {
        background: white;
        color: black;
        border: 2px solid #333;
    }
}

/* ============================
   Back to Top Button
   ============================ */
.back-to-top-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    color: white !important;
    border: none !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    padding: 0 !important;
    min-width: unset !important;
}

.back-to-top-btn:hover {
    transform: translateY(-3px) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4) !important;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
}

.back-to-top-btn:focus {
    outline: 2px solid var(--accent-color) !important;
    outline-offset: 2px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 45px !important;
        height: 45px !important;
        bottom: 15px !important;
        right: 15px !important;
        font-size: 1rem !important;
    }
}

/* ============================
   Animation Effects
   ============================ */
.policy-section {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.2s; }
.policy-section:nth-child(3) { animation-delay: 0.3s; }

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