/* =================================================================
   APK CONTENT SECTIONS STYLING V2 (Matches Reference Image)
   ================================================================= */

/* --- 1. Main Section Box (White Card with Shadow) --- */
.apk-content-section {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden; /* Taake andar ka content bahar na nikle */
}

/* --- 2. Section Title (with Gold Underline) --- */
.section-title-apk {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    padding: 20px 25px;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}
.section-title-apk::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25px;
    width: 60px;
    height: 2px;
    background-color: #f59e0b; /* Gold */
}

/* --- 3. General Content Area --- */
.section-content-apk {
    padding: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
}
.section-content-apk p { margin-top: 0; }

/* --- 4. Data Table Styling (Final Version) --- */
.data-table-apk {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden; /* Zaroori hai taake rounded corners kaam karein */
}

.data-table-apk th,
.data-table-apk td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

/* Table Header (Agar use ho to) */
.data-table-apk thead th {
    background-color: #f8fafc;
    font-weight: 700;
    color: #334155;
    font-size: 14px;
    text-transform: uppercase;
}

/* Table Body */
.data-table-apk tbody tr:last-child td {
    border-bottom: none;
}

/* Zebra Striping */
.data-table-apk tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.data-table-apk td:first-child {
    font-weight: 600;
    color: #334155;
    width: 40%;
}

.data-table-apk td:last-child {
    font-weight: 500;
    color: #0f172a;
    text-align: right;
}

/* --- 5. Special Section Designs --- */

/* Warning Box */
.apk-warning-box {
    background-color: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 20px;
    border-radius: 0 8px 8px 0;
}
.apk-warning-box p { color: #991b1b; margin: 0; }

/* Pros & Cons */
.pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pros-column, .cons-column { padding: 20px; border-radius: 8px; }
.pros-column { background-color: #f0fdf4; border: 1px solid #bbf7d0; }
.cons-column { background-color: #fef2f2; border: 1px solid #fecaca; }
.pros-column h3, .cons-column h3 {
    font-family: 'Outfit', sans-serif; font-size: 18px; margin-top: 0;
    display: flex; align-items: center; gap: 8px;
}
.pros-column h3 { color: #166534; }
.cons-column h3 { color: #991b1b; }
.pros-column ul, .cons-column ul { list-style: none; padding-left: 0; margin: 0; }
.pros-column ul li::before { content: '\f058'; color: #166534; } /* Green Check */
.cons-column ul li::before { content: '\f057'; color: #991b1b; } /* Red Cross */
.pros-cons-container ul li { padding-left: 25px; position: relative; margin-bottom: 10px; }
.pros-cons-container ul li::before {
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 2px;
}

/* Screenshots Gallery */
.screenshots-gallery {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px;
}
.screenshots-gallery img {
    width: 100%; height: auto; border-radius: 8px; border: 1px solid #e2e8f0;
}

/* --- 6. Table of Contents (TOC) Styling --- */
.pg-toc-container {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
    margin-bottom: 30px; box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.pg-toc-header {
    cursor: pointer; user-select: none; padding: 15px 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.pg-toc-header .section-title {
    font-size: 18px; font-weight: 700; margin: 0; color: #1e293b;
}
.pg-toc-toggle {
    font-size: 18px; background: #f1f5f9; border: none; border-radius: 50%;
    width: 30px; height: 30px; display: flex; align-items: center;
    justify-content: center; color: #334155; transition: transform 0.3s ease;
}
.pg-toc-container.is-open .pg-toc-toggle { transform: rotate(45deg); }
.pg-toc-content {
    display: none; border-top: 1px solid #e2e8f0; padding: 15px 20px;
}
.pg-toc-list { margin: 0; padding-left: 15px; }
.pg-toc-list li { margin-bottom: 8px; }
.pg-toc-list a {
    text-decoration: none; color: #334155; font-size: 15px; font-weight: 500;
}
.pg-toc-list a:hover { color: #2563eb; }

/* Responsive */
@media (max-width: 767px) {
    .pros-cons-container { grid-template-columns: 1fr; }
}

.apk-sections-area {
    display: flex;
    flex-direction: column;
    gap: 20px; 
}