/* Homepage-only sections (landing.html). landing.css stays the shared base for
   the marketing pages; everything here is additive and prefixed h- where it
   could collide. */

/* The nav is sticky (68px): anchored sections stop below it. */
#sell, #automations, #support, #deliver, #inbox, #reports { scroll-margin-top: 84px; }

/* ---------- Hero order demo ---------- */
.hero .wa-body { height: 450px; min-height: 0; overflow: hidden; justify-content: flex-end; }
.hero .bubble:not(.show) { display: none; }
.hero .bubble.img { padding: 3px; }
.hero .bubble.img img { width: 132px; height: auto; border-radius: 9px; display: block; }
.hero .bubble b { font-weight: 800; }
.h-ordered { display: flex; gap: 8px; align-items: center; margin-top: 7px; padding: 6px; border-radius: 9px; background: rgba(8,127,109,.08); border: 1px solid rgba(8,127,109,.22); }
.h-ordered img { width: 34px; height: 46px; object-fit: cover; border-radius: 6px; flex: 0 0 34px; }
.h-typing { align-self: flex-end; background: #d9fdd3; border-radius: 12px; border-top-right-radius: 3px; padding: 10px 12px; display: none; gap: 4px; }
.h-typing.show { display: flex; }
.h-typing i { width: 6px; height: 6px; border-radius: 50%; background: #7fae8f; animation: hdot 1s infinite; }
.h-typing i:nth-child(2) { animation-delay: .15s; } .h-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes hdot { 0%,60%,100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Feature jump bar ---------- */
.h-jump { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.h-jump a { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.h-jump a:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 16px 34px rgba(13,35,29,.1); }
.h-jump b { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.h-jump span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.h-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.h-ico svg { width: 21px; height: 21px; }
.t-green { background: #e3f4ee; color: #087f6d; } .t-amber { background: #fdf0da; color: #b66d07; }
.t-blue { background: #e7eefc; color: #2f5fd0; } .t-violet { background: #efe7fb; color: #7a3fd0; }
.t-rose { background: #fbe7ee; color: #c0306a; } .t-wa { background: #25d366; color: #fff; }

/* ---------- Shared section bits ---------- */
.h-new { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--green); padding: 4px 11px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }
.h-ticks { margin-top: 24px; display: grid; gap: 12px; }
.h-ticks li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15px; font-weight: 600; }
.h-ticks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--green-ghost) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23087f6d' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.h-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-size: 14.5px; font-weight: 800; color: var(--green); }
.h-more:hover { color: var(--green-dark); }
.split.flip > :first-child { order: 2; }
.h-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 22px 48px rgba(13,35,29,.1); }
.h-chat { background: #e5ddd3; border-radius: 18px; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background-image: radial-gradient(rgba(13,35,29,.045) 1px, transparent 1px); background-size: 18px 18px; }
.h-chat .m { max-width: 84%; padding: 8px 11px; border-radius: 12px; font-size: 13px; line-height: 1.45; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.h-chat .m.c { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.h-chat .m.s { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.h-chat .src { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; color: var(--green); }
.h-chat .who { display: block; font-size: 11px; font-weight: 800; color: #7a3fd0; margin-bottom: 2px; }
.h-chat .note { align-self: center; font-size: 11.5px; font-weight: 700; color: #6b5510; background: #fdf1c7; padding: 5px 11px; border-radius: 8px; }
.h-chat .btns { align-self: flex-end; width: 70%; display: grid; gap: 5px; }
.h-chat .btns span { text-align: center; font-size: 12.5px; font-weight: 700; color: #0a7cff; background: #fff; border-radius: 8px; padding: 7px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- Sell: WhatsApp -> AI -> Shopify ---------- */
.h-pipe { margin-top: 48px; display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr; gap: 14px; align-items: center; }
.h-node { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 18px; min-height: 196px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.h-node .h-ico { width: 60px; height: 60px; border-radius: 18px; }
.h-node .h-ico svg { width: 32px; height: 32px; }
.h-node b { font-size: 16px; font-weight: 800; }
.h-node span { font-size: 13.5px; color: var(--muted); }
.h-ai { background: linear-gradient(135deg, #087f6d, #25d366); color: #fff; }
.h-wire { width: 46px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 14px); background-size: 28px 4px; animation: hflow .9s linear infinite; opacity: .7; }
@keyframes hflow { to { background-position: 28px 0; } }
@keyframes hflow-v { to { background-position: 0 28px; } }
.h-shop { background: var(--card); border: 2px solid var(--green); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 26px 56px rgba(8,127,109,.16); }
.h-shop-hd { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #e3f4ee; color: var(--green-dark); font-size: 13px; font-weight: 800; }
.h-shop-hd svg { width: 17px; height: 17px; }
.h-shop-hd em { margin-left: auto; font-style: normal; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: #fff; padding: 3px 9px; border-radius: 999px; animation: hpulse 2s ease-in-out infinite; }
@keyframes hpulse { 50% { box-shadow: 0 0 0 6px rgba(8,127,109,.18); } }
.h-shop-bd { padding: 16px; display: grid; gap: 12px; }
.h-shop-no { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 16px; }
.h-shop-no span { font-size: 12px; font-weight: 600; color: var(--muted); }
.h-shop-item { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); line-height: 1.45; }
.h-shop-item img { width: 50px; height: 66px; object-fit: cover; border-radius: 8px; flex: none; }
.h-shop-item b { display: block; color: var(--ink); font-size: 14px; }
.h-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.h-badges span { font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.h-badges .p { background: #fdf0da; color: #9a5b00; } .h-badges .w { background: #e3f4ee; color: var(--green-dark); }
.h-perks { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.h-perk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.h-perk b { display: block; color: var(--ink); font-size: 15px; font-weight: 800; }

/* ---------- Automate (dark) additions ---------- */
.h-describe { display: flex; gap: 10px; align-items: center; background: #16342a; border: 1px solid #2a5445; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: #cfe3d8; margin-bottom: 14px; }
.h-describe svg { width: 18px; height: 18px; color: #7fe0ab; flex: none; }
.h-describe .go { margin-left: auto; flex: none; font-size: 12px; font-weight: 800; color: var(--ink); background: #7fe0ab; padding: 6px 12px; border-radius: 999px; }
.h-trig { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.h-trig span { font-size: 12.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid #2a5445; color: #cfe3d8; }
.h-trig small { width: 100%; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7fe0ab; }
.h-bstats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.h-bstats div { background: rgba(255,255,255,.04); border: 1px solid #1e4235; border-radius: 14px; padding: 14px; }
.h-bstats b { display: block; font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; color: #fff; line-height: 1.1; }
.h-bstats span { font-size: 12.5px; color: #a8bcb1; }

/* ---------- Support: knowledge sources ---------- */
.h-kb { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.h-src { display: grid; gap: 10px; }
.h-src span { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 700; }
.h-src svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* ---------- Deliver: parcel tracker ---------- */
.h-track { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-bottom: 20px; }
.h-track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 19px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) 0 33%, var(--amber) 33% 66%, var(--green) 66%); }
.h-tstep { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.h-tstep i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 0 0 5px var(--card); }
.h-tstep i svg { width: 19px; height: 19px; }
.h-tstep.warn i { background: var(--amber); animation: hwarn 1.8s ease-in-out infinite; }
@keyframes hwarn { 50% { box-shadow: 0 0 0 5px var(--card), 0 0 0 11px rgba(232,161,58,.25); } }
.h-tstep small { font-size: 12px; font-weight: 700; color: var(--ink-soft); line-height: 1.3; }
.h-couriers { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.h-couriers b { background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 5px 11px; font-size: 13px; color: var(--ink-soft); }

/* ---------- Inbox: channels + shifts ---------- */
.h-inbox { display: grid; gap: 10px; }
.h-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 11px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; }
.h-row .ch { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.h-row .ch svg { width: 18px; height: 18px; }
.h-row b { display: block; font-size: 13.5px; font-weight: 800; }
.h-row > div span { font-size: 12.5px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-row > div { min-width: 0; }
.h-av { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; }
.h-av i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 11px; }
.h-av.bot i { background: var(--green); } .h-av.away { color: #9a5b00; }
.h-onshift { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; color: var(--muted); }
.h-onshift span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink-soft); }
.h-onshift span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }
.h-onshift span.away::before { background: var(--amber); }

/* ---------- Reports ---------- */
.h-rep-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.h-rep-top small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.h-rep-top .v { font-family: 'Fraunces', serif; font-size: 38px; font-weight: 600; line-height: 1.05; margin-top: 4px; }
.h-rep-top .d { font-size: 12px; font-weight: 800; color: var(--green-dark); background: #e3f4ee; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.h-rep svg { width: 100%; height: auto; display: block; margin: 16px 0 12px; }
.h-rep .bar { fill: var(--green); } .h-rep .bar.prev { fill: var(--paper-deep); }
.h-rep .tgt { stroke: var(--amber); stroke-width: 1.6; stroke-dasharray: 4 3; }
.h-rep .lbl { fill: var(--muted); font-size: 9.5px; font-family: 'Manrope', sans-serif; font-weight: 600; }
.h-rep .tlbl { fill: #b66d07; font-size: 9.5px; font-weight: 800; font-family: 'Manrope', sans-serif; }
.h-rep-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: var(--muted); }
.h-rep-foot .k { display: flex; gap: 14px; }
.h-rep-foot .k span { display: inline-flex; align-items: center; gap: 6px; }
.h-rep-foot .k i { width: 10px; height: 10px; border-radius: 3px; background: var(--green); }
.h-rep-foot .k i.p { background: var(--paper-deep); border: 1px solid var(--line); }
.h-rep-foot .go { font-weight: 800; color: var(--green); background: var(--green-ghost); padding: 6px 12px; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .h-jump { grid-template-columns: repeat(3, 1fr); }
    .h-pipe { grid-template-columns: 1fr; }
    .h-wire { width: 4px; height: 30px; justify-self: center; background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 14px); background-size: 4px 28px; animation-name: hflow-v; }
    .h-node { min-height: 0; }
    .h-perks { grid-template-columns: 1fr; }
    .split.flip > :first-child { order: 0; }
}
@media (max-width: 560px) {
    .h-jump { grid-template-columns: 1fr 1fr; }
    .h-kb { grid-template-columns: 1fr; }
    .h-src { grid-template-columns: repeat(3, 1fr); }
    .h-src span { font-size: 12px; padding: 8px; }
    .h-bstats { grid-template-columns: 1fr; }
    .h-describe .go { display: none; }
    .h-panel { padding: 16px; }
    .hero .wa-body { height: 400px; }
}
