
.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.bank-header-container {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

main {
    margin: 0;
    padding: 0;
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.main-nav-bar {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-tabs {
    display: flex;
    gap: 30px;
    margin-left: 50px;
}

.nav-tab {
    font-size: 16px;
    font-weight: 700;
    color: #999;
    text-decoration: none;
    padding-bottom: 8px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tab.active {
    color: #ff3b30;
    border-bottom-color: #ff3b30;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-bank {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-customer { 
    background: #ff3b30; 
    color: #fff; 
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.2);
}

.btn-customer:hover {
    background: #d63027;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.3);
}

.btn-login { 
    background: #f1f3f6; 
    color: #1e2329; 
}

.btn-login:hover {
    background: #e2e6ea;
}

.sub-nav-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.sub-nav-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.sub-nav-link {
    text-decoration: none;
    color: #ff3b30; 
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.2s;
}

.sub-nav-link:hover {
    opacity: 0.7;
}


.banner-slider {
    width: 100%;
    height: 600px; 
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.slides-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.slide-left {
    background-position: left center !important;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active { 
    background: #ff3b30; 
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    color: #fff;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 30px; }
.arrow-right { right: 30px; }


.stats-bar {
    background: #fff;
    padding: 80px 0;
    border-bottom: 1px solid #f0f0f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #ff3b30;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1.5px;
}

@media (max-width: 992px) {
    .nav-tabs, .sub-nav-bar { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-slider { height: 400px; }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
}


.premium-cards-section {
    padding: 80px 0;
    background: #fff;
}

.cards-scroll-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.cards-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.premium-card {
    min-width: 280px;
    height: 180px;
    perspective: 1000px;
    cursor: pointer;
}

.premium-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card-back {
    transform: rotateY(180deg);
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700 0%, #ffcc00 100%);
    border-radius: 5px;
    margin-bottom: 12px;
}

.card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.card-brand {
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
}


.market-movers-section {
    padding: 80px 0;
    background: #fdfdfd;
}

.movers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mover-column h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mover-list {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.mover-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.mover-item:last-child { border-bottom: none; }
.mover-item:hover { background: #fafafa; }

.mover-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mover-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mover-names {
    display: flex;
    flex-direction: column;
}

.mover-name {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.mover-symbol {
    font-size: 12px;
    color: #999;
}

.mover-stats {
    text-align: right;
}

.mover-price {
    font-weight: 700;
    font-size: 16px;
    color: #1a1a1a;
}

.mover-change {
    font-weight: 800;
    font-size: 14px;
}

.text-up { color: #02c076; }
.text-down { color: #f84960; }

@media (max-width: 992px) {
    .movers-grid { grid-template-columns: 1fr; }
    .premium-card { min-width: 220px; height: 160px; }
    .popular-coins-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .popular-coins-grid { grid-template-columns: 1fr; }
}


.popular-coins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.popular-coin-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.popular-coin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff3b30, #004a8e);
    opacity: 0;
    transition: opacity 0.3s;
}

.popular-coin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.popular-coin-card:hover::before {
    opacity: 1;
}


/* ============================
   Cards & POS Showcase Section
   ============================ */
.showcase-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.showcase-block {
    margin-bottom: 70px;
}

.showcase-block:last-child {
    margin-bottom: 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 40px;
}

.showcase-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e2329;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.showcase-title i {
    background: linear-gradient(135deg, #ff3b30, #ff6b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 10px;
}

.showcase-subtitle {
    font-size: 16px;
    color: #707a8a;
    margin: 0;
}

/* Cards Carousel */
.showcase-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

/* The cards are rendered twice and the track slides by exactly half its width.
   Spacing is a right margin on every card (not `gap`, which leaves one gap
   fewer than cards) so both halves are identical and the loop never jumps. */
.showcase-track {
    display: flex;
    flex-wrap: nowrap;
    animation: scrollCards 30s linear infinite;
    width: -moz-max-content;
    width: max-content;
    will-change: transform;
}

.showcase-track > * {
    margin-right: 24px;
}
@media (hover: hover) and (pointer: fine) {
    .showcase-track:hover {
        animation-play-state: paused;
    }
}

@keyframes scrollCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.showcase-card-item {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
    perspective: 1000px;
    cursor: pointer;
}

.showcase-card-item:hover {
    transform: translateY(-8px) scale(1.03);
}

.showcase-card-img {
    width: 100%;
    max-width: 280px;
    height: 175px;
    position: relative;
    box-sizing: border-box;
    background: transparent;
}

.showcase-card-img .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.showcase-card-img .card-front,
.showcase-card-img .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.4s ease;
}

.showcase-card-img .card-front {
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

.showcase-card-img .card-back {
    background: linear-gradient(135deg, #e8e8e8, #f0f0f0);
    transform: rotateY(180deg);
}

.showcase-card-item:hover .showcase-card-img .card-front,
.showcase-card-item:hover .showcase-card-img .card-back {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) and (pointer: fine) {
    .showcase-card-item:hover .showcase-card-img .card-inner {
        transform: rotateY(180deg);
    }
}

.showcase-card-item.flipped .showcase-card-img .card-inner {
    transform: rotateY(180deg);
}

.showcase-card-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-card-item:hover .showcase-card-img img {
    transform: scale(1.05);
}

.showcase-card-label {
    margin-top: 14px;
    font-weight: 700;
    font-size: 14px;
    color: #1e2329;
    letter-spacing: 0.3px;
}

/* Team ID Cards — sized in em so the whole card scales from one font-size */
.team-card {
    font-size: 16px;
    flex: 0 0 auto;
    width: 18.75em;
    height: 11.875em;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    box-sizing: border-box;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

.team-card-head {
    height: 2.25em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.9em;
    background: linear-gradient(135deg, #ff3b30, #ff7b30);
    color: #fff;
}

.team-card-head img {
    height: 1.1em;
    filter: brightness(0) invert(1);
}

.team-card-head span {
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.team-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.9em;
    padding: 0.7em 0.9em;
    min-height: 0;
}

.team-card-photo {
    width: 5.6em;
    height: 7em;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 0.6em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.team-card-info {
    text-align: left;
    min-width: 0;
}

.team-card-name {
    font-size: 1.05em;
    font-weight: 800;
    color: #1e2329;
    line-height: 1.2;
}

.team-card-role {
    font-size: 0.72em;
    font-weight: 700;
    color: #ff3b30;
    margin-top: 0.3em;
    line-height: 1.3;
}

.team-card-exp {
    font-size: 0.68em;
    color: #707a8a;
    margin-top: 0.45em;
    line-height: 1.35;
}

.team-card-id {
    font-size: 0.62em;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 700;
    color: #9aa3af;
    margin-top: 0.6em;
}

/* Membership Plans — tier cards (.mplan-*) */
/* The grid breaks out of the 1100px .landing-container (up to 1240px) so four cards fit side by side */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    width: min(1240px, calc(100vw - 64px));
    margin-left: calc(50% - min(620px, 50vw - 32px));
}

/* main.css sets Inter on `*`, so the card font has to be applied to every descendant (icons excluded) */
.mplan,
.mplan :not(i) {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.mplan {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border-radius: 24px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.mplan:hover {
    transform: translateY(-8px);
}

.mplan-watermark {
    position: absolute;
    right: -24px;
    bottom: -32px;
    font-size: 170px;
    line-height: 1;
    pointer-events: none;
}

.mplan-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 144px;
    height: 144px;
    background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.2), transparent);
    filter: blur(24px);
    pointer-events: none;
}

.mplan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.mplan-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mplan-badge {
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.mplan-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
}

.mplan-verified {
    font-size: 18px;
    color: #fb923c;
}

.mplan-desc {
    font-size: 12px;
    line-height: 1.625;
    font-weight: 500;
    margin: 0 0 24px;
}

.mplan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 28px;
}

.mplan .mplan-amount {
    font-family: 'Space Grotesk', monospace;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1;
}

.mplan-unit {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.mplan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 32px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.mplan-btn:active {
    transform: scale(0.99);
}

.mplan-btn i {
    font-size: 13px;
}

.mplan-divider {
    height: 1px;
    width: 100%;
    margin-bottom: 24px;
}

.mplan-fhead {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.mplan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mplan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.mplan-features li:last-child {
    margin-bottom: 0;
}

.mplan-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-sizing: border-box;
}

.mplan-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid;
    font-size: 11px;
    font-weight: 600;
}

.mplan-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fb923c;
    margin-right: 6px;
    vertical-align: middle;
}

/* Silver */
.mplan-silver {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 246, 250, 0.96) 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.4), inset 0 1px 1px #fff;
    color: #0f172a;
}
.mplan-silver:hover { transform: translateY(-6px); }
.mplan-silver .mplan-watermark { color: #0f172a; opacity: 0.06; }
.mplan-silver .mplan-icon { background: #fff; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); color: #334155; }
.mplan-silver .mplan-badge { background: rgba(226, 232, 240, 0.8); color: #334155; font-weight: 700; }
.mplan-silver .mplan-desc { color: #475569; }
.mplan-silver .mplan-amount { color: #020617; }
.mplan-silver .mplan-unit { color: #64748b; font-weight: 600; }
.mplan-silver .mplan-btn { background: #020617; color: #fff; font-weight: 700; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.mplan-silver .mplan-btn:hover { background: #1e293b; }
.mplan-silver .mplan-btn i { color: #94a3b8; }
.mplan-silver .mplan-divider { background: #e2e8f0; }
.mplan-silver .mplan-fhead { color: #64748b; }
.mplan-silver .mplan-features li { color: #334155; font-weight: 600; }
.mplan-silver .mplan-check { background: #d1fae5; color: #059669; }
.mplan-silver .mplan-foot { border-color: rgba(226, 232, 240, 0.8); color: #64748b; font-weight: 500; }
.mplan-silver .mplan-foot > i { color: #94a3b8; }

/* Gold */
.mplan-gold {
    background: linear-gradient(180deg, #FDBA2F 0%, #E89A0C 60%, #D48805 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 24px 50px -12px rgba(232, 154, 12, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    color: #020617;
}
.mplan-gold .mplan-watermark { color: #000; opacity: 0.15; }
.mplan-gold .mplan-icon { background: rgba(69, 26, 3, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); color: #020617; }
.mplan-gold .mplan-badge { background: #020617; color: #fcd34d; }
.mplan-gold .mplan-desc { color: rgba(69, 26, 3, 0.85); font-weight: 600; }
.mplan-gold .mplan-amount { color: #020617; }
.mplan-gold .mplan-unit { color: rgba(69, 26, 3, 0.8); }
.mplan-gold .mplan-btn { background: #020617; color: #fcd34d; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2); }
.mplan-gold .mplan-btn:hover { background: #0f172a; }
.mplan-gold .mplan-btn i { color: #fbbf24; }
.mplan-gold .mplan-divider { background: rgba(0, 0, 0, 0.15); }
.mplan-gold .mplan-fhead { color: #451a03; }
.mplan-gold .mplan-features li { color: #020617; font-weight: 700; }
.mplan-gold .mplan-check { background: #020617; color: #fbbf24; }
.mplan-gold .mplan-foot { border-color: rgba(0, 0, 0, 0.15); color: rgba(69, 26, 3, 0.8); font-weight: 700; }

/* Business */
.mplan-business {
    background: linear-gradient(180deg, #FF661F 0%, #F04E07 55%, #D93B00 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 28px 55px -12px rgba(240, 78, 7, 0.55), inset 0 2px 4px rgba(255, 255, 255, 0.45);
    color: #fff;
}
.mplan-business .mplan-watermark { color: #fff; opacity: 0.15; }
.mplan-business .mplan-icon { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.mplan-business .mplan-badge { background: #fff; color: #ea580c; }
.mplan-business .mplan-desc { color: rgba(255, 237, 213, 0.9); }
.mplan-business .mplan-amount { color: #fff; }
.mplan-business .mplan-unit { color: rgba(255, 237, 213, 0.8); font-weight: 600; }
.mplan-business .mplan-btn { background: #fff; color: #ea580c; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15); }
.mplan-business .mplan-btn:hover { background: #fff7ed; }
.mplan-business .mplan-divider { background: rgba(255, 255, 255, 0.25); }
.mplan-business .mplan-fhead { color: #ffedd5; }
.mplan-business .mplan-features li { color: #fff; font-weight: 500; }
.mplan-business .mplan-check { background: #fff; color: #ea580c; }
.mplan-business .mplan-foot { border-color: rgba(255, 255, 255, 0.2); color: #ffedd5; font-weight: 500; }
.mplan-business .mplan-foot > i { color: #fed7aa; }

/* Platinum */
.mplan-platinum {
    background: linear-gradient(180deg, #131926 0%, #0B0E17 100%);
    border: 1px solid rgba(255, 92, 0, 0.4);
    box-shadow: 0 28px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px -8px rgba(255, 92, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    color: #f1f5f9;
}
.mplan-platinum .mplan-watermark { color: #f97316; opacity: 0.07; }
.mplan-platinum .mplan-icon { background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.3); color: #fb923c; }
.mplan-platinum .mplan-badge { background: rgba(249, 115, 22, 0.2); border: 1px solid rgba(249, 115, 22, 0.4); color: #fb923c; font-size: 10px; letter-spacing: 0.1em; padding: 4px 12px; }
.mplan-platinum .mplan-title { color: #fff; }
.mplan-platinum .mplan-desc { color: #94a3b8; }
.mplan-platinum .mplan-amount { color: #fff; }
.mplan-platinum .mplan-unit { color: #94a3b8; }
.mplan-platinum .mplan-btn { background: linear-gradient(to right, #f97316, #ea580c); color: #fff; font-weight: 900; box-shadow: 0 0 25px rgba(255, 92, 0, 0.4); }
.mplan-platinum .mplan-btn:hover { background: linear-gradient(to right, #fb923c, #f97316); }
.mplan-platinum .mplan-btn i { color: #fed7aa; }
.mplan-platinum .mplan-divider { background: #1e293b; }
.mplan-platinum .mplan-fhead { color: #fb923c; }
.mplan-platinum .mplan-features li { color: #cbd5e1; font-weight: 600; }
.mplan-platinum .mplan-features li:first-child { color: #fff; font-weight: 700; }
.mplan-platinum .mplan-check { background: rgba(249, 115, 22, 0.2); border: 1px solid rgba(249, 115, 22, 0.3); color: #fb923c; }
.mplan-platinum .mplan-foot { border-color: #1e293b; color: #fb923c; }

/* POS Grid */
.showcase-pos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.showcase-pos-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.showcase-pos-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff3b30, #ff6b5a, #ff3b30);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: shimmerGradient 3s linear infinite;
}

@keyframes shimmerGradient {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.showcase-pos-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.showcase-pos-item:hover::before {
    opacity: 1;
}

.showcase-pos-img {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.showcase-pos-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-pos-item:hover .showcase-pos-img img {
    transform: scale(1.08);
}

.showcase-pos-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1e2329;
    margin-bottom: 8px;
}

.showcase-pos-info p {
    font-size: 14px;
    color: #707a8a;
    line-height: 1.6;
    margin-bottom: 16px;
}

.showcase-pos-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #f0f3f8;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #4a5568;
    transition: all 0.3s ease;
}

.pos-badge i {
    color: #ff3b30;
    font-size: 11px;
}

.showcase-pos-item:hover .pos-badge {
    background: #fff0ef;
    color: #ff3b30;
}

/* CTA Button */
.showcase-cta {
    text-align: center;
    margin-top: 35px;
}

.btn-showcase {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-showcase i {
    transition: transform 0.3s ease;
}

.btn-showcase:hover i {
    transform: translateX(4px);
}

.btn-showcase-cards {
    background: linear-gradient(135deg, #ff3b30, #e6342b);
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.25);
}

.btn-showcase-cards:hover {
    background: linear-gradient(135deg, #e6342b, #cc2d25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.35);
}

.btn-showcase-pos {
    background: linear-gradient(135deg, #1e2329, #2c3440);
    color: #fff;
    box-shadow: 0 6px 20px rgba(30, 35, 41, 0.25);
}

.btn-showcase-pos:hover {
    background: linear-gradient(135deg, #2c3440, #3a4450);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 35, 41, 0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .showcase-section {
        padding: 50px 0 40px;
    }
    .showcase-title {
        font-size: 26px;
    }
    .showcase-pos-grid {
        grid-template-columns: 1fr;
    }
    .showcase-card-item {
        flex: 0 0 240px;
        width: 240px;
        min-width: 240px;
        max-width: 240px;
    }
    .showcase-card-img {
        max-width: 240px;
        height: 150px;
    }
    .team-card {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .membership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .membership-grid {
        grid-template-columns: minmax(0, 1fr);
        width: auto;
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .showcase-section {
        padding: 40px 0 30px;
    }
    .showcase-title {
        font-size: 22px;
    }
    .showcase-pos-item {
        flex-direction: column;
        text-align: center;
    }
    .showcase-pos-img {
        width: 100%;
        height: 200px;
    }
    .showcase-pos-badges {
        justify-content: center;
    }
    .showcase-card-item {
        flex: 0 0 180px;
        width: 180px;
        min-width: 180px;
        max-width: 180px;
    }
    .showcase-card-img {
        max-width: 180px;
        height: 112px;
    }
    .team-card {
        font-size: 13px;
    }
    .btn-showcase {
        width: 100%;
        justify-content: center;
    }
}

/* Coin table pagination (assets/js/coin_pager.js) */
.coin-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 18px 20px; flex-wrap: wrap; border-top: 1px solid #f0f0f0; }
.coin-pagination:empty { display: none; }
.coin-pagination button { min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #eee; background: #fff; border-radius: 10px; font-size: 13px; font-weight: 700; color: #1e2329; cursor: pointer; transition: all 0.2s; }
.coin-pagination button:hover:not(:disabled):not(.active) { border-color: #ff3b30; color: #ff3b30; }
.coin-pagination button.active { background: #ff3b30; border-color: #ff3b30; color: #fff; cursor: default; }
.coin-pagination button:disabled { opacity: 0.4; cursor: default; }
.coin-pagination .page-gap { color: #999; font-weight: 700; padding: 0 4px; }

/* Membership checkout (dashboard/membership.php) */
.membership-page { margin-top: 30px; margin-bottom: 60px; }
.mship-head { margin-bottom: 28px; }
.mship-head h1 { font-size: 32px; font-weight: 900; color: #1e2329; margin: 0 0 6px; letter-spacing: -0.5px; }
.mship-head p { color: #707a8a; font-size: 15px; margin: 0; }
.mship-alert { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.mship-alert i { margin-top: 2px; }
.mship-alert-error { background: #fff1f0; border: 1px solid #ffa39e; color: #cf1322; }
.mship-alert-success { background: #f6ffed; border: 1px solid #b7eb8f; color: #389e0d; }
.mship-alert-info { background: #f0f5ff; border: 1px solid #adc6ff; color: #1d39c4; }
.mship-current { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid #eee; border-radius: 20px; padding: 24px 28px; margin-bottom: 30px; }
.mship-current-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #999; margin-bottom: 6px; }
.mship-current-plan { font-size: 22px; font-weight: 900; color: #1e2329; display: flex; align-items: center; gap: 10px; }
.mship-status { font-size: 11px; font-weight: 800; color: #02c076; background: rgba(2, 192, 118, 0.1); padding: 4px 10px; border-radius: 20px; text-transform: uppercase; }
.mship-current-meta { color: #555; font-size: 14px; font-weight: 600; margin-top: 6px; }
.mship-current-note { color: #999; font-size: 12px; margin-top: 6px; }
.mship-btn-outline { background: #fff; border: 1px solid #ddd; color: #1e2329; padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 13px; cursor: pointer; }
.mship-btn-outline:hover { border-color: #ff3b30; color: #ff3b30; }
.mship-back { display: inline-flex; align-items: center; gap: 8px; color: #707a8a; font-weight: 700; font-size: 14px; text-decoration: none; margin-bottom: 20px; }
.mship-back:hover { color: #ff3b30; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 30px; align-items: start; }
.checkout-plan .mplan:hover { transform: none; }
.checkout-panel { background: #fff; border: 1px solid #eee; border-radius: 24px; padding: 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); }
.checkout-panel h2 { font-size: 22px; font-weight: 900; color: #1e2329; margin: 0 0 18px; }
.checkout-panel h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.8px; color: #999; margin: 26px 0 12px; }
.checkout-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f3f3f3; font-size: 14px; }
.checkout-rows span { color: #707a8a; font-weight: 600; }
.checkout-rows strong { color: #1e2329; font-weight: 800; text-align: right; }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; }
.checkout-total span { font-weight: 800; color: #1e2329; }
.checkout-total strong { font-size: 28px; font-weight: 900; color: #1e2329; }
.checkout-account { background: #f8fafc; border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; color: #1e2329; line-height: 1.7; }
.checkout-method { display: flex; align-items: center; gap: 12px; border: 2px solid #ff3b30; border-radius: 14px; padding: 16px; font-weight: 800; color: #1e2329; cursor: pointer; margin-bottom: 16px; }
.checkout-method i { color: #ff3b30; font-size: 18px; }
.checkout-method em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 800; text-transform: uppercase; color: #1d39c4; background: #f0f5ff; padding: 4px 10px; border-radius: 20px; }
.checkout-method.is-disabled { border-color: #e5e7eb; color: #707a8a; cursor: default; }
.checkout-method.is-disabled i { color: #aab0b8; }
.checkout-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #555; line-height: 1.5; margin: 6px 0 20px; }
.checkout-agree input { margin-top: 3px; }
.checkout-agree a { color: #ff3b30; font-weight: 700; }
.checkout-pay { width: 100%; padding: 16px; border: none; border-radius: 14px; background: linear-gradient(135deg, #ff3b30, #ff7b30); color: #fff; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 20px rgba(255, 59, 48, 0.2); }
.checkout-pay:disabled { background: #d9dde3; color: #707a8a; box-shadow: none; cursor: not-allowed; }
.checkout-fine { font-size: 12px; color: #999; line-height: 1.6; margin: 16px 0 0; }

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: minmax(0, 1fr); }
    .checkout-plan { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 576px) {
    .mship-head h1 { font-size: 26px; }
    .checkout-panel { padding: 22px; }
    .mship-current { padding: 20px; }
}

/* Membership management and plan changes */
.mplan-btn.is-disabled { cursor: default; opacity: 0.55; box-shadow: none; }
.mship-current-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.mship-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, #ff3b30, #ff7b30); color: #fff; border: none; padding: 12px 20px; border-radius: 12px; font-weight: 800; font-size: 13px; text-decoration: none; cursor: pointer; }
.mship-btn-primary:hover { color: #fff; filter: brightness(1.05); }
.mship-link-btn { background: none; border: none; padding: 0; color: #ff3b30; font-weight: 800; font-size: 13px; cursor: pointer; text-decoration: underline; }
.mship-scheduled { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 10px 14px; background: #fff8e6; border-radius: 10px; color: #8a6100; font-size: 13px; font-weight: 600; }
.mship-scheduled form { margin-left: auto; }
.mship-subhead { font-size: 22px; font-weight: 900; color: #1e2329; margin: 0 0 20px; }
.checkout-text { color: #555; font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
a.checkout-pay-link { display: block; text-align: center; text-decoration: none; }

.hub-empty { text-align: center; background: #fff; border: 1px solid #eee; border-radius: 24px; padding: 60px 24px; }
.hub-empty > i { font-size: 40px; color: #ff7b30; margin-bottom: 16px; }
.hub-empty h1 { font-size: 26px; font-weight: 900; color: #1e2329; margin: 0 0 10px; }
.hub-empty p { color: #707a8a; margin: 0 0 24px; }

.mc-plan { display: inline-block; padding: 2px 8px; margin: 2px 4px 2px 0; border-radius: 6px; font-size: 11px; font-weight: 800; background: #f1f3f6; color: #555; }
.mc-plan-gold { background: #fff7e6; color: #ad6800; }
.mc-plan-business { background: #fff1f0; color: #d93b00; }
.mc-plan-platinum { background: #1e2329; color: #fb923c; }

@media (max-width: 768px) {
    .mship-current-actions { width: 100%; }
}

/* One-to-one member chat (dashboard/member_chat.php, admin/member_chats.php) */
.nav-badge { display: inline-block; min-width: 18px; padding: 1px 6px; margin-left: 4px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 10px; font-weight: 800; text-align: center; line-height: 16px; }
.mchat { display: flex; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: 24px; overflow: hidden; min-height: 560px; }
.mchat-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1px solid #f0f0f0; }
.mchat-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mchat-avatar-team { display: flex; align-items: center; justify-content: center; background: #fff0ef; }
.mchat-avatar-team img { width: 28px; height: 28px; }
.mchat-name { font-size: 16px; font-weight: 800; color: #1e2329; }
.mchat-role { font-size: 12px; font-weight: 600; color: #999; margin-top: 2px; }
.mchat-back { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #707a8a; text-decoration: none; }
.mchat-back:hover { color: #ff3b30; }
.mchat-list { flex: 1; height: 440px; overflow-y: auto; padding: 22px; background: #f8fafc; display: flex; flex-direction: column; gap: 14px; }
.mchat-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #999; font-weight: 600; font-size: 14px; text-align: center; }
.mchat-empty i { font-size: 28px; color: #cbd5e1; }
.mchat-msg { max-width: 75%; display: flex; flex-direction: column; gap: 4px; }
.mchat-msg.is-mine { align-self: flex-end; align-items: flex-end; }
.mchat-msg.is-theirs { align-self: flex-start; }
.mchat-meta { font-size: 11px; font-weight: 700; color: #999; }
.mchat-bubble { padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.mchat-msg.is-mine .mchat-bubble { background: linear-gradient(135deg, #ff3b30, #ff7b30); color: #fff; border-bottom-right-radius: 4px; }
.mchat-msg.is-theirs .mchat-bubble { background: #fff; color: #1e2329; border: 1px solid #eee; border-bottom-left-radius: 4px; }
.mchat-form { display: flex; gap: 10px; align-items: flex-end; padding: 14px 16px; border-top: 1px solid #f0f0f0; }
.mchat-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 14px; border: 1px solid #ddd; border-radius: 12px; font: inherit; font-size: 14px; box-sizing: border-box; }
.mchat-form textarea:focus { outline: none; border-color: #ff3b30; }
.mchat-form button { width: 44px; height: 44px; flex-shrink: 0; border: none; border-radius: 12px; background: linear-gradient(135deg, #ff3b30, #ff7b30); color: #fff; font-size: 16px; cursor: pointer; }
.mchat-status { padding: 0 18px 10px; font-size: 12px; font-weight: 700; color: #cf1322; }
.mchat-status:empty { display: none; }
.mchat-admin { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.mchat-inbox { background: #fff; border: 1px solid #eee; border-radius: 20px; overflow: hidden; max-height: 640px; overflow-y: auto; }
.mchat-inbox-item { display: block; padding: 14px 16px; border-bottom: 1px solid #f3f3f3; text-decoration: none; color: inherit; }
.mchat-inbox-item:hover { background: #f8fafc; }
.mchat-inbox-item.active { background: #fff5f4; box-shadow: inset 3px 0 0 #ff3b30; }
.mchat-inbox-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: #1e2329; }
.mchat-unread { min-width: 20px; padding: 2px 7px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 11px; font-weight: 800; text-align: center; }
.mchat-inbox-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 6px 0 4px; }
.mchat-inbox-meta time { font-size: 11px; color: #999; }
.mchat-inbox-last { font-size: 12px; color: #707a8a; overflow-wrap: anywhere; }
.mchat-assign { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #707a8a; }
.mchat-assign select { padding: 8px 10px; border: 1px solid #ddd; border-radius: 10px; font: inherit; font-size: 13px; max-width: 260px; }

@media (max-width: 900px) {
    .mchat-admin { grid-template-columns: minmax(0, 1fr); }
    .mchat-inbox { max-height: 280px; }
}
@media (max-width: 576px) {
    .mchat { min-height: 0; border-radius: 18px; }
    .mchat-list { height: 60vh; padding: 14px; }
    .mchat-msg { max-width: 88%; }
    .mchat-back { margin-left: 0; }
    .mchat-assign { margin-left: 0; width: 100%; }
    .mchat-assign select { flex: 1; max-width: none; }
}

/* Admin: Mobile App page */
.mapp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mapp-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #eee; color: #1e2329; font-weight: 700; font-size: 13px; text-decoration: none; }
.mapp-tab:hover { border-color: #ff3b30; color: #ff3b30; }
.mapp-tab.active { background: #1e2329; border-color: #1e2329; color: #fff; }
.mapp-panel { padding: 30px; background: #fff; border: 1px solid #eee; }
.mapp-panel h3 { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.mapp-hint { color: #848e9c; font-size: 13px; margin: 0 0 16px; }
.mapp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mapp-chip { padding: 6px 12px; border-radius: 999px; background: #fff0ef; color: #d63027; font-weight: 800; font-size: 12px; }
.mapp-chip-ok { background: #e8f8f1; color: #02a065; }
.mapp-form { display: grid; gap: 10px; max-width: 560px; }
.mapp-form label { font-size: 13px; font-weight: 700; color: #1e2329; }
.mapp-form label small { color: #999; font-weight: 500; }
.mapp-form .mship-btn-primary { justify-self: start; margin-top: 6px; }
.mapp-check { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.mapp-empty { text-align: center; color: #999; padding: 30px; }
.mapp-pre { white-space: pre-wrap; font-size: 11px; background: #f7f8fa; padding: 10px; border-radius: 8px; max-height: 240px; overflow: auto; }
@media (max-width: 768px) {
    .mapp-panel { padding: 18px; }
    .mapp-panel .table { display: block; overflow-x: auto; }
}
