/* =========================================
   Privacy Policy Page — privacy.css
   Inherits variables from main.css
   ========================================= */

/* =========================================
   Page Hero
   ========================================= */
.pp-hero {
    padding: 140px 5% 80px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pp-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.pp-hero-shape-1 {
    width: 480px;
    height: 480px;
    background: rgba(191, 90, 26, 0.07);
    top: -120px;
    right: -60px;
}

.pp-hero-shape-2 {
    width: 320px;
    height: 320px;
    background: rgba(88, 70, 61, 0.05);
    bottom: -40px;
    left: -60px;
}

.pp-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.pp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(191, 90, 26, 0.1);
    color: var(--brand-orange);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pp-hero h1 {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--brand-dark);
    margin-bottom: 18px;
}

.pp-hero p {
    font-size: 17px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 32px;
}

.pp-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-sub);
    font-weight: 500;
}

.pp-meta-item i {
    color: var(--brand-orange);
    font-size: 12px;
}

.pp-meta-sep {
    color: var(--border-color);
    font-size: 14px;
}

/* =========================================
   Main Layout
   ========================================= */
.pp-main {
    padding: 60px 5% 80px;
    background: var(--bg-body);
}

.pp-layout {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

/* =========================================
   Sidebar
   ========================================= */
.pp-sidebar {
    position: sticky;
    top: 90px;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1.5px solid var(--border-color);
    padding: 28px 24px;
    box-shadow: var(--card-shadow);
}

.pp-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-sub);
    margin-bottom: 16px;
}

.pp-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pp-toc-link {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-sub);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.4;
    margin-bottom: 2px;
}

.pp-toc-link:hover,
.pp-toc-link.active {
    color: var(--brand-orange);
    background: rgba(191, 90, 26, 0.08);
}

.pp-sidebar-cta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.pp-sidebar-cta p {
    font-size: 12.5px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 12px;
}

.pp-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 10px 14px;
    background: var(--brand-dark);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pp-sidebar-btn:hover {
    background: var(--brand-orange);
    transform: translateY(-1px);
}

/* =========================================
   Content Sections
   ========================================= */
.pp-content {
    min-width: 0;
}

.pp-section {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1.5px solid var(--border-color);
    padding: 40px 44px;
    margin-bottom: 24px;
    scroll-margin-top: 90px;
    transition: box-shadow 0.2s ease;
}

.pp-section:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.pp-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border-color);
}

.pp-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(191, 90, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 18px;
    flex-shrink: 0;
}

.pp-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.3px;
}

.pp-section-body p {
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 16px;
}

.pp-section-body p:last-child {
    margin-bottom: 0;
}

.pp-section-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 28px 0 12px;
}

.pp-section-body a {
    color: var(--brand-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-section-body a:hover {
    opacity: 0.8;
}

/* =========================================
   Lists
   ========================================= */
.pp-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
    line-height: 1.7;
}

.pp-list li i {
    margin-top: 3px;
    font-size: 13px;
    flex-shrink: 0;
}

.pp-list li i.fa-check {
    color: #22c55e;
}

.pp-list-no li i.fa-xmark {
    color: #ef4444;
}

/* =========================================
   Highlight Boxes
   ========================================= */
.pp-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    line-height: 1.7;
    margin-top: 20px;
}

.pp-highlight-box > i {
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pp-highlight-info {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e40af;
}

.pp-highlight-info > i {
    color: #3b82f6;
}

.pp-highlight-success {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #166534;
}

.pp-highlight-success > i {
    color: #22c55e;
}

.pp-highlight-warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #92400e;
}

.pp-highlight-warning > i {
    color: #f59e0b;
}

/* =========================================
   Data Collection Grid
   ========================================= */
.pp-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.pp-data-card {
    background: var(--bg-gray);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pp-data-card:hover {
    background: rgba(191, 90, 26, 0.04);
    border-color: rgba(191, 90, 26, 0.2);
}

.pp-data-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(191, 90, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 15px;
    margin-bottom: 12px;
}

.pp-data-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 6px;
}

.pp-data-card-desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.65;
}

/* =========================================
   Purpose List
   ========================================= */
.pp-purpose-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.pp-purpose-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: var(--bg-gray);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pp-purpose-item:hover {
    background: rgba(191, 90, 26, 0.04);
    border-color: rgba(191, 90, 26, 0.2);
}

.pp-purpose-num {
    font-size: 20px;
    font-weight: 800;
    color: rgba(191, 90, 26, 0.25);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    line-height: 1;
    padding-top: 2px;
    min-width: 28px;
}

.pp-purpose-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pp-purpose-content strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-dark);
}

.pp-purpose-content span {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.65;
}

/* =========================================
   Cookies Table
   ========================================= */
