/* ===========================
   PRIVACY POLICY PAGE STYLES
   (Live Flight Tracker Radar — Wear OS app)
   =========================== */

/* HERO SECTION */
.privacy-hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    padding: 5rem 2rem 4rem;
    overflow: hidden;
}

.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 42, 42, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.privacy-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 42, 42, 0.08) 100%);
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    animation: fadeIn 0.8s ease-out;
}

.privacy-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff2a2a;
    border: 1px solid rgba(255, 42, 42, 0.35);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    margin-bottom: 1.5rem;
}

.privacy-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(255, 42, 42, 0.2);
}

.privacy-hero-content p {
    font-size: 1.05rem;
    color: #aaaaaa;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

.privacy-developer {
    font-size: 0.95rem !important;
    color: #cccccc !important;
    margin-bottom: 1.2rem !important;
}

.privacy-developer strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-dates {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #777777;
}

.privacy-dates strong {
    color: #aaaaaa;
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BODY LAYOUT */
.privacy-body {
    padding: 4rem 0 6rem;
    background: linear-gradient(180deg, #0a0a0a 0%, rgba(255, 42, 42, 0.01) 100%);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
}

/* TABLE OF CONTENTS */
.privacy-toc {
    position: sticky;
    top: 100px;
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
}

.toc-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff2a2a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
}

.privacy-toc ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.privacy-toc a {
    display: block;
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 0.45rem 0.6rem;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.privacy-toc a:hover {
    color: #ffffff;
    background: rgba(255, 42, 42, 0.06);
    border-left-color: #ff2a2a;
}

/* CONTENT */
.privacy-content {
    max-width: 820px;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.privacy-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 3.5rem 0 1.25rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 42, 42, 0.15);
    scroll-margin-top: 100px;
}

.privacy-content h2 .sec-num {
    color: #ff2a2a;
    margin-right: 0.5rem;
}

.privacy-content h3 {
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff;
    margin: 2rem 0 0.75rem;
}

.privacy-content p {
    color: #aaaaaa;
    font-size: 0.975rem;
    line-height: 1.85;
    margin-bottom: 1.15rem;
}

.privacy-content strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-content em {
    color: #cccccc;
}

.privacy-content ul {
    list-style: none;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.privacy-content ul li {
    position: relative;
    color: #aaaaaa;
    font-size: 0.975rem;
    line-height: 1.75;
    padding-left: 1.6rem;
}

.privacy-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2a2a;
    opacity: 0.8;
}

.privacy-content a {
    color: #ff2a2a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    color: #ff4444;
    text-decoration: underline;
}

.privacy-content code {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 0.85em;
    color: #ff6b6b;
    background: rgba(255, 42, 42, 0.08);
    border: 1px solid rgba(255, 42, 42, 0.15);
    border-radius: 4px;
    padding: 0.15em 0.45em;
    white-space: nowrap;
}

/* APP AND DEVELOPER IDENTIFICATION CARD */
.privacy-identity {
    background: rgba(255, 42, 42, 0.05);
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 100px;
}

.identity-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff2a2a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
}

.identity-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0.85rem 1.5rem;
    align-items: baseline;
}

.identity-grid dt {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.identity-grid dd {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.identity-grid dd strong {
    color: #ffffff;
    font-weight: 600;
}

.identity-grid dd a {
    color: #ff2a2a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.identity-grid dd a:hover {
    color: #ff4444;
    text-decoration: underline;
}

/* CONTACT BLOCK (section 14) */
.pp-contact-block {
    background: rgba(255, 42, 42, 0.03);
    border-left: 3px solid #ff2a2a;
    border-radius: 0 6px 6px 0;
    padding: 1.25rem 1.5rem;
    line-height: 2 !important;
}

/* AT A GLANCE HIGHLIGHT CARD */
.privacy-highlight {
    background: rgba(255, 42, 42, 0.03);
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.highlight-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ff2a2a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.highlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.highlight-list li {
    position: relative;
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.7;
    padding-left: 1.9rem;
    transition: all 0.3s ease;
}

.highlight-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff2a2a;
    font-weight: 700;
}

.highlight-list li:hover {
    color: #ffffff;
}

.highlight-list strong {
    color: #ffffff;
    font-weight: 600;
}

/* TABLES */
.pp-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(255, 42, 42, 0.1);
    border-radius: 8px;
    background: rgba(255, 42, 42, 0.02);
}

.pp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.pp-table th {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff2a2a;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.25rem;
    background: rgba(255, 42, 42, 0.05);
    border-bottom: 1px solid rgba(255, 42, 42, 0.15);
    white-space: nowrap;
}

.pp-table td {
    color: #aaaaaa;
    font-size: 0.925rem;
    line-height: 1.7;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.pp-table tbody tr:last-child td {
    border-bottom: none;
}

.pp-table tbody tr {
    transition: background 0.3s ease;
}

.pp-table tbody tr:hover td {
    background: rgba(255, 42, 42, 0.03);
    color: #cccccc;
}

.pp-table td strong {
    color: #ffffff;
}

/* APPENDIX */
.pp-appendix-title {
    margin-top: 4.5rem !important;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .privacy-toc {
        position: static;
        top: auto;
    }

    .privacy-toc ul {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.15rem 1rem;
    }

    .privacy-content {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        margin-top: 100px;
        padding: 3.5rem 1.5rem 3rem;
    }

    .privacy-hero-content p {
        font-size: 0.95rem;
    }

    .privacy-dates {
        gap: 0.5rem 1.5rem;
        margin-top: 1.5rem;
    }

    .privacy-body {
        padding: 3rem 0 4rem;
    }

    .privacy-content h2 {
        margin-top: 2.75rem;
    }

    .privacy-content p,
    .privacy-content ul li {
        font-size: 0.925rem;
    }

    .identity-grid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .identity-grid dt {
        margin-top: 0.75rem;
    }

    .identity-grid dt:first-child {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 2.5rem 1.25rem 2.5rem;
    }

    .privacy-hero-content h1 {
        font-size: 1.6rem;
    }

    .privacy-hero-content p {
        font-size: 0.9rem;
    }

    .privacy-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 1.2rem;
    }

    .privacy-toc {
        padding: 1.25rem;
    }

    .privacy-toc ul {
        grid-template-columns: 1fr;
    }

    .privacy-highlight,
    .privacy-identity {
        padding: 1.5rem 1.25rem;
    }

    .pp-contact-block {
        padding: 1rem 1.25rem;
    }

    .highlight-list li {
        font-size: 0.9rem;
    }

    .privacy-content h2 {
        font-size: 1.25rem;
    }

    .privacy-content h3 {
        font-size: 1rem;
    }

    .pp-table th,
    .pp-table td {
        padding: 0.85rem 1rem;
    }
}
