/* ==========================================================================
   Hire AI SEO Expert — bespoke page design. Namespaced `.hai-`.
   Visual language: AI answer interfaces, knowledge graphs, connected
   entities — futuristic but professional, no sci-fi gimmicks.
   ========================================================================== */

.hai-page { background: var(--sap-white); overflow-x: clip; }
.hai-page section { position: relative; }
.hai-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; }
.hai-eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--sap-primary); display: inline-block; }

/* --------------------------------------------------------------------
   1. HERO — dark, AI answer interface
   -------------------------------------------------------------------- */
.hai-hero { position: relative; overflow: hidden; background: #08090d; color: #fff; padding: calc(var(--sap-header-height) + 5rem) 0 5.5rem; }
.hai-hero__mesh { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 75% 20%, rgba(254,109,13,.16), transparent 45%), radial-gradient(circle at 15% 80%, rgba(255,139,61,.1), transparent 40%); }
.hai-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hai-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; }
.hai-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; }
.hai-hero__title { font-family: var(--sap-font-heading); font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.1rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1.6rem; color: #fff; }
.hai-hero__title .accent { color: var(--sap-primary); }
.hai-hero__text { font-size: 1.06rem; line-height: 1.7; color: rgba(255,255,255,.65); max-width: 520px; margin-bottom: 2.25rem; }
.hai-hero__actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hai-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; }
.hai-hero__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

.hai-answer { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--sap-radius-lg); padding: 1.5rem; backdrop-filter: blur(16px); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.hai-answer__q { font-size: .92rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.hai-answer__body { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.9); }
.hai-answer__caret { display: inline-block; width: 2px; height: 1em; background: var(--sap-primary); margin-left: 2px; vertical-align: -2px; animation: haiBlink 1s step-end infinite; }
@keyframes haiBlink { 50% { opacity: 0; } }
.hai-answer__sources { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.08); }
.hai-answer__source { font-size: .72rem; padding: .35rem .7rem; border-radius: var(--sap-radius-pill); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------------
   2. LANDSCAPE — traditional vs AI search split
   -------------------------------------------------------------------- */
.hai-landscape { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hai-landscape__head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.hai-landscape__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hai-landscape__head .accent { color: var(--sap-primary); }
.hai-landscape__head p { color: var(--sap-muted); }
.hai-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 980px; margin: 0 auto; }
.hai-split__col { border-radius: var(--sap-radius-lg); padding: 2.25rem; }
.hai-split__col--old { background: var(--sap-white); border: 1px solid var(--sap-border); }
.hai-split__col--new { background: var(--sap-dark); color: #fff; }
.hai-split__title { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.5rem; color: var(--sap-muted); }
.hai-split__col--new .hai-split__title { color: var(--sap-accent); }
.hai-split__item { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 0; border-top: 1px solid var(--sap-border); font-size: .9rem; }
.hai-split__col--new .hai-split__item { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.hai-split__item:first-of-type { border-top: none; padding-top: 0; }
.hai-split__item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .2rem; color: var(--sap-primary); }

/* --------------------------------------------------------------------
   3. CAPABILITIES — icon row list
   -------------------------------------------------------------------- */
.hai-capabilities { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hai-capabilities__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.hai-capabilities__sticky { position: sticky; top: calc(var(--sap-header-height) + 2rem); align-self: start; }
.hai-capabilities__sticky h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
.hai-capabilities__sticky p { color: var(--sap-muted); }
.hai-capabilities__list { border-top: 1px solid var(--sap-border); }
.hai-cap-row { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--sap-border); }
.hai-cap-row__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--sap-radius-md); background: var(--sap-bg-tint); color: var(--sap-primary); display: flex; align-items: center; justify-content: center; }
.hai-cap-row__icon svg { width: 22px; height: 22px; }
.hai-cap-row h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.hai-cap-row p { font-size: .88rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   4. ENTITY / KNOWLEDGE GRAPH
   -------------------------------------------------------------------- */
.hai-graph { padding: var(--sap-section-space) 0; background: var(--sap-dark); color: #fff; }
.hai-graph__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hai-graph__content .hai-eyebrow { color: var(--sap-accent); }
.hai-graph__content h2 { font-size: clamp(1.8rem, 2.8vw, 2.3rem); color: #fff; margin-bottom: 1rem; }
.hai-graph__content p { color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 0; }
.hai-graph__visual { position: relative; height: 340px; }
.hai-graph__visual svg { width: 100%; height: 100%; }
.hai-graph__label { position: absolute; font-size: .72rem; font-weight: 700; padding: .35rem .65rem; border-radius: var(--sap-radius-pill); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.hai-graph__label--center { background: var(--sap-gradient); border-color: transparent; color: #fff; top: 46%; left: 42%; }
.hai-graph__label--1 { top: 6%; left: 10%; }
.hai-graph__label--2 { top: 4%; right: 8%; }
.hai-graph__label--3 { bottom: 22%; left: 2%; }
.hai-graph__label--4 { bottom: 10%; right: 14%; }
.hai-graph__label--5 { bottom: 42%; right: -2%; }

/* --------------------------------------------------------------------
   5. PROCESS — 5-step horizontal
   -------------------------------------------------------------------- */
.hai-process { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hai-process__head { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.hai-process__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hai-process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; max-width: 1080px; margin: 0 auto; position: relative; }
.hai-process__steps::before { content: ''; position: absolute; top: 22px; left: 8%; right: 8%; height: 1px; background: var(--sap-border); }
.hai-process__step { text-align: center; position: relative; }
.hai-process__num { width: 44px; height: 44px; 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: .82rem; box-shadow: 0 0 0 6px var(--sap-white); position: relative; z-index: 1; }
.hai-process__step h3 { font-size: .92rem; margin-bottom: .35rem; }
.hai-process__step p { font-size: .78rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   6. WHY HIRE
   -------------------------------------------------------------------- */
.hai-why { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hai-why__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; }
.hai-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); }
.hai-why__statement .accent { color: var(--sap-primary); }
.hai-why__list { display: flex; flex-direction: column; }
.hai-why-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--sap-border); }
.hai-why-item:last-child { border-bottom: 1px solid var(--sap-border); }
.hai-why-item__mark { color: var(--sap-primary); }
.hai-why-item__mark svg { width: 20px; height: 20px; }
.hai-why-item h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.hai-why-item p { font-size: .88rem; color: var(--sap-muted); margin-bottom: 0; }

/* --------------------------------------------------------------------
   7. WHO BENEFITS — chip cloud
   -------------------------------------------------------------------- */
.hai-who { padding: var(--sap-section-space) 0; background: var(--sap-white); }
.hai-who__head { max-width: 620px; margin: 0 auto 2.5rem; text-align: center; }
.hai-who__head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.hai-who__cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; max-width: 900px; margin: 0 auto; }
.hai-who-chip { background: var(--sap-bg-tint); border: 1px solid var(--sap-border); border-radius: var(--sap-radius-lg); padding: 1rem 1.4rem; max-width: 260px; transition: border-color .25s ease, box-shadow .25s ease; }
.hai-who-chip:hover { border-color: var(--sap-primary); box-shadow: var(--sap-shadow-md); }
.hai-who-chip h3 { font-size: .95rem; margin-bottom: .3rem; }
.hai-who-chip p { font-size: .82rem; color: var(--sap-muted); margin-bottom: 0; line-height: 1.5; }

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

/* --------------------------------------------------------------------
   9. TOOLS
   -------------------------------------------------------------------- */
.hai-tools { padding: 3.5rem 0; background: #08090d; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.hai-tools__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; }
.hai-tools__track { display: flex; gap: 3.5rem; width: max-content; animation: haiMarquee 30s linear infinite; }
.hai-tools__item { font-family: var(--sap-font-heading); font-weight: 700; font-size: 1.2rem; color: rgba(255,255,255,.35); white-space: nowrap; display: flex; align-items: center; gap: .6rem; }
.hai-tools__item svg { width: 18px; height: 18px; color: var(--sap-primary); flex-shrink: 0; }
@keyframes haiMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

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

/* --------------------------------------------------------------------
   11. RELATED
   -------------------------------------------------------------------- */
.hai-related { padding: var(--sap-section-space) 0; background: var(--sap-bg-tint); }
.hai-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hai-related__head h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 0; }
.hai-related__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.hai-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; }
.hai-related-card:hover { transform: translateY(-4px); box-shadow: var(--sap-shadow-md); border-color: transparent; }
.hai-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; }
.hai-related-card__icon svg { width: 20px; height: 20px; }
.hai-related-card h3 { font-size: .95rem; margin-bottom: 0; line-height: 1.4; }

