@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ================================================================
   EV NEXO MART - BUSINESS HERO WIDGET
   Page: /start-grow-your-ev-business/
   Layout: Left = copy + audience tags + CTAs
           Right = Business Opportunity cards with revenue
================================================================ */

.bh-hero {
    --bh-green:    #00A651;
    --bh-glt:      #00d068;
    --bh-white:    #ffffff;
    --bh-silver:   #94a3b8;
    --bh-ease:     cubic-bezier(0.22, 1, 0.36, 1);
    --bh-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --bh-header-h: 80px;
}

.bh-hero *, .bh-hero *::before, .bh-hero *::after {
    box-sizing: border-box; margin: 0; padding: 0;
}

/* ---- Section ---- */
.bh-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: clip;
    overflow-y: visible;
    isolation: isolate;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 55% at 10% 45%,  rgba(0,166,81,.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 92% 8%,    rgba(0,166,81,.08) 0%, transparent 55%),
        radial-gradient(ellipse 40% 50% at 85% 88%,   rgba(0,166,81,.06) 0%, transparent 50%),
        linear-gradient(160deg, #020d07 0%, #03120a 40%, #020c06 100%);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ---- Canvas ---- */
.bh-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; opacity: 0.6;
}

/* ---- Background images ---- */
.bh-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden;
}
.bh-bg-img {
    position: absolute; background-size: cover; background-position: center;
    border-radius: 16px; opacity: 0; animation: bh-bgfade 2s ease forwards;
}
.bh-bg-img-1 {
    width: 360px; height: 280px; top: 6%; right: 3%;
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=600&q=60');
    filter: blur(1px) brightness(0.17) saturate(1.4) hue-rotate(105deg);
    animation-delay: .4s;
}
.bh-bg-img-2 {
    width: 280px; height: 340px; bottom: 10%; right: 1%;
    background-image: url('https://images.unsplash.com/photo-1593941707882-a5bba14938c7?w=600&q=60');
    filter: blur(1.5px) brightness(0.13) saturate(1.6) hue-rotate(110deg);
    animation-delay: .8s;
}
@keyframes bh-bgfade { from{opacity:0;transform:scale(1.1)} to{opacity:1;transform:scale(1)} }

