/* ================================================================
   brillion1.css — Brillion1 | WhatsApp Business Platform
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-deeper: #1340B0;
    --blue-light: #EFF6FF;
    --blue-mid: #DBEAFE;
    --blue-soft: #93C5FD;
    --ink: #0F172A;
    --ink-2: #1E293B;
    --body: #475569;
    --muted: #94A3B8;
    --border: #E2E8F0;
    --white: #FFFFFF;
    --page-bg: #F8FAFF;
    --font-head: 'Manrope', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 16px;
    --shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
    --shadow-md: 0 8px 40px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.16);
    --tr: 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
.b1-page *,
.b1-page *::before,
.b1-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.b1-page {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── SHARED ── */
.b1-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 48px;
}

.b1-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.b1-section-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 200;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.4px;
    margin-bottom: 16px;
}

.b1-section-desc {
    font-size: 1rem;
    color: var(--body);
    max-width: 860px;
    line-height: 1.78;
    margin-bottom: 48px;
}

.b1-section {
    padding: 100px 0;
}

.b1-section--alt {
    background: var(--page-bg);
}

/* ── HERO ── */
.b1-hero {
    background: linear-gradient(160deg, #EEF4FF 0%, #F4F8FF 55%, #FFFFFF 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.b1-hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -100px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
    pointer-events: none;
}

.b1-hero__inner {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 64px;
    align-items: center;
    min-height: 580px;
}

/* ── HERO TEXT ── */
.b1-hero__text {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

.b1-badge {
    display: inline-block;
    background: var(--blue-mid);
    color: var(--blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.b1-hero__title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.b1-highlight {
    color: var(--blue);
}

.b1-hero__sub {
    font-size: 1rem;
    color: var(--body);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 460px;
}

.b1-hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.b1-btn--primary {
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 9px;
    padding: 14px 30px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background var(--tr), transform 0.15s, box-shadow var(--tr);
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.28);
}

.b1-btn--primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.35);
}

.b1-btn--ghost {
    background: transparent;
    color: var(--ink-2);
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 13px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: border-color var(--tr), color var(--tr), background var(--tr);
}

.b1-btn--ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* ── HERO VISUAL ── */
.b1-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* The main image wrapper — large, fills right column, bleeds to bottom */
.b1-phone-wrap {
    margin-top: 20px;
    position: relative;
    width: 100%;
    max-width: 680px;
}

.b1-about-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.b1-about-head .b1-section-desc {
    max-width: 420px;
    margin: 0;
}

/* Decorative glow rings behind image */
.b1-phone-ring {
    position: absolute;
    border-radius: 24px;
    pointer-events: none;
    z-index: 0;
}

.b1-phone-ring--1 {
    inset: -6px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.08));
    border-radius: 28px;
}

.b1-phone-ring--2 {
    inset: -14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.04));
    border-radius: 34px;
}

.b1-phone-ring--3 {
    inset: -24px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), transparent);
    border-radius: 42px;
}

/* The card that holds the image */
.b1-phone-card {
    position: relative;
    z-index: 2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 1px solid rgba(37, 99, 235, 0.08);
    width: 100%;
}

/* The actual hero image — full width, no height cap */
.b1-hero__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

/* Mock screen shown when image fails to load */
.b1-mock-screen {
    display: none;
}

.b1-phone-card.b1-img-fallback .b1-mock-screen {
    display: flex;
    flex-direction: column;
    background: #F0F4FF;
    padding: 0;
    min-height: 380px;
}

.b1-mock-topbar {
    background: var(--ink-2);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.b1-mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF5F57;
}

.b1-mock-dot--2 {
    background: #FFBD2E;
}

.b1-mock-dot--3 {
    background: #28CA41;
}

.b1-mock-chat {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.b1-msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.82rem;
    max-width: 75%;
    line-height: 1.5;
}

.b1-msg--in {
    background: var(--white);
    color: var(--ink);
    border: 1px solid var(--border);
    align-self: flex-start;
}

.b1-msg--out {
    background: var(--blue);
    color: white;
    align-self: flex-end;
    border-radius: 14px 14px 4px 14px;
}

.b1-msg--typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
}

.b1-msg--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--muted);
    animation: b1Typing 1.2s ease-in-out infinite;
}

.b1-msg--typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.b1-msg--typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes b1Typing {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.4
    }

    50% {
        transform: translateY(-4px);
        opacity: 1
    }
}

/* Floating stat badges */
.b1-stat {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 11px 18px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.14);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 10;
    animation: b1BadgeFloat 5s ease-in-out infinite;
}

.b1-stat strong {
    color: var(--blue);
}

.b1-stat__icon {
    font-size: 1rem;
}

.b1-stat--top {
    top: -18px;
    right: -18px;
    animation-delay: 0s;
}