.pp-cookie-table-wrap {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 12px;
    border: 1.5px solid var(--border-color);
}

.pp-cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pp-cookie-table th {
    background: var(--bg-gray);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    font-size: 13px;
    white-space: nowrap;
}

.pp-cookie-table th:first-child { border-radius: 10px 0 0 0; }
.pp-cookie-table th:last-child { border-radius: 0 10px 0 0; }

.pp-cookie-table td {
    padding: 14px 18px;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    line-height: 1.65;
    vertical-align: top;
}

.pp-cookie-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.pp-badge-essential {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.pp-badge-analytics {
    background: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

/* Browser links */
.pp-browser-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0;
}

.pp-browser-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
}

.pp-browser-item i {
    color: var(--brand-orange);
    font-size: 15px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

/* =========================================
   Third-party Services
   ========================================= */
.pp-third-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
}

.pp-third-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-gray);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pp-third-item:hover {
    background: rgba(191, 90, 26, 0.04);
    border-color: rgba(191, 90, 26, 0.2);
}

.pp-third-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(191, 90, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 16px;
    flex-shrink: 0;
}

.pp-third-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pp-third-info strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-dark);
}

.pp-third-info span {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.65;
}

/* =========================================
   Security Grid
   ========================================= */
.pp-security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.pp-security-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pp-security-item:hover {
    background: rgba(191, 90, 26, 0.04);
    border-color: rgba(191, 90, 26, 0.2);
}

.pp-security-item > i {
    font-size: 22px;
    color: var(--brand-orange);
}

.pp-security-item strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-dark);
}

.pp-security-item span {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.65;
}

/* =========================================
   User Rights
   ========================================= */
.pp-rights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.pp-rights-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--bg-gray);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pp-rights-item:hover {
    background: rgba(191, 90, 26, 0.04);
    border-color: rgba(191, 90, 26, 0.2);
}

.pp-rights-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(191, 90, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 16px;
    flex-shrink: 0;
}

.pp-rights-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pp-rights-body strong {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-dark);
}

.pp-rights-body p {
    font-size: 13.5px;
    color: var(--text-sub);
    line-height: 1.7;
    margin: 0;
}

/* =========================================
   CTA Section
   ========================================= */
.pp-cta-section {
    padding: 80px 5%;
    background: var(--bg-hero);
    text-align: center;
}

.pp-cta-inner {
    max-width: 860px;
    margin: 0 auto;
}

.pp-cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(191, 90, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
    font-size: 26px;
    margin: 0 auto 24px;
}

.pp-cta-section h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.pp-cta-section p {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 40px;
}

.pp-cta-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.pp-cta-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    min-width: 200px;
}

.pp-cta-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: rgba(191, 90, 26, 0.3);
}

.pp-cta-card-primary {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.pp-cta-card-primary:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.pp-cta-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: rgba(191, 90, 26, 0.1);
    color: var(--brand-orange);
    flex-shrink: 0;
}

.pp-cta-card-primary .pp-cta-card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pp-cta-card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 3px;
}

.pp-cta-card-text strong {
    font-size: 15px;
    font-weight: 700;
}

.pp-cta-card-text span {
    font-size: 12.5px;
    opacity: 0.7;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 960px) {
    .pp-layout {
        grid-template-columns: 1fr;
    }

    .pp-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        align-items: flex-start;
    }

    .pp-sidebar-title {
        width: 100%;
        margin-bottom: 0;
    }

    .pp-toc {
        flex: 1;
        min-width: 180px;
    }

    .pp-toc ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .pp-toc-link {
        display: inline-flex;
        padding: 6px 12px;
        font-size: 13px;
        background: var(--bg-gray);
        border: 1px solid var(--border-color);
    }

    .pp-sidebar-cta {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        border-left: 1px solid var(--border-color);
        padding-left: 16px;
    }

    .pp-data-grid,
    .pp-security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pp-hero {
        padding: 120px 5% 60px;
    }

    .pp-hero p {
        font-size: 15px;
    }

    .pp-main {
        padding: 40px 5% 60px;
    }

    .pp-section {
        padding: 28px 22px;
    }

    .pp-section h2 {
        font-size: 19px;
    }

    .pp-cookie-table {
        font-size: 13px;
    }

    .pp-cookie-table th,
    .pp-cookie-table td {
        padding: 10px 12px;
    }

    .pp-purpose-item {
        flex-direction: column;
        gap: 8px;
    }

    .pp-purpose-num {
        font-size: 16px;
    }

    .pp-cta-cards {
        flex-direction: column;
        align-items: center;
    }

    .pp-cta-card {
        width: 100%;
        max-width: 340px;
    }

    .pp-sidebar-cta {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 16px;
        width: 100%;
    }

    .pp-meta-sep {
        display: none;
    }
}
