/* =============================================
   Policies Page Styles
   ============================================= */

/* Hero */
.policies-hero {
    padding: 120px 0 48px;
    background: var(--primary-color, #1a73e8);
    color: #fff;
    text-align: center;
}

.policies-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.policies-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 560px;
    margin: 0 auto 8px;
}

.policies-updated {
    font-size: 0.85rem !important;
    opacity: 0.7 !important;
}

/* Quick Nav */
.policies-nav {
    background: var(--card-bg, #fff);
    border-bottom: 1px solid var(--border-color, #e0e0e0);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.policies-nav .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.policies-nav .container::-webkit-scrollbar {
    display: none;
}

.policies-nav a {
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary, #555);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.policies-nav a:hover {
    color: var(--primary-color, #1a73e8);
    border-bottom-color: var(--primary-color, #1a73e8);
}

/* Main Content */
.policies-main {
    padding: 60px 0 80px;
    background: var(--bg-color, #f8f9fa);
}

/* Individual Policy Sections */
.policy-section {
    background: var(--card-bg, #fff);
    border-radius: 12px;
    padding: 48px 48px 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    scroll-margin-top: 130px;
}

.policy-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-color, #1a73e8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
}

.policy-icon svg {
    width: 26px;
    height: 26px;
}

.policy-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color, #e8e8e8);
}

.policy-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-color, #1a73e8);
    margin: 24px 0 10px;
}

.policy-section p {
    color: var(--text-secondary, #444);
    line-height: 1.75;
    margin-bottom: 12px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.policy-section ul li {
    color: var(--text-secondary, #444);
    line-height: 1.75;
    padding: 4px 0 4px 24px;
    position: relative;
}

.policy-section ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color, #1a73e8);
    font-weight: 700;
}

.policy-section a {
    color: var(--primary-color, #1a73e8);
    text-decoration: none;
    font-weight: 500;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .policies-hero {
        padding: 100px 20px 40px;
    }

    .policies-hero h1 {
        font-size: 1.8rem;
    }

    .policies-nav a {
        padding: 14px 16px;
        font-size: 0.82rem;
    }

    .policy-section {
        padding: 32px 24px 28px;
    }

    .policy-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .policy-section {
        padding: 24px 16px 20px;
        border-radius: 8px;
    }
}
