/* ===== POLICY PAGES - CLEAN & MINIMALIST DESIGN ===== */

/* --- Hero Section --- */
.policy-hero {
    background: linear-gradient(135deg, #2a2a2e 0%, #1a1a1a 100%);
    border-top: 4px solid #FFD700;
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23FFD700"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.policy-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px;
    position: relative;
    color: #F0F2F5;
}

.policy-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.6;
    color: #a0a7b0;
}

.policy-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.policy-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-meta-item svg {
    width: 18px;
    height: 18px;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 20px 0;
    background: #2a2a2e;
    border-bottom: 1px solid #404245;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #a0a7b0;
}

.breadcrumb-nav a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-nav a:hover {
    color: #E6C300;
}

.breadcrumb-separator {
    color: #a0a7b0;
}

/* --- Main Layout --- */
.policy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 0;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .policy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Sidebar & TOC --- */
.policy-sidebar {
    position: relative;
}

.toc-wrapper {
    background: #2a2a2e;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #404245;
}

.toc-wrapper.sticky {
    position: sticky;
    top: 120px;
}

.toc-wrapper h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toc-nav a {
    display: block;
    padding: 10px 15px;
    color: #a0a7b0;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    position: relative;
    border-left: 3px solid transparent;
}

.toc-nav a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    border-left-color: #FFD700;
}

.toc-nav a.active {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    font-weight: 500;
    border-left-color: #FFD700;
}

/* Mobile TOC */
@media (max-width: 992px) {
    .toc-wrapper.sticky {
        position: relative;
        top: 0;
    }
    
    .toc-mobile-toggle {
        width: 100%;
        padding: 15px;
        background: #FFD700;
        color: #1a1a1a;
        border: none;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }
    
    .toc-wrapper h3 {
        display: none;
    }
    
    .toc-nav {
        display: none;
    }
    
    .toc-nav.open {
        display: flex;
    }
}

@media (min-width: 993px) {
    .toc-mobile-toggle {
        display: none !important;
    }
}

/* --- Policy Body --- */
.policy-body {
    max-width: 900px;
}

.policy-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #F0F2F5;
    margin: 50px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #404245;
    scroll-margin-top: 100px;
}

.policy-body h2:first-child {
    margin-top: 0;
}

.policy-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #F0F2F5;
    margin: 30px 0 15px;
    scroll-margin-top: 100px;
}

.policy-body p {
    line-height: 1.8;
    color: #F0F2F5;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.policy-body ul,
.policy-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.policy-body li {
    line-height: 1.8;
    color: #F0F2F5;
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.policy-body a {
    color: #FFD700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.policy-body a:hover {
    border-bottom-color: #FFD700;
}

/* --- Section with Icon --- */
.section-with-icon {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #E6C300 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #1a1a1a;
}

.section-content {
    flex: 1;
}

/* --- Callout Boxes --- */
.callout {
    padding: 20px 20px 20px 60px;
    border-radius: 8px;
    margin: 25px 0;
    position: relative;
    line-height: 1.7;
    color: #F0F2F5;
}

.callout::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
}

.callout p {
    color: #F0F2F5;
}

.callout li {
    color: #F0F2F5;
}

.callout a {
    color: #FFD700;
    text-decoration: underline;
}

.callout-info {
    background: rgba(51, 154, 240, 0.15);
    border-left: 4px solid #339af0;
}

.callout-info::before {
    content: '💡';
    font-size: 24px;
}

.callout-warning {
    background: rgba(252, 196, 25, 0.15);
    border-left: 4px solid #fcc419;
}

.callout-warning::before {
    content: '⚠️';
    font-size: 24px;
}

.callout-success {
    background: rgba(81, 207, 102, 0.15);
    border-left: 4px solid #51cf66;
}

.callout-success::before {
    content: '✅';
    font-size: 24px;
}

.callout-danger {
    background: rgba(255, 107, 107, 0.15);
    border-left: 4px solid #ff6b6b;
}

.callout-danger::before {
    content: '❌';
    font-size: 24px;
}

.callout strong {
    color: #FFD700;
    font-weight: 600;
}

/* --- Accordion (DISABLED) --- */
/* Accordions removed per user request - content displayed as plain text */
/*
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 18px 50px 18px 20px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 500;
    color: #212529;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
    display: flex;
    align-items: center;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content-inner {
    padding: 20px;
    background: white;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}
*/

/* Accordion items now display as plain text */
.accordion-item {
    margin-bottom: 25px;
}

.accordion-header {
    /* Reset default button styles */
    background: transparent;
    border: none;
    padding: 0;
    cursor: text;
    text-align: left;
    width: 100%;
    
    /* Heading styles */
    font-size: 1.15rem;
    font-weight: 600;
    color: #F0F2F5;
    margin: 20px 0 12px;
    display: block;
    font-family: inherit;
}

.accordion-content {
    display: block;
}

.accordion-content-inner {
    margin-left: 0;
}

/* --- Company Info Box --- */
.company-info-box {
    background: #2a2a2e;
    border: 1px solid #404245;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
}

.company-info-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFD700;
    margin: 0 0 20px;
}

.company-info-box p {
    margin: 8px 0;
    color: #F0F2F5;
    font-size: 0.95rem;
}

.company-info-box strong {
    color: #FFD700;
    font-weight: 600;
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFD700 0%, #E6C300 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* --- Divider --- */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #404245, transparent);
    margin: 40px 0;
}

/* --- Tables --- */
.policy-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95rem;
    background: #2a2a2e;
    border: 1px solid #404245;
    border-radius: 8px;
    overflow: hidden;
}

.policy-body thead tr {
    background: rgba(255, 215, 0, 0.1);
    border-bottom: 2px solid #FFD700;
}

.policy-body th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #FFD700;
}

.policy-body tbody tr {
    border-bottom: 1px solid #404245;
}

.policy-body tbody tr:last-child {
    border-bottom: none;
}

.policy-body td {
    padding: 12px;
    color: #F0F2F5;
}

.policy-body td code {
    background: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.policy-body td strong {
    color: #FFD700;
}

.policy-body td em {
    color: #a0a7b0;
    font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .policy-hero {
        padding: 60px 0 40px;
    }
    
    .policy-hero h1 {
        font-size: 2rem;
    }
    
    .policy-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .policy-layout {
        padding: 40px 0;
    }
    
    .policy-body h2 {
        font-size: 1.5rem;
    }
    
    .policy-body h3 {
        font-size: 1.15rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

