/* Home page only. Loaded from site/home.blade.php so the shared app.css stays untouched. */

/* Utilities the home page needs that app.css does not compile */
.w-1\.5 { width: .375rem; }
.text-\[1\.35rem\] { font-size: 1.35rem; }
.text-\[12\.5px\] { font-size: 12.5px; }
.text-\[14px\] { font-size: 14px; }
@media (min-width: 1024px) {
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-14 { gap: 3.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:pb-24 { padding-bottom: 6rem; }
  .lg\:grid-cols-\[1\.02fr_0\.98fr\] { grid-template-columns: 1.02fr .98fr; }
  .lg\:grid-cols-\[0\.95fr_1\.05fr\] { grid-template-columns: .95fr 1.05fr; }
  .lg\:grid-cols-\[1fr_1fr\] { grid-template-columns: 1fr 1fr; }
}

/* ---------- Hero ---------- */
.hx-hero .hx-orb {
  position: absolute; z-index: -1; right: -120px; top: 40px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--brand) / .55), rgb(var(--brand) / 0) 70%), radial-gradient(closest-side at 30% 70%, rgb(var(--mint) / .25), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.hx-grad {
  background: linear-gradient(92deg, #B4C1FF 0%, #8FA3FF 45%, #5FE0BB 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-trust { display: grid; gap: .7rem 1.5rem; font-size: 15px; color: rgb(255 255 255 / .72); }
.hx-trust li { display: flex; align-items: center; gap: .6rem; }
@media (min-width: 640px) { .hx-trust { grid-template-columns: 1fr 1fr; } }

/* ---------- Planner card ---------- */
.hx-planner {
  position: relative; background: #fff; color: #121A3A; border-radius: 26px; padding: 26px;
  box-shadow: 0 40px 90px -30px rgb(3 7 25 / .75), 0 0 0 1px rgb(255 255 255 / .06);
}
.hx-planner::before {
  content: ""; position: absolute; inset: 0 22px auto; height: 3px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, rgb(var(--brand)), rgb(var(--mint)));
}
@media (min-width: 640px) { .hx-planner { padding: 30px; } }
.hx-planner-head { display: flex; gap: 14px; align-items: flex-start; }
.hx-planner-icon {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, #5B74FF, #2C40D8); box-shadow: 0 10px 24px -10px rgb(var(--brand) / .8);
}
.hx-label { display: block; margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: #3A4160; }
.hx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-chip { position: relative; cursor: pointer; }
.hx-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hx-chip span {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid #E1E5EF;
  font-size: 13.5px; font-weight: 500; color: #3A4160; background: #fff; transition: all .15s ease; user-select: none;
}
.hx-chip span svg { color: rgb(var(--brand)); }
.hx-chip:hover span { border-color: rgb(var(--brand) / .45); }
.hx-chip input:checked + span { background: rgb(var(--brand) / .09); border-color: rgb(var(--brand)); color: #2638B8; box-shadow: 0 0 0 1px rgb(var(--brand)) inset; }
.hx-chip input:focus-visible + span { outline: 2px solid rgb(var(--brand)); outline-offset: 2px; }
.hx-hours { padding: 2px 10px; border-radius: 999px; background: rgb(var(--brand) / .1); color: #2638B8; font-size: 13px; font-weight: 700; }
.hx-range { width: 100%; accent-color: rgb(var(--brand)); height: 22px; cursor: pointer; }
.hx-estimate {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 14px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(135deg, #F1F4FF, #ECFBF6); border: 1px solid #E3E9FB;
}
.hx-est-num { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #121A3A; }
.hx-est-lbl { font-size: 13px; color: #5C6380; }
.hx-est-note { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; line-height: 1.5; color: #6E748C; }

/* ---------- Tools strip ---------- */
.hx-tools { background: #fff; border-bottom: 1px solid #E8EBF2; }
.hx-marquee { position: relative; overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hx-marquee-track { display: flex; gap: 10px; width: max-content; animation: hx-scroll 45s linear infinite; }
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee-track li { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid #E4E7F0; background: #fff; font-size: 14.5px; font-weight: 600; color: #2A3150; box-shadow: 0 6px 16px -12px rgb(18 26 58 / .35); }
.hx-brand { width: 20px; height: 20px; flex-shrink: 0; }
.hx-brand-mono { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px; background: #EEF0F6; color: #5C6380; font-size: 11px; font-weight: 700; }
@keyframes hx-scroll { to { transform: translateX(-50%); } }

/* ---------- Agent demo ---------- */
.hx-demo { background: #F5F7FC; }
.hx-events { display: grid; gap: 10px; max-width: 30rem; }
.hx-events li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #E6E9F2;
  font-size: 15px; font-weight: 500; color: #3A4160; transition: border-color .3s ease, box-shadow .3s ease, opacity .3s ease; opacity: .55;
}
.hx-event-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; background: rgb(var(--brand) / .08); color: rgb(var(--brand)); flex-shrink: 0; }
.hx-event-done { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px; background: #EEF0F5; color: #fff; transition: background .3s ease, transform .3s ease; transform: scale(.85); }
.hx-events li.is-done { opacity: 1; border-color: rgb(var(--mint) / .45); box-shadow: 0 10px 24px -18px rgb(var(--mint) / .9); }
.hx-events li.is-done .hx-event-done { background: rgb(var(--mint)); transform: scale(1); }

.hx-phone-wrap { position: relative; display: flex; justify-content: center; }
.hx-phone-wrap::before { content: ""; position: absolute; inset: 10% 5%; border-radius: 40px; background: radial-gradient(closest-side, rgb(var(--brand) / .35), transparent 75%); filter: blur(30px); z-index: 0; }
.hx-phone {
  position: relative; z-index: 1; width: 100%; max-width: 440px; border-radius: 30px; overflow: hidden; background: #121A3A;
  border: 1px solid rgb(255 255 255 / .08); box-shadow: 0 40px 80px -30px rgb(18 26 58 / .6);
}
.hx-phone-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: rgb(255 255 255 / .04); border-bottom: 1px solid rgb(255 255 255 / .07); }
.hx-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #5B74FF, #2C40D8); flex-shrink: 0; }
.hx-demo-tag { padding: 3px 9px; border-radius: 999px; background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .6); font-size: 11.5px; font-weight: 600; }
.hx-thread { display: flex; flex-direction: column; gap: 10px; height: 400px; padding: 18px; overflow: hidden; justify-content: flex-end; }
.hx-msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.hx-msg-bot { align-self: flex-start; background: rgb(255 255 255 / .09); color: #fff; border-bottom-left-radius: 6px; }
.hx-msg-user { align-self: flex-end; background: rgb(var(--brand)); color: #fff; border-bottom-right-radius: 6px; }
.hx-thread [data-msg] { display: none; }
.hx-thread [data-msg].is-in { display: block; animation: hx-pop .35s ease both; }
.hx-typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; border-radius: 18px; border-bottom-left-radius: 6px; background: rgb(255 255 255 / .09); }
.hx-typing.is-on { display: inline-flex; }
.hx-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .6); animation: hx-dot 1s infinite ease-in-out; }
.hx-typing i:nth-child(2) { animation-delay: .15s; } .hx-typing i:nth-child(3) { animation-delay: .3s; }
.hx-phone-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 11px 14px; border-radius: 14px; background: rgb(255 255 255 / .06); color: rgb(255 255 255 / .4); font-size: 14px; }
@keyframes hx-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hx-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Before / after ---------- */
.hx-ba-head { display: none; }
.hx-ba { display: grid; }
.hx-ba-row { display: grid; gap: 10px; padding: 20px 0; border-top: 1px solid #E8EBF2; }
.hx-ba-row:last-child { border-bottom: 1px solid #E8EBF2; }
.hx-ba-area { font-size: 17px; font-weight: 650; color: #121A3A; }
.hx-ba-before, .hx-ba-after { display: flex; gap: 10px; padding: 14px 16px; border-radius: 16px; font-size: 15.5px; line-height: 1.55; }
.hx-ba-before { background: #F4F5F8; color: #5C6380; }
.hx-ba-before svg { margin-top: 3px; color: #9AA0B4; }
.hx-ba-after { background: rgb(var(--mint) / .09); border: 1px solid rgb(var(--mint) / .3); color: #121A3A; font-weight: 500; }
.hx-ba-after svg { margin-top: 3px; color: #12A27A; }
@media (min-width: 900px) {
  .hx-ba-head, .hx-ba-row { display: grid; grid-template-columns: 210px 1fr 1fr; gap: 16px; align-items: center; }
  .hx-ba-head { padding-bottom: 12px; font-size: 13.5px; font-weight: 700; color: #6E748C; }
  .hx-ba-head span:last-child { color: #12A27A; }
}

/* ---------- Process ---------- */
.hx-steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .hx-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hx-steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.hx-step { position: relative; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid #E6E9F2; transition: box-shadow .2s ease, transform .2s ease; }
.hx-step:hover { box-shadow: 0 24px 50px -30px rgb(18 26 58 / .35); transform: translateY(-2px); }
.hx-step-no { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px; background: #121A3A; color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; font-weight: 700; }
.hx-step-no.is-last { background: rgb(var(--mint)); color: #121A3A; }

/* ---------- Industries ---------- */
.hx-ind { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .09); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hx-ind:hover { background: rgb(255 255 255 / .07); border-color: rgb(var(--mint) / .45); transform: translateY(-3px); }
.hx-ind-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(255 255 255 / .08); color: rgb(var(--mint)); }

/* ---------- Final CTA form ---------- */
.hx-quick { padding: 24px; border-radius: 24px; background: #fff; color: #121A3A; box-shadow: 0 30px 70px -30px rgb(3 7 25 / .7); }
@media (min-width: 640px) { .hx-quick { padding: 28px; } }

@media (prefers-reduced-motion: reduce) {
  .hx-marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .hx-marquee-track li[aria-hidden] { display: none; }
  .hx-step:hover, .hx-ind:hover { transform: none; }
}

/* Headings inside white cards that sit on dark sections */
.hx-planner h2, .hx-quick p.font-display { color: #121A3A; }

/* Planner: task dropdown */
.hx-select-wrap { position: relative; }
.hx-select {
  width: 100%; appearance: none; -webkit-appearance: none; cursor: pointer;
  height: 46px; padding: 0 40px 0 40px; border-radius: 12px;
  border: 1px solid rgb(18 26 58 / .14); background: #fff; color: #121A3A;
  font-size: 15px; font-weight: 500; transition: border-color .15s, box-shadow .15s;
}
.hx-select:invalid { color: #6B7393; }
.hx-select option { color: #121A3A; }
.hx-select:hover { border-color: rgb(var(--brand) / .45); }
.hx-select:focus { outline: none; border-color: rgb(var(--brand)); box-shadow: 0 0 0 3px rgb(var(--brand) / .18); }
.hx-select.is-error { border-color: #E5484D; box-shadow: 0 0 0 3px rgb(229 72 77 / .15); }
.hx-select-icon, .hx-select-chev { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; display: flex; }
.hx-select-icon { left: 14px; color: rgb(var(--brand)); }
.hx-select-chev { right: 14px; color: #6B7393; }

/* Planner: "something else" text box */
.hx-planner .input.is-error { border-color: #E5484D; box-shadow: 0 0 0 3px rgb(229 72 77 / .15); }
#planner { scroll-margin-top: 110px; }

/* ===== Person vs AI agent ===== */
.hx-cmp-sec { background: linear-gradient(180deg, #fff 0%, #F5F7FC 100%); }
.hx-cmp { margin-top: 44px; border-radius: 28px; background: #fff; border: 1px solid #E4E8F2; box-shadow: 0 30px 60px -38px rgb(18 26 58 / .35); padding: 18px; }
@media (min-width: 768px) { .hx-cmp { padding: 28px; } }
.hx-cmp-controls { display: grid; gap: 18px; }
@media (min-width: 1024px) { .hx-cmp-controls { grid-template-columns: 1fr 300px; align-items: end; } }
.hx-cmp-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hx-cmp-tabs::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .hx-cmp-tabs { flex-wrap: wrap; overflow: visible; } }
.hx-cmp-tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; border: 1px solid #E1E5EF; background: #F7F8FB; color: #3A4160; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.hx-cmp-tab svg { color: rgb(var(--brand)); }
.hx-cmp-tab:hover { border-color: rgb(var(--brand) / .45); }
.hx-cmp-tab[aria-selected="true"] { background: #121A3A; border-color: #121A3A; color: #fff; }
.hx-cmp-tab[aria-selected="true"] svg { color: #8FA2FF; }
.hx-cmp-tab:focus-visible { outline: 2px solid rgb(var(--brand)); outline-offset: 2px; }
.hx-cmp-vol-lbl { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 600; color: #3A4160; margin-bottom: 8px; }
.hx-cmp-vol-lbl output { font-weight: 700; color: #121A3A; background: rgb(var(--brand) / .09); padding: 2px 10px; border-radius: 999px; }

.hx-cmp-grid { display: grid; gap: 14px; margin-top: 24px; position: relative; }
@media (min-width: 768px) { .hx-cmp-grid { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; } }
.hx-cmp-vs { display: none; }
@media (min-width: 768px) { .hx-cmp-vs { display: flex; align-self: center; z-index: 1; margin: 0 -18px; width: 44px; height: 44px; border-radius: 999px; background: #121A3A; color: #fff; font-size: 13px; font-weight: 700; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #fff; } }
.hx-cmp-card { border-radius: 22px; padding: 22px; display: flex; flex-direction: column; }
.hx-cmp-human { background: #F4F5F8; border: 1px solid #E6E8EF; }
.hx-cmp-agent { background: linear-gradient(160deg, #142057 0%, #1B2C7A 55%, #1F3A8F 100%); color: #fff; border: 1px solid #2A3C93; box-shadow: 0 24px 50px -30px rgb(31 58 143 / .8); }
.hx-cmp-card-head { display: flex; align-items: center; gap: 12px; }
.hx-cmp-av { display: flex; width: 42px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; flex-shrink: 0; }
.hx-cmp-human .hx-cmp-av { background: #E3E6EE; color: #5C6380; }
.hx-cmp-agent .hx-cmp-av { background: rgb(var(--mint) / .18); color: #5EF0C2; }
.hx-cmp-who { font-size: 17px; font-weight: 700; }
.hx-cmp-human .hx-cmp-who { color: #121A3A; }
.hx-cmp-sub { font-size: 13px; margin-top: 1px; }
.hx-cmp-human .hx-cmp-sub { color: #6B7393; }
.hx-cmp-agent .hx-cmp-sub { color: #B7C3F5; }
.hx-cmp-list { margin-top: 18px; display: grid; }
.hx-cmp-list > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid; font-size: 14.5px; }
.hx-cmp-human .hx-cmp-list > div { border-color: #E3E6EE; }
.hx-cmp-agent .hx-cmp-list > div { border-color: rgb(255 255 255 / .1); }
.hx-cmp-list dt { opacity: .75; }
.hx-cmp-list dd { font-weight: 650; text-align: right; }
.hx-cmp-human .hx-cmp-list dd { color: #121A3A; }
.hx-cmp-total { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px dashed; font-size: 14px; }
.hx-cmp-human .hx-cmp-total { border-color: #CDD2DF; color: #5C6380; }
.hx-cmp-agent .hx-cmp-total { border-color: rgb(255 255 255 / .2); color: #B7C3F5; }
.hx-cmp-money { font-family: inherit; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hx-cmp-human .hx-cmp-money { color: #121A3A; }
.hx-cmp-agent .hx-cmp-money { color: #5EF0C2; }

.hx-cmp-bars { display: grid; gap: 18px; margin-top: 26px; }
@media (min-width: 768px) { .hx-cmp-bars { grid-template-columns: 1fr 1fr; gap: 32px; } }
.hx-cmp-bar-title { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #3A4160; margin-bottom: 10px; }
.hx-cmp-bar-title svg { color: rgb(var(--brand)); }
.hx-cmp-bar { display: grid; grid-template-columns: 54px 1fr 72px; align-items: center; gap: 10px; margin-top: 8px; font-size: 13.5px; }
.hx-cmp-bar-lbl { color: #6B7393; font-weight: 600; }
.hx-cmp-track { height: 12px; border-radius: 999px; background: #EEF0F5; overflow: hidden; }
.hx-cmp-fill { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.2,.8,.2,1); }
.hx-cmp-fill.is-human { background: #A3AAC0; }
.hx-cmp-fill.is-agent { background: linear-gradient(90deg, rgb(var(--brand)), #19C79A); }
.hx-cmp-val { text-align: right; font-weight: 700; color: #121A3A; white-space: nowrap; }

.hx-cmp-save { margin-top: 26px; border-radius: 20px; padding: 20px; background: rgb(var(--mint) / .08); border: 1px solid rgb(var(--mint) / .3); display: grid; gap: 18px; align-items: center; }
@media (min-width: 900px) { .hx-cmp-save { grid-template-columns: 1fr auto; padding: 20px 26px; } }
.hx-cmp-save-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hx-cmp-save-num { font-size: clamp(22px, 4vw, 30px); font-weight: 800; letter-spacing: -.02em; color: #0E8A66; line-height: 1.1; }
.hx-cmp-save-lbl { font-size: 13px; color: #3A4160; margin-top: 3px; }
.hx-cmp-save .btn-primary { justify-content: center; }

.hx-cmp-pc { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 768px) { .hx-cmp-pc { grid-template-columns: 1fr 1fr; } }
.hx-cmp-pc-col { border-radius: 22px; padding: 22px; background: #fff; border: 1px solid #E4E8F2; }
.hx-cmp-pc-title { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 700; color: #121A3A; }
.hx-cmp-pc-col.is-win .hx-cmp-pc-title svg { color: #12A27A; }
.hx-cmp-pc-col.is-limit .hx-cmp-pc-title svg { color: #D98B12; }
.hx-cmp-pc-col ul { margin-top: 14px; display: grid; gap: 10px; }
.hx-cmp-pc-col li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: #3A4160; }
.hx-cmp-pc-col li svg { margin-top: 3px; }
.hx-cmp-pc-col.is-win li svg { color: #12A27A; }
.hx-cmp-pc-col.is-limit li svg { color: #D98B12; }
.hx-cmp-note { margin-top: 16px; font-size: 13px; color: #6B7393; max-width: 70ch; }
@media (prefers-reduced-motion: reduce) { .hx-cmp-fill { transition: none; } }
