/* Ezibell Tech — homepage (pages/index.html). Builds on academy.css (.apx tokens, buttons, sections, FAQ, CTA). */

/* ---------- hero ---------- */
.hm-hero { position: relative; overflow: hidden; color: #fff; background: #0b0c1d; padding: 150px 0 0; }
.hm-hero::before { content: ''; position: absolute; inset: 0; background:
    radial-gradient(45% 55% at 10% 15%, rgba(22, 83, 104, .9), transparent 70%),
    radial-gradient(40% 50% at 95% 20%, rgba(91, 61, 245, .55), transparent 70%),
    radial-gradient(45% 45% at 60% 95%, rgba(236, 72, 153, .28), transparent 70%); }
.hm-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 90%); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); }
.hm-hero .apx-wrap { position: relative; z-index: 1; }
.hm-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hm-hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 22px 0 22px; }
.hm-hero h1 .grad { background: linear-gradient(90deg, #67e8f9, #a78bfa 50%, #f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-hero .apx-lead { max-width: 560px; }
.hm-trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hm-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: #e4e2ff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); padding: 8px 14px; border-radius: 999px; }
.hm-trust i { color: #67e8f9; }

.hm-stack { position: relative; aspect-ratio: 15 / 14; perspective: 1600px; }
.hm-win { position: absolute; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hm-win .bar { height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #f1f2f8; }
.hm-win .bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d6e4; }
.hm-win .bar em { margin-left: 8px; font-style: normal; font-size: .62rem; color: #6b7190; background: #fff; border-radius: 5px; padding: 2px 8px; }
.hm-win img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hm-win.w1 { width: 74%; right: 0; top: 0; transform: rotateY(-10deg) rotateX(4deg); opacity: .55; }
.hm-win.w2 { width: 74%; left: 0; top: 19.5%; transform: rotateY(-8deg) rotateX(3deg); opacity: .8; }
.hm-win.w3 { width: 80%; right: 4%; top: 40%; transform: rotateY(-6deg) rotateX(2deg); }
.hm-stack:hover .hm-win.w3 { transform: rotateY(0) rotateX(0) translateY(-6px); }
.hm-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: #fff; color: #0e1027; border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6); font-size: .82rem; font-weight: 700; animation: apxFloat 6s ease-in-out infinite; }
.hm-float i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1rem; flex: none; }
.hm-float small { display: block; font-size: .66rem; color: #6b7190; font-weight: 700; }
.hm-float.f1 { left: -10px; top: 40px; } .hm-float.f1 i { background: linear-gradient(135deg, #7c3aed, #ec4899); }
.hm-float.f2 { right: -14px; top: 30%; animation-delay: -2s; } .hm-float.f2 i { background: linear-gradient(135deg, #0ea5e9, #165368); }
.hm-float.f3 { left: 6%; bottom: 20px; animation-delay: -4s; } .hm-float.f3 i { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.hm-stats { position: relative; z-index: 1; margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .12); }
.hm-stats div { padding: 28px 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hm-stats div:last-child { border-right: 0; }
.hm-stats b { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.hm-stats span { color: #b9bbd6; font-size: .9rem; }
@media (max-width: 991.98px) {
    .hm-hero-grid { grid-template-columns: 1fr; }
    .hm-stack { max-width: 620px; margin: 10px auto 0; width: 100%; }
    .hm-stats { grid-template-columns: 1fr 1fr; }
    .hm-stats div:nth-child(2) { border-right: 0; }
    .hm-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 575.98px) {
    .hm-hero { padding-top: 130px; }
    .hm-stack { aspect-ratio: 1 / .98; }
    .hm-win.w1 { display: none; }
    .hm-win.w2 { top: 0; width: 82%; }
    .hm-win.w3 { top: 30%; width: 90%; right: 0; }
    .hm-float.f2 { display: none; }
    .hm-stats b { font-size: 1.7rem; }
}

/* ---------- tech marquee ---------- */
.hm-tech { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.hm-tech p { text-align: center; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); margin-bottom: 18px; }
.hm-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hm-track { display: flex; gap: 14px; width: max-content; animation: hmMarq 45s linear infinite; }
.hm-track span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: .95rem; color: var(--ink2); background: var(--bg); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; }
.hm-track span i { color: var(--v); }
@keyframes hmMarq { to { transform: translateX(-50%); } }

/* ---------- services bento ---------- */
.hm-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hm-svc { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.hm-svc:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(14, 16, 39, .4); }
.hm-svc .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--g1, #165368), var(--g2, #0ea5e9)); margin-bottom: 18px; }
.hm-svc h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.hm-svc p { color: var(--mut); font-size: .95rem; }
.hm-svc ul { margin-top: 14px !important; display: flex; flex-wrap: wrap; gap: 6px; }
.hm-svc li { font-size: .74rem; font-weight: 700; background: var(--bg); padding: 4px 10px; border-radius: 8px; color: var(--ink2); }
.hm-svc.big { grid-column: span 2; grid-row: span 2; padding: 32px; color: #fff; border: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(236, 72, 153, .45), transparent 60%), linear-gradient(150deg, #241a6b, #5b3df5); }
.hm-svc.big h3 { font-size: 1.8rem; color: #fff; }
.hm-svc.big p { color: #ddd8ff; font-size: 1.05rem; }
.hm-svc.big .ic { background: rgba(255, 255, 255, .18); }
.hm-svc.big li { background: rgba(255, 255, 255, .14); color: #fff; }
.hm-svc.wide { grid-column: span 2; }
.hm-agent { margin-top: auto; padding-top: 24px; display: grid; gap: 8px; }
.hm-agent div { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 10px 12px; font-size: .86rem; color: #f1efff; }
.hm-agent div i { color: #67e8f9; }
.hm-agent div b { margin-left: auto; font-size: .72rem; color: #a7f3d0; background: rgba(16, 185, 129, .2); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 1100px) { .hm-bento { grid-template-columns: repeat(2, 1fr); } .hm-svc.big { grid-row: auto; } }
@media (max-width: 640px) { .hm-bento { grid-template-columns: 1fr; } .hm-svc.big, .hm-svc.wide { grid-column: auto; } }

/* ---------- products ---------- */
.hm-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.hm-ptile { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--g1), var(--g2)); transition: transform .35s; }
.hm-ptile:hover { transform: translateY(-6px); color: #fff; }
.hm-ptile .tx { padding: 32px 32px 0; }
.hm-ptile small { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.hm-ptile h3 { font-size: 1.7rem; font-weight: 800; margin: 10px 0 10px; color: #fff; }
.hm-ptile p { color: rgba(255, 255, 255, .86); font-size: .98rem; }
.hm-ptile .go { display: flex; gap: 10px; margin: 18px 0 26px; flex-wrap: wrap; }
.hm-ptile .go span { font-size: .86rem; font-weight: 800; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.hm-ptile .go span.solid { background: #fff; color: #0e1027; }
.hm-ptile .shot { margin: auto 32px 0; border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); transform: translateY(10px); transition: transform .35s; }
.hm-ptile:hover .shot { transform: translateY(0); }
.hm-ptile .shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hm-crms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.hm-crm { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.hm-crm:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(14, 16, 39, .45); color: var(--ink); }
.hm-crm img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.hm-crm div { padding: 18px 20px 20px; }
.hm-crm small { font-size: .76rem; font-weight: 800; color: var(--v); }
.hm-crm b { display: block; font-size: 1.1rem; margin: 4px 0 6px; }
.hm-crm span { color: var(--mut); font-size: .9rem; }
@media (max-width: 991.98px) { .hm-feat { grid-template-columns: 1fr; } .hm-crms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .hm-crms { grid-template-columns: 1fr; } .hm-ptile .tx { padding: 24px 22px 0; } .hm-ptile .shot { margin: auto 22px 0; } }

/* ---------- delivery timeline ---------- */
.hm-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.hm-flow::before { content: ''; position: absolute; left: 5%; right: 5%; top: 30px; height: 2px; background: linear-gradient(90deg, #165368, #5b3df5, #ec4899); opacity: .5; }
.hm-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; }
.hm-step .n { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; margin: -2px 0 16px; background: linear-gradient(135deg, var(--g1), var(--g2)); box-shadow: 0 14px 30px -14px var(--g1); }
.hm-step small { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--v); }
.hm-step b { display: block; font-size: 1.08rem; margin: 4px 0 8px; }
.hm-step p { color: var(--mut); font-size: .9rem; }
@media (max-width: 1100px) { .hm-flow { grid-template-columns: repeat(2, 1fr); } .hm-flow::before { display: none; } }
@media (max-width: 575.98px) { .hm-flow { grid-template-columns: 1fr; } }

/* ---------- why + testimonials ---------- */
.hm-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hm-why div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 24px; }
.hm-why i { font-size: 1.7rem; color: #67e8f9; }
.hm-why b { display: block; color: #fff; font-size: 1.1rem; margin: 12px 0 8px; }
.hm-why span { color: #b9bbd6; font-size: .92rem; line-height: 1.55; display: block; }
@media (max-width: 991.98px) { .hm-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .hm-why { grid-template-columns: 1fr; } }
.hm-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.hm-quote { background: #fff; color: var(--ink); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; }
.hm-quote .st { color: #f59e0b; letter-spacing: 2px; }
.hm-quote q { quotes: '“' '”'; font-size: .95rem; color: var(--ink2); line-height: 1.6; margin: 10px 0 16px; flex: 1; }
.hm-quote .who { display: flex; align-items: center; gap: 10px; }
.hm-quote .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: linear-gradient(135deg, #165368, #5b3df5); }
.hm-quote b { font-size: .92rem; }
@media (max-width: 1100px) { .hm-quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .hm-quotes { grid-template-columns: 1fr; } }

/* ---------- guide ---------- */
.hm-guide { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: linear-gradient(135deg, #ecfeff, #f5f3ff); border: 1px solid #ddd6fe; border-radius: 28px; padding: 30px 34px; }
.hm-guide .book { width: 92px; height: 120px; border-radius: 8px 14px 14px 8px; background: linear-gradient(150deg, #165368, #5b3df5); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: .74rem; line-height: 1.25; padding: 10px; box-shadow: 8px 10px 0 -2px #c4b5fd, 0 20px 40px -18px rgba(22, 83, 104, .6); transform: rotate(-6deg); }
.hm-guide h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; }
.hm-guide p { color: var(--mut); }
@media (max-width: 767.98px) { .hm-guide { grid-template-columns: 1fr; text-align: center; } .hm-guide .book { margin: 0 auto; } }
