﻿/* =========================================
   2B POS - Privacy Policy
   Brand Colors: Orange / White / Dark Gray
========================================= */

:root {
    --brand-orange: #F58220;
    --brand-orange-dark: #E66F0A;
    --brand-orange-light: #FFF1E5;
    --brand-dark: #252525;
    --brand-gray: #6B7280;
    --brand-border: #EEEEEE;
    --brand-background: #FAFAFA;
    --brand-white: #FFFFFF;
}

/* =========================================
   Main Page
========================================= */

.privacy-page {
    background: var(--brand-background);
    min-height: 100vh;
    color: var(--brand-dark);
    overflow-x: hidden;
}

/* =========================================
   Hero Section
========================================= */

.privacy-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: linear-gradient(120deg, var(--brand-orange) 0%, #F99A45 100%);
    padding: 65px 0 95px;
    color: var(--brand-white);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

    .privacy-hero::before,
    .privacy-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .privacy-hero::before {
        width: 220px;
        height: 220px;
        background: rgba(255, 255, 255, 0.07);
        left: -60px;
        bottom: -90px;
    }

    .privacy-hero::after {
        width: 350px;
        height: 350px;
        border: 55px solid rgba(255, 255, 255, 0.10);
        right: -100px;
        top: -150px;
    }

    .privacy-hero .container {
        max-width: 1050px;
        margin: 0 auto;
        padding: 0 12px;
    }

.privacy-hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.privacy-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.18);
    padding: 9px 17px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.privacy-hero h1 {
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.privacy-hero p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 22px;
}

.privacy-updated {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--brand-white);
}

.privacy-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand-white);
    animation: privacy-pulse 2s infinite;
}

@keyframes privacy-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* =========================================
   Main Content
========================================= */

.privacy-content {
    max-width: 1050px;
    margin-top: -45px;
    position: relative;
    z-index: 2;
    padding-bottom: 35px;
}

/* =========================================
   Introduction Section
========================================= */

.privacy-intro {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

    .privacy-intro h2 {
        font-size: 21px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .privacy-intro p {
        color: var(--brand-gray);
        font-size: 14px;
        line-height: 1.8;
        margin: 0;
    }

/* =========================================
   Highlights (quick promises)
========================================= */

.privacy-highlights {
    margin-bottom: 35px;
}

.privacy-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
}

    .privacy-highlight i {
        color: var(--brand-orange);
        font-size: 20px;
    }

/* =========================================
   Icons
========================================= */

.privacy-intro-icon,
.privacy-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-orange-light);
    color: var(--brand-orange);
    border-radius: 15px;
    flex-shrink: 0;
}

.privacy-intro-icon {
    width: 60px;
    height: 60px;
    font-size: 27px;
}

.privacy-card-icon {
    width: 54px;
    height: 54px;
    font-size: 23px;
    transition: all 0.25s ease;
}

/* =========================================
   Privacy Cards
========================================= */

.privacy-card {
    position: relative;
    height: 100%;
    min-height: 235px;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.025);
    transition: all 0.25s ease;
    overflow: hidden;
}

    /* orange accent bar that grows on hover */
    .privacy-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 4px;
        width: 0;
        background: var(--brand-orange);
        transition: width 0.3s ease;
    }

    .privacy-card:hover {
        transform: translateY(-5px);
        border-color: var(--brand-orange);
        box-shadow: 0 12px 30px rgba(245, 130, 32, 0.12);
    }

        .privacy-card:hover::before {
            width: 100%;
        }

        .privacy-card:hover .privacy-card-icon {
            background: var(--brand-orange);
            color: var(--brand-white);
            transform: scale(1.08);
        }

.privacy-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.privacy-number {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    color: var(--brand-orange-light);
    -webkit-text-stroke: 1px #FFD6B0;
}

.privacy-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 13px;
}

.privacy-card p {
    font-size: 14px;
    color: var(--brand-gray);
    line-height: 1.9;
    margin: 0;
}

