/* =============================================
   PRIVACY.CSS — Privacy Policy Page
   WCAG 2.1 AA + SEBI Compliant
   ============================================= */

.page-hero {
    background: #1a1a2e;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    border-bottom: 3px solid #c45000;
}
.page-hero-container { max-width: 700px; margin: 0 auto; }
.page-hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fe9a4f;
    margin-bottom: 0.75rem;
}
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.page-hero-subtitle {
    font-size: 1.05rem;
    color: #b8bdd0;
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 1rem;
}
.privacy-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #9aa0b8;
    margin-top: 0.5rem;
}

/* ---- Layout ---- */
.privacy-wrap {
    background: #f7f7fb;
    padding: 3rem 1.5rem 5rem;
}
.privacy-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
}

/* ---- Sidebar ---- */
.privacy-sidebar {
    background: #ffffff;
    border: 1px solid #e0e0ec;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 88px;
}
.privacy-sidebar-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 1rem;
}
.privacy-toc {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.privacy-toc-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    border-left: 2px solid transparent;
}
.privacy-toc-link:hover,
.privacy-toc-link:focus-visible {
    background: rgba(196, 80, 0, 0.06);
    color: #c45000;
    border-left-color: #c45000;
}

/* ---- Main Content ---- */
.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Notice box */
.privacy-notice {
    background: #fff8f2;
    border: 1px solid #f5cba7;
    border-left: 4px solid #c45000;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.privacy-notice p {
    font-size: 0.88rem;
    color: #5a3000;
    line-height: 1.6;
    margin: 0;
}

/* ---- Section ---- */
.privacy-section {
    background: #ffffff;
    border: 1px solid #e0e0ec;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 96px;
}

.privacy-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #f0f0f5;
}

.privacy-section-icon {
    width: 36px;
    height: 36px;
    background: rgba(196, 80, 0, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.privacy-body p {
    font-size: 0.92rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.privacy-body p:last-child { margin-bottom: 0; }

/* ---- Cookie Type Grid ---- */
.cookie-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}
.cookie-type-card {
    background: #f7f7fb;
    border: 1px solid #e0e0ec;
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
}
.cookie-type-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.cookie-type-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.cookie-type-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a2e;
}
.cookie-type-desc {
    font-size: 0.84rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* ---- Two Col Cards ---- */
.privacy-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1rem;
}
.privacy-col-card {
    background: #f7f7fb;
    border: 1px solid #e0e0ec;
    border-radius: 10px;
    padding: 1.25rem;
}
.privacy-col-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.6rem;
}
.privacy-col-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    margin: 0 !important;
}

/* ---- Cookie Table ---- */
.cookie-table-wrap {
    overflow-x: auto;
    margin-top: 1.25rem;
    border-radius: 10px;
    border: 1px solid #e0e0ec;
}
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.cookie-table th {
    background: #f0f0f8;
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e0e0ec;
    white-space: nowrap;
}
.cookie-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f0f5;
    color: #333;
    vertical-align: top;
    line-height: 1.55;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: #fafafa; }
.cookie-name {
    background: #f0f0f8;
    color: #1a1a2e;
    font-family: monospace;
    font-size: 0.82rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}
.cookie-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* ---- Browser Links ---- */
.browser-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.browser-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #f7f7fb;
    border: 1px solid #e0e0ec;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.browser-link:hover,
.browser-link:focus-visible {
    border-color: #c45000;
    background: #fff8f2;
}
.browser-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff3e8;
    color: #9a3d00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.browser-link-name {
    display: block;
    font-size: 0.88rem;
    color: #1a1a2e;
    font-weight: 600;
}
.browser-link-url {
    font-size: 0.78rem;
    color: #888;
}

/* ---- Contact Box ---- */
.privacy-contact-box {
    background: #f7f7fb;
    border: 1px solid #e0e0ec;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}
.privacy-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.9rem;
    color: #333;
}
.privacy-contact-row:last-child { margin-bottom: 0; }
.privacy-contact-row a {
    color: #c45000;
    text-decoration: none;
    font-weight: 500;
}
.privacy-contact-row a:hover,
.privacy-contact-row a:focus-visible {
    text-decoration: underline;
}
.privacy-contact-btn {
    display: inline-block;
    background: #c45000;
    color: #ffffff !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: background 0.2s;
}
.privacy-contact-btn:hover,
.privacy-contact-btn:focus-visible {
    background: #a03d00;
    text-decoration: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .privacy-container { grid-template-columns: 1fr; }
    .privacy-sidebar { position: static; }
    .cookie-type-grid { grid-template-columns: 1fr; }
    .privacy-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .privacy-section { padding: 1.25rem; }
    .privacy-wrap { padding: 2rem 1rem 4rem; }
}