.bh-bg-mask {
    position: absolute; inset: 0;
    background:
        linear-gradient(to right, #020d07 38%, rgba(2,13,7,.78) 60%, rgba(2,13,7,.42) 100%),
        linear-gradient(to bottom, #020d07 0%, transparent 15%, transparent 85%, #020c06 100%);
}

/* ---- Dot grid ---- */
.bh-grid-overlay {
    position: absolute; inset: 0; pointer-events: none; z-index: 2;
    background-image:
        linear-gradient(rgba(0,166,81,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,166,81,.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black 20%, transparent 100%);
    animation: bh-grid 42s linear infinite;
}
@keyframes bh-grid { from{background-position:0 0} to{background-position:52px 52px} }

/* ---- Scan line ---- */
.bh-scanline {
    position: absolute; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg,
        transparent 0%, rgba(0,166,81,0) 15%,
        rgba(0,166,81,.55) 42%, rgba(0,208,104,.95) 50%,
        rgba(0,166,81,.55) 58%, rgba(0,166,81,0) 85%, transparent 100%);
    pointer-events: none; z-index: 3; filter: blur(1px);
    animation: bh-scan 10s ease-in-out infinite;
}
@keyframes bh-scan {
    0%{top:-2px;opacity:0} 6%{opacity:1} 94%{opacity:.3} 100%{top:100%;opacity:0}
}

/* ---- Corners ---- */
.bh-corner {
    position: absolute; width: 46px; height: 46px;
    pointer-events: none; z-index: 4; opacity: 0;
    animation: bh-fadein .5s ease forwards;
}
.bh-corner-tl{top:20px;left:20px;border-top:1.5px solid rgba(0,166,81,.4);border-left:1.5px solid rgba(0,166,81,.4);animation-delay:2.0s}
.bh-corner-tr{top:20px;right:20px;border-top:1.5px solid rgba(0,166,81,.4);border-right:1.5px solid rgba(0,166,81,.4);animation-delay:2.2s}
.bh-corner-bl{bottom:72px;left:20px;border-bottom:1.5px solid rgba(0,166,81,.4);border-left:1.5px solid rgba(0,166,81,.4);animation-delay:2.4s}
.bh-corner-br{bottom:72px;right:20px;border-bottom:1.5px solid rgba(0,166,81,.4);border-right:1.5px solid rgba(0,166,81,.4);animation-delay:2.6s}

/* ---- Circuits ---- */
.bh-circuits { position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3; }
.bh-cline { stroke-dasharray:800;stroke-dashoffset:800;animation:bh-draw 4s cubic-bezier(.22,1,.36,1) forwards; }
.bh-cl-1{animation-delay:.5s} .bh-cl-2{animation-delay:1.0s} .bh-cl-3{animation-delay:1.4s} .bh-cl-4{animation-delay:1.8s}
@keyframes bh-draw { to{stroke-dashoffset:0} }
.bh-cnode{opacity:0;animation:bh-node .4s ease forwards}
.bh-cn-1{animation-delay:1.5s} .bh-cn-2{animation-delay:1.8s} .bh-cn-3{animation-delay:2.0s}
.bh-cn-4{animation-delay:2.1s} .bh-cn-5{animation-delay:2.3s} .bh-cn-6{animation-delay:2.5s}
.bh-cn-7{animation-delay:2.4s} .bh-cn-8{animation-delay:2.7s} .bh-cn-9{animation-delay:3.0s}
@keyframes bh-node { to{opacity:1;filter:drop-shadow(0 0 5px #00A651)} }

/* ---- Rings ---- */
.bh-rings { position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none;z-index:2; }
.bh-ring { position:absolute;top:50%;left:50%;border-radius:50%;border:1px solid var(--bh-green);transform:translate(-50%,-50%) scale(0);opacity:0;animation:bh-ring 7s ease-out infinite; }
.bh-ring-1{width:280px;height:280px;animation-delay:0s}
.bh-ring-2{width:540px;height:540px;animation-delay:2.3s}
.bh-ring-3{width:800px;height:800px;animation-delay:4.6s}
@keyframes bh-ring { 0%{transform:translate(-50%,-50%) scale(0);opacity:.5} 100%{transform:translate(-50%,-50%) scale(1);opacity:0} }

/* ================================================================
   INNER / LAYOUT
================================================================ */
.bh-inner {
    position: relative; z-index: 10;
    width: 100%; max-width: min(1280px, 100%);
    margin: 0 auto;
    padding-top: calc(var(--bh-header-h) + 40px);
    padding-right: 40px;
    padding-bottom: 100px;
    padding-left: 40px;
    overflow: hidden;
}

.bh-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    width: 100%;
    min-width: 0;
}
.bh-layout > * { min-width: 0; }

/* ================================================================
   LEFT COPY
================================================================ */
.bh-copy {
    display: flex; flex-direction: column; gap: 22px;
    min-width: 0; width: 100%;
}

/* Tagline pill */
.bh-tagline {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    color: #00d068;
    border: 1px solid rgba(0,166,81,.5); background: rgba(0,166,81,.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-radius: 100px; padding: 7px 18px; width: fit-content; max-width: 100%;
    box-shadow: 0 0 18px rgba(0,166,81,.15);
}

.bh-tag-dot {
    width: 5px; height: 5px; border-radius: 50%; background: var(--bh-green);
    display: inline-block; flex-shrink: 0; animation: bh-blink 2s ease-in-out infinite;
}
.bh-tag-dot:last-child { animation-delay: .5s; }
@keyframes bh-blink { 0%,100%{opacity:1;box-shadow:0 0 7px var(--bh-green)} 50%{opacity:.3;box-shadow:none} }

/* Headline */
.bh-headline {
    font-family: 'Space Grotesk','Inter',sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 3.4rem);
    font-weight: 700; line-height: 1.14; letter-spacing: -.024em;
    color: #ffffff; word-break: break-word; overflow-wrap: break-word;
}

.bh-hl {
    background: linear-gradient(135deg, #00A651 0%, #00d068 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    position: relative;
}
.bh-hl::after {
    content:''; position:absolute; inset:0; background:inherit;
    filter:blur(22px); opacity:.28; z-index:-1;
}

/* Sub-headline */
.bh-sub {
    font-size: 1rem; line-height: 1.78;
    color: rgba(225,235,248,.94);
    max-width: 100%; overflow-wrap: break-word;
}

/* ================================================================
   AUDIENCE TAGS  "WHO IS THIS FOR"
================================================================ */
.bh-who {
    display: flex; flex-direction: column; gap: 10px;
}

.bh-who-label {
    font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: rgba(0,208,104,.85);
}

.bh-who-tags {
    display: flex; flex-wrap: wrap; gap: 7px;
}

.bh-tag {
    display: inline-flex; align-items: center;
    padding: 5px 13px;
    font-size: .72rem; font-weight: 500; color: rgba(220,235,252,.92);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(0,166,81,.25);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s, color .2s;
    cursor: default;
}
.bh-tag:hover {
    background: rgba(0,166,81,.12);
    border-color: rgba(0,166,81,.5);
    color: #ffffff;
}

/* ================================================================
   BUTTONS
================================================================ */
.bh-btns {
    display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 100%;
}

.bh-btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 50px;
    font-family: 'Inter',sans-serif; font-size: .88rem; font-weight: 600;
    text-decoration: none; cursor: pointer; overflow: hidden;
    transition: transform .25s var(--bh-bounce), box-shadow .25s ease;
    -webkit-tap-highlight-color: transparent; white-space: nowrap;
}

.bh-btn-primary {
    background: linear-gradient(135deg, #00A651 0%, #00d068 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(0,166,81,.38), 0 1px 3px rgba(0,0,0,.3),
                inset 0 1px 0 rgba(255,255,255,.22);
}
.bh-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0,166,81,.55), 0 2px 8px rgba(0,0,0,.4);
}
.bh-bolt { font-size:.95rem; animation:bh-bob 2.5s ease-in-out infinite; flex-shrink:0; }
@keyframes bh-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-2px)} }
.bh-ripple {
    position:absolute;inset:0;border-radius:inherit;pointer-events:none;
    background:radial-gradient(circle at center,rgba(255,255,255,.3) 0%,transparent 70%);
    transform:scale(0);opacity:0;
}
.bh-btn-primary:active .bh-ripple { animation:bh-ripple .45s ease-out forwards; }
@keyframes bh-ripple { to{transform:scale(2.5);opacity:0} }