.b1-stat--bottom {
    bottom: 28px;
    left: -18px;
    animation-delay: 2.5s;
}

@keyframes b1BadgeFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-7px)
    }
}

/* ── ABOUT ── */
.b1-about {
    padding: 100px 0;
    background: var(--white);
}

.b1-dual {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin-bottom: 60px;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.b1-dual__card {
    padding: 36px 40px;
    transition: background var(--tr);
}

.b1-dual__card:hover {
    background: #FAFBFF;
}

.b1-dual__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1.4rem;
    color: var(--blue);
    font-weight: 300;
    background: var(--page-bg);
}

.b1-dual__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.b1-dual__card h3 {
    font-family: var(--font-head);
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.b1-dual__card>p {
    font-size: 0.86rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.b1-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.b1-list li {
    font-size: 0.86rem;
    color: var(--body);
    padding: 7px 0 7px 18px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.b1-list li:last-child {
    border-bottom: none;
}

.b1-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
}

/* ── STATS ROW ── */
.b1-stats-row {
    background: var(--blue);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.b1-stat-item {
    padding: 10px 1px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.b1-stat-item:last-child {
    border-right: none;
}

.b1-stat-item__num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.b1-stat-item__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

/* ── FEATURES ── */
.b1-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.b1-feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    background: var(--white);
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}

.b1-feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-soft);
    transform: translateY(-3px);
}

.b1-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.b1-feature-card h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.b1-feature-card p {
    font-size: 0.82rem;
    color: var(--body);
    line-height: 1.65;
}

/* ── SPLIT SECTION HEADER (left: tag+title | right: desc) ── */
.b1-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 52px;
}

.b1-section-head__left {
    flex: 0 0 auto;
    max-width: 700px;
    /* increase for single line */
}

.b1-section-head__left .b1-tag {
    display: block;
    margin-bottom: 10px;
}

.b1-section-head__left .b1-section-title {
    margin-bottom: 0;
}

.b1-section-head__right {
    flex: 1;
    padding-top: 0;
    /* change */
    max-width: 500px;
    align-self: flex-start;
    /* change */
    text-align: right;
}

.b1-section-head__right p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.78;
}

.b1-section-head__divider {
    width: 1px;
    align-self: stretch;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 32px;
}

/* ── HOW IT WORKS — redesigned ── */
.b1-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 0;
    background: var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.b1-step {
    padding: 36px 30px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background var(--tr);
    position: relative;
}

.b1-step:hover {
    background: #FAFBFF;
}

.b1-step__num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--blue-mid);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.b1-step__body h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.b1-step__body p {
    font-size: 0.83rem;
    color: var(--body);
    line-height: 1.7;
}

/* ── INDUSTRIES ── */
.b1-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 52px;
}

.b1-industry-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    background: var(--white);
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}

.b1-industry-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-soft);
    transform: translateY(-3px);
}

.b1-industry-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 14px;
}

.b1-industry-card h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.b1-industry-card p {
    font-size: 0.82rem;
    color: var(--body);
    line-height: 1.65;
}

/* ── BENEFITS ── */
.b1-benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 52px;
}

.b1-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 0.9rem;
    color: var(--ink);
    font-weight: 500;
    transition: box-shadow var(--tr), border-color var(--tr);
}

.b1-benefit:hover {
    box-shadow: var(--shadow);
    border-color: var(--blue-soft);
}

.b1-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── SCROLL REVEAL ── */
.b1-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--tr), transform 0.6s var(--tr);
}

.b1-visible {
    opacity: 1;
    transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .b1-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b1-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b1-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .b1-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: auto;
    }

    .b1-hero__text {
        padding-bottom: 0;
    }

    .b1-dual {
        grid-template-columns: 1fr;
    }

    .b1-dual__divider {
        width: auto;
        height: 52px;
        border: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .b1-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .b1-stat-item:nth-child(2) {
        border-right: none;
    }

    .b1-stat-item:nth-child(1),
    .b1-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .b1-benefits-list {
        grid-template-columns: 1fr;
    }

    .b1-container {
        padding: 0 24px;
    }

    .b1-hero__inner {
        padding: 0 24px;
    }

    .b1-section-head {
        flex-direction: column;
        gap: 16px;
    }

    .b1-section-head__divider {
        display: none;
    }

    .b1-section-head__right {
        padding-top: 0;
        text-align: left;
        max-width: 100%;
    }

    .b1-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .b1-features-grid {
        grid-template-columns: 1fr;
    }

    .b1-industries-grid {
        grid-template-columns: 1fr;
    }

    .b1-steps {
        grid-template-columns: 1fr;
    }

    .b1-stats-row {
        grid-template-columns: 1fr;
    }

    .b1-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}