/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6b7ae6;
    --dark-color: #1d2144;
    --light-color: #f5f8ff;
    --text-color: #4a5568;
    --white: #ffffff;
    --gray: #e2e8f0;
    --light-gray: #f7fafc;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.privacy-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.privacy-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h2 {
    font-size: 28px;
    margin: 0;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.back-home {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
}

.back-home:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Privacy Hero */
.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.privacy-hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
    margin-top: 60px;
    color: white;
}

.privacy-hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
    margin-top: 20px;
}

.last-updated {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
}

.last-updated i {
    font-size: 20px;
}

/* Privacy Content */
.privacy-content {
    padding: 60px 0;
    background: var(--light-gray);
}

.privacy-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Sidebar */
.privacy-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.toc-container {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.toc-container h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.toc-nav ul {
    list-style: none;
}

.toc-nav li {
    margin-bottom: 10px;
}

.toc-link {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.toc-link:hover,
.toc-link.active {
    background: var(--light-color);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Main Content */
.privacy-main {
    background: var(--white);
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.policy-section {
    margin-bottom: 60px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-header i {
    font-size: 24px;
    color: var(--primary-color);
    background: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h2 {
    color: var(--dark-color);
    font-size: 28px;
    margin: 0;
}

.section-content h3 {
    color: var(--dark-color);
    margin: 25px 0 15px;
    font-size: 22px;
}

.section-content h4 {
    color: var(--dark-color);
    margin: 20px 0 10px;
    font-size: 18px;
}

/* Policy Lists */
.policy-list {
    list-style: none;
    margin: 20px 0;
}

.policy-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.policy-list li:hover {
    background: var(--light-color);
    transform: translateX(5px);
}

.policy-list i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.policy-list strong {
    color: var(--dark-color);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.info-card {
    background: var(--light-color);
    padding: 25px 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.15);
}

.info-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-card h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.info-card p {
    font-size: 14px;
    color: var(--text-color);
}

/* Usage Grid */
.usage-grid {
    display: grid;
    gap: 25px;
    margin: 25px 0;
}

.usage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.usage-item:hover {
    background: var(--light-color);
    transform: translateX(10px);
}

.usage-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.usage-text h4 {
    margin-bottom: 8px;
    color: var(--dark-color);
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.security-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.security-item h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
}

.security-item i {
    color: var(--primary-color);
}

/* Cookies Table */
.cookies-table {
    margin: 25px 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.cookie-header,
.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 15px 20px;
}

.cookie-header {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.cookie-row {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.cookie-row:hover {
    background: var(--light-gray);
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-type {
    font-weight: 600;
    color: var(--dark-color);
}

.cookie-controls {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
}

/* Third Party Grid */
.third-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.service-card {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
}

.service-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card ul {
    list-style: none;
    margin-bottom: 15px;
}

.service-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.service-card li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.right-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition);
}

.right-item:hover {
    background: var(--light-color);
    transform: translateY(-5px);
}

.right-item i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.right-item h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.rights-action {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
}

/* Changes Alert */
.changes-alert {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.changes-alert i {
    color: #f39c12;
    font-size: 24px;
    margin-top: 5px;
}

.notification-methods ul {
    list-style: none;
    margin: 15px 0;
}

.notification-methods li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.notification-methods li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Info */
.contact-info {
    display: grid;
    gap: 20px;
    margin: 25px 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
}

.contact-method i {
    font-size: 24px;
    color: var(--primary-color);
    background: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-time {
    background: var(--light-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
}

/* Footer */
.privacy-footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h2{
    color: white;

}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .privacy-sidebar {
        position: static;
    }
    
    .toc-container {
        position: sticky;
        top: 80px;
    }
}

@media screen and (max-width: 768px) {
    .privacy-hero-content h1 {
        font-size: 36px;
    }
    
    .privacy-main {
        padding: 30px 20px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .cookie-header,
    .cookie-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .privacy-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .info-cards,
    .security-grid,
    .third-party-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .privacy-hero {
        padding: 50px 0;
    }
    
    .privacy-hero-content h1 {
        font-size: 28px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .usage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
}