/* ==========================================================================
   Pages Styles (About, Contact, Legal/Privacy/Terms) - Responsive
   ========================================================================== */

/* Page Hero */
.page-hero {
    background-color: #f3f4f6;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.page-hero h1 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 6px;
}
.page-hero p {
    color: #6b7280;
    font-size: 15px;
}

/* About Us Layout */
.about-story-section {
    padding: 60px 0;
}
.story-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}
.story-text h2 {
    font-size: 26px;
    margin-bottom: 16px;
}
.story-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 16px;
}
.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-box {
    background: #f9fafb;
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}
.highlight-box h3 {
    font-size: 32px;
    color: var(--primary-color, #2563eb);
    margin-bottom: 4px;
}
.highlight-box p {
    font-size: 14px;
    color: #6b7280;
}

/* Four Pillars Grid */
.pillars-section {
    background-color: #f9fafb;
    padding: 60px 0;
    border-top: 1px solid var(--border-color, #e5e7eb);
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pillar-item {
    background: #ffffff;
    border: 1px solid var(--border-color, #e5e7eb);
    padding: 24px;
    border-radius: 8px;
}
.pillar-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
}
.pillar-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}
.text-center { text-align: center; }
.mb-40 { margin-bottom: 40px; }

/* Contact Us Layout */
.contact-section {
    padding: 60px 0;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}
.contact-info-panel {
    background-color: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e5e7eb);
}
.contact-info-panel h2 {
    font-size: 22px;
    margin-bottom: 8px;
}
.contact-info-panel > p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
}
.info-block {
    margin-bottom: 20px;
}
.info-block strong {
    display: block;
    font-size: 14px;
    color: #111827;
    margin-bottom: 4px;
}
.info-block p, .info-block a {
    font-size: 15px;
    color: #4b5563;
}

/* Contact Form */
.contact-form-panel h2 {
    font-size: 22px;
    margin-bottom: 20px;
}
.custom-contact-form .form-group {
    margin-bottom: 18px;
}
.custom-contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}
.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}
.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color, #2563eb);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Legal & Policy Pages (Privacy / Terms) */
.standard-page-wrapper {
    padding: 60px 0;
}
/* .policy-card {
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
} */
.policy-header {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
    padding-bottom: 20px;
    margin-bottom: 30px;
}
.policy-title {
    font-size: 32px;
    color: #111827;
}
.policy-updated {
    font-size: 13px;
    color: #9ca3af;
}
.policy-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}
.policy-body h2, .policy-body h3 {
    color: #111827;
    margin: 30px 0 12px;
}
.policy-body ul, .policy-body ol {
    margin: 15px 0 20px 24px;
}
.policy-body li {
    margin-bottom: 8px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .story-grid, .contact-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1 {
        font-size: 24px;
    }
}

/* ==========================================================================
   Flagship Legal, Policy & Standard Pages Styles (Clean, High-Readability)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Policy Hero Header
   -------------------------------------------------------------------------- */
.policy-hero-section {
    background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
    color: #ffffff;
    padding: 60px 0 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.policy-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.policy-breadcrumb {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
}
.policy-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}
.policy-breadcrumb a:hover {
    color: #ffffff;
}
.policy-badge-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.policy-status-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 999px;
}
.policy-update-date {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}
.policy-hero-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.6px;
    color: #ffffff;
    margin-bottom: 14px;
}
.policy-hero-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0 0 28px 0;
}

/* Core Promise Card */
.policy-core-promise-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    backdrop-filter: blur(8px);
}
.promise-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
.promise-text strong {
    display: block;
    font-size: 13px;
    color: #38bdf8;
    margin-bottom: 2px;
}
.promise-text span {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   2. Main Two-Column Layout (TOC Sidebar + Content)
   -------------------------------------------------------------------------- */
.policy-content-section {
    padding: 60px 0 90px;
    background-color: #f8fafc;
}
.policy-split-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: flex-start;
    max-width: 1140px;
    margin: 0 auto;
}