.privacy-sub {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0 0 10px;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .privacy-list li {
        position: relative;
        padding-left: 22px;
        margin-bottom: 8px;
        font-size: 14px;
        color: var(--brand-gray);
        line-height: 1.8;
    }

        .privacy-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 11px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--brand-orange);
        }

.privacy-card p + p,
.privacy-card p + .privacy-list,
.privacy-card .privacy-list + p {
    margin-top: 12px;
}

.privacy-note {
    margin-top: 14px;
    padding: 12px 16px;
    background: var(--brand-orange-light);
    border-radius: 10px;
    font-size: 13px;
    color: var(--brand-dark);
}

/* Contact details */
.privacy-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .privacy-contact-list li {
        font-size: 14px;
        color: var(--brand-gray);
        line-height: 1.9;
    }

    .privacy-contact-list a {
        color: var(--brand-orange-dark);
        font-weight: 600;
        text-decoration: none;
    }

.privacy-contact-name {
    font-weight: 700;
    color: var(--brand-dark) !important;
}

/* =========================================
   Contact Section
========================================= */

.privacy-contact {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 35px;
    padding: 28px;
    background: var(--brand-orange-light);
    border: 1px solid #FFE0C3;
    border-radius: 18px;
    transition: all 0.25s ease;
}

    .privacy-contact:hover {
        border-color: var(--brand-orange);
    }

    .privacy-contact .privacy-card-icon {
        background: var(--brand-white);
    }

    .privacy-contact h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .privacy-contact p {
        font-size: 14px;
        color: var(--brand-gray);
        line-height: 1.8;
        margin: 0;
    }

.privacy-contact-btn {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    color: var(--brand-white);
    font-weight: 600;
    font-size: 14px;
    padding: 11px 24px;
    border-radius: 30px;
    transition: all 0.25s ease;
}

    .privacy-contact-btn:hover {
        background: var(--brand-orange-dark);
        border-color: var(--brand-orange-dark);
        color: var(--brand-white);
    }

/* =========================================
   Footer
========================================= */

.privacy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 25px 0 15px;
    margin-top: 25px;
    border-top: 1px solid #EAEAEA;
    color: #777777;
    font-size: 12px;
}

/* =========================================
   Responsive Design
========================================= */

@media (max-width: 768px) {

    .privacy-hero {
        padding: 50px 0 85px;
    }

        .privacy-hero::after {
            width: 250px;
            height: 250px;
            right: -130px;
            top: -120px;
        }

    .privacy-content {
        margin-top: -35px;
    }

    .privacy-intro {
        padding: 24px;
        gap: 18px;
    }

    .privacy-card {
        min-height: auto;
        padding: 25px;
    }

    .privacy-contact {
        padding: 24px;
    }
}

@media (max-width: 576px) {

    .privacy-hero {
        padding: 42px 0 80px;
    }

        .privacy-hero h1 {
            font-size: 34px;
        }

        .privacy-hero p {
            font-size: 14px;
        }

    .privacy-intro {
        padding: 20px;
        align-items: flex-start;
        flex-direction: column;
    }

        .privacy-intro h2 {
            font-size: 19px;
        }

    .privacy-card {
        padding: 22px;
    }

    .privacy-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .privacy-contact-btn {
        margin-left: 0;
    }

    .privacy-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   Print
========================================= */

@media print {

    .privacy-hero {
        background: none !important;
        color: var(--brand-dark);
        padding: 20px 0;
    }

        .privacy-hero p,
        .privacy-updated {
            color: var(--brand-dark);
        }

    .privacy-contact-btn {
        display: none;
    }

    .privacy-card {
        box-shadow: none;
        break-inside: avoid;
    }
}

/* =========================================
   Accessibility
========================================= */

@media (prefers-reduced-motion: reduce) {

    .privacy-card,
    .privacy-card::before,
    .privacy-card-icon,
    .privacy-contact,
    .privacy-contact-btn {
        transition: none;
    }

    .privacy-dot {
        animation: none;
    }

    .privacy-card:hover {
        transform: none;
    }
}
