:root {
    --primary-color: #BB010D;
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --font-main: 'Montserrat', Arial, sans-serif;
    --font-navbar: 'Plus Jakarta Sans', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Navbar uses Plus Jakarta Sans Bold */
.custom-navbar,
.custom-navbar .navbar-nav .nav-link,
.custom-navbar .btn-login,
.custom-navbar .btn-signup {
    font-family: var(--font-navbar) !important;
    font-weight: 700 !important;
}

/* All other text uses Montserrat */
h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .feature-title, .pricing-title, .pricing-fee, .stat-title, .btn-cta, .explore-section span {
    font-family: var(--font-main) !important;
}

/* ExtraBold for main headings and pricing fee */
h1, h2, h3, h4, h5, h6, .hero-title, .section-title, .feature-title, .pricing-fee, .stat-title, .explore-section span {
    font-weight: 800 !important;
}

/* Regular for body and paragraph */
p, .feature-desc, .section-subtitle, .pricing-desc, .stat-desc, .card-desc, .crypto-badge {
    font-family: var(--font-main) !important;
    font-weight: 400 !important;
}

/* Custom Navbar Styles */
.custom-navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    height: 45px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 15px;
    padding: 8px 16px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-login {
    color: var(--text-dark) !important;
    border: 2px solid transparent;
    padding: 8px 20px !important;
    margin-right: 10px;
}

.btn-login:hover {
    border-color: var(--primary-color);
    background-color: rgba(220, 53, 69, 0.1);
}

.btn-signup {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color);
    padding: 8px 20px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background-color: #c82333 !important;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-top: 120px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-cta {
    background-color: #01BB41;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulseBtn 2.5s infinite;
}

.btn-cta:hover {
    background-color: #01a037;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(1, 187, 65, 0.4);
}

.crypto-badge {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: block; 
    width: -moz-fit-content;
    width: fit-content; 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Floating Elements */
.floating-coin {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}
.coin-1 { top: 20%; right: 15%; animation-delay: 0s; }
.coin-2 { bottom: 25%; right: 25%; animation-delay: 2s; }
.coin-3 { top: 40%; right: 5%; animation-delay: 4s; }

.geometric-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        linear-gradient(30deg, transparent 40%, #e9ecef 40%, #e9ecef 60%, transparent 60%),
        linear-gradient(150deg, transparent 40%, #e9ecef 40%, #e9ecef 60%, transparent 60%);
    background-size: 100px 100px;
}

/* Features Header Section */
.features-header {
    background-color: var(--primary-color) !important;
}
.feature-icon-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #E31C25;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 5px 15px rgba(220,53,69,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}
.feature-icon-container img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}
.feature-icon-container:hover {
    transform: translateY(-5px) scale(1.07);
    box-shadow: 0 10px 25px rgba(220,53,69,0.18);
}
.feature-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: white;
}
.feature-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Accepted Coins Section */
.features-section {
    overflow: hidden; 
}
.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.crypto-icons {
    display: flex;
    align-items: center;
    margin: 30px 0;
    gap: 1.5rem; 
}
.crypto-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.crypto-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.coin-phone-image img {
    max-width: 75%; /* Diubah dari 100% untuk memperkecil gambar di desktop */
    height: auto;
    display: block; /* Ditambahkan untuk centering */
    margin: 0 auto; /* Ditambahkan untuk centering */
}

/* ------------------------------------------- */
/* ----------- NEW PRICING SECTION ----------- */
/* ------------------------------------------- */
.pricing-section {
    background: #f8f9fa; 
    padding: 80px 0;
}
.pricing-card-bg {
    background: #fff; 
    border-radius: 30px;
    padding: 56px 48px;
    width: 100%;
    max-width: 1140px; 
    box-sizing: border-box;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}
