/* ============================================
   PAGES.CSS - Common styles for all inner pages
   Version: 1.0
   ============================================ */

/* ---------- Hero Section Variants ---------- */
.hero-cinematic {
    position: relative;
    overflow: hidden;
}

.hero-cinematic .hero-bg {
    opacity: 0.3;
}

/* Hero padding variants */
.hero-page {
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-page-lg {
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Hero title sizes */
.hero-title-md {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-title-lg {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero-subtitle-md {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-subtitle-lg {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* ---------- Section Spacing ---------- */
.section-pad {
    padding: 60px 0 80px;
}

.section-pad-lg {
    padding: 100px 0;
}

/* ---------- Section Header ---------- */
.section-header {
    margin-bottom: 50px;
}

/* ---------- Card Glass Padding Variants ---------- */
.card-glass-sm {
    padding: 25px;
}

.card-glass-md {
    padding: 30px;
}

.card-glass-lg {
    padding: 32px;
}

.card-glass-xl {
    padding: 50px;
}

/* ---------- Sticky Sidebar ---------- */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}

/* ---------- Green Highlight Box (Steps, Features) ---------- */
.highlight-box {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.highlight-box:last-child {
    margin-bottom: 0;
}

.highlight-box h4,
.highlight-box h5 {
    color: #10b981;
    margin-bottom: 10px;
}

.highlight-box p {
    color: #a0aec0;
    margin-bottom: 0;
    line-height: 1.75;
}

/* Step variant with bottom margin 20px */
.highlight-box-step {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.highlight-box-step:last-child {
    margin-bottom: 0;
}

.highlight-box-step h4 {
    color: #10b981;
    margin-bottom: 10px;
}

.highlight-box-step p {
    color: #a0aec0;
    margin-bottom: 0;
    line-height: 1.75;
}

/* ---------- Feature Grid Box ---------- */
.feature-box {
    background: rgba(16, 185, 129, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.feature-box h5 {
    color: #10b981;
    margin-bottom: 10px;
}

.feature-box p {
    color: #a0aec0;
    margin-bottom: 0;
    line-height: 1.75;
}

/* ---------- CTA Gradient Box ---------- */
.cta-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.15));
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.cta-box h3 {
    margin-bottom: 10px;
    color: #ffffff;
}

.cta-box p {
    margin-bottom: 20px;
    color: #a0aec0;
}

/* ---------- Content Typography ---------- */
.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    margin-bottom: 20px;
    color: #10b981;
}

.content-section h3 {
    color: #10b981;
    margin-bottom: 15px;
}

.content-section h4 {
    color: #a0aec0;
    margin-top: 20px;
    margin-bottom: 10px;
}

.content-section h5 {
    color: #10b981;
    margin-bottom: 10px;
}

.content-section p {
    color: #a0aec0;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    color: #a0aec0;
    line-height: 1.8;
}

.content-section li {
    margin-bottom: 8px;
}

/* ---------- FAQ Items ---------- */
.faq-item {
    margin-bottom: 20px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h5 {
    color: #10b981;
    margin-bottom: 10px;
}

.faq-item p {
    color: #a0aec0;
    margin-bottom: 0;
    line-height: 1.75;
}

/* ---------- Comparison Table ---------- */
.table-glass {
    width: 100%;
    color: #a0aec0;
    border-collapse: collapse;
}

.table-glass thead tr {
    border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.table-glass th {
    padding: 15px;
    text-align: left;
    color: #ffffff;
}

.table-glass th.center {
    text-align: center;
}

.table-glass th.highlight {
    color: #10b981;
}

.table-glass tbody tr {
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.table-glass tbody tr:last-child {
    border-bottom: none;
}

.table-glass td {
    padding: 12px 15px;
}

.table-glass td.center {
    text-align: center;
}

.table-glass .check-icon {
    color: #10b981;
    font-size: 1.2rem;
}

/* Simple border table (online player page) */
.table-simple {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table-simple th {
    padding: 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(16, 185, 129, 0.1);
    color: #ffffff;
}

.table-simple td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
}

.table-simple tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

/* ---------- Sidebar Lists ---------- */
.sidebar-list {
    list-style: none;
    padding: 0;
    color: #a0aec0;
}

.sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.sidebar-list li:last-child {
    border-bottom: none;
}

.sidebar-list.check-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-list.check-list li:last-child {
    border-bottom: none;
}

.sidebar-list.check-list i {
    color: #10b981;
    margin-right: 10px;
}

/* ---------- Sidebar Card Heading ---------- */
.sidebar-heading {
    color: #10b981;
    margin-bottom: 15px;
}

.sidebar-heading-lg {
    color: #10b981;
    margin-bottom: 20px;
}

/* ---------- Sidebar Links ---------- */
.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li a {
    color: #10b981;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.sidebar-links li a:hover {
    color: #34d399;
}

/* ---------- CTA Button in Sidebar ---------- */
.btn-sidebar {
    display: block;
    background: #10b981;
    color: #000000;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.btn-sidebar:hover {
    background: #34d399;
    color: #000000;
}

/* ---------- Blog Card ---------- */
.blog-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-icon {
    margin-bottom: 16px;
    font-size: 2.5rem;
    color: #10b981;
}

.blog-card-tag {
    color: #10b981;
    font-size: 0.8rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    display: block;
}

.blog-card-title {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card-body {
    color: #a0aec0;
    line-height: 1.75;
    flex: 1;
    font-size: 0.93rem;
}

.blog-card-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.blog-card-link:hover {
    color: #34d399;
}

/* ---------- Table of Contents ---------- */
.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li a {
    color: #a0aec0;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.toc-list li a:hover {
    color: #10b981;
}

.toc-list li a i {
    margin-right: 8px;
}

/* ---------- Contact Page ---------- */
.contact-card {
    padding: 50px;
    text-align: center;
}

.contact-icon {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 30px;
}

.contact-title {
    color: #ffffff;
    margin-bottom: 30px;
}

.contact-desc {
    color: #a0aec0;
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-email {
    display: inline-block;
    color: #10b981;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 30px;
    border: 2px solid #10b981;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: #10b981;
    color: #000000;
}

/* ---------- Legal / Policy Pages ---------- */
.legal-section {
    margin-bottom: 30px;
}

.legal-section h3 {
    color: #10b981;
    margin-bottom: 15px;
}

.legal-section p {
    color: #a0aec0;
    line-height: 1.8;
}

.legal-section ul {
    padding-left: 20px;
    color: #a0aec0;
    line-height: 1.8;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-highlight {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 20px;
    border-radius: 8px;
}

.legal-highlight p {
    margin: 0;
    color: #a0aec0;
}

.legal-updated {
    color: #a0aec0;
}

.legal-note {
    background: rgba(16, 185, 129, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    color: #a0aec0;
}

/* ---------- Code Inline ---------- */
code.inline-code {
    background: #1a1a1a;
    padding: 5px 10px;
    border-radius: 4px;
    color: #10b981;
}

/* ---------- Hero Center Text ---------- */
.hero-center {
    text-align: center;
}

.hero-desc {
    text-align: center;
    color: #a0aec0;
    font-size: 1rem;
}

/* ---------- Scroll Reveal ---------- */
.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .sidebar-sticky {
        position: static;
        margin-top: 20px;
    }

    .hero-title-md {
        font-size: 2rem;
    }

    .hero-title-lg {
        font-size: 2.2rem;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-email {
        font-size: 1rem;
        padding: 12px 20px;
        word-break: break-all;
    }
}

@media (max-width: 767px) {
    .section-pad {
        padding: 40px 0 60px;
    }

    .section-pad-lg {
        padding: 60px 0;
    }

    .hero-title-md {
        font-size: 1.7rem;
    }

    .hero-title-lg {
        font-size: 1.8rem;
    }

    .hero-subtitle-md,
    .hero-subtitle-lg {
        font-size: 0.95rem;
    }

    .card-glass-md,
    .card-glass-lg,
    .card-glass-xl {
        padding: 20px;
    }

    .blog-card {
        padding: 22px;
    }

    .table-glass th,
    .table-glass td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}