/* ==========================================================================
   Hire E-commerce Developer — bespoke page design. Namespaced `.hed-`.
   Visual language: Product > Cart > Checkout > Payment > Order flow,
   inventory dashboards, payment integrations.
   ========================================================================== */

.hed-page { background: var(--sap-white); overflow-x: clip; }
.hed-page section { position: relative; }
.hed-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sap-font-heading); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sap-primary); margin-bottom: 1.1rem; }
.hed-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sap-primary); display: inline-block; }

/* 1. HERO — dark, shopping flow strip */
.hed-hero { position: relative; overflow: hidden; background: #0a0a0a; color: #fff; padding: calc(var(--sap-header-height) + 5rem) 0 5.5rem; }
.hed-hero__glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; top: -220px; left: -160px; background: var(--sap-primary); opacity: .18; filter: blur(100px); }
.hed-hero__content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.hed-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .6rem; border-radius: var(--sap-radius-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 1.75rem; }
.hed-hero__kicker span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sap-primary); box-shadow: 0 0 0 4px rgba(254,109,13,.2); flex-shrink: 0; }
.hed-hero__title { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1.5rem; color: #fff; }
.hed-hero__title .accent { color: var(--sap-primary); }
.hed-hero__text { font-size: 1.05rem; line-height: 1.7; color: rgba(255,255,255,.65); margin: 0 auto 2rem; }
.hed-hero__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.hed-hero__secondary { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hed-hero__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

.hed-flow { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; max-width: 1000px; margin: 0 auto; flex-wrap: wrap; }
.hed-flow__stop { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--sap-radius-lg); padding: 1.25rem 1.1rem; text-align: center; flex: 1 1 150px; }
.hed-flow__stop-icon { width: 38px; height: 38px; border-radius: var(--sap-radius-md); background: var(--sap-gradient); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto .8rem; }
.hed-flow__stop-icon svg { width: 19px; height: 19px; }
.hed-flow__stop h3 { font-size: .85rem; margin-bottom: 0; color: #fff; }
.hed-flow__arrow { flex: 0 0 auto; color: var(--sap-primary); }
.hed-flow__arrow svg { width: 18px; height: 18px; }

/* 2. PROBLEM */
.hed-problem { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hed-problem__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.hed-problem__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hed-problem__head .accent { color: var(--sap-primary); }
.hed-problem__head p { color: var(--sap-muted); }
.hed-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 980px; margin: 0 auto; }
.hed-problem-card { background: var(--sap-white); border-radius: var(--sap-radius-lg); padding: 1.75rem; }
.hed-problem-card__icon { width: 44px; height: 44px; border-radius: var(--sap-radius-md); background: rgba(255,107,107,.1); color: #E24444; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hed-problem-card__icon svg { width: 21px; height: 21px; }
.hed-problem-card h3 { font-size: .98rem; margin-bottom: .4rem; }
.hed-problem-card p { font-size: .86rem; color: var(--sap-muted); margin-bottom: 0; }

/* 3. WHAT WE BUILD */
.hed-shelf { padding: var(--sap-section-space) 0; background: var(--sap-white); }

.hed-shelf__head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.hed-shelf__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hed-shelf__head p { color: var(--sap-muted); }
.hed-shelf__rail { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x proximity; padding: .5rem .5rem 1rem; }
.hed-shelf__rail { scrollbar-width: none; -ms-overflow-style: none; }
.hed-shelf__rail::-webkit-scrollbar { display: none; }
.hed-shelf__rail {
	mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, black calc(100% - 48px), transparent 100%);
}

.hed-shelf-card { scroll-snap-align: start; flex: 0 0 auto; width: 230px; background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 1.5rem; transition: transform .25s ease, box-shadow .25s ease; }
.hed-shelf-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); }
.hed-shelf-card__icon { width: 42px; height: 42px; border-radius: var(--sap-radius-md); background: var(--sap-white); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hed-shelf-card__icon svg { width: 21px; height: 21px; }
.hed-shelf-card h3 { font-size: .95rem; margin-bottom: .4rem; }
.hed-shelf-card p { font-size: .82rem; color: var(--sap-muted); margin-bottom: 0; }

/* 4. CHECKOUT & PAYMENT */
.hed-checkout { padding: var(--sap-section-space) 0; background: var(--sap-dark); color: #fff; }
.hed-checkout__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hed-checkout__content .hed-eyebrow { color: var(--sap-accent); }
.hed-checkout__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); color: #fff; margin-bottom: 1rem; }
.hed-checkout__content p { color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 0; }
.hed-checkout__visual { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--sap-radius-lg); padding: 1.75rem; }
.hed-checkout__row { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.hed-checkout__row:last-child { border-bottom: none; }
.hed-checkout__badge { font-size: .68rem; font-weight: 700; padding: .3rem .6rem; border-radius: var(--sap-radius-pill); background: rgba(95,214,138,.15); color: #5FD68A; }

/* 5. PRODUCT & INVENTORY */
.hed-inventory { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hed-inventory__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hed-inventory__content .hed-eyebrow { color: var(--sap-primary); }
.hed-inventory__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.hed-inventory__content p { color: var(--sap-muted); line-height: 1.7; margin-bottom: 0; }
.hed-table { background: var(--sap-bg-tint); border-radius: var(--sap-radius-lg); padding: 1.5rem; }
.hed-table__row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--sap-border); font-size: .82rem; }
.hed-table__row:last-child { border-bottom: none; }
.hed-table__stock { font-weight: 700; }
.hed-table__stock--low { color: var(--sap-primary); }
.hed-table__stock--ok { color: #2E9A5C; }

/* 6. INTEGRATIONS */
.hed-integrations { padding: 3rem 0; background: var(--sap-bg-tint); border-top: 1px solid var(--sap-border); border-bottom: 1px solid var(--sap-border); }
.hed-integrations__inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.hed-integrations__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sap-muted); }
.hed-integrations__item { display: flex; align-items: center; gap: .5rem; font-family: var(--sap-font-heading); font-weight: 700; font-size: 1rem; color: var(--sap-secondary); }
.hed-integrations__item svg { width: 18px; height: 18px; color: var(--sap-primary); }

