/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #cc972e;
    /* Zenna Green */
    --primary-hover: #27ae60;
    --dark-bg: #112130;
    /* Zenna Dark Blue */
    --text-main: #2ecc71;
    --text-muted: #ffffff;
    --border-color: #e1e5ea;
    --light-bg: #f9fbfd;
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --gold-icon: #f1c40f;
    --gold-text: #c9b038;

    /* Typography Scale */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-xxl: 2rem;
    --fs-hero: 2.5rem;

    /* Font Weights */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #222222;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: var(--fs-base);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   2. PUBLIC HEADER & NAVIGATION
   ========================================= */
header {
    background: #171717;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Styling */
.logo {
    font-weight: var(--fw-bold);
    font-size: var(--fs-xl);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-text);
}

/* Navigation Links */
.public-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-main);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

/* Header Right Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    background: transparent;
    transition: 0.3s;
}

.theme-toggle:hover {
    background: #f9f9f9;
    color: var(--primary);
}

/* Header Buttons */
.btn-outline {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: #fff;
    border-radius: 6px;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    cursor: pointer;
}

.btn-outline:hover {
    background: #f0fdf4;
}

.btn-filled {
    padding: 9px 20px;
    border: none;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(46, 204, 113, 0.2);
}

.btn-filled:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* =========================================
   3. HERO SECTIONS
   ========================================= */
.hero {
    text-align: center;
    padding: 80px 20px 60px 20px;
    background: #222222;
}

.hero h1 {
    font-size: var(--fs-hero);
    font-weight: var(--fw-bold);
    color: #cc972e;
    margin-bottom: 15px;
}

.hero p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: var(--fs-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Help Page Search Bar */
.search-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    font-size: var(--fs-base);
    outline: none;
    transition: 0.3s;
    background: #fff;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
}

/* =========================================
   4. LAYOUT & GRIDS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title,
.section-heading {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: #2ecc71;
    margin-bottom: 40px;
    margin-top: 60px;
}

.section-heading {
    text-align: center;
}

/* For Features page */

/* Grid Systems */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

/* =========================================
   5. CARDS (Help & Features)
   ========================================= */
