/* Privacy Policy Page - Clean and Simple */

/* Page Base */
.privacy-page {
    padding: 140px 0 80px;
    background: #ffffff;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumbs a {
    color: #4a4a6d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #f58219;
}

.breadcrumbs .separator {
    color: #9ca3af;
    font-size: 0.9rem;
}

.breadcrumbs .current {
    color: #f58219;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.header-icon {
    margin-bottom: 20px;
}

.header-icon svg {
    width: 64px;
    height: 64px;
    color: #f58219;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: #4a4a6d;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 130, 25, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #f58219;
    font-size: 0.9rem;
    border: 1px solid rgba(245, 130, 25, 0.2);
}

.last-updated svg {
    width: 16px;
    height: 16px;
}

/* Main Layout */
.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    position: relative;
}

@media (max-width: 1024px) {
    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Sidebar */
.privacy-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-content {
    background: #f8fafc;
    border-radius: 15px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.nav-header h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 5px;
}

.nav-header p {
    color: #4a4a6d;
    font-size: 0.9rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4a4a6d;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.sidebar-nav .nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-nav .nav-link:hover {
    color: #f58219;
    background: rgba(245, 130, 25, 0.1);
}

.sidebar-nav .nav-link.active {
    color: #f58219;
    background: rgba(245, 130, 25, 0.15);
    font-weight: 500;
}

.sidebar-actions {
    margin-top: 20px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Main Content */
.privacy-main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .privacy-main {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .privacy-main {
        padding: 20px;
    }
}

/* Privacy Section */
.privacy-section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.privacy-section:last-of-type {
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(245, 130, 25, 0.3);
}

.section-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.section-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.badge {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-high {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-low {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.read-time {
    color: #4a4a6d;
    font-size: 0.9rem;
}

/* Section Content */
.section-content {
    color: #4a4a6d;
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 20px;
}

.section-content h3 {
    font-size: 1.4rem;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.section-content h4 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 20px 0 10px;
}

.section-content ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}

.section-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.section-content ul li::before {
    content: '•';
    color: #f58219;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Notices */
.notice {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    align-items: flex-start;
}

.notice-important {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.notice-info {
    background: rgba(245, 130, 25, 0.1);
    border: 1px solid rgba(245, 130, 25, 0.2);
}

.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f58219;
}

.notice-content {
    flex: 1;
}

.notice-content strong {
    color: #1a1a2e;
}

/* Data Categories */
.data-category {
    margin: 30px 0;
}

.data-category h3 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.data-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f58219;
}

.data-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.data-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a4a6d;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.usage-card {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.usage-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #f58219;
}

.usage-card h4 {
    margin: 0 0 15px 0;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.usage-card ul {
    margin: 0;
    padding-left: 0;
    text-align: left;
}

.usage-card ul li {
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a4a6d;
    position: relative;
}

.usage-card ul li::before {
    content: '•';
    color: #f58219;
    position: absolute;
    left: 0;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.security-card {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s;
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.security-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #f58219;
}

.security-card h4 {
    margin: 0 0 10px 0;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.security-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a4a6d;
}

/* Cookies Grid */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cookie-type {
    padding: 25px;
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s;
}

.cookie-type:hover {
    transform: translateY(-5px);
}

.cookie-type.essential {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.cookie-type.functional {
    background: rgba(245, 130, 25, 0.1);
    border: 1px solid rgba(245, 130, 25, 0.2);
}

.cookie-type.analytics {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cookie-type h4 {
    margin: 0 0 10px 0;
    color: #1a1a2e;
    font-size: 1.2rem;
}

.cookie-type p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #4a4a6d;
}

.cookie-tag {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.service-card {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h4 {
    margin: 0 0 10px 0;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.service-card p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: #4a4a6d;
}

.service-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(245, 130, 25, 0.2);
    color: #f58219;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.right-card {
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s;
}

.right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.right-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #f58219;
}

.right-card h4 {
    margin: 0 0 10px 0;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.right-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #4a4a6d;
}

/* Retention Table */
.retention-table {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    transition: background 0.3s;
}

.table-row:hover {
    background: #f8fafc;
}

.table-row:first-child {
    border-top: none;
}

.data-type {
    font-weight: 500;
    color: #1a1a2e;
}

.retention-time {
    color: #f58219;
    font-weight: 600;
    text-align: right;
}

/* Warning Box */
.warning-box {
    display: flex;
    gap: 15px;
    padding: 30px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 12px;
    margin: 30px 0;
    align-items: center;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: #ef4444;
}

.warning-content h4 {
    margin: 0 0 10px 0;
    color: #1a1a2e;
    font-size: 1.3rem;
}

.warning-content p {
    margin: 0;
    color: #4a4a6d;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: #f58219;
}

.contact-details h4 {
    margin: 0 0 8px 0;
    color: #1a1a2e;
    font-size: 1.1rem;
}

.contact-details a {
    color: #f58219;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-details a:hover {
    color: #d96b0a;
}

/* Acceptance Section */
.acceptance-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(245, 130, 25, 0.3);
}

.acceptance-card {
    background: linear-gradient(135deg, rgba(245, 130, 25, 0.1) 0%, rgba(255, 158, 64, 0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(245, 130, 25, 0.2);
}

.acceptance-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.acceptance-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #4a4a6d;
}

.acceptance-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .acceptance-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f58219, #ff9e40);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(245, 130, 25, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(245, 130, 25, 0.4);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 15px;
    background: rgba(245, 130, 25, 0.1);
    border: 1px solid rgba(245, 130, 25, 0.3);
    border-radius: 10px;
    color: #f58219;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mobile-sidebar-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .mobile-sidebar-toggle {
        display: flex;
    }
    
    .privacy-sidebar {
        position: static;
        display: none;
    }
    
    .privacy-sidebar.active {
        display: block;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .privacy-page {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .usage-grid,
    .security-grid,
    .cookies-grid,
    .services-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .retention-table .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .retention-time {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .last-updated {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .acceptance-card {
        padding: 30px 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}