/* ============================================
   PRIVACY POLICY - REDESIGNED STYLES
   ============================================ */

/* ---- Hero Section ---- */
.pp-hero {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(135deg, #d7942e 0%, #e8b923 40%, #f0c94d 100%);
    overflow: hidden;
    z-index: 1;
}

[data-theme="dark"] .pp-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 40%, #3a3a3a 100%);
}

.pp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.pp-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.pp-hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.25);
    top: -100px;
    right: -50px;
    animation: ppFloat1 8s ease-in-out infinite;
}

.pp-hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 200, 50, 0.3);
    bottom: -80px;
    left: -60px;
    animation: ppFloat2 10s ease-in-out infinite;
}

.pp-hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    top: 40%;
    left: 50%;
    animation: ppFloat3 6s ease-in-out infinite;
}

[data-theme="dark"] .pp-hero-orb-1 {
    background: rgba(215, 148, 46, 0.2);
}

[data-theme="dark"] .pp-hero-orb-2 {
    background: rgba(232, 185, 35, 0.15);
}

[data-theme="dark"] .pp-hero-orb-3 {
    background: rgba(215, 148, 46, 0.1);
}

.pp-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

[data-theme="dark"] .pp-hero-grid {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

.pp-hero .container {
    position: relative;
    z-index: 2;
}

.pp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
}

[data-theme="dark"] .pp-hero-badge {
    background: rgba(215, 148, 46, 0.2);
    border-color: rgba(215, 148, 46, 0.3);
    color: #e8b923;
}

.pp-hero-badge i {
    font-size: 16px;
}

.pp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

[data-theme="dark"] .pp-hero-title {
    color: #ffffff;
}

.pp-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

[data-theme="dark"] .pp-hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.pp-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.pp-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 20px;
}

[data-theme="dark"] .pp-hero-meta span {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.pp-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.pp-hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ---- Animations ---- */
@keyframes ppFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes ppFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -30px) scale(1.08); }
}

@keyframes ppFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, -20px); }
}

/* ---- Content Section ---- */
.pp-content-section {
    padding: 60px 0 80px;
    background: var(--bg-color);
}

/* ---- Table of Contents (Sidebar) ---- */
.pp-toc-wrapper {
    position: sticky;
    top: 120px;
}

.pp-toc {
    background: var(--policy-card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .pp-toc {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pp-toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pp-toc-title i {
    color: #d7942e;
    font-size: 14px;
}

[data-theme="dark"] .pp-toc-title i {
    color: #e8b923;
}

.pp-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pp-toc-list li {
    margin-bottom: 4px;
}

.pp-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.pp-toc-link:hover {
    color: #d7942e;
    background: rgba(215, 148, 46, 0.08);
}

[data-theme="dark"] .pp-toc-link:hover {
    color: #e8b923;
    background: rgba(232, 185, 35, 0.1);
}

.pp-toc-link.active {
    color: #d7942e;
    background: rgba(215, 148, 46, 0.1);
    border-left-color: #d7942e;
    font-weight: 600;
}

[data-theme="dark"] .pp-toc-link.active {
    color: #e8b923;
    background: rgba(232, 185, 35, 0.12);
    border-left-color: #e8b923;
}

.pp-toc-num {
    font-size: 11px;
    font-weight: 700;
    color: #d7942e;
    background: rgba(215, 148, 46, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
}

[data-theme="dark"] .pp-toc-num {
    color: #e8b923;
    background: rgba(232, 185, 35, 0.15);
}

/* ---- Policy Cards ---- */
.pp-card {
    background: var(--policy-card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d7942e, #e8b923);
    border-radius: 4px 0 0 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(215, 148, 46, 0.12);
}

[data-theme="dark"] .pp-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pp-card:hover::before {
    opacity: 1;
}

.pp-card-icon-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.pp-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(215, 148, 46, 0.15), rgba(232, 185, 35, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #d7942e;
}

[data-theme="dark"] .pp-card-icon {
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.2), rgba(215, 148, 46, 0.12));
    color: #e8b923;
}

.pp-card-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(215, 148, 46, 0.08);
    line-height: 1;
    user-select: none;
}

[data-theme="dark"] .pp-card-number {
    color: rgba(232, 185, 35, 0.08);
}

.pp-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

.pp-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.pp-card p:last-child {
    margin-bottom: 0;
}

.pp-card a {
    color: #d7942e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

[data-theme="dark"] .pp-card a {
    color: #e8b923;
}

.pp-card a:hover {
    color: #b3771e;
    text-decoration: underline;
}

[data-theme="dark"] .pp-card a:hover {
    color: #f0c94d;
}

/* ---- Highlight Box ---- */
.pp-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(215, 148, 46, 0.08);
    border: 1px solid rgba(215, 148, 46, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 16px;
}

.pp-highlight-box i {
    font-size: 18px;
    color: #d7942e;
    margin-top: 3px;
    flex-shrink: 0;
}

[data-theme="dark"] .pp-highlight-box i {
    color: #e8b923;
}

.pp-highlight-box p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

[data-theme="dark"] .pp-highlight-box {
    background: rgba(232, 185, 35, 0.06);
    border-color: rgba(232, 185, 35, 0.12);
}

.pp-highlight-success {
    background: rgba(40, 167, 69, 0.08);
    border-color: rgba(40, 167, 69, 0.15);
}

.pp-highlight-success i {
    color: #28a745;
}

[data-theme="dark"] .pp-highlight-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
}

[data-theme="dark"] .pp-highlight-success i {
    color: #5cb85c;
}

.pp-highlight-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
}

.pp-highlight-warning i {
    color: #e0a800;
}

[data-theme="dark"] .pp-highlight-warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.15);
}