/* Generic Card Base */
.card,
.feature-card,
.faq-card {
    background: #4f4e4e;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

/* Category Cards (Help Page) */
.cat-icon {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.cat-title {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    margin-bottom: 10px;
    color: #cc972e;
}

.cat-desc {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* Article Cards (Help Page) */
.article-tag {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.article-link {
    color: var(--primary);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-top: 15px;
}

.article-link:hover {
    gap: 8px;
}

/* Detailed Feature Cards (Features Page) */
.feature-card {
    padding: 35px;
}

.f-icon-box {
    width: 50px;
    height: 50px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    margin-bottom: 25px;
}

.f-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: #cc972e;
    margin-bottom: 15px;
}


.f-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.f-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: var(--fs-sm);
    color: black;
}

.f-list li i {
    color: var(--primary);
    margin-top: 5px;
}

.btn-card {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    background: #fff;
    color: #333;
    font-weight: var(--fw-semibold);
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f9f9f9;
}

/* =========================================
   6. HORIZONTAL FEATURE LIST (Features Page)
   ========================================= */
.mf-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.mf-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #eee;
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    flex-shrink: 0;
}

.mf-content h4 {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    margin-bottom: 5px;
    color: #2ecc71;
}

.mf-content p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* =========================================
   7. FAQ SECTION
   ========================================= */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.faq-header h2 {
    margin: 0;
}

.btn-view-all {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
}

.btn-view-all:hover {
    background: #f8f9fa;
}

.faq-q {
    font-weight: var(--fw-bold);
    color: #2ecc71;
    margin-bottom: 10px;
    font-size: var(--fs-md);
}

.faq-a {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

/* =========================================
   8. CTA SECTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, #313232 0%, #e0f7fa 100%);
    padding: 100px 20px;
    text-align: center;
    margin-top: 100px;
}

.cta-title {
    font-size: var(--fs-xxl);
    font-weight: var(--fw-bold);
    color: #000;
    margin-bottom: 15px;
}

.cta-desc {
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Large Primary CTA Button */
.btn-cta-large {
    padding: 15px 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: var(--fw-bold);
    font-size: var(--fs-base);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-cta-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Secondary CTA Buttons (Help Page) */
.btn-cta {
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-green {
    background: var(--primary);
    color: #fff;
    border: none;
}

.btn-green:hover {
    background: var(--primary-hover);
}

.btn-white {
    background: #fff;
    color: #000;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-white:hover {
    background: #f9f9f9;
}

/* =========================================
   9. FOOTER
   ========================================= */
footer {
    background: #222222;
    padding: 60px 20px 20px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.f-col h4 {
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    margin-bottom: 20px;
    color: #2ecc71;
}

.f-col ul li {
    margin-bottom: 12px;
}

.f-col ul li a {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
}

.f-col ul li a:hover {
    color: var(--primary);
}

.f-desc {
    color: black;
    font-size: var(--fs-sm);
    margin-top: 15px;
    max-width: 300px;
}

.f-desc1 {
    color: #ffffff;
    font-size: var(--fs-sm);
    margin-top: 15px;
    max-width: 300px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #999;
    font-size: var(--fs-lg);
    transition: 0.3s;
}

.social-icons a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: var(--fs-xs);
}

.fb-links {
    display: flex;
    gap: 20px;
}

.fb-links a:hover {
    color: var(--primary);
}

/* =========================================
   11. KNOWLEDGE BASE SPECIFIC STYLES
   ========================================= */

/* Category Navigation (4 icons row) */
.kb-category-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -30px;
    /* Overlap hero slightly or just spacing */
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.kb-cat-btn {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    width: 200px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.kb-cat-btn:hover,
.kb-cat-btn.active {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.kb-cat-icon {
    font-size: var(--fs-xl);
    color: var(--primary);
}

.kb-cat-text {
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: #000;
}

/* Tab Switcher (FAQ / Articles) */
.kb-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.kb-tab-container {
    background: #797878;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    gap: 5px;
}

.kb-tab {
    padding: 10px 60px;
    border-radius: 6px;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
    border: none;
    background: transparent;
}

.kb-tab.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Accordion Styles */
.kb-section-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: #cc972e;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kb-section-title i {
    color: var(--primary);
}

.accordion-item {
    background: #797878;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: var(--fw-semibold);
    font-size: var(--fs-sm);
    color: #000;
    transition: 0.2s;
}

.accordion-header:hover {
    background: #fcfcfc;
}

.accordion-header i {
    color: var(--text-muted);
    transition: 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-muted);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.accordion-item.active .accordion-body {
    padding: 0 20px 20px 20px;
    max-height: 500px;
    /* Arbitrary large height */
}

/* =========================================
   12. ABOUT PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Image Placeholder */
.hero-placeholder {
    max-width: 900px;
    height: 450px;
    margin: 50px auto 0;
    background-color: #f1f3f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dee2e6;
    font-size: 4rem;
}

/* Our Story Section */
.story-section {
    padding: 80px 0;
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-content {
    flex: 1;
}

.story-image-box {
    flex: 1;
    height: 450px;
    background-color: #f1f3f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dee2e6;
    font-size: 3rem;
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    color: #cc972e;
    margin-bottom: 20px;
}

.story-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Mission Section */
.mission-section {
    text-align: center;
    padding: 60px 0;
}

.mission-card {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    background: #fff;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--card-hover-shadow);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 12px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Leadership Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    text-align: center;
}

.team-avatar {
    width: 180px;
    height: 180px;
    background-color: #f1f3f5;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dee2e6;
    font-size: 2rem;
    position: relative;
}

.team-badge {
    position: absolute;
    bottom: 5px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 3px solid #fff;
}

.team-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #cc972e;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Global Presence */
.global-section {
    padding: 60px 0;
}

.global-map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f1f3f5;
    /* Light gray background */
    border-radius: 20px;
    margin-top: 30px;
}

/* Helpful Guides (Bottom Section) */
.guides-section {
    padding: 60px 0;
}

.guide-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.guide-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.guide-desc {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 20px;
    flex-grow: 1;
}

.guide-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-link:hover {
    gap: 8px;
}

/* =========================================
   13. MARKETS PAGE SPECIFIC STYLES
   ========================================= */

/* Hero Market Layout */
.market-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.market-highlights-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.mh-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.mh-title i {
    color: var(--primary);
}

.mh-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.mh-stat-box {
    padding: 15px;
    border-radius: 10px;
    background: #4f4e4e;
}

.mh-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 5px;
    display: block;
}

.mh-value {
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}

.mh-change {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.text-up {
    color: var(--primary);
}

.text-down {
    color: #e74c3c;
}

/* Market Table */
.market-table-container {
    margin-top: 40px;
    background: #fff;
    border-radius: 12px;
}

.table-search-row {
    max-width: 400px;
    margin-bottom: 30px;
    position: relative;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.market-table th {
    text-align: left;
    padding: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid #f0f0f0;
}

.market-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f8f9fa;
    vertical-align: middle;
}

.coin-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-icon-circle {
    width: 32px;
    height: 32px;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: #555;
}

.coin-name-info div {
    font-weight: 700;
    font-size: 0.95rem;
    color: #cc972e;
    line-height: 1;
}

.coin-name-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-val {
    font-weight: 600;
    font-size: 0.95rem;
}

.change-val {
    font-weight: 600;
    font-size: 0.95rem;
}

.vol-val {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-trade-small {
    padding: 6px 18px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-trade-small:hover {
    background: var(--primary);
    color: #fff;
}

/* =========================================
   14. CONTACT PAGE SPECIFIC STYLES
   ========================================= */

/* Contact Info Cards (Top Row) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

.c-icon-box {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.c-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.c-desc {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 15px;
}

.c-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Split Layout (Form & Offices) */
.contact-split-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Contact Form */
.contact-form-container h2,
.offices-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #cc972e;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e5ea;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: 0.3s;
    background: #fff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary-hover);
}

/* Offices List */
.office-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.office-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.office-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.office-addr {
    font-size: 0.9rem;
    color: black;
    line-height: 1.5;
}

/* Contact FAQ */
.contact-faq-section {
    text-align: center;
    padding: 60px 0;
    background: #4f4e4e;
}

.faq-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
    margin-top: 40px;
}

/* =========================================
   15. LANDING PAGE (INDEX) SPECIFIC STYLES
   ========================================= */

/* Split Hero Layout */
.landing-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.landing-hero-content {
    flex: 1;
}

.landing-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
}

.landing-hero-content h1 span {
    color: var(--primary);
}

.landing-hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

.landing-hero-image {
    flex: 1;
}

.landing-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Home Features Grid */
.home-features-section {
    padding: 20px 20px 60px;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.feature-link:hover {
    gap: 8px;
}

.btn-explore-all {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 50px auto 0;
    padding: 12px 30px;
    border: 1px solid #e1e5ea;
    background: #fff;
    border-radius: 6px;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
}

.btn-explore-all:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =========================================
   17. SECURITY PAGE SPECIFIC STYLES
   ========================================= */

/* Security Hero */
.security-hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sh-content {
    flex: 1;
}

.sh-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

.sh-title span {
    color: var(--primary);
}

.sh-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 500px;
}

.sh-image-box {
    flex: 1;
}

.sh-image-box img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Security Cards */
.sec-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    height: 100%;
    transition: 0.3s;
}

.sec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--primary);
}

.sec-icon {
    width: 50px;
    height: 50px;
    background: #f0fdf4;
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sec-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
}

.sec-text {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sec-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    font-weight: 500;
}

.sec-list li i {
    color: var(--primary);
    margin-top: 4px;
}

/* Compliance Section (Split) */
.compliance-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.comp-content {
    flex: 1;
}

.comp-image {
    flex: 1;
}

.comp-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* =========================================
   16. MOBILE APP PAGE SPECIFIC STYLES
   ========================================= */

/* Mobile Hero Section */
.mobile-hero {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 60px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    /* Prevent image overflow */
}

.mh-content {
    flex: 1;
}

.mobile-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
}

