/* Page styles extracted from views/pages/for_business/index.php. */

.for-business-clean {
    padding: 40px 0 64px;
}

.fb-hero,
.fb-block,
.fb-compare,
.fb-faq-item,
.fb-cta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.fb-hero {
    padding: 38px;
    margin-bottom: 28px;
    background:
        linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.97)),
        url('/assets/images/hero-grid-pattern.svg'),
        url('/assets/images/hero-trust-bg.svg');
    background-repeat: no-repeat, repeat, no-repeat;
    background-position: center, center, right center;
    background-size: cover, 180px, 520px;
}

.fb-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: center;
}

.fb-hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.45rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 680px;
}

.fb-hero p {
    color: var(--muted);
    line-height: 1.75;
    max-width: 660px;
    margin-bottom: 22px;
}

.fb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.fb-subnote {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.fb-visual {
    display: grid;
}

.fb-dashboard-card {
    border-radius: 28px;
    padding: 20px;
    background: linear-gradient(180deg, #0f172a, #111827);
    color: #f8fbff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.fb-dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.fb-mini-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #bfdbfe;
    font-size: 0.82rem;
    font-weight: 700;
}

.fb-dashboard-surface {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 16px;
}

.fb-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.fb-stat {
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    padding: 14px;
}

.fb-stat small {
    display: block;
    color: #cbd5e1;
    margin-bottom: 6px;
    font-weight: 700;
}

.fb-stat strong {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.fb-review-box {
    background: rgba(255,255,255,0.98);
    color: #111827;
    border-radius: 22px;
    padding: 16px;
}

.fb-review-box .muted {
    color: #6b7280;
}

.fb-section {
    margin-bottom: 28px;
}

.fb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 18px;
}

.fb-section-head h2 {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
}

.fb-section-head p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.fb-grid-3,
.fb-grid-2,
.fb-faq-grid {
    display: grid;
    gap: 18px;
}

.fb-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.fb-grid-2,
.fb-faq-grid {
    grid-template-columns: 1fr 1fr;
}

.fb-block {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.fb-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eff6ff;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.fb-block h3,
.fb-compare h3,
.fb-faq-item h3 {
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.fb-block p,
.fb-compare p,
.fb-faq-item p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.fb-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.fb-list div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.fb-compare {
    padding: 24px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.fb-widget-shell {
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
    background: linear-gradient(135deg, #111827, #1d4ed8 72%, #2563eb);
    color: white;
}

.fb-widget-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 0;
}

.fb-widget-copy,
.fb-widget-side {
    padding: 30px;
}

.fb-widget-copy p {
    color: rgba(255,255,255,0.86);
    line-height: 1.75;
}

.fb-widget-side {
    background: rgba(255,255,255,0.06);
    border-left: 1px solid rgba(255,255,255,0.08);
}

.fb-widget-live {
    background: white;
    color: #111827;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.fb-widget-live .badge-lite {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fb-code-box {
    background: rgba(11,18,32,0.75);
    color: #d8e1f0;
    border-radius: 20px;
    padding: 18px;
    font-size: 0.92rem;
    line-height: 1.7;
    overflow: auto;
    margin-top: 16px;
}

.fb-faq-item {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.fb-cta {
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(125,180,255,0.18), transparent 28%),
        linear-gradient(135deg, #111827, #1e3a8a 68%, #2563eb);
    color: white;
    border: none;
}

.fb-cta p {
    max-width: 760px;
    color: rgba(255,255,255,0.84);
    line-height: 1.75;
}

.fb-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}


/* for-business 2.0 polish */
.fb-hero,
.fb-block,
.fb-compare,
.fb-faq-item,
.fb-cta,
.fb-dashboard-card,
.fb-dashboard-surface,
.fb-review-box,
.fb-widget-shell,
.fb-widget-live,
.fb-code-box,
.fb-icon,
.fb-mini-badge {
    border-radius: 8px;
}

.fb-hero {
    position: relative;
    overflow: hidden;
    border-color: rgba(37,99,235,0.12);
    box-shadow: 0 20px 46px rgba(15,23,42,0.07), inset 0 1px 0 rgba(255,255,255,0.72);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96)),
        url('/assets/images/hero-grid-pattern.svg');
    background-repeat: repeat;
    background-size: 190px;
}

.fb-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    top: -110px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 68%);
    pointer-events: none;
}

.fb-hero-grid {
    position: relative;
    z-index: 1;
}

.fb-hero h1 {
    font-weight: 780;
}

.fb-actions {
    flex-direction: row;
    align-items: center;
}

.fb-actions .btn,
.fb-cta-actions .btn {
    width: auto;
    flex: 0 0 auto;
}

.fb-subnote {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(148,163,184,0.18);
}

.fb-dashboard-card {
    background: #0f172a;
    box-shadow: 0 24px 54px rgba(15,23,42,0.22);
}

.fb-dashboard-surface {
    background: rgba(255,255,255,0.06);
}

.fb-stat {
    border-radius: 8px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.08);
}

.fb-review-box {
    box-shadow: 0 14px 30px rgba(0,0,0,0.16);
}

.fb-block,
.fb-compare,
.fb-faq-item {
    position: relative;
    overflow: hidden;
    border-color: rgba(148,163,184,0.18);
    box-shadow: 0 12px 28px rgba(15,23,42,0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fb-block:hover,
.fb-compare:hover,
.fb-faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(37,99,235,0.22);
    box-shadow: 0 18px 36px rgba(15,23,42,0.075);
}

.fb-icon {
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border: 1px solid rgba(37,99,235,0.12);
    box-shadow: 0 10px 22px rgba(37,99,235,0.08);
}

.fb-block h3,
.fb-compare h3,
.fb-faq-item h3 {
    font-weight: 820;
}

.fb-section-head {
    padding: 0 2px;
}

.fb-section-head p {
    font-size: 1rem;
}

.fb-list div {
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(248,250,252,0.78);
    border: 1px solid rgba(148,163,184,0.14);
}

.fb-widget-shell {
    background: #0f172a;
    box-shadow: 0 22px 48px rgba(15,23,42,0.18);
}

.fb-widget-side {
    background: rgba(255,255,255,0.07);
}

.fb-widget-live {
    border: 1px solid rgba(255,255,255,0.32);
}

.fb-code-box {
    border: 1px solid rgba(255,255,255,0.10);
}

.fb-faq-item {
    padding-left: 24px;
}

.fb-faq-item h3::before {
    content: "?";
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.85rem;
}

.fb-cta {
    background: #0f172a;
    box-shadow: 0 24px 54px rgba(15,23,42,0.2);
}

@media (max-width: 720px) {
    .fb-actions,
    .fb-cta-actions {
        flex-wrap: wrap;
    }
}

/* fb-widget-list contrast */
.fb-widget-shell .fb-list div {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
    color: #f8fafc;
}

.fb-widget-shell .fb-list {
    color: #f8fafc !important;
}
@media (max-width: 980px) {
    .fb-hero-grid,
    .fb-grid-3,
    .fb-grid-2,
    .fb-faq-grid,
    .fb-widget-grid {
        grid-template-columns: 1fr;
    }

    .fb-dashboard-stats {
        grid-template-columns: 1fr;
    }
}