[data-theme="dark"] .pp-highlight-warning i {
    color: #ffc107;
}

/* ---- Info Grid (Section 2) ---- */
.pp-info-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.pp-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pp-info-item:hover {
    border-color: rgba(215, 148, 46, 0.3);
    background: rgba(215, 148, 46, 0.04);
    transform: translateX(4px);
}

[data-theme="dark"] .pp-info-item:hover {
    border-color: rgba(232, 185, 35, 0.3);
    background: rgba(232, 185, 35, 0.06);
}

.pp-info-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #d7942e, #e8b923);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.pp-info-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.pp-info-item p {
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* ---- Usage List (Section 3) ---- */
.pp-usage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.pp-usage-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-color);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.pp-usage-item:hover {
    background: rgba(215, 148, 46, 0.06);
    transform: translateX(4px);
}

[data-theme="dark"] .pp-usage-item:hover {
    background: rgba(232, 185, 35, 0.08);
}

.pp-usage-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #34ce57);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

.pp-usage-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---- Sharing Cards (Section 4) ---- */
.pp-sharing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.pp-sharing-card {
    padding: 24px;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.pp-sharing-card:hover {
    border-color: rgba(215, 148, 46, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(215, 148, 46, 0.1);
}

[data-theme="dark"] .pp-sharing-card:hover {
    border-color: rgba(232, 185, 35, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pp-sharing-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(215, 148, 46, 0.15), rgba(232, 185, 35, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #d7942e;
    margin: 0 auto 14px;
}

[data-theme="dark"] .pp-sharing-icon {
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.2), rgba(215, 148, 46, 0.12));
    color: #e8b923;
}

.pp-sharing-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.pp-sharing-card p {
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* ---- Security Features (Section 5) ---- */
.pp-security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.pp-security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.pp-security-item:hover {
    border-color: rgba(215, 148, 46, 0.3);
    transform: translateX(4px);
}

[data-theme="dark"] .pp-security-item:hover {
    border-color: rgba(232, 185, 35, 0.3);
}

.pp-security-item i {
    font-size: 18px;
    color: #d7942e;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

[data-theme="dark"] .pp-security-item i {
    color: #e8b923;
}

.pp-security-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ---- Rights Grid (Section 6) ---- */
.pp-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.pp-rights-item {
    padding: 24px;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.pp-rights-item:hover {
    border-color: rgba(215, 148, 46, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(215, 148, 46, 0.1);
}

[data-theme="dark"] .pp-rights-item:hover {
    border-color: rgba(232, 185, 35, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pp-rights-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d7942e, #e8b923);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    margin: 0 auto 12px;
}

.pp-rights-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 6px;
}

.pp-rights-item p {
    font-size: 0.9rem !important;
    margin: 0 !important;
}

/* ---- Cookie List (Section 7 & 8) ---- */
.pp-cookie-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.pp-cookie-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pp-cookie-list li i {
    color: #d7942e;
    font-size: 8px;
    margin-top: 8px;
    flex-shrink: 0;
}

[data-theme="dark"] .pp-cookie-list li i {
    color: #e8b923;
}

/* ---- Contact Methods (Section 9) ---- */
.pp-card-cta {
    background: linear-gradient(135deg, var(--policy-card-bg), var(--bg-color));
}

.pp-contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 20px 0;
}

.pp-contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pp-contact-method:hover {
    border-color: rgba(215, 148, 46, 0.3);
    transform: translateY(-2px);
}

[data-theme="dark"] .pp-contact-method:hover {
    border-color: rgba(232, 185, 35, 0.3);
}

.pp-contact-method > i {
    font-size: 24px;
    color: #d7942e;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

[data-theme="dark"] .pp-contact-method > i {
    color: #e8b923;
}

.pp-contact-method h6 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.pp-contact-method a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ---- CTA Button ---- */
.pp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d7942e, #e8b923);
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(215, 148, 46, 0.3);
}

.pp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(215, 148, 46, 0.4);
    color: #fff !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .pp-hero {
        padding: 130px 0 100px;
    }

    .pp-hero-title {
        font-size: 2.5rem;
    }

    .pp-hero-subtitle {
        font-size: 1.05rem;
    }

    .pp-content-section {
        padding: 40px 0 60px;
    }

    .pp-sharing-cards,
    .pp-security-features,
    .pp-rights-grid,
    .pp-contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pp-hero {
        padding: 110px 0 80px;
    }

    .pp-hero-title {
        font-size: 2rem;
    }

    .pp-hero-subtitle {
        font-size: 1rem;
    }

    .pp-hero-meta {
        gap: 10px;
    }

    .pp-hero-meta span {
        font-size: 12px;
        padding: 5px 12px;
    }

    .pp-card {
        padding: 24px;
        margin-bottom: 16px;
    }

    .pp-card-title {
        font-size: 1.25rem;
    }

    .pp-card-number {
        font-size: 36px;
    }

    .pp-sharing-cards,
    .pp-security-features,
    .pp-rights-grid,
    .pp-contact-methods {
        grid-template-columns: 1fr;
    }

    .pp-rights-item,
    .pp-sharing-card {
        text-align: left;
    }

    .pp-rights-icon,
    .pp-sharing-icon {
        margin: 0 0 12px 0;
    }
}

@media (max-width: 576px) {
    .pp-hero {
        padding: 100px 0 70px;
    }

    .pp-hero-title {
        font-size: 1.75rem;
    }

    .pp-hero-subtitle {
        font-size: 0.9rem;
    }

    .pp-card {
        padding: 20px;
        border-radius: 12px;
    }

    .pp-hero-wave svg {
        height: 40px;
    }
}

/* ---- Smooth scroll behavior ---- */
html {
    scroll-behavior: smooth;
}