/* ============================================
   Doc Miners — Landing Page Styles
   F11 v1.0
   ============================================ */

:root {
    --mb-primary: #1B4D8E;
    --mb-primary-light: #3B82F6;
    --mb-accent: #10B981;
    --mb-accent-hover: #059669;
    --mb-dark: #1F2937;
    --mb-medium: #6B7280;
    --mb-light: #F3F4F6;
    --mb-white: #FFFFFF;
    --mb-danger: #EF4444;
    --mb-warning: #F59E0B;
    --mb-font: 'Inter', system-ui, -apple-system, sans-serif;
    --mb-radius-sm: 6px;
    --mb-radius-md: 12px;
    --mb-radius-lg: 16px;
    --mb-shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --mb-shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --mb-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --mb-max-width: 1200px;
    --mb-nav-height: 72px;
}

/* Reset */
.mybutler-landing,
.mybutler-landing *,
.mybutler-landing *::before,
.mybutler-landing *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mybutler-landing {
    font-family: var(--mb-font);
    color: var(--mb-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: var(--mb-white);
}

.mybutler-landing img { max-width: 100%; height: auto; }
.mybutler-landing a { color: var(--mb-primary-light); text-decoration: none; }

/* Container */
.mb-container {
    max-width: var(--mb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section headings */
.mb-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--mb-dark);
    text-align: center;
    margin-bottom: 16px;
}

.mb-section-subtitle {
    font-size: 18px;
    color: var(--mb-medium);
    text-align: center;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.mb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--mb-radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    font-family: var(--mb-font);
    line-height: 1.4;
}

.mb-btn:hover { transform: translateY(-1px); }
.mb-btn:active { transform: translateY(0); }
.mb-btn-accent, a.mb-btn-accent { background: var(--mb-accent); color: #fff; }
.mb-btn-accent:hover, a.mb-btn-accent:hover { background: var(--mb-primary); color: #fff; }
.mb-btn-outline { background: transparent; border: 2px solid var(--mb-primary); color: var(--mb-primary); }
.mb-btn-outline:hover { background: var(--mb-primary); color: #fff; }
.mb-btn-white { background: #fff; color: var(--mb-primary); }
.mb-btn-white:hover { background: #f0f0f0; color: var(--mb-primary); }
.mb-btn-lg { padding: 16px 32px; font-size: 18px; }

/* ============================================
   Navigation
   ============================================ */
.mb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow 0.3s;
    height: var(--mb-nav-height);
}

.mb-nav.scrolled { box-shadow: var(--mb-shadow-sm); }

.mb-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--mb-nav-height);
}

.mb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mb-logo-img { height: 36px; width: auto; }
.mb-logo svg { width: 32px; height: 32px; color: var(--mb-primary); }
.mb-logo span { font-weight: 700; font-size: 20px; color: var(--mb-primary); }

.mb-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.mb-nav-links a {
    color: var(--mb-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.mb-nav-links a:hover { color: var(--mb-primary-light); }

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

.mb-nav-login {
    color: var(--mb-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.mb-nav-login:hover { color: var(--mb-primary-light); }


/* ============================================
   Hero
   ============================================ */
.mb-hero {
    padding: calc(var(--mb-nav-height) + 60px) 0 80px;
    background: linear-gradient(180deg, #f0f7ff 0%, var(--mb-white) 100%);
}

.mb-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mb-hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--mb-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.mb-hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--mb-dark);
    margin-bottom: 20px;
}

.mb-hero-subtitle {
    font-size: 20px;
    color: var(--mb-medium);
    line-height: 1.6;
    margin-bottom: 32px;
}

.mb-hero-ctas {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.mb-hero-secondary {
    color: var(--mb-primary-light);
    font-weight: 500;
    text-decoration: none;
}

.mb-hero-secondary:hover { text-decoration: underline; }
.mb-hero-trust { font-size: 14px; color: var(--mb-medium); }

.mb-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mb-hero-illustration {
    width: 100%;
    max-width: 500px;
    padding: 40px;
}

.mb-hero-illustration svg { width: 100%; height: auto; }

/* ============================================
   Social Proof
   ============================================ */
.mb-social-proof {
    background: var(--mb-light);
    padding: 40px 0;
}

.mb-social-proof-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.mb-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--mb-primary);
    display: block;
}

.mb-stat-label {
    font-size: 14px;
    color: var(--mb-medium);
    margin-top: 4px;
}

/* ============================================
   Features / How It Works
   ============================================ */
.mb-features { padding: 100px 0; }

.mb-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.mb-step {
    text-align: center;
    position: relative;
}

.mb-step-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mb-step-icon svg { width: 28px; height: 28px; color: var(--mb-primary); }

.mb-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mb-step p { font-size: 14px; color: var(--mb-medium); }

.mb-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: #d1d5db;
}

.mb-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.mb-feature-card {
    background: var(--mb-white);
    border: 1px solid #e5e7eb;
    border-radius: var(--mb-radius-md);
    padding: 32px;
    transition: box-shadow 0.3s, transform 0.2s;
}

.mb-feature-card:hover {
    box-shadow: var(--mb-shadow-md);
    transform: translateY(-4px);
}

.mb-feature-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mb-feature-icon svg { width: 24px; height: 24px; color: var(--mb-primary); }
.mb-feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.mb-feature-card p { font-size: 15px; color: var(--mb-medium); line-height: 1.6; }

/* ============================================
   Privacy & Data Safety
   ============================================ */
.mb-privacy {
    background: var(--mb-dark);
    color: var(--mb-white);
    padding: 100px 0;
}

.mb-privacy .mb-section-title { color: #fff; }
.mb-privacy .mb-section-subtitle { color: rgba(255,255,255,0.7); }

.mb-privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mb-privacy-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--mb-radius-md);
    padding: 32px;
    text-align: center;
}

.mb-privacy-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.mb-privacy-icon svg { width: 28px; height: 28px; color: #fff; }
.mb-privacy-card h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.mb-privacy-card p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.6; }
.mb-privacy-links { text-align: center; margin-top: 40px; color: rgba(255,255,255,0.5); font-size: 14px; }
.mb-privacy-links a { color: rgba(255,255,255,0.7); text-decoration: underline; }

/* ============================================
   ROI / Comparison
   ============================================ */
.mb-roi {
    padding: 100px 0;
    background: var(--mb-light);
}

.mb-roi-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.mb-roi-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--mb-radius-md);
    overflow: hidden;
    box-shadow: var(--mb-shadow-sm);
    font-size: 14px;
}

.mb-roi-table th {
    background: var(--mb-primary);
    color: #fff;
    padding: 14px 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.mb-roi-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.mb-roi-table td:first-child { font-weight: 500; }
.mb-roi-table td:last-child { font-weight: 600; color: var(--mb-accent); }
.mb-roi-table tr:last-child td { border-bottom: none; }

.mb-roi-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mb-roi-text p {
    color: var(--mb-medium);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.mb-roi-callout {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--mb-radius-md);
    padding: 24px;
}

.mb-roi-callout p {
    color: var(--mb-dark);
    font-size: 15px;
    margin: 0;
}

/* ============================================
   Pricing
   ============================================ */
.mb-pricing { padding: 100px 0; }

.mb-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mb-pricing-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: var(--mb-radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.mb-pricing-card:hover { box-shadow: var(--mb-shadow-lg); }
.mb-pricing-popular { border-color: var(--mb-accent); }

.mb-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mb-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.mb-pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mb-pricing-price { margin-bottom: 4px; }
.mb-price-currency { font-size: 24px; font-weight: 600; vertical-align: top; line-height: 1.2; }
.mb-price-amount { font-size: 42px; font-weight: 700; color: var(--mb-dark); }
.mb-price-period { font-size: 16px; color: var(--mb-medium); }
.mb-pricing-pages { font-size: 14px; color: var(--mb-medium); margin-bottom: 20px; }

.mb-pricing-features {
    list-style: none;
    text-align: left;
    margin: 0 0 24px;
    flex: 1;
}

.mb-pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mb-pricing-features li:last-child { border-bottom: none; }
.mb-pricing-features .has-feature { color: var(--mb-dark); }
.mb-pricing-features .no-feature { color: #d1d5db; text-decoration: line-through; }

.mb-check { color: var(--mb-accent); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.mb-cross { color: #d1d5db; font-weight: 700; font-size: 16px; flex-shrink: 0; }

.mb-pricing-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--mb-medium);
    font-size: 15px;
}

.mb-pricing-footer strong { color: var(--mb-dark); }

/* ============================================
   Guarantee
   ============================================ */
.mb-guarantee { padding: 80px 0; }

.mb-guarantee-grid {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.mb-guarantee-badge { text-align: center; max-width: 280px; }

.mb-guarantee-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.mb-guarantee-icon svg { width: 28px; height: 28px; color: var(--mb-primary); }
.mb-guarantee-badge h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.mb-guarantee-badge p { font-size: 14px; color: var(--mb-medium); line-height: 1.5; }

/* ============================================
   Testimonials / Use Cases
   ============================================ */
.mb-testimonials {
    padding: 80px 0;
    background: var(--mb-light);
}

.mb-usecase-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.mb-usecase-badge {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--mb-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mb-usecase-badge svg { width: 18px; height: 18px; color: var(--mb-primary); }

/* ============================================
   FAQ
   ============================================ */
.mb-faq { padding: 100px 0; }

.mb-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.mb-faq-item { border-bottom: 1px solid #e5e7eb; }

.mb-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--mb-dark);
    text-align: left;
    font-family: var(--mb-font);
    line-height: 1.4;
    gap: 16px;
}

.mb-faq-question:hover { color: var(--mb-primary); }

.mb-faq-chevron {
    transition: transform 0.3s;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--mb-medium);
}

.mb-faq-item.active .mb-faq-chevron { transform: rotate(180deg); }

.mb-faq-answer {
    padding: 0 0 20px;
    color: var(--mb-medium);
    line-height: 1.7;
    font-size: 15px;
}

/* ============================================
   Final CTA
   ============================================ */
.mb-final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--mb-primary) 0%, var(--mb-primary-light) 100%);
    text-align: center;
}

.mb-final-cta h2 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 16px;
}