/* Left Sticky Sidebar */
.policy-sticky-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.policy-toc-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.toc-micro-heading {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-color, #2563eb);
    display: block;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.toc-anchor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toc-anchor-list a {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.4;
    display: block;
}
.toc-anchor-list a:hover {
    color: var(--primary-color, #2563eb);
    transform: translateX(4px);
}

.policy-support-quick-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}
.policy-support-quick-card strong {
    display: block;
    font-size: 13px;
    color: #1e3a8a;
    margin-bottom: 4px;
}
.policy-support-quick-card p {
    font-size: 12px;
    color: #3b82f6;
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.quick-email-btn {
    display: block;
    background: var(--primary-color, #2563eb);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    word-break: break-all;
}
.quick-email-btn:hover {
    background: #1d4ed8;
}

/* --------------------------------------------------------------------------
   3. Right Article Body Typography & Cards
   -------------------------------------------------------------------------- */
.policy-article-body {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 44px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.policy-section {
    margin-bottom: 45px;
    padding-bottom: 35px;
    border-bottom: 1px solid #f1f5f9;
}
.policy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.policy-section h2 {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 16px 0;
    letter-spacing: -0.4px;
}
.policy-section p {
    font-size: 15px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 16px;
}

/* Data Types Grid */
.data-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.data-type-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 16px;
}
.data-type-card h4 {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.data-type-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Bullet List */
.policy-bullet-list {
    margin: 16px 0 20px;
    padding-left: 20px;
}
.policy-bullet-list li {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 8px;
}

/* Security Callout Card */
.policy-callout-card {
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 24px 0;
}
.callout-security {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.callout-icon {
    font-size: 24px;
    flex-shrink: 0;
}
.callout-content h4 {
    font-size: 15px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0 0 4px 0;
}
.callout-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #1e40af;
    margin: 0;
}

/* Grievance Card */
.grievance-contact-card {
    background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 30px;
    color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
}
.officer-head {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 12px;
}
.officer-badge {
    font-size: 10px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 4px;
}
.officer-head h3 {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}
.officer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.detail-row {
    font-size: 14px;
    line-height: 1.5;
}
.detail-row strong {
    color: #94a3b8;
    display: inline-block;
    min-width: 190px;
}
.detail-row a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
}
.detail-row a:hover {
    text-decoration: underline;
}
.detail-row span {
    color: #f1f5f9;
}

/* --------------------------------------------------------------------------
   4. Mobile Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .policy-split-grid {
        grid-template-columns: 1fr;
    }
    .policy-sticky-sidebar {
        position: static;
    }
    .data-types-grid {
        grid-template-columns: 1fr;
    }
    .policy-article-body {
        padding: 30px 22px;
    }
}

@media (max-width: 640px) {
    .policy-hero-title {
        font-size: 26px;
    }
    .policy-hero-desc {
        font-size: 14px;
    }
    .detail-row strong {
        display: block;
        min-width: unset;
        margin-bottom: 2px;
    }
    .grievance-contact-card {
        padding: 22px 18px;
    }
}

/* ==========================================================================
   Shipping & Delivery Specific Timeline Table & Badges
   ========================================================================== */
.shipping-table-wrap {
    overflow-x: auto;
    margin: 20px 0 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.shipping-timeline-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
    font-size: 14px;
}

.shipping-timeline-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 2px solid #e2e8f0;
}

.shipping-timeline-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.shipping-timeline-table tr:last-child td {
    border-bottom: none;
}

/* Delivery Status Pills */
.delivery-pill-fast {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
    white-space: nowrap;
}

.delivery-pill-standard {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #bfdbfe;
    white-space: nowrap;
}

.delivery-pill-remote {
    display: inline-block;
    background: #fefce8;
    color: #ca8a04;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #fef08a;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .shipping-timeline-table th, 
    .shipping-timeline-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}