/* ============================================================
   TIXMONDO LANDING — Darkrise-inspired dark premium design
   ============================================================ */

/* ==================== GLOBAL — DARK BASE ==================== */
body {
    background: #0a0a0f;
    color: #e2e8f0;
}

.page {
    background: #0a0a0f;
}

.page-body {
    background: #0a0a0f;
}

/* Force single-column stacking on landing page */
.page-body .row.row-deck {
    flex-direction: column;
}
.page-body .row.row-deck > .col-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.section-label {
    text-transform: uppercase;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: #818cf8;
    margin-bottom: .5rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== HERO ==================== */
.hero-section {
    position: relative;
    background: #0a0a0f;
    color: #fff;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.hero-bg-decoration {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 600px at 15% 40%, rgba(99,102,241,.2), transparent 60%),
        radial-gradient(600px 400px at 85% 20%, rgba(139,92,246,.15), transparent 55%),
        radial-gradient(500px 500px at 50% 90%, rgba(236,72,153,.08), transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 100px;
    font-size: .85rem;
    font-weight: 600;
    color: #a5b4fc;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 40%, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    max-width: 480px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 24px rgba(99,102,241,.4);
}
.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(99,102,241,.55);
    color: #fff;
}

.hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    border-radius: 12px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: border-color .2s, color .2s, box-shadow .2s;
}
.hero-btn-ghost:hover {
    border-color: rgba(139,92,246,.5);
    color: #fff;
    box-shadow: 0 0 20px rgba(139,92,246,.15);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

.hero-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}
.hero-stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,.08);
}

.hero-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(99,102,241,.15), 0 0 0 1px rgba(255,255,255,.06);
}
.hero-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .hero-section { padding: 3rem 0; }
    .hero-section .row { flex-direction: column; }
    .hero-section .col-lg-6 { width: 100%; max-width: 100%; }
    .hero-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .hero-subtitle { max-width: 100%; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-video-wrap { margin-top: 2rem; }
}

/* ==================== PROMO VIDEO ==================== */
.promo-video-section {
    background: #0a0a0f;
    padding: 0 0 3rem;
}

.promo-video {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(99,102,241,.12), 0 0 0 1px rgba(255,255,255,.06);
}

@media (max-width: 767px) {
    .promo-video-section { padding: 0 0 2rem; }
    .promo-video { border-radius: 10px; max-height: 240px; }
}

