/* ==================== Policies Page Styles ==================== */

/* Hero Section */
.policies-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    color: white;
}



/* hero-overlay - using combined gradient in section */

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.policies-hero h1,
.policies-hero h1.display-3 {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.policies-hero .lead {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content Section */
.policies-content {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Sidebar */
.policies-sidebar {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-header i {
    font-size: 24px;
    color: #FF69B4;
}

.sidebar-header h5 {
    margin: 0;
    font-weight: 700;
    color: #2d3748;
}

.policies-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policies-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.policies-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.policies-nav .nav-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.policies-nav .nav-link:hover {
    background: #f7fafc;
    color: #FF69B4;
    transform: translateX(5px);
}

.policies-nav .nav-link:hover i {
    transform: scale(1.2);
}

.policies-nav .nav-link.active {
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.policies-nav .nav-link.active::before {
    transform: scaleY(1);
}

/* Main Content */
.policies-main {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.policy-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 2px solid #f0f0f0;
    scroll-margin-top: 100px;
}

.policy-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-icon-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.section-icon-header h2 {
    margin: 0;
    font-weight: 800;
    color: #2d3748;
    font-size: 2rem;
}

.policy-content {
    color: #4a5568;
    line-height: 1.8;
}

.policy-content h3 {
    font-weight: 700;
    color: #2d3748;
    margin-top: 35px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-left: 20px;
}

.policy-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 28px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    border-radius: 3px;
}

.policy-content h4 {
    font-weight: 600;
    color: #2d3748;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-content p {
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.policy-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.policy-content ul li {
    padding-left: 35px;
    margin-bottom: 12px;
    position: relative;
    font-size: 1.05rem;
}

.policy-content ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #FF69B4;
    font-size: 14px;
    top: 5px;
}

/* Info Boxes */
.info-box,
.warning-box,
.success-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border-left: 4px solid;
}

.info-box {
    background: linear-gradient(135deg, #ffe0e3 0%, #fff0f1 100%);
    border-color: #FF69B4;
}

.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-color: #f59e0b;
}

.success-box {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.info-box i {
    font-size: 28px;
    color: #FF69B4;
    flex-shrink: 0;
}

.warning-box i {
    font-size: 28px;
    color: #f59e0b;
    flex-shrink: 0;
}

.success-box i {
    font-size: 28px;
    color: #10b981;
    flex-shrink: 0;
}

.info-box strong,
.warning-box strong,
.success-box strong {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 1.1rem;
}

.info-box p,
.warning-box p,
.success-box p {
    color: #4a5568;
    margin-bottom: 0;
}

/* Cookie Types */
.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cookie-type-card {
    background: #f7fafc;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.cookie-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #FF69B4;
}

.cookie-type-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.cookie-type-card h4 i {
    font-size: 20px;
}

.cookie-type-card p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

/* Refund Timeline */
.refund-timeline {
    margin: 35px 0;
    position: relative;
    padding-left: 40px;
}

.refund-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 25px;
    bottom: 25px;
    width: 3px;
    background: linear-gradient(to bottom, #10b981, #f59e0b, #ef4444);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.timeline-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.timeline-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.timeline-icon.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.timeline-content {
    flex: 1;
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #e2e8f0;
}

.timeline-content h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.timeline-content p {
    margin: 0;
    color: #718096;
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.security-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #FF69B4;
}

.security-card i {
    font-size: 42px;
    color: #FF69B4;
    margin-bottom: 15px;
    display: block;
}

.security-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #2d3748;
}

.security-card p {
    color: #718096;
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Info Box */
.contact-info-box {
    background: #f7fafc;
    padding: 25px;
    border-radius: 15px;
    margin-top: 25px;
    border-left: 4px solid #FF69B4;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Update Notice */
.update-notice {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-radius: 15px;
    border-left: 4px solid #f59e0b;
    margin-top: 40px;
}

.update-notice i {
    font-size: 28px;
    color: #f59e0b;
    flex-shrink: 0;
}

.update-notice strong {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-size: 1.1rem;
}

.update-notice p {
    color: #4a5568;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .policies-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .policies-main {
        padding: 35px;
    }

    .section-icon-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .security-features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .policies-hero {
        padding: 80px 0 60px;
    }

    .policies-hero h1 {
        font-size: 2.5rem;
    }

    .policies-main {
        padding: 25px;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .section-icon-header h2 {
        font-size: 1.6rem;
    }

    .cookie-types {
        grid-template-columns: 1fr;
    }

    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .refund-timeline {
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .policies-hero {
        padding: 60px 0 40px;
    }

    .hero-badge {
        font-size: 14px;
        padding: 10px 20px;
    }

    .policies-hero h1 {
        font-size: 2rem;
    }

    .policies-hero .lead {
        font-size: 1rem;
    }

    .policies-main {
        padding: 20px;
    }

    .section-icon-header h2 {
        font-size: 1.4rem;
    }

    .security-features {
        grid-template-columns: 1fr;
    }
}