/* --------------------------------------------------------------------
   12. FINAL CTA
   -------------------------------------------------------------------- */
.hai-final { position: relative; overflow: hidden; background: #08090d; color: #fff; text-align: center; padding: 6rem 0; }
.hai-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%; }
.hai-final__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hai-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; }
.hai-final p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2.5rem; }
.hai-final__actions { display: flex; align-items: center; justify-content: center; gap: 1.75rem; flex-wrap: wrap; }
.hai-final__secondary { color: #fff; font-weight: 700; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hai-final__secondary:hover { border-color: var(--sap-primary); color: var(--sap-primary); }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.hai-hero__inner { grid-template-columns: 1fr; }
	.hai-split { grid-template-columns: 1fr; }
	.hai-capabilities__layout { grid-template-columns: 1fr; }
	.hai-capabilities__sticky { position: static; margin-bottom: 2.5rem; }
	.hai-graph__layout { grid-template-columns: 1fr; }
	.hai-graph__visual { order: -1; height: 260px; }
	.hai-process__steps { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
	.hai-process__steps::before { display: none; }
	.hai-why__layout { grid-template-columns: 1fr; }
	.hai-why__statement { position: static; margin-bottom: 2rem; }
	.hai-engage__grid { grid-template-columns: 1fr; }
	.hai-faq__layout { grid-template-columns: 1fr; }
	.hai-faq__sticky { position: static; margin-bottom: 2rem; }
	.hai-related__rail { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hai-process__steps { grid-template-columns: repeat(2, 1fr); }
	.hai-who-chip { max-width: 100%; }
	.hai-related__rail { grid-template-columns: 1fr; }
	.hai-faq-item__panel p { padding-left: 0; }
	.hai-faq-item__trigger { grid-template-columns: 2.25rem 1fr 1.25rem; }
	.hai-graph__label { position: static; display: inline-block; margin: .25rem; }
	.hai-graph__visual svg { display: none; }
}