/* 7. PROCESS */
.hed-process { padding: var(--sap-section-space) 0; background: var(--sap-secondary); color: #fff; }
.hed-process__head { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.hed-process__head .hed-eyebrow { color: var(--sap-accent); }
.hed-process__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; }
.hed-process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; max-width: 1080px; margin: 0 auto; }
.hed-process__step { text-align: center; }
.hed-process__num { width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 1.1rem; display: flex; align-items: center; justify-content: center; background: var(--sap-gradient); color: #fff; font-family: var(--sap-font-heading); font-weight: 800; font-size: .8rem; }
.hed-process__step h3 { font-size: .9rem; margin-bottom: .35rem; color: #fff; }
.hed-process__step p { font-size: .76rem; color: rgba(255,255,255,.5); margin-bottom: 0; }

/* 8. PLATFORMS */
.hed-platforms { padding: 3.5rem 0; background: #0a0a0a; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.hed-platforms__label { text-align: center; color: rgba(255,255,255,.45); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.75rem; }
.hed-platforms__track { display: flex; gap: 3.5rem; width: max-content; animation: hedMarquee 28s linear infinite; }
.hed-platforms__item { font-family: var(--sap-font-heading); font-weight: 700; font-size: 1.2rem; color: rgba(255,255,255,.35); white-space: nowrap; }
@keyframes hedMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 9. WHY HIRE */
.hed-why { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hed-why__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; }
.hed-why__statement { font-family: var(--sap-font-heading); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; align-self: start; position: sticky; top: calc(var(--sap-header-height) + 2rem); }
.hed-why__statement .accent { color: var(--sap-primary); }
.hed-why__list { display: flex; flex-direction: column; }
.hed-why-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--sap-border); }
.hed-why-item:last-child { border-bottom: 1px solid var(--sap-border); }
.hed-why-item__mark { color: var(--sap-primary); }
.hed-why-item__mark svg { width: 20px; height: 20px; }
.hed-why-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.hed-why-item p { font-size: .88rem; color: var(--sap-muted); margin-bottom: 0; }

/* 10. ENGAGEMENT */
.hed-engage { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hed-engage__head { max-width: 620px; margin: 0 auto 3rem; text-align: center; }
.hed-engage__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hed-engage__head p { color: var(--sap-muted); }
.hed-engage__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hed-engage-panel { border-radius: var(--sap-radius-lg); padding: 2.25rem; border: 1px solid var(--sap-border); background: var(--sap-white); }
.hed-engage-panel--dark { background: var(--sap-dark); color: #fff; border-color: transparent; }
.hed-engage-panel__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sap-primary); margin-bottom: .8rem; }
.hed-engage-panel h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.hed-engage-panel--dark h3 { color: #fff; }
.hed-engage-panel p { color: var(--sap-muted); font-size: .88rem; line-height: 1.6; margin-bottom: 1.1rem; }
.hed-engage-panel--dark p { color: rgba(255,255,255,.6); }
.hed-engage-panel__link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .85rem; color: var(--sap-primary); }
.hed-engage-panel--dark .hed-engage-panel__link { color: #fff; }
.hed-engage-panel__link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.hed-engage-panel:hover .hed-engage-panel__link svg { transform: translateX(4px); }

/* 11. FAQ */
.hed-faq { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hed-faq__layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 4rem; }
.hed-faq__sticky { position: sticky; top: calc(var(--sap-header-height) + 2rem); align-self: start; }
.hed-faq__sticky h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.hed-faq__sticky p { color: var(--sap-muted); }
.hed-faq__list { border-top: 1px solid var(--sap-border); }
.hed-faq-item { border-bottom: 1px solid var(--sap-border); }
.hed-faq-item__trigger { width: 100%; display: grid; grid-template-columns: 3rem 1fr 1.5rem; align-items: center; gap: 1.25rem; padding: 1.5rem 0; text-align: left; }
.hed-faq-item__num { font-family: var(--sap-font-heading); font-weight: 800; color: var(--sap-primary); font-size: .85rem; }
.hed-faq-item__q { font-size: 1.02rem; font-weight: 600; }
.hed-faq-item__icon { width: 20px; height: 20px; color: var(--sap-muted); transition: transform .3s ease; flex-shrink: 0; }
.hed-faq-item__trigger[aria-expanded="true"] .hed-faq-item__icon { transform: rotate(45deg); color: var(--sap-primary); }
.hed-faq-item__panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.hed-faq-item__panel p { padding: 0 0 1.5rem 4.25rem; color: var(--sap-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 0; max-width: 620px; }

/* 12. RELATED */
.hed-related { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hed-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hed-related__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.hed-related__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hed-related-card { background: var(--sap-white); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1.6rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.hed-related-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); border-color: transparent; }
.hed-related-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sap-bg-tint); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hed-related-card__icon svg { width: 20px; height: 20px; }
.hed-related-card h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.4; }

/* 13. FINAL CTA */
.hed-final { position: relative; overflow: hidden; background: #0a0a0a; color: #fff; text-align: center; padding: 6rem 0; }
.hed-final__glow { position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 900px; height: 700px; background: var(--sap-primary); opacity: .16; filter: blur(120px); border-radius: 50%; }
.hed-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hed-final h2 { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.15; color: #fff; margin-bottom: 1.25rem; }
.hed-final p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; }
.hed-final__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.hed-final__secondary { color: #fff; font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hed-final__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

/* Responsive */
@media (max-width: 1080px) {
	.hed-problem__grid { grid-template-columns: repeat(2, 1fr); }
	.hed-checkout__layout { grid-template-columns: 1fr; }
	.hed-checkout__visual { order: -1; }
	.hed-inventory__layout { grid-template-columns: 1fr; }
	.hed-inventory__visual { order: -1; }
	.hed-process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
	.hed-why__layout { grid-template-columns: 1fr; }
	.hed-why__statement { position: static; margin-bottom: 2rem; }
	.hed-engage__grid { grid-template-columns: 1fr; }
	.hed-faq__layout { grid-template-columns: 1fr; }
	.hed-faq__sticky { position: static; margin-bottom: 2rem; }
	.hed-related__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hed-flow { flex-direction: column; }
	.hed-flow__arrow { transform: rotate(90deg); }
	.hed-problem__grid { grid-template-columns: 1fr; }
	.hed-process__steps { grid-template-columns: repeat(2, 1fr); }
	.hed-related__rail { grid-template-columns: 1fr; }
	.hed-faq-item__panel p { padding-left: 0; }
	.hed-faq-item__trigger { grid-template-columns: 2.25rem 1fr 1.25rem; }
}