/* ==================== BENTO GRID ==================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, box-shadow .3s ease;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06);
}
.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99,102,241,.12);
    border-color: rgba(99,102,241,.2);
}

.bento-lg   { grid-column: span 7; }
.bento-md   { grid-column: span 5; }
.bento-sm   { grid-column: span 6; }
.bento-wide { grid-column: span 12; }

@media (max-width: 991px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .bento-lg, .bento-md, .bento-sm, .bento-wide {
        grid-column: unset;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.4rem;
    }
    .section-label {
        font-size: .7rem;
    }
}

.bento-content {
    padding: 2rem;
}
.bento-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #fff;
}
.bento-content p {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    line-height: 1.6;
    margin-bottom: 0;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 22px;
}

/* Dark gradient bento cards with glow accents */
.bento-gradient-purple { background: linear-gradient(160deg, rgba(139,92,246,.08), rgba(99,102,241,.04)); border-color: rgba(139,92,246,.12); }
.bento-gradient-purple .bento-icon { background: rgba(139,92,246,.15); color: #a78bfa; }
.bento-gradient-purple:hover { box-shadow: 0 16px 48px rgba(139,92,246,.15); }

.bento-gradient-blue { background: linear-gradient(160deg, rgba(59,130,246,.08), rgba(37,99,235,.04)); border-color: rgba(59,130,246,.12); }
.bento-gradient-blue .bento-icon { background: rgba(59,130,246,.15); color: #60a5fa; }
.bento-gradient-blue:hover { box-shadow: 0 16px 48px rgba(59,130,246,.15); }

.bento-gradient-green { background: linear-gradient(160deg, rgba(34,197,94,.08), rgba(22,163,74,.04)); border-color: rgba(34,197,94,.12); }
.bento-gradient-green .bento-icon { background: rgba(34,197,94,.15); color: #4ade80; }
.bento-gradient-green:hover { box-shadow: 0 16px 48px rgba(34,197,94,.15); }

.bento-gradient-cyan { background: linear-gradient(160deg, rgba(8,145,178,.08), rgba(6,182,212,.04)); border-color: rgba(8,145,178,.12); }
.bento-gradient-cyan .bento-icon { background: rgba(6,182,212,.15); color: #22d3ee; }
.bento-gradient-cyan:hover { box-shadow: 0 16px 48px rgba(6,182,212,.15); }

.bento-gradient-orange { background: linear-gradient(160deg, rgba(234,88,12,.08), rgba(249,115,22,.04)); border-color: rgba(234,88,12,.12); }
.bento-gradient-orange .bento-icon { background: rgba(234,88,12,.15); color: #fb923c; }
.bento-gradient-orange:hover { box-shadow: 0 16px 48px rgba(234,88,12,.15); }

.bento-gradient-indigo { background: linear-gradient(160deg, rgba(99,102,241,.08), rgba(79,70,229,.04)); border-color: rgba(99,102,241,.12); }
.bento-gradient-indigo .bento-icon { background: rgba(99,102,241,.15); color: #818cf8; }
.bento-gradient-indigo:hover { box-shadow: 0 16px 48px rgba(99,102,241,.15); }

.bento-gradient-dark {
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.06);
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.bento-gradient-dark .bento-content h3 { color: #fff; }
.bento-gradient-dark .bento-content p { color: rgba(255,255,255,.5); }
.bento-gradient-dark .bento-icon { background: rgba(255,255,255,.08); color: #a5b4fc; }

/* Screenshot placeholders */
.bento-screenshot { padding: 0 2rem 1.5rem; }
.bento-screenshot-full { flex: 1; padding: 0; }

.bento-screenshot-bg {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.bento-screenshot-bg-full {
    height: 100%;
    min-height: 260px;
    border-radius: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bento-content-overlay { padding: 2rem; }

/* ==================== FLOW INFOGRAPHIC ==================== */
.flow-infographic {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 3rem 0 1rem;
    gap: 8px;
}

.flow-path {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 0;
    opacity: .4;
}

.flow-node {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 150px;
}

.flow-node-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--node-bg);
    color: var(--node-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 20px;
    border: 2px solid var(--node-color);
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 0 16px rgba(0,0,0,.3);
    /* Override light colors for dark theme */
    background: rgba(255,255,255,.05) !important;
}

.flow-node:hover .flow-node-ring {
    transform: scale(1.15);
    box-shadow: 0 0 24px rgba(99,102,241,.3);
}

.flow-node-label {
    font-weight: 700;
    font-size: .82rem;
    color: #e2e8f0;
    margin-bottom: 2px;
}
.flow-node-desc {
    font-size: .75rem;
    color: rgba(255,255,255,.35);
    line-height: 1.3;
}

.flow-loop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #818cf8;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 100px;
}

@media (max-width: 767px) {
    .flow-infographic {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 8px;
        padding: 1rem 0;
    }
    .flow-path { display: none; }
    .flow-node {
        flex: none;
        max-width: none;
        margin-bottom: 0;
    }
    .flow-node-ring { width: 40px; height: 40px; font-size: 16px; }
    .flow-node-label { font-size: .72rem; }
    .flow-node-desc { font-size: .65rem; }
}

/* ==================== HOW IT WORKS ==================== */
.hiw-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.hiw-step {
    flex: 0 0 170px;
    text-align: center;
}

.hiw-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
    border: 2px solid;
    position: relative;
    background: rgba(255,255,255,.05) !important;
}

.hiw-num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hiw-title {
    font-size: .9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.hiw-desc {
    font-size: .8rem;
    color: rgba(255,255,255,.4);
    margin-bottom: 0;
}

.hiw-arrow {
    display: flex;
    align-items: center;
    padding-top: 12px;
    flex-shrink: 0;
}
.hiw-arrow svg {
    stroke: rgba(255,255,255,.15);
}

@media (max-width: 991px) {
    .hiw-steps { flex-direction: column; align-items: center; gap: 12px; }
    .hiw-step { flex: none; width: 100%; max-width: 300px; }
    .hiw-arrow { transform: rotate(90deg); padding: 0; height: 24px; }
}

@media (max-width: 767px) {

    /* Commission bars — scale down on mobile */
    .commission-bar-competitor[style*="height: 200px"] { height: 120px !important; }
    .commission-bar-competitor[style*="height: 180px"] { height: 108px !important; }
    .commission-bar-competitor[style*="height: 160px"] { height: 96px !important; }
    .commission-bar-tix[style*="height: 80px"] { height: 50px !important; }
    .commission-bar { max-width: 60px; }
    .commission-bar-tix { max-width: 80px !important; }
    .commission-bar-label { font-size: .85rem; }
}

/* ==================== COMMISSION BARS ==================== */
.commission-bars-section .card {
    border: none !important;
}

.page-body .card:not(.toast) {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 20px !important;
    color: #e2e8f0;
}

.page-body .card:not(.toast) .display-6 {
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-body .card:not(.toast) .text-muted,
.page-body > .container-xl .text-muted,
.page-body > .container-xl .text-secondary {
    color: rgba(255,255,255,.4) !important;
}

.commission-bar {
    width: 100%;
    max-width: 80px;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 14px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.commission-bar:hover {
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.commission-bar-competitor {
    background: linear-gradient(180deg, #f87171, #dc2626);
    box-shadow: 0 0 20px rgba(220,38,38,.2);
}
.commission-bar-tix {
    background: linear-gradient(180deg, #4ade80, #16a34a);
    max-width: 120px;
    border: 2px solid #22c55e;
    box-shadow: 0 0 30px rgba(34,197,94,.25);
}
.commission-bar-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* Commission bottom badge */
.page-body .rounded-3[style*="background: #f0fdf4"] {
    background: rgba(34,197,94,.1) !important;
    border-color: rgba(34,197,94,.2) !important;
}

.page-body .text-primary {
    color: #4ade80 !important;
}

/* ==================== LAUNCH OFFER ==================== */
.launch-offer-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%) !important;
    color: #fff;
    border-radius: 20px !important;
    border: 1px solid rgba(139,92,246,.2) !important;
    box-shadow: 0 0 40px rgba(139,92,246,.1);
}
.launch-offer-banner .text-white-75 { color: rgba(255,255,255,.65); }

.btn-white {
    background: #fff;
    color: #4c1d95;
    border: none;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 24px;
    transition: transform .2s, box-shadow .2s;
}
.btn-white:hover {
    background: #f5f3ff;
    color: #4c1d95;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139,92,246,.3);
}

/* ==================== LOGGED BANNER ==================== */
.logged-banner {
    background: rgba(99,102,241,.06) !important;
    border: 1px solid rgba(99,102,241,.12) !important;
    border-radius: 16px !important;
}
.logged-banner .fw-medium {
    color: #e2e8f0;
}

/* ==================== CUSTOMER NOTIFY ==================== */
#customer-notify .card {
    background: rgba(255,255,255,.03) !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 20px !important;
}

#customer-notify h2 {
    color: #fff;
}

#customer-notify .avatar {
    background: rgba(59,130,246,.12) !important;
    color: #60a5fa;
}

#customer-notify .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    box-shadow: 0 4px 24px rgba(99,102,241,.4);
    transition: transform .2s, box-shadow .2s;
}
#customer-notify .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(99,102,241,.55);
}

/* ==================== GLOBAL OVERRIDES FOR DARK ==================== */
.page-body .card:not(.toast) > .card-body {
    color: #e2e8f0;
}

.page-body .badge.bg-white {
    background: rgba(255,255,255,.1) !important;
    color: #a5b4fc !important;
}

.page-body .fs-4 {
    color: rgba(255,255,255,.7);
}

.page-body .text-success {
    color: #4ade80 !important;
}

/* ==================== SCROLL REVEAL ANIMATION ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-body .col-12 {
    animation: fadeInUp .6s ease both;
}
.page-body .col-12:nth-child(2) { animation-delay: .1s; }
.page-body .col-12:nth-child(3) { animation-delay: .2s; }
.page-body .col-12:nth-child(4) { animation-delay: .3s; }
.page-body .col-12:nth-child(5) { animation-delay: .4s; }
.page-body .col-12:nth-child(6) { animation-delay: .5s; }
.page-body .col-12:nth-child(7) { animation-delay: .6s; }

/* ==================== TOAST RESET ==================== */
.toast-container .toast {
    color: #182433;
}
.toast-container .toast .toast-body {
    color: #182433;
}

/* ==================== NAVBAR FIX ==================== */
header.navbar.navbar-overlap::after {
    display: none !important;
}
header.navbar.navbar-overlap {
    margin-bottom: 0 !important;
}