.mb-final-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 32px;
}

.mb-final-cta-sub {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-top: 16px;
}

/* ============================================
   Footer
   ============================================ */
.mb-footer {
    background: var(--mb-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

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

.mb-footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.mb-footer ul { list-style: none; }
.mb-footer li { margin-bottom: 10px; }

.mb-footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.mb-footer a:hover { color: #fff; }

.mb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}

/* ============================================
   Responsive: Tablet (768-1199px)
   ============================================ */
@media (max-width: 1199px) {
    .mb-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .mb-hero-visual { display: none; }
    .mb-hero h1 { font-size: 36px; }
    .mb-hero-ctas { justify-content: center; }
    .mb-hero-trust { text-align: center; }
    .mb-pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .mb-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .mb-roi-grid { grid-template-columns: 1fr; }
    .mb-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Responsive: Mobile (<768px)
   ============================================ */
/* ============================================
   F22: Language Switcher (landing page override)
   Scoped to .mb-lang-landing to beat mybutler-ui.css
   MUST appear before mobile media query so mobile overrides cascade correctly.
   ============================================ */

.mb-lang-landing.mb-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.mb-lang-landing .mb-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(31, 41, 55, 0.06);
    border: 1px solid rgba(31, 41, 55, 0.15);
    border-radius: 6px;
    color: var(--mb-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}

.mb-lang-landing .mb-lang-toggle:hover {
    background: rgba(31, 41, 55, 0.12);
    color: var(--mb-primary);
}

.mb-lang-landing .mb-lang-arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.mb-lang-landing.open .mb-lang-arrow {
    transform: rotate(180deg);
}

.mb-lang-landing .mb-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 1001;
    min-width: 60px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.mb-lang-landing.open .mb-lang-dropdown {
    display: block;
}

.mb-lang-landing .mb-lang-option {
    display: block;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: background 0.1s;
    font-family: inherit;
}

.mb-lang-landing .mb-lang-option:hover {
    background: #f1f5f9;
}

.mb-lang-landing .mb-lang-option.active {
    color: var(--mb-primary-light);
    font-weight: 600;
    background: #eff6ff;
}

[dir="rtl"] .mb-lang-landing .mb-lang-dropdown { right: auto; left: 0; }

@media (max-width: 767px) {
    /* Simple solid nav bar — no hamburger menu */
    .mb-nav {
        background: var(--mb-primary);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        height: auto;
    }
    .mb-nav.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
    .mb-nav-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
    .mb-nav-links { display: none; }
    .mb-logo-img { height: 28px; }
    .mb-logo svg { color: #fff; }
    .mb-logo span { color: #fff; font-size: 17px; }
    .mb-nav-actions { gap: 8px; }
    .mybutler-landing .mb-nav-login { color: rgba(255,255,255,0.85); font-size: 13px; }
    .mybutler-landing .mb-nav-login:hover { color: #fff; }
    .mb-nav-actions .mb-btn-accent { padding: 8px 14px; font-size: 13px; }
    .mb-lang-landing .mb-lang-toggle {
        color: rgba(255,255,255,0.85);
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.2);
        font-size: 12px;
    }
    .mb-lang-landing .mb-lang-toggle:hover { background: rgba(255,255,255,0.2); color: #fff; }

    .mb-hero { padding-top: calc(52px + 40px); }
    .mb-hero h1 { font-size: 28px; }
    .mb-hero-subtitle { font-size: 16px; }
    .mb-hero-ctas { flex-direction: column; align-items: center; }
    .mb-section-title { font-size: 28px; }
    .mb-section-subtitle { font-size: 16px; }
    .mb-steps { grid-template-columns: 1fr; }
    .mb-step:not(:last-child)::after { display: none; }
    .mb-feature-grid { grid-template-columns: 1fr; }
    .mb-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .mb-privacy-grid { grid-template-columns: 1fr; }
    .mb-guarantee-grid { flex-direction: column; align-items: center; }
    .mb-footer-grid { grid-template-columns: 1fr; }
    .mb-social-proof-grid { flex-direction: column; gap: 24px; }
    .mb-roi-table { font-size: 12px; }
    .mb-roi-table th, .mb-roi-table td { padding: 8px 6px; }
    .mb-final-cta h2 { font-size: 28px; }
}

/* ============================================
   RTL Support
   ============================================ */
[dir="rtl"] .mb-hero-ctas { flex-direction: row-reverse; }
[dir="rtl"] .mb-faq-question { text-align: right; flex-direction: row-reverse; }
[dir="rtl"] .mb-pricing-features { text-align: right; }
[dir="rtl"] .mb-pricing-features li { flex-direction: row-reverse; }
[dir="rtl"] .mb-footer { text-align: right; }
[dir="rtl"] .mb-roi-table { direction: rtl; }