.bh-btn-secondary {
    background: rgba(255,255,255,.06); color: #ffffff;
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.bh-btn-secondary:hover {
    background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35);
    transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

/* ================================================================
   NOT A FRANCHISE CALLOUT
================================================================ */
.bh-no-franchise {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px;
    background: rgba(0,166,81,.06);
    border: 1px solid rgba(0,166,81,.22);
    border-radius: 10px;
    font-size: .78rem; line-height: 1.55;
    color: rgba(220,235,252,.92);
}
.bh-nf-dot { color: #00A651; font-size: 7px; margin-top: 4px; flex-shrink: 0; }
.bh-no-franchise strong { color: #00d068; font-weight: 600; }

/* ================================================================
   RIGHT: BUSINESS OPPORTUNITIES PANEL
================================================================ */
.bh-opps-panel {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(0,166,81,.18);
    border-radius: 20px;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.05);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}

.bh-opps-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,166,81,.55), transparent);
    z-index: 2;
}

.bh-opps-header {
    padding: 18px 22px 14px; flex-shrink: 0;
}

.bh-opps-badge {
    font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: #00A651;
    background: rgba(0,166,81,.1); border: 1px solid rgba(0,166,81,.3);
    border-radius: 100px; padding: 5px 14px;
}

/* Cards list */
.bh-opps-list {
    display: flex; flex-direction: column; gap: 6px;
    padding: 4px 16px 12px; flex: 1;
}

/* Individual opportunity card */
.bh-opp-card {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 14px;
    background: rgba(0,166,81,.05);
    border: 1px solid rgba(0,166,81,.14);
    border-radius: 14px;
    transition: background .22s ease, border-color .22s ease, transform .22s var(--bh-bounce);
    cursor: default; min-width: 0; position: relative; overflow: hidden;
}

