/* ========================================== */
/* 🧠 MBIS LANDING PAGE STYLES              */
/* Madjuo Behaviour Intelligence System      */
/* ========================================== */

/* ---- Hero Section ---- */
.mbis-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(160deg, #020812 0%, #0A1F3D 40%, #0d1b3a 70%, #020812 100%);
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.mbis-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 122, 0, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 200, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.mbis-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #020812, transparent);
    pointer-events: none;
}

.mbis-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.mbis-hero-overline {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 30px;
    color: #FF8C00;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}

.mbis-hero-title {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.mbis-hero-title .mbis-highlight {
    color: #FF8C00;
}

.mbis-hero-subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.mbis-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #FF8C00, #e67e00);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.25);
}

.mbis-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 140, 0, 0.4);
    color: #fff;
    text-decoration: none;
}

.mbis-hero-note {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .mbis-hero {
        min-height: 90vh;
        padding: 8rem 2rem 5rem;
    }
    .mbis-hero-title {
        font-size: 2.6rem;
    }
    .mbis-hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 1200px) {
    .mbis-hero-title {
        font-size: 3rem;
    }
}

/* ---- Why MBIS (Problem) Cards ---- */
.mbis-problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.mbis-problem-card:hover {
    border-color: rgba(255, 140, 0, 0.25);
    transform: translateY(-4px);
}

.mbis-problem-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 68, 68, 0.05));
    border: 1px solid rgba(255, 68, 68, 0.25);
    color: #FF4444;
}

.mbis-problem-card h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.mbis-problem-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ---- Behaviour Tag Cards (6 Tags) ---- */
.mbis-tag-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mbis-tag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mbis-tag-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.mbis-tag-card:hover::before {
    opacity: 1;
}

/* Tag color variants */
.mbis-tag-card[data-tag="stability"]::before { background: #00BFFF; }
.mbis-tag-card[data-tag="volatility"]::before { background: #FF4444; }
.mbis-tag-card[data-tag="discipline"]::before { background: #00FF88; }
.mbis-tag-card[data-tag="pressure"]::before { background: #FF8C00; }
.mbis-tag-card[data-tag="consistency"]::before { background: #8B5CF6; }
.mbis-tag-card[data-tag="growth"]::before { background: #10B981; }

.mbis-tag-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.mbis-tag-card h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
}

.mbis-tag-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- How It Works Flow ---- */
.mbis-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.mbis-flow-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 56px;
    bottom: 56px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.4), rgba(0, 200, 255, 0.4), rgba(0, 255, 136, 0.4));
}

.mbis-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.mbis-flow-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 2px solid rgba(255, 140, 0, 0.4);
}

.mbis-flow-step:nth-child(2) .mbis-flow-number {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(0, 200, 255, 0.1));
    border-color: rgba(0, 200, 255, 0.4);
}

.mbis-flow-step:nth-child(3) .mbis-flow-number {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    border-color: rgba(139, 92, 246, 0.4);
}

.mbis-flow-step:nth-child(4) .mbis-flow-number {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border-color: rgba(0, 255, 136, 0.4);
}

.mbis-flow-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.mbis-flow-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .mbis-flow-steps::before {
        left: 28px;
    }
}

/* ---- Growth Journal (Ebook) Section ---- */
.mbis-journal-section {
    background: linear-gradient(180deg, #020812 0%, #0A1F3D 50%, #020812 100%);
}

.mbis-journal-section::before {
    background: radial-gradient(circle at 50% 50%, rgba(255, 140, 0, 0.06), transparent 60%);
}

.mbis-journal-book {
    width: 220px;
    height: 310px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a2744, #0a1628);
    border-radius: 8px 16px 16px 8px;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.4), -2px 0 8px rgba(255, 140, 0, 0.15);
    position: relative;
    overflow: hidden;
    border-left: 5px solid rgba(255, 140, 0, 0.6);
}

.mbis-journal-book-spine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 10%, transparent 90%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.mbis-journal-book-content {
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mbis-journal-book-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 140, 0, 0.15) 50%);
}

.mbis-journal-badge {
    display: inline-block;
    margin-top: 1rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 6px 16px;
    color: #FF8C00;
    font-size: 0.8rem;
    font-weight: 600;
}

.mbis-journal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.mbis-journal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.mbis-journal-list li .check {
    color: #FF8C00;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ---- Pipeline / Flow Diagram ---- */
.mbis-pipeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 600px;
    margin: 0 auto;
}

.mbis-pipeline-node {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-align: center;
    position: relative;
}

.mbis-pipeline-node h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-family: 'Orbitron', sans-serif;
}

.mbis-pipeline-node p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.mbis-pipeline-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0;
    color: rgba(255, 140, 0, 0.5);
    font-size: 1.4rem;
}

/* Node accent colors */
.mbis-pipeline-node.node-input {
    border-color: rgba(0, 200, 255, 0.25);
}
.mbis-pipeline-node.node-signal {
    border-color: rgba(255, 140, 0, 0.25);
}
.mbis-pipeline-node.node-scenario {
    border-color: rgba(139, 92, 246, 0.25);
}
.mbis-pipeline-node.node-output {
    border-color: rgba(0, 255, 136, 0.25);
    background: rgba(0, 255, 136, 0.04);
}

@media (min-width: 992px) {
    .mbis-pipeline {
        flex-direction: row;
        gap: 0;
        max-width: 100%;
    }
    .mbis-pipeline-node {
        flex: 1;
    }
    .mbis-pipeline-arrow {
        padding: 0 0.5rem;
        transform: rotate(0deg);
    }
    .mbis-pipeline-arrow i {
        transform: rotate(-90deg);
    }
}

/* ---- Foundation Cards ---- */
.mbis-foundation-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.8rem;
    height: 100%;
    transition: border-color 0.3s ease;
}

.mbis-foundation-card:hover {
    border-color: rgba(0, 200, 255, 0.2);
}

.mbis-foundation-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(0, 200, 255, 0.05));
    border: 1px solid rgba(0, 200, 255, 0.25);
    color: #00C8FF;
}

.mbis-foundation-card h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.mbis-foundation-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Closing CTA ---- */
.mbis-closing {
    position: relative;
    padding: 5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #020812 0%, #0A1F3D 50%, #020812 100%);
    overflow: hidden;
}

.mbis-closing::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 140, 0, 0.06), transparent 60%);
    pointer-events: none;
}

.mbis-closing-inner {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.mbis-closing h2 {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.mbis-closing p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.mbis-closing .mbis-hero-cta {
    margin-bottom: 0.8rem;
}

@media (min-width: 768px) {
    .mbis-closing {
        padding: 7rem 2rem;
    }
    .mbis-closing h2 {
        font-size: 2.2rem;
    }
}

/* ---- Utility: scroll reveal fade ---- */
.mbis-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mbis-reveal.mbis-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Form Styles (Growth Journal) ---- */
.mbis-form-input {
    flex: 1;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.mbis-form-input:focus {
    border-color: rgba(255, 140, 0, 0.7);
}

.mbis-form-input::placeholder {
    color: #64748b;
}

.mbis-form-btn {
    padding: 14px 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FF8C00, #e67e00);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.mbis-form-btn:hover {
    opacity: 0.9;
}

/* ---- Divider line ---- */
.mbis-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FF8C00, #00C8FF);
    border-radius: 3px;
    margin: 0 auto 2rem;
}
