.privacy-page,
.privacy-page * {
    box-sizing: border-box;
}

.privacy-page {
    min-width: 0;
    min-height: 100vh;
    overflow-x: clip;
    color: #334155;
    background: var(--gmp-light);
    line-height: 1.8;
}

.privacy-page form {
    margin: 0;
}

.privacy-page .privacy-hero {
    position: relative;
    overflow: hidden;
    padding: 180px 0 80px;
    border-bottom: 1px solid rgba(var(--gmp-primary-rgb), 0.05);
    background:
        radial-gradient(circle at 80% 20%, rgba(var(--gmp-primary-rgb), 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 255, 133, 0.05) 0%, transparent 30%),
        var(--gmp-warm);
}

.privacy-page .privacy-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 999px;
    color: var(--gmp-primary);
    background: rgba(var(--gmp-primary-rgb), 0.1);
    font-size: 0.875rem;
    font-weight: 700;
}

.privacy-page .privacy-hero__title {
    margin: 0 0 15px;
    color: var(--gmp-dark-deep);
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
}

.privacy-page .privacy-hero__title span {
    background: linear-gradient(135deg, var(--gmp-primary) 0%, #00b35c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-page .privacy-hero__summary {
    max-width: 780px;
    margin: 0;
    color: var(--gmp-slate);
    font-size: 1rem;
    line-height: 1.8;
}

.privacy-page .version-selector-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.privacy-page .version-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--gmp-slate);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.privacy-page .version-select {
    min-width: 145px;
    max-width: 100%;
    padding: 2px 22px 2px 0;
    border: 0;
    color: var(--gmp-dark-deep);
    background-color: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}

.privacy-page .version-select:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(var(--gmp-primary-rgb), 0.28);
    outline-offset: 3px;
}

.privacy-page .privacy-content {
    padding: 3rem 0;
    background: var(--gmp-white);
}

.privacy-page .terms-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1076px;
    min-width: 0;
    margin: -30px auto 0;
    padding: 50px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 24px;
    background: var(--gmp-white);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
}

.privacy-page .terms-panel {
    min-width: 0;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    overflow-wrap: anywhere;
}

.privacy-page .terms-panel p {
    margin: 0 0 1rem;
}

.privacy-page .terms-intro {
    color: var(--gmp-dark-deep);
    font-weight: 700;
}

.privacy-page .terms-intro p:last-child,
.privacy-page .terms-section p:last-child {
    margin-bottom: 0;
}

.privacy-page .terms-section {
    margin-top: 40px;
}

.privacy-page .terms-panel--legacy .terms-section--first {
    margin-top: 0;
}

.privacy-page .terms-section-title {
    margin: 0 0 20px;
    padding-left: 12px;
    border-left: 4px solid var(--gmp-primary);
    color: var(--gmp-dark-deep);
    font-family: 'Outfit', 'Noto Sans TC', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
}

.privacy-page .terms-list {
    margin: 0 0 1rem;
    padding-left: 0;
    list-style: none;
}

.privacy-page .terms-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    text-align: justify;
}

.privacy-page .terms-list li::before {
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--gmp-primary);
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-size: 1rem;
    font-weight: 900;
}

.privacy-page .terms-list li:last-child {
    margin-bottom: 0;
}

.privacy-page .terms-list strong {
    color: var(--gmp-dark-deep);
}

.privacy-page .terms-sublist {
    margin: 12px 0 0;
    padding-left: 1.5rem;
}

.privacy-page .terms-sublist li {
    margin-bottom: 8px;
    padding-left: 0.25rem;
}

.privacy-page .terms-sublist li::before {
    display: none;
}

.privacy-page .effective-date {
    margin-top: 1.5rem !important;
    color: var(--gmp-slate);
    font-size: 0.875rem;
    text-align: right;
}

.privacy-page + footer {
    margin-top: 100px;
}

@media (max-width: 991.98px) {
    .privacy-page .privacy-hero {
        padding-top: 150px;
    }
}

@media (max-width: 767.98px) {
    .privacy-page .privacy-hero {
        padding: 130px 0 70px;
    }

    .privacy-page .terms-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .privacy-page .terms-panel {
        font-size: 1rem;
        text-align: left;
    }

    .privacy-page .terms-section {
        margin-top: 32px;
    }

    .privacy-page .terms-section-title {
        font-size: 1.18rem;
    }

    .privacy-page .terms-list li {
        text-align: left;
    }
}

@media (max-width: 419.98px) {
    .privacy-page .version-selector-wrap {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        border-radius: 16px;
    }

    .privacy-page .version-select {
        width: 100%;
    }

    .privacy-page .terms-card {
        padding: 26px 16px;
    }

    .privacy-page .terms-list li {
        padding-left: 24px;
    }
}
