/* ══════════════════════════════════════════
   policy.css
   Shared styles for cookie-policy.php and privacy-policy.php
   Sections:
   1. Hero
   2. Page layout
   3. Policy card
   4. Cookie table
   5. Category badges
   6. Inline CTA button
   7. Browser link list
   8. Cookie policy specifics
   9. Responsive
══════════════════════════════════════════ */


/* ══════════════════════════════════════════
   1. HERO
══════════════════════════════════════════ */
.wwa-hero {
    background-image: url('../images/hero-whoWeAre.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Dark gradient overlay */
.wwa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(9, 14, 18, 0.80) 0%,
        rgba(9, 14, 18, 0.50) 50%,
        rgba(9, 14, 18, 0.90) 100%
    );
}

/* Decorative teal glow (bottom-left) */
.wwa-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 176, 240, 0.16) 0%, transparent 65%);
    pointer-events: none;
}

.wwa-hero .container {
    position: relative;
    z-index: 1;
}

/* ── Hero Eyebrow Label ── */
.wwa-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
}

.wwa-hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--teal);
}

/* ── Hero Heading ── */
.wwa-hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    color: #fff;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin: 0 0 24px;
}

.wwa-hero h1 em {
    font-style: normal;
    color: var(--teal);
}

/* ── Hero Subtitle ── */
.wwa-hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}


/* ══════════════════════════════════════════
   2. PAGE LAYOUT
══════════════════════════════════════════ */
.policy-hero    { min-height: 55vh; }

.policy-section {
    padding: 64px 0 100px;
    background: #f4f6f8;
}


/* ══════════════════════════════════════════
   3. POLICY CARD
══════════════════════════════════════════ */
.policy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 52px 56px;
    box-shadow: 0 4px 28px rgba(18, 44, 52, 0.07);
    border: 1px solid rgba(18, 44, 52, 0.06);
}

.policy-meta {
    font-size: 0.78rem;
    color: #9aa0b3;
    margin-bottom: 36px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.policy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.policy-meta i { color: #00b0f0; }

.policy-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d1720;
    margin: 40px 0 12px;
    padding-top: 40px;
    border-top: 1px solid rgba(18, 44, 52, 0.07);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    background: #00b0f0;
    border-radius: 2px;
    flex-shrink: 0;
}

.policy-card h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-card p {
    font-size: 0.95rem;
    color: #4a6070;
    line-height: 1.85;
    margin-bottom: 14px;
}

.policy-card ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 16px;
}

.policy-card ul li {
    font-size: 0.95rem;
    color: #4a6070;
    line-height: 1.75;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: #f4f6f8;
    border-radius: 8px;
    border-left: 3px solid #00b0f0;
}

.policy-card a {
    color: #00b0f0;
    text-decoration: none;
    font-weight: 500;
}

.policy-card a:hover { text-decoration: underline; }


/* ══════════════════════════════════════════
   4. COOKIE TABLE  (cookie-policy.php only)
══════════════════════════════════════════ */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 0.86rem;
}

.cookie-table th {
    background: #f4f6f8;
    color: #0d1720;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid rgba(18, 44, 52, 0.1);
}

.cookie-table td {
    padding: 13px 16px;
    border: 1px solid rgba(18, 44, 52, 0.08);
    color: #4a6070;
    vertical-align: top;
    line-height: 1.6;
}

.cookie-table tr:hover td { background: rgba(0, 176, 240, 0.03); }


/* ══════════════════════════════════════════
   5. CATEGORY BADGES  (cookie-policy.php only)
══════════════════════════════════════════ */
.cat-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.cat-essential   { background: rgba(0,176,240,0.1);   color: #00b0f0; border: 1px solid rgba(0,176,240,0.25); }
.cat-security    { background: rgba(255,170,85,0.1);  color: #e08800; border: 1px solid rgba(255,170,85,0.25); }
.cat-analytics   { background: rgba(120,80,220,0.1);  color: #7850dc; border: 1px solid rgba(120,80,220,0.25); }
.cat-preferences { background: rgba(0,200,140,0.1);   color: #009966; border: 1px solid rgba(0,200,140,0.25); }


/* ══════════════════════════════════════════
   6. INLINE CTA BUTTON
══════════════════════════════════════════ */
.policy-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 176, 240, 0.08);
    color: #00b0f0;
    border: 1px solid rgba(0, 176, 240, 0.25);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none !important;
}

.policy-inline-btn:hover {
    background: rgba(0, 176, 240, 0.16);
    text-decoration: none !important;
}


/* ══════════════════════════════════════════
   7. BROWSER LINK LIST  (cookie-policy.php only)
══════════════════════════════════════════ */
.browser-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.browser-list li { border-left-color: rgba(0, 176, 240, 0.4) !important; }


/* ══════════════════════════════════════════
   8. COOKIE POLICY SPECIFICS
══════════════════════════════════════════ */
.browser-note { margin-top: 20px; }


/* ══════════════════════════════════════════
   9. RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 767px) {
    .policy-card { padding: 28px 22px; }

    .cookie-table { font-size: 0.78rem; }
    .cookie-table th,
    .cookie-table td { padding: 10px; }

    .browser-list { grid-template-columns: 1fr; }
}