.mobile-hero-title span {
    color: var(--gold-text);
}

/* "Pocket" highlighted */

.mh-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.download-btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--primary);
    /* Green */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.btn-download:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.app-stats {
    display: flex;
    gap: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.app-stats i {
    color: var(--primary);
    margin-right: 8px;
}

/* Hero Image (Phone Hand) */
.mh-image-box {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.mh-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* App Features (3 Column) */
.app-features-section {
    padding: 40px 20px;
}

.af-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #f0f0f0;
    /* Very subtle border */
    border-radius: 12px;
    background: #fff;
    transition: 0.3s;
}

.af-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.af-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* App Screenshots Scroller */
.screenshots-section {
    padding: 40px 20px;
    background: #222222;
    overflow: hidden;
}

.screenshots-scroll {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 40px;
    scrollbar-width: none;
    /* Firefox */
    justify-content: center;
    /* Center if items fit */
}

.screenshots-scroll::-webkit-scrollbar {
    display: none;
}

/* Chrome/Safari */

.screenshot-item {
    min-width: 260px;
    height: 550px;
    background: #f1f3f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222222;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

/* How to Get Started (Stepper) */
.steps-section {
    padding: 40px 20px;
    text-align: center;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
}

.step-box {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #d4fce6;
    /* Light Green */
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-line {
    position: absolute;
    top: 30px;
    /* Center with circle */
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e1e5ea;
    z-index: 1;
}

/* Hide last line */
.step-box:last-child .step-line {
    display: none;
}

.step-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #c9b038;
    margin-bottom: 10px;
}

.step-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Bottom CTA Specific */
.mobile-cta {
    background: linear-gradient(135deg, #d4fce6 0%, #f0fdf4 100%);
    border-radius: 20px;
    margin: 20px 20px;
    padding: 80px 40px;
    text-align: center;
}

/* Reduce heading margins for mobile app page sections */
.app-features-section .section-heading,
.screenshots-section .section-heading,
.steps-section .section-heading {
    margin-top: 0;
}

/* =========================================
   18. TRADING BOTS PAGE SPECIFIC STYLES
   ========================================= */

/* Why Use Bots (Benefit Cards) */
.benefit-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: #f0fdf4;
    /* Light green */
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Strategy Cards */
.strategy-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

.strategy-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.strategy-preview {
    margin-top: 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.strategy-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Process Steps (Cards with Numbers) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.process-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

/* =========================================
   19. IMAGE REPLACEMENTS (NO EXTERNAL FILES)
   ========================================= */

/* Generic Hero Visual Container */
.hero-graphic {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
    /* Fallback */
}

/* 1. Index/Landing Hero Graphic (Charts/Tech) */
.graphic-trading {
    background: linear-gradient(135deg, #112130 0%, #2c3e50 100%);
}

.graphic-trading::before {
    content: '\f201';
    /* FontAwesome Chart Line */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
}

.graphic-trading i {
    font-size: 5rem;
    color: #2ecc71;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(46, 204, 113, 0.4));
}

/* 2. Mobile App Graphic */
.graphic-mobile {
    background: linear-gradient(135deg, #e0f7fa 0%, #80deea 100%);
}

.graphic-mobile i {
    font-size: 8rem;
    color: #00695c;
    background: #fff;
    padding: 20px 30px;
    border-radius: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 3. Security Graphic */
.graphic-security {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

.graphic-security i {
    font-size: 6rem;
    color: #fff;
    border: 4px solid #fff;
    padding: 40px;
    border-radius: 50%;
}

/* 4. Bots Graphic */
.graphic-bots {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.graphic-bots i {
    font-size: 7rem;
    color: #fff;
    animation: float 3s ease-in-out infinite;
}

/* 5. About Graphic */
.graphic-about {
    background: #f1f3f5;
    border: 2px dashed #cbd5e0;
}

.graphic-about i {
    font-size: 4rem;
    color: #cbd5e0;
}

/* Animation for Bot Icon */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Small Strategy Card Previews */
.strategy-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-size: 3rem;
    color: #2ecc71;
}

/* =========================================
   20. FUTURES PAGE SPECIFIC STYLES
   ========================================= */

/* Futures Hero Graphic */
.graphic-futures {
    background: #f1f3f5;
    border: 1px solid #e1e5ea;
}

.graphic-futures::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.graphic-futures::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.graphic-futures i {
    font-size: 4rem;
    color: #cbd5e0;
    z-index: 2;
}

/* Futures Contracts Table */
.contracts-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    margin-top: 40px;
}

.contracts-table th {
    background: #f8f9fa;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    color: #000;
    border-bottom: 2px solid #eef0f2;
}

.contracts-table td {
    padding: 20px;
    border-bottom: 1px solid #f1f3f5;
    color: black;
    font-weight: 500;
}

.contracts-table tr:last-child td {
    border-bottom: none;
}

.contract-name {
    font-weight: 700;
    color: #000;
    font-size: 1rem;
}

/* Definition Section */
.definition-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.definition-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #cc972e;
}

.definition-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* =========================================
   21. CAREERS PAGE SPECIFIC STYLES
   ========================================= */

/* Values Section (Numbered Circles) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 80px;
}

.value-card {
    padding: 20px;
}

.value-number {
    width: 70px;
    height: 70px;
    background: #d4fce6;
    /* Light green */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 25px;
}

/* Benefits Section */
.benefits-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.benefit-list-card {
    background: #4f4e4e;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
}

.benefit-list-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.benefit-list-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.benefit-list-card li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Job Board */
.job-filter-container {
    margin-bottom: 40px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.job-filter-btn {
    padding: 10px 20px;
    border: 1px solid #e1e5ea;
    background: #4f4e4e;
    color: var(--text-muted);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-right: 10px;
    transition: 0.3s;
}

.job-filter-btn:hover {
    background: #e9ecef;
}

.job-filter-btn.active {
    background: #112130;
    /* Dark bg for active tab */
    color: #fff;
    border-color: #112130;
}

/* Job Cards */
.job-card {
    background: #4f4e4e;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
    flex-wrap: wrap;
    gap: 20px;
}

.job-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 10px;
}

.job-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin-bottom: 15px;
}

.job-tags {
    display: flex;
    gap: 10px;
}

.job-tag {
    background: #f1f3f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2ecc71;
}

.btn-apply {
    padding: 10px 25px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn-apply:hover {
    background: var(--primary-hover);
}

/* Careers Green CTA */
.careers-cta {
    background: var(--primary);
    /* Solid Green */
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.careers-cta h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.careers-cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.btn-white-solid {
    background: #fff;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-white-solid:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
}

/* =========================================
   22. BLOG / INSIGHTS PAGE STYLES
   ========================================= */

/* Blog Header Area */
.blog-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.blog-intro {
    flex: 1;
}

.blog-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.blog-title span {
    color: var(--primary);
}

.blog-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.blog-tags-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mini-tag {
    background: #4f4e4e;
    border: 1px solid #e1e5ea;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    color: #ffffff;
}

.mini-tag:hover {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Featured Article */
.featured-card {
    background: #000;
    /* Dark background for featured */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    color: #fff;
    margin-bottom: 80px;
    position: relative;
    min-height: 400px;
}

.featured-img {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #112130, #2c3e50);
}

/* CSS Graphic for Featured Image */
.featured-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
}

.featured-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #112130;
}

.f-tag {
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 20px;
}

.f-headline {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.f-excerpt {
    font-size: 1rem;
    color: #b2bec3;
    margin-bottom: 30px;
    line-height: 1.6;
}

.f-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: #636e72;
    align-items: center;
    margin-bottom: 30px;
}

.f-meta i {
    margin-right: 5px;
}

/* Article Tabs */
.article-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.tab-pill-group {
    background: #4f4e4e;
    padding: 5px;
    border-radius: 8px;
    display: flex;
    gap: 5px;
}

.tab-pill {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: 0.3s;
}

.tab-pill.active {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Article Card */
.blog-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bc-img {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
    font-size: 3rem;
}

.bc-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bc-tag {
    background: #f0fdf4;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 15px;
}

.bc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.4;
}

.bc-excerpt {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.bc-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* Category Browser (Bottom) */
.cat-browse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cat-browse-item {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}

.cat-browse-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0fdf4;
}

/* Newsletter Box */
.newsletter-box {
    background: linear-gradient(135deg, #d4fce6 0%, #e0f7fa 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
}

.nl-input-group {
    display: flex;
    max-width: 500px;
    margin: 30px auto 0;
    gap: 10px;
}

.nl-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #fff;
    border-radius: 6px;
    outline: none;
}

/* =========================================
   23. BLOG CATEGORY DROPDOWN STYLES
   ========================================= */

.cat-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cat-dropdown-item {
    background: #4f4e4e;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cat-dropdown-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cat-dd-header {
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-main);
    background: #4f4e4e;
}

.cat-dd-header i.cat-icon {
    color: var(--primary);
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.cat-dd-header i.chevron {
    font-size: 0.8rem;
    color: #ccc;
    transition: transform 0.3s ease;
}

/* Active State */
.cat-dropdown-item.active .cat-dd-header i.chevron {
    transform: rotate(180deg);
    color: black;
}

.cat-dropdown-item.active {
    border-color: var(--primary);
    background: #4f4e4e;
}

.cat-dd-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    color: white;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cat-dropdown-item.active .cat-dd-body {
    max-height: 200px;
    /* Limits height for animation */
    padding: 0 25px 20px 25px;
    /* Adds bottom padding when open */
}

/* =========================================
   24. PRESS PAGE SPECIFIC STYLES
   ========================================= */

/* Press Header (Left Aligned) */
.press-header-section {
    padding: 60px 0 40px;
    max-width: 800px;
    /* Limits width for readability */
}

.press-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.press-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.press-btn-group {
    display: flex;
    gap: 15px;
}

/* Press Release Cards (Vertical List) */
.press-release-card {
    background: #4f4e4e;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.press-release-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pr-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
}

.pr-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 10px;
}

.pr-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.link-green {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.link-green:hover {
    gap: 8px;
}

/* News Cards (Grid) */
.news-tag {
    background: #f1f3f5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: black;
    display: inline-block;
    margin-bottom: 10px;
}

.news-meta {
    font-size: 0.8rem;
    color: #ffffff;
    float: right;
    margin-top: 5px;
}

/* Media Asset Cards */
.asset-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

.asset-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.asset-title {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.asset-desc {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 25px;
    flex-grow: 1;
}

.asset-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.icon-download {
    color: var(--primary);
    cursor: pointer;
}

/* Company Facts Section */
.facts-section {
    margin-top: 60px;
    margin-bottom: 80px;
    max-width: 800px;
}

.fact-block {
    margin-bottom: 40px;
}

.fact-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #c9b038;
    margin-bottom: 15px;
}

.fact-block p {
    color: var(--text-muted);
    line-height: 1.7;
}

.fact-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Press Contact Cards */
.pc-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    height: 100%;
}

.pc-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.pc-desc {
    font-size: 0.9rem;
    color: black;
    margin-bottom: 15px;
    min-height: 40px;
}

.pc-email {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

/* =========================================
   25. KNOWLEDGE BASE ARTICLES STYLES
   ========================================= */

.kb-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.kb-view.active-view {
    display: block;
}

.kb-article-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kb-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.kb-badge {
    background: #f8f9fa;
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.kb-a-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 12px;
    line-height: 1.4;
}

.kb-a-desc {
    font-size: 0.95rem;
    color: black;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

.kb-read-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.kb-read-link:hover {
    gap: 10px;
}

/* =========================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media(max-width: 992px) {
    .public-nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: #f0f4f8;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    color: #112130;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    /* Push to right */
    transition: 0.3s;
}

.mobile-menu-btn:hover {
    background: #e1e5ea;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4f4e4e;
    z-index: 9999;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-header-actions {
    display: flex;
    gap: 10px;
}

.mobile-menu-close,
.theme-toggle-mobile {
    background: #f0f4f8;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    color: #112130;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mobile-menu-close:hover,
.theme-toggle-mobile:hover {
    background: #e1e5ea;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.mobile-menu-links a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
}

.mobile-menu-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.mobile-menu-buttons .btn-outline,
.mobile-menu-buttons .btn-filled {
    width: 100%;
    justify-content: center;
    padding: 15px;
    font-size: 1rem;
}

@media(max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
}

@media(max-width: 900px) {
    .story-section {
        flex-direction: column;
        text-align: center;
    }

    .story-image-box {
        width: 100%;
        height: 300px;
    }

    .hero-placeholder {
        height: 300px;
    }

    .market-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mh-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .market-table thead {
        display: none;
    }

    /* Hide headers on mobile for better fit */
    .contact-split-section {
        grid-template-columns: 1fr;
    }

    .faq-grid-2 {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        flex-direction: column;
        text-align: center;
    }

    .landing-hero-content h1 {
        font-size: 2.5rem;
    }

    .landing-hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn-group {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .security-hero {
        flex-direction: column;
        text-align: center;
    }

    .sh-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .compliance-section {
        flex-direction: column-reverse;
    }

    .mobile-hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .mh-image-box {
        width: 100%;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .download-btn-group {
        justify-content: center;
    }

    .app-stats {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .step-line {
        width: 2px;
        height: 100%;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
    }

    .step-box:last-child .step-line {
        display: none;
    }

    .blog-header-row {
        flex-direction: column;
        gap: 30px;
    }

    .featured-card {
        flex-direction: column;
    }

    .featured-img {
        height: 250px;
    }

    .nl-input-group {
        flex-direction: column;
    }
}

@media(max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .faq-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .kb-cat-btn {
        width: 45%;
    }

    .kb-tab {
        padding: 10px 30px;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-apply {
        width: 100%;
    }

    .job-filter-container {
        white-space: normal;
        overflow-x: visible;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .job-filter-btn {
        margin-right: 0;
        flex: 1 0 auto;
        text-align: center;
    }

    .cat-dropdown-grid {
        grid-template-columns: 1fr;
    }

    .press-btn-group {
        flex-direction: column;
    }

    .news-meta {
        float: none;
        display: block;
        margin-bottom: 10px;
    }
}

@media(max-width: 600px) {
    .futures-hero-img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-text h1 {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
    }

    .hero-text p {
        font-size: 0.95rem !important;
    }

    .market-hero-grid {
        gap: 24px;
        margin-bottom: 40px;
    }

    .market-highlights-card {
        padding: 18px 16px;
    }

    .mh-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .table-search-row {
        max-width: none;
        margin-bottom: 20px;
    }

    .search-input {
        padding: 12px 12px 12px 40px;
        font-size: 0.85rem;
    }

    .search-icon {
        left: 14px;
        font-size: 1rem;
    }
}

/* Utilities */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.futures-hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media(max-width: 375px) {
    :root {
        --fs-xs: 0.7rem;
        --fs-sm: 0.8rem;
        --fs-base: 0.9375rem;
        --fs-md: 1rem;
        --fs-lg: 1.125rem;
        --fs-xl: 1.25rem;
        --fs-xxl: 1.5rem;
        --fs-hero: 2rem;
    }

    .hero h1 {
        font-size: var(--fs-xxl);
    }

    .section-title,
    .section-heading {
        font-size: var(--fs-xl);
    }

    .btn-cta-large {
        padding: 12px 25px;
        font-size: var(--fs-sm);
    }

    /* Market Page Overrides */
    .market-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: var(--fs-hero);
        line-height: 1.2;
    }

    .hero-text p {
        font-size: var(--fs-base);
    }

    .market-highlights-card {
        padding: 20px;
    }

    .mh-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .table-search-row {
        max-width: none;
        width: 100%;
    }

    .market-table {
        min-width: 600px;
    }
}

@media (max-width: 320px) {
    header {
        padding: 14px 12px;
    }

    .logo {
        font-size: 1.05rem;
        gap: 4px;
    }

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .container {
        padding: 0 10px;
    }

    .hero-text h1 {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
    }

    .hero-text p {
        font-size: 0.86rem !important;
        margin-bottom: 20px !important;
    }

    .market-highlights-card {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .mh-title {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .mh-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mh-stat-box {
        padding: 10px 12px;
    }

    .mh-label {
        font-size: 0.68rem;
    }

    .mh-value {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .table-search-row {
        margin-bottom: 16px;
    }

    .search-input {
        padding: 11px 10px 11px 36px;
        font-size: 0.8rem;
    }

    .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
    }

    .market-table {
        width: 100%;
        min-width: 420px;
        table-layout: fixed;
    }

    .market-table th,
    .market-table td {
        padding-left: 6px;
        padding-right: 6px;
        white-space: nowrap;
    }

    .market-table th:nth-child(4),
    .market-table td:nth-child(4),
    .market-table th:nth-child(5),
    .market-table td:nth-child(5) {
        display: none;
    }

    .coin-cell {
        gap: 8px;
    }

    .coin-icon-circle {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }

    .coin-name-info div {
        font-size: 0.8rem;
    }

    .coin-name-info span,
    .price-val,
    .change-val,
    .vol-val {
        font-size: 0.72rem;
    }

    .btn-trade-small {
        padding: 5px 8px;
        font-size: 0.68rem;
    }
}