/* ═══════════════════════════════
   INTERNAL PAGES STYLES
   For Policy, FAQ, and other internal pages
═══════════════════════════════ */

/* Page Hero for Internal Pages */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(155,109,255,.12) 0%, transparent 68%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: var(--font-d);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}

.page-hero .page-subtitle {
    color: var(--text-soft);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

.page-hero .last-updated {
    display: inline-block;
    margin-top: 1.5rem;
    padding: .5rem 1rem;
    background: rgba(155,109,255,.1);
    border: 1px solid rgba(155,109,255,.25);
    border-radius: 50px;
    font-size: .8rem;
    color: var(--accent);
    font-weight: 600;
}

/* Policy Content Container */
.policy-content {
    padding: 0 0 100px;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Policy Card */
.policy-card {
    background: rgba(8,6,22,.75);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 3rem;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 640px) {
    .policy-card {
        padding: 1.5rem;
        border-radius: var(--r-lg);
    }
}

/* Policy Typography */
.policy-card h2 {
    font-family: var(--font-d);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.policy-card h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.policy-card h3 {
    font-family: var(--font-d);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5rem 0 .75rem;
}

.policy-card h4 {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.25rem 0 .5rem;
}

.policy-card p {
    color: var(--text-soft);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.policy-card ul,
.policy-card ol {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.policy-card li {
    color: var(--text-soft);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: .5rem;
}

.policy-card ul li {
    list-style-type: disc;
}

.policy-card ol li {
    list-style-type: decimal;
}

.policy-card a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s;
}

.policy-card a:hover {
    color: var(--purple-light);
    text-decoration: underline;
}

.policy-card strong {
    color: var(--text);
    font-weight: 600;
}

/* Policy Table */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .9rem;
}

.policy-table th,
.policy-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border);
}

.policy-table th {
    background: rgba(155,109,255,.1);
    color: var(--text);
    font-weight: 600;
}

.policy-table td {
    color: var(--text-soft);
}

.policy-table tr:hover td {
    background: rgba(255,255,255,.02);
}

/* Highlight Box */
.highlight-box {
    background: rgba(155,109,255,.08);
    border: 1px solid rgba(155,109,255,.25);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--text);
}

/* Warning Box */
.warning-box {
    background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.25);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.warning-box p {
    margin-bottom: 0;
    color: var(--amber);
}

/* ═══════════════════════════════
   FAQ PAGE STYLES
═══════════════════════════════ */

.faq-page-section {
    padding: 0 0 100px;
}

.faq-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .faq-page-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* FAQ Sidebar / Tabs */
.faq-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(8,6,22,.75);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 900px) {
    .faq-sidebar {
        position: relative;
        top: auto;
    }
}

.faq-sidebar h3 {
    font-family: var(--font-d);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

.faq-tabs {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.faq-tab {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    color: var(--text-soft);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s;
    text-align: left;
}

.faq-tab:hover {
    background: rgba(255,255,255,.04);
    color: var(--text);
}

.faq-tab.active {
    background: rgba(155,109,255,.12);
    border-color: rgba(155,109,255,.3);
    color: var(--accent);
}

.faq-tab-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: .7;
}

.faq-tab.active .faq-tab-icon {
    opacity: 1;
}

/* FAQ Main Content */
.faq-main {
    background: rgba(8,6,22,.75);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2rem;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 640px) {
    .faq-main {
        padding: 1.25rem;
    }
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.faq-category-title {
    font-family: var(--font-d);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.faq-category-title span {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Accordion Items */
.faq-accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    background: rgba(10,8,26,.65);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color .25s;
}

.faq-accordion-item.active {
    border-color: rgba(155,109,255,.3);
}

.faq-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text);
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color .2s;
}

.faq-accordion-btn:hover {
    color: var(--accent);
}

.faq-accordion-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(155,109,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s, background .3s;
    color: var(--accent);
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 300;
}

.faq-accordion-item.active .faq-accordion-icon {
    transform: rotate(45deg);
    background: rgba(155,109,255,.25);
}

.faq-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    padding: 0 1.5rem;
}

.faq-accordion-item.active .faq-accordion-content {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-accordion-content p {
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: .75rem;
}

.faq-accordion-content p:last-child {
    margin-bottom: 0;
}

.faq-accordion-content ul {
    margin: .75rem 0;
    padding-left: 1.25rem;
}

.faq-accordion-content li {
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: .35rem;
    list-style-type: disc;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .85rem;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--muted);
}

.breadcrumb .current {
    color: var(--text-soft);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--grad);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    box-shadow: 0 0 28px rgba(155,109,255,.35);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 44px rgba(155,109,255,.55);
}

/* Table of Contents */
.toc {
    background: rgba(155,109,255,.05);
    border: 1px solid rgba(155,109,255,.2);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.toc h4 {
    font-family: var(--font-d);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.toc ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.toc li {
    margin-bottom: .5rem;
}

.toc a {
    color: var(--text-soft);
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.toc a::before {
    content: '→';
    color: var(--accent);
    font-size: .75rem;
}

.toc a:hover {
    color: var(--accent);
}

/* Contact Info Box */
.contact-info-box {
    background: rgba(155,109,255,.08);
    border: 1px solid rgba(155,109,255,.25);
    border-radius: var(--r-md);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.contact-info-box h4 {
    font-family: var(--font-d);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .75rem;
}

.contact-info-box p {
    margin-bottom: .5rem;
}

.contact-info-box a {
    color: var(--accent);
    font-weight: 600;
}

/* Responsive Table Wrapper */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.table-responsive table {
    min-width: 600px;
}

/* Country List Grid */
.country-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5rem;
    margin: 1rem 0;
}

.country-list li {
    list-style: none;
    padding: .5rem .75rem;
    background: rgba(255,255,255,.03);
    border-radius: var(--r-sm);
    font-size: .85rem;
}
