/* ============================================
   Privacy Policy Page Styles (Redesigned)
   ============================================ */

.privacy-section {
    padding: calc(var(--spacing-md) + 100px) 0 var(--spacing-xl);
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(101, 100, 219, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(132, 116, 251, 0.05) 0%, transparent 40%);
    overflow-x: hidden;
}

/* Background blobs for depth (Same as Demo) */
.privacy-section::before,
.privacy-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.privacy-section::before {
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(255, 255, 255, 0) 70%);
    top: -10%;
    right: -10%;
}

.privacy-section::after {
    background: radial-gradient(circle, #556BEF 0%, rgba(255, 255, 255, 0) 70%);
    bottom: 10%;
    left: -10%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 50px);
    }
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3d);
    border: 1px solid var(--glass-border);
    position: relative;
}

/* Header */
.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(101, 100, 219, 0.1);
}

.privacy-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.effective-date {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
    background: rgba(101, 100, 219, 0.05);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

/* Introduction */
.privacy-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px -10px rgba(101, 100, 219, 0.1);
}

.privacy-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 1rem;
}

.privacy-intro p:last-child {
    margin-bottom: 0;
}

.privacy-intro strong {
    color: var(--primary);
    font-weight: 700;
}

.privacy-intro ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-intro ul li {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

/* Section Content */
.privacy-section-content {
    margin-bottom: 3rem;
}

.privacy-section-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

.privacy-section-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin: 2rem 0 1rem;
}

.privacy-section-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1rem;
    text-align: justify;
}

/* Lists Styling */
.privacy-section-content ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.privacy-section-content ol>li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
    line-height: 1.7;
    color: var(--gray);
}

.privacy-section-content ol>li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.privacy-section-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy-section-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.privacy-section-content ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1.5em;
    font-size: 1.25rem;
    position: absolute;
    left: 1.5rem;
    top: -2px;
}

.privacy-section-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.privacy-section-content a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-light);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.privacy-section-content a:hover {
    color: var(--primary-dark);
}

.privacy-section-content a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Footer Note */
.privacy-footer-note {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 30px rgba(101, 100, 219, 0.3);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.privacy-footer-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.privacy-footer-note p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--white);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .privacy-section {
        padding-top: calc(var(--spacing-md) + 80px);
    }

    .privacy-content {
        padding: 2.5rem;
    }

    .privacy-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .privacy-content {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.9);
    }

    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-header {
        margin-bottom: 2rem;
    }

    .privacy-intro {
        padding: 1.5rem;
    }

    .privacy-section-content h2 {
        font-size: 1.5rem;
        padding-left: 0;
    }

    .privacy-section-content h2::before {
        display: none;
    }

    .privacy-section-content ol>li {
        padding-left: 2rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .privacy-section::before,
    .privacy-section::after {
        display: none;
    }

    .privacy-section {
        padding: 0;
        background: white;
    }

    .privacy-content {
        box-shadow: none;
        padding: 0;
        border: none;
        backdrop-filter: none;
    }

    .privacy-header h1 {
        -webkit-text-fill-color: #000;
        color: #000;
        background: none;
    }

    .privacy-footer-note {
        background: #f0f0f0;
        color: #000;
        border: 1px solid #ccc;
        box-shadow: none;
    }

    .privacy-footer-note p {
        color: #000;
    }

    a {
        text-decoration: underline;
        color: #000;
    }
}