/* =========================================================================
   autodm24 — premium SaaS design tokens (2026 style).
   Layered ON TOP of style.css; never replaces existing utilities.
   ======================================================================= */

:root {
    /* Neon-purple → blue → cyan gradient that defines the autodm24 brand. */
    --bb-grad: linear-gradient(135deg, #a855f7 0%, #5d8bff 50%, #22d3ee 100%);
    --bb-grad-soft: linear-gradient(135deg,
        rgba(168, 85, 247, .25) 0%,
        rgba(93, 139, 255, .20) 50%,
        rgba(34, 211, 238, .15) 100%);
    --bb-purple: #a855f7;
    --bb-blue:   #5d8bff;
    --bb-cyan:   #22d3ee;
    --bb-honey:  #f59e0b;   /* the autodm24 yellow accent */
}

/* --- Neon glow utility classes ----------------------------------------- */
.bb-neon-purple { box-shadow: 0 0 28px -4px rgba(168, 85, 247, .55), 0 0 0 1px rgba(168, 85, 247, .25); }
.bb-neon-blue   { box-shadow: 0 0 28px -4px rgba(93, 139, 255, .55), 0 0 0 1px rgba(93, 139, 255, .25); }
.bb-neon-cyan   { box-shadow: 0 0 28px -4px rgba(34, 211, 238, .55), 0 0 0 1px rgba(34, 211, 238, .25); }

/* --- Gradient text helper --------------------------------------------- */
.bb-text-grad {
    background: var(--bb-grad);
    background-size: 200% auto;
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    animation: bbGradPan 8s ease infinite;
}
@keyframes bbGradPan {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* --- Hero CTA button — neon purple-to-cyan gradient ------------------- */
.btn-neon {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
    background: var(--bb-grad);
    background-size: 200% 200%;
    box-shadow:
        0 14px 40px -10px rgba(168, 85, 247, .55),
        inset 0 1px 0 rgba(255, 255, 255, .18);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, background-position .25s ease, box-shadow .3s ease;
    white-space: nowrap;
}
.btn-neon:hover {
    transform: translateY(-1px);
    background-position: 100% 0;
    box-shadow:
        0 22px 50px -10px rgba(168, 85, 247, .75),
        inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-neon:active { transform: translateY(0); }
.btn-neon::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .9s ease;
}
.btn-neon:hover::after { transform: translateX(100%); }

/* --- "Book Demo" outline button --------------------------------------- */
.btn-outline-neon {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.4rem;
    border-radius: 999px;
    color: #e9d5ff;
    font-weight: 700;
    font-size: .95rem;
    background: rgba(168, 85, 247, .08);
    border: 1px solid rgba(168, 85, 247, .35);
    backdrop-filter: blur(10px);
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-outline-neon:hover {
    background: rgba(168, 85, 247, .18);
    border-color: rgba(168, 85, 247, .65);
    color: #fff;
    transform: translateY(-1px);
}

/* --- autodm24 logo mark (small honeycomb hexagons + bee dot) ------------ */
.bb-logo {
    display: inline-grid;
    place-items: center;
    height: 36px; width: 36px;
    border-radius: 11px;
    background: var(--bb-grad);
    box-shadow: 0 8px 24px -8px rgba(168, 85, 247, .55);
    position: relative;
}
.bb-logo::after {
    content: "🐝";
    font-size: 18px;
    line-height: 1;
}

/* --- Section eyebrow with gradient dot --------------------------------- */
.bb-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(168, 85, 247, .25);
    color: #e9d5ff;
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .15em;
}
.bb-eyebrow::before {
    content: "";
    height: 6px; width: 6px;
    border-radius: 999px;
    background: var(--bb-grad);
    box-shadow: 0 0 12px rgba(168, 85, 247, .8);
}

/* --- Stat counter — bold numeral with neon underline ------------------ */
.bb-stat {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1;
    background: linear-gradient(180deg, #fff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}

/* --- Honeycomb decorative pattern ------------------------------------- */
.bb-honeycomb {
    background-image:
        radial-gradient(circle at 50% 50%, rgba(245, 158, 11, .04) 0%, transparent 70%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100'><polygon points='28,2 54,16 54,46 28,60 2,46 2,16' fill='none' stroke='rgba(168,85,247,0.06)' stroke-width='1'/><polygon points='28,52 54,66 54,96 28,110 2,96 2,66' fill='none' stroke='rgba(168,85,247,0.06)' stroke-width='1'/></svg>");
}

/* --- Animated dashed connector lines (for workflow section) ----------- */
.bb-connector {
    flex: 1;
    height: 2px;
    background-image: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, .55) 50%, transparent 100%);
    background-size: 16px 100%;
    animation: bbConnector 1.4s linear infinite;
    position: relative;
}
@keyframes bbConnector {
    0%   { background-position: 0 0; }
    100% { background-position: -16px 0; }
}
.bb-connector::after {
    content: "";
    position: absolute;
    right: -1px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 8px;
    border-right: 2px solid var(--bb-purple);
    border-top:   2px solid var(--bb-purple);
    transform: translateY(-50%) rotate(45deg);
}

/* --- Workflow / dashboard mock styling -------------------------------- */
.bb-mock {
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
        radial-gradient(120% 80% at 0% 0%, rgba(168, 85, 247, .18) 0%, transparent 55%);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px -24px rgba(168, 85, 247, .35), inset 0 1px 0 rgba(255,255,255,.06);
}
.bb-mock__bar {
    height: 36px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    display: flex; align-items: center; gap: 6px;
    padding: 0 14px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}
.bb-mock__dot {
    height: 10px; width: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
}
.bb-mock__dot:nth-child(1) { background: #ff5f57; }
.bb-mock__dot:nth-child(2) { background: #febc2e; }
.bb-mock__dot:nth-child(3) { background: #28c840; }

/* --- Testimonial card glow on hover ----------------------------------- */
.bb-quote { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.bb-quote:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, .45);
    box-shadow: 0 18px 40px -16px rgba(168, 85, 247, .45);
}

/* --- Floating chips around hero (platform logos) ---------------------- */
.bb-float {
    position: absolute;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    color: #f8fafc;
    font-size: .8rem; font-weight: 600;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4);
    animation: bbFloat 7s ease-in-out infinite;
}
.bb-float svg, .bb-float img { height: 16px; width: 16px; }
@keyframes bbFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

/* --- Mobile tweaks ----------------------------------------------------- */
@media (max-width: 640px) {
    .bb-float { font-size: .7rem; padding: .35rem .6rem; }
}