.pricing-card {
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(119,0,8,0.10);
    padding: 28px;
    width: 100%;
    max-width: 320px;
    color: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    box-shadow: 0 16px 40px rgba(119,0,8,0.22);
    transform: translateY(-8px);
}
.package-label {
    background-color: rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    align-self: flex-start;
}
.pricing-card .pricing-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.pricing-card .pricing-fee {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 800;
}
.pricing-card .pricing-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}
/* Card specific colors */
.pricing-card.retail { background-color: #ff4040; }
.pricing-card.business { background-color: #e31c25; }
.pricing-card.enterprise { background-color: #bb010d; }

/* Global Card Section */
.global-card-section {
    padding: 60px 0;
    overflow: hidden; 
}
.global-card-custom {
    max-width: 1140px; 
    margin: 0 auto;
    border-radius: 30px;
    padding: 56px 48px;
    background: #770008;
    box-shadow: 0 8px 32px rgba(119,0,8,0.12);
    color: #fff;
}
.globe-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    position: relative; 
}
.stat-left, .stat-right {
    flex: 1;
    max-width: 320px;
}
.stat-left { text-align: left; }
.stat-right { text-align: right; }
.globe-img {
    position: relative; 
    z-index: 2;
}
.globe-img img {
    max-width: 320px;
    width: 100%;
    animation: globe-spin 18s linear infinite;
}
.stat-box-custom {
    background: transparent;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 18px 32px;
    margin-bottom: 10px;
    font-size: 1.7rem;
    position: relative; 
    z-index: 3;
}
.stat-number {
    font-weight: 700; /* Montserrat Bold */
}
.stat-desc-custom {
    font-size: 1rem;
    opacity: 0.85;
}
.card-desc-custom {
    margin: 32px 0 24px 0;
    font-size: 1.15rem;
    opacity: 0.95;
}

.globe-center-dot {
    position: absolute;
    top: 51%; 
    left: 57%; 
    width: 12px;
    height: 12px;
    background: #ff4d4d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 4px rgba(255, 0, 0, 0.7);
    z-index: 4; 
}

/* Pointer Styles */
.pointer-line {
    position: absolute;
    top: 50%;
    width: 150px; 
    height: 2px;
    background-color: #dc3545;
    transform: translateY(-50%);
    z-index: 1;
}
.pointer-left {
    right: -140px; 
}
.pointer-right {
    left: -140px; 
}
.pointer-dot {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background-color: #dc3545;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.pointer-dot-left {
    right: -150px;
}
.pointer-dot-right {
    left: -150px;
}

/* FAQ Section */
.faq-more-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}
.faq-more-link:hover {
    opacity: 0.8;
}
.accordion-item {
    border: none;
    border-bottom: 1px solid #dee2e6;
}
.accordion-button {
    font-weight: 700;
    color: var(--text-dark);
    padding: 1.5rem 1.25rem;
}
.accordion-button:not(.collapsed) {
    color: var(--text-dark);
    background-color: transparent;
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}
.accordion-button::after {
    content: '+';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background-image: none;
    transform: none;
    transition: transform 0.2s ease-in-out;
}
.accordion-button:not(.collapsed)::after {
    content: '−';
    transform: none;
}
.accordion-body {
    color: var(--text-muted);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes pulseBtn {
    0% { box-shadow: 0 0 0 0 rgba(1, 187, 65, 0.3); }
    70% { box-shadow: 0 0 0 12px rgba(1, 187, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(1, 187, 65, 0); }
}
@keyframes globe-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.section-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.section-fade.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ------------------------------------------------------------------ */
/* ------------------- MOBILE RESPONSIVE STYLES ------------------- */
/* ------------------------------------------------------------------ */

/* Medium Devices (Tablets, landscape phones) */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .globe-row {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .stat-left, .stat-right {
        text-align: center;
        max-width: 100%;
    }
    .pricing-card {
        max-width: 280px;
    }
    .global-card-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .pointer-line, .pointer-dot, .globe-center-dot {
        display: none; 
    }
    .decorative-element {
        display: none; 
    }
}

/* Small Devices (Phones) */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }

    /* General Adjustments */
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    .btn-cta { padding: 12px 28px; font-size: 1rem; }
    section { padding: 40px 0; }

    /* Navbar */
    .navbar-brand img { height: 30px; }
    .navbar-nav { text-align: center; margin-top: 1rem; }
    .navbar-collapse .d-flex { justify-content: center; margin-top: 1rem; }

    .navbar-collapse {
        background-color: #ffffff; 
        border-radius: 0.5rem;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    /* Hero Section */
    .hero-section { min-height: auto; padding: 60px 0; text-align: center; }
    .hero-content { padding-top: 0; }
    .hero-section .row {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { margin-bottom: 1.5rem; }
    .floating-coin { width: 40px; height: 40px; font-size: 18px; }
    .crypto-badge {
        margin-left: auto;
        margin-right: auto;
    }

    /* Features Section */
    .features-header .row {
        flex-direction: column;
        gap: 30px;
    }
    .feature-icon-container {
        width: 90px;
        height: 90px;
    }
    .feature-icon-container img {
        width: 55px;
        height: 55px;
    }

    /* Accepted Coins & Settlement Sections */
    .accepted-coins-content {
        text-align: center;
    }
    .features-section .row {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .crypto-icons {
        justify-content: center;
        gap: 1rem; 
    }
    .coin-phone-image img {
        max-width: 85vw; 
        margin: 0 auto;
    }

    /* Settlement Section Responsive */
    .settlement-section .row {
        flex-direction: column;
        gap: 40px;
    }

    /* Centering for Industries section on mobile & fixing gap */
    .used-for-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .used-for-section .row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
    }
    .used-for-section .col-md-6 {
        display: contents;
    }

    .settlement-section .used-for-item {
        margin-bottom: 8px;
    }
    
    /* Pricing Section */
    .pricing-card-bg { padding: 40px 20px; }
    .pricing-section .d-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }
    .pricing-card {
        max-width: 320px; 
    }

    /* Global Card Section */
    .global-card-section { 
        padding: 40px 1rem; 
    }
    .global-card-custom { padding: 40px 20px; }
    .stat-box-custom { font-size: 1.5rem; padding: 14px 24px; }
    .stat-desc-custom { font-size: 0.95rem; }
    .globe-img img { max-width: 250px; }

    /* Footer */
    .explore-section span { font-size: 1.1rem; }

    /* Why Xepeng Section for Mobile */
    .comparison-container {
        padding: 15px;
    }

    .comparison-table {
        /* Set a minimum width to force horizontal scrolling */
        width: 600px;
    }
    
    .comparison-row .cell {
        padding: 15px 10px;
        font-size: 0.9rem;
    }

    .comparison-row .feature-cell {
        min-width: 130px;
    }

    .comparison-row .xepeng-cell {
        min-width: 120px;
    }
    
    .comparison-row .cell img {
        width: 24px;
        height: 24px;
    }
    .comparison-row .cell .xepeng-logo {
        width: 80px;
    }
    .comparison-row .cell .sub-text {
        font-size: 0.75rem;
    }
}

/* Extra Small Devices (Smaller Phones) */
@media (max-width: 575.98px) {
    body { padding-top: 65px; }

    .custom-navbar { padding: 0.5rem 0; }
    .navbar-brand img { height: 30px; }

    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    
    .floating-coin { display: none; } 
    
    .section-title { font-size: 1.7rem; }
    
    .pricing-card-bg { padding: 30px 15px; }
    h2.text-center { font-size: 1.5rem !important; }

    .global-card-custom { padding: 30px 15px; }
    .stat-box-custom { font-size: 1.3rem; }
    .globe-img img { max-width: 200px; }
}

/* Gaya untuk Elemen Hiasan */
.decorative-element {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    opacity: 1.15;
    pointer-events: none;
}
.decorative-element img {
    height: 100%;
    max-height: 450px;
    width: auto;
}
.deco-left {
    left: 0; 
    transform: translate(-35%, -50%);
}
.deco-right {
    right: 0; 
    transform: translate(35%, -50%);
}

/* ----------------------------------------------------- */
/* ---------- STYLES FOR UPDATED SETTLEMENT SECTION ---- */
/* ----------------------------------------------------- */

.settlement-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.settlement-img-main {
    position: relative;
    z-index: 2;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
}
.settlement-title {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.settlement-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.btn-merchant {
    text-transform: none;
    letter-spacing: normal;
    border-radius: 10px;
    padding: 14px 30px;
    animation: none; /* remove pulse */
}
.used-for-section {
    margin-top: 40px;
}
.used-for-title {
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.used-for-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.used-for-item img {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}
.used-for-item span {
    color: var(--text-dark);
    font-weight: 400;
}

/* ----------------------------------------------------- */
/* -------------- WHY Xepeng SECTION ------------------- */
/* ----------------------------------------------------- */

.why-xepeng-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.why-xepeng-section .section-title {
    margin-bottom: 40px;
}

.comparison-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Wrapper for horizontal scroll on mobile */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Optional: Custom scrollbar styling */
.table-responsive-wrapper::-webkit-scrollbar {
    height: 8px;
}
.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background-color: #bb010d;
    border-radius: 10px;
}
.table-responsive-wrapper::-webkit-scrollbar-track {
    background-color: #e0e0e0;
    border-radius: 10px;
}

.comparison-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.comparison-row {
    display: table-row;
    border-bottom: 1px solid #e9ecef;
}
.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row .cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 20px 15px;
    white-space: nowrap;
}

.comparison-row .feature-cell {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-row.header .cell {
    font-weight: 700;
    color: #495057;
    font-size: 1.1rem;
}

.comparison-row .cell img {
    width: 28px;
    height: 28px;
    vertical-align: middle;
}
.comparison-row .cell .xepeng-logo {
    width: 150px;
    height: auto;
    vertical-align: middle;
}
.comparison-row .cell .sub-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: 8px;
    white-space: normal;
    display: inline-block;
}

/* ----------------------------------------------------- */
/* -------------- PRE-FAQ CTA SECTION ------------------ */
/* ----------------------------------------------------- */
.pre-faq-cta {
    background-color: #fff;
    padding: 60px 0;
}
.pre-faq-title {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}