.bh-opp-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, transparent 60%);
    pointer-events: none;
}

.bh-opp-card:hover {
    background: rgba(0,166,81,.1);
    border-color: rgba(0,166,81,.45);
    transform: translateX(4px);
}

/* Linked card */
a.bh-opp-card { text-decoration: none; color: inherit; cursor: pointer; }
a.bh-opp-card:hover { border-color: rgba(0,166,81,.6); }
a.bh-opp-card:focus-visible { outline: 2px solid #00A651; outline-offset: 3px; }

/* Number badge */
.bh-opp-left { flex-shrink: 0; }

.bh-opp-num {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(0,166,81,.12);
    border: 1px solid rgba(0,166,81,.3);
    font-family: 'Space Grotesk','Inter',sans-serif;
    font-size: .82rem; font-weight: 700; color: #00d068;
    flex-shrink: 0;
}

/* Card body */
.bh-opp-body {
    display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0;
}

.bh-opp-title {
    font-family: 'Space Grotesk','Inter',sans-serif;
    font-size: .84rem; font-weight: 600; color: #ffffff;
    line-height: 1.3; display: block;
}

.bh-opp-desc {
    font-size: .7rem; line-height: 1.5;
    color: rgba(220,235,252,.88); display: block;
}

.bh-opp-revenue {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .7rem; font-weight: 700;
    color: #00d068; margin-top: 2px;
}

.bh-rev-dot { font-size: 5px; opacity: .7; }

/* Arrow for linked cards */
.bh-opp-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    border: 1px solid rgba(0,166,81,.3); background: rgba(0,166,81,.08);
    color: #00A651; flex-shrink: 0;
    transition: background .2s, transform .2s;
}
a.bh-opp-card:hover .bh-opp-arrow {
    background: rgba(0,166,81,.2); transform: translateX(2px);
}

/* Footer callout */
.bh-opps-footer {
    flex-shrink: 0; padding: 11px 18px;
    background: rgba(0,166,81,.07);
    border-top: 1px solid rgba(0,166,81,.18);
    display: flex; align-items: center; gap: 10px;
    font-size: .74rem; line-height: 1.5;
    color: rgba(220,235,252,.92);
}
.bh-of-dot { color: #00A651; font-size: 7px; flex-shrink: 0; }

/* ================================================================
   MARQUEE
================================================================ */
.bh-mq-wrap {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 15;
    overflow: hidden; padding: 11px 0 13px;
    border-top: 1px solid rgba(0,166,81,.1);
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,.3));
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.bh-mq { display:flex; overflow:hidden; width:100%; }
.bh-mq-track {
    display:flex; align-items:center;
    animation:bh-scrollx 32s linear infinite;
    white-space:nowrap; flex-shrink:0; min-width:max-content;
}
.bh-mq-wrap:hover .bh-mq-track { animation-play-state:paused; }
@keyframes bh-scrollx { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.bh-mq-item {
    display:inline-flex; align-items:center; padding:0 20px;
    font-size:.72rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
    color:rgba(220,235,252,.88); flex-shrink:0; transition:color .2s;
}
.bh-mq-item:hover { color:#00A651; }
.bh-mq-sep { font-size:5px; color:rgba(0,166,81,.3); flex-shrink:0; }

/* ================================================================
   ENTRANCE ANIMATIONS
================================================================ */
[data-ea] { opacity:0; will-change:transform,opacity; }
[data-ea="up"]    { transform:translateY(26px); }
[data-ea="left"]  { transform:translateX(26px); }
[data-ea="scale"] { transform:scale(.88); }
@keyframes bh-fadein { to{opacity:1} }
.elementor-editor-active [data-ea] { opacity:1 !important; transform:none !important; }
@media (prefers-reduced-motion:reduce) {
    .bh-hero *,.bh-hero *::before,.bh-hero *::after {
        animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;
    }
    [data-ea]{opacity:1;transform:none}
}

/* ================================================================
   HEADER OVERLAP FIX
================================================================ */
@media (min-width:1025px)  { .bh-hero{--bh-header-h:80px}  }
@media (max-width:1024px) and (min-width:768px) { .bh-hero{--bh-header-h:70px} }
@media (max-width:767px)   { .bh-hero{--bh-header-h:130px} }
@media (max-width:479px)   { .bh-hero{--bh-header-h:130px} }

/* ================================================================
   TABLET  768-1024px
================================================================ */
@media (max-width:1024px) and (min-width:768px) {
    .bh-inner { padding-right:32px; padding-bottom:90px; padding-left:32px; }
    .bh-layout { grid-template-columns:1fr; gap:40px; }
    .bh-copy { align-items:flex-start; }
    .bh-headline { font-size:clamp(2rem,5vw,3.2rem); }
    .bh-opps-panel { max-width:100%; }
    .bh-opps-list { gap:5px; }
    .bh-bg-img-2 { display:none; }
    .bh-bg-img-1 { width:240px; height:180px; top:3%; right:2%; }
    .bh-corner { width:34px; height:34px; }
}

/* ================================================================
   MOBILE  480-767px
================================================================ */
@media (max-width:767px) and (min-width:480px) {
    .bh-hero { min-height:auto; align-items:flex-start; }
    .bh-inner { padding-right:20px; padding-bottom:90px; padding-left:20px; width:100%; }
    .bh-layout { grid-template-columns:1fr; gap:30px; width:100%; }
    .bh-copy { align-items:flex-start; width:100%; }
    .bh-headline { font-size:clamp(1.75rem,6vw,2.4rem); word-break:break-word; }
    .bh-sub { font-size:.9rem; }
    .bh-tagline { font-size:9.5px; padding:5px 12px; max-width:100%; white-space:normal; }
    .bh-btns { flex-direction:column; align-items:stretch; width:100%; gap:10px; }
    .bh-btn-primary,.bh-btn-secondary { width:100%; justify-content:center; padding:14px 20px; }
    .bh-who-tags { gap:6px; }
    .bh-tag { font-size:.68rem; padding:4px 11px; }
    .bh-opp-card { padding:11px 12px; gap:10px; }
    .bh-opp-title { font-size:.8rem; }
    .bh-opp-desc { font-size:.67rem; }
    .bh-bg-img-1,.bh-bg-img-2 { display:none; }
    .bh-corner { display:none; }
    .bh-mq-item { padding:0 14px; font-size:.68rem; }
}

/* ================================================================
   XS PHONE  < 480px
================================================================ */
@media (max-width:479px) {
    .bh-hero { min-height:auto; align-items:flex-start; }
    .bh-inner { padding-right:16px; padding-bottom:86px; padding-left:16px; width:100%; max-width:100%; }
    .bh-layout { grid-template-columns:1fr; gap:26px; width:100%; }
    .bh-copy { align-items:flex-start; gap:18px; width:100%; }
    .bh-headline { font-size:clamp(1.6rem,7.5vw,2.1rem); letter-spacing:-.015em; }
    .bh-sub { font-size:.86rem; }
    .bh-tagline { font-size:9px; padding:5px 11px; white-space:normal; }
    .bh-btns { flex-direction:column; align-items:stretch; width:100%; gap:10px; }
    .bh-btn-primary,.bh-btn-secondary { width:100%; justify-content:center; padding:13px 18px; font-size:.84rem; }
    .bh-who-tags { gap:5px; }
    .bh-tag { font-size:.65rem; padding:4px 10px; }
    .bh-opp-card { padding:10px 10px; gap:9px; border-radius:12px; }
    .bh-opp-num { width:32px; height:32px; font-size:.75rem; border-radius:8px; }
    .bh-opp-title { font-size:.77rem; }
    .bh-opp-desc { font-size:.65rem; }
    .bh-opp-revenue { font-size:.65rem; }
    .bh-no-franchise { font-size:.74rem; padding:10px 13px; }
    .bh-bg-img-1,.bh-bg-img-2 { display:none; }
    .bh-corner { display:none; }
    .bh-circuits { display:none; }
    .bh-mq-item { padding:0 11px; font-size:.64rem; }
}
