/* ================================================================
   EffiQ Theme — Front Page
   Homepage hero, ticker, metric strip, road animation, about
   section, warehouse section, platform cards, services grid,
   solution strip, process list, network section, case cards,
   testimonials, CTA band. Loaded on front page only.
================================================================ */

/* ── HERO SECTION ───────────────────────────────────────────────── */
.hero { min-height: 100vh; background: var(--grad-hero); position: relative; overflow: hidden; display: flex; align-items: center; padding: 130px 0 80px; }
.hero .wrap     { width: 100%; position: relative; z-index: 2; }
.hero .headline { margin-bottom: 24px; }
.hero .lead-w   { max-width: 480px; margin-bottom: 0; }

/* animated grid overlay */
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px); background-size: 60px 60px; animation: gridPan 8s linear infinite; }

/* mesh blobs */
.hero-blob1 { position: absolute; top: -10%; right: -5%; width: 60%; height: 80%; background: radial-gradient(ellipse at center,rgba(26,115,232,.22) 0%,transparent 70%); pointer-events: none; animation: meshMove 14s ease-in-out infinite; }
.hero-blob2 { position: absolute; bottom: -20%; left: 10%; width: 50%; height: 70%; background: radial-gradient(ellipse at center,rgba(107,79,211,.18) 0%,transparent 70%); pointer-events: none; animation: meshMove 18s ease-in-out 4s infinite reverse; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media(max-width:1020px) { .hero-inner { grid-template-columns: 1fr; } .hero-right-col { display: none; } }

/* hero left */
.hero-pill     { display: inline-flex; align-items: center; gap: 8px; background: rgba(26,115,232,.15); border: 1px solid rgba(26,115,232,.3); padding: 5px 14px 5px 9px; border-radius: 100px; margin-bottom: 36px; }
.hero-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; animation: pulseDot 2s infinite; }
.hero-pill-txt { font-family: var(--fh); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .06em; }
.hero-acts     { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* hero right — floating panel stack */
.hero-right-col { position: relative; height: 560px; }
.hpanel         { position: absolute; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.4); }

/* main dashboard panel */
.hpanel-main { background: #0F172A; border: 1px solid rgba(255,255,255,.1); width: 100%; height: 420px; top: 50%; transform: translateY(-50%); animation: floatB 6s ease-in-out infinite; }
.hpanel-main .topbar  { height: 40px; background: rgba(255,255,255,.05); display: flex; align-items: center; padding: 0 16px; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.hpanel-main .tb-dot  { width: 9px; height: 9px; border-radius: 50%; }
.hpanel-main .tb-title { font-family: var(--fh); font-size: 11px; font-weight: 700; color: rgba(255,255,255,.25); letter-spacing: .1em; margin-left: 8px; text-transform: uppercase; }
.hpanel-main .content { padding: 20px; }

/* floating kpi cards */
.hpanel-kpi  { background: #fff; width: 168px; padding: 16px; top: 20px; right: -30px; animation: floatA 4s ease-in-out infinite; border: 1px solid #E2E8F0; }
.hpanel-kpi2 { background: #0F172A; border: 1px solid rgba(107,79,211,.4); width: 160px; padding: 14px; bottom: 40px; left: -36px; animation: floatC 5s ease-in-out 1s infinite; }

/* ── TICKER ─────────────────────────────────────────────────────── */
.ticker-wrap  { background: linear-gradient(135deg,#060D1F,#0F2B46); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); overflow: hidden; padding: 18px 0; }
.ticker-inner { display: flex; gap: 0; width: max-content; animation: tickerScroll 52s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item  { display: flex; align-items: center; gap: 10px; padding: 0 40px; font-family: var(--fh); font-size: 13px; font-weight: 700; color: rgba(255,255,255,.35); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ticker-dot   { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.2); flex-shrink: 0; }

/* ── METRIC STRIP ───────────────────────────────────────────────── */
.mstrip { display: grid; grid-template-columns: repeat(4,1fr); background: var(--wh); box-shadow: 0 0 0 1px var(--bd); }
.mc     { padding: 40px 24px; border-right: 1px solid var(--bd); text-align: center; position: relative; overflow: hidden; transition: background .2s; }
.mc:last-child { border-right: none; }
.mc::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-bl-pur); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.mc:hover::before { transform: scaleX(1); }
.mc:hover { background: var(--gy); }
.mc-n { font-family: var(--fh); font-size: 52px; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: var(--grad-num); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.mc-l { font-family: var(--fh); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--lt); margin-top: 10px; }
@media(max-width:640px) { .mstrip { grid-template-columns: 1fr 1fr; } }

/* ── ROAD ANIMATION STRIP ───────────────────────────────────────── */
.road       { overflow: hidden; background: var(--gy); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); height: 80px; position: relative; }
.road-dash  { position: absolute; top: 50%; left: 0; right: 0; height: 0; border-top: 2px dashed #CBD5E1; transform: translateY(-50%); }
.truck      { position: absolute; top: 50%; transform: translateY(-60%); }
.truck-1    { animation: truckRoll  18s linear infinite; }
.truck-2    { animation: truckRoll2 24s linear -9s infinite; }
.truck-3    { animation: truckRoll3 20s linear -5s infinite; }

/* ── ABOUT SECTION ──────────────────────────────────────────────── */
.about-sec  { padding: 0; background: var(--nv); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.about-dk   { padding: 80px 72px; background: linear-gradient(135deg,var(--nv) 55%,#1C1057 100%); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.about-lt   { background-size: cover; background-position: center; min-height: 420px; position: relative; overflow: hidden; }
@media(max-width:900px) { .about-grid { grid-template-columns: 1fr; } }

/* about-dk — inner structure */
.about-dk-grid  { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.about-dk-inner { position: relative; z-index: 1; }
.about-dk .ey   { margin-bottom: 22px; }
.about-dk .h2   { margin-bottom: 20px; }
.about-dk p     { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.85; margin-bottom: 14px; }

/* about-dk — quote box */
.about-quote   { border-left: 2px solid rgba(26,115,232,.5); padding: 12px 16px; margin-bottom: 16px; background: rgba(26,115,232,.06); border-radius: 0 8px 8px 0; }
.about-quote p { font-size: 13.5px; color: rgba(255,255,255,.75); line-height: 1.8; margin: 0; }

/* about-dk — innovation edge box */
.about-edge     { background: rgba(107,79,211,.12); border: 1px solid rgba(107,79,211,.3); border-radius: 12px; padding: 16px 20px; margin-bottom: 28px; }
.about-edge-lbl { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A78BFA; margin-bottom: 8px; }
.about-edge p   { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 8px; }
.about-edge p:last-of-type { color: rgba(255,255,255,.7); margin-bottom: 0; }

/* about-dk — actions */
.about-acts      { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── WAREHOUSE DARK SECTION ─────────────────────────────────────── */
.wh-sec { background: linear-gradient(135deg,#060D1F 0%,#0F2B46 55%,#1C1057 100%); padding: 112px 0; position: relative; overflow: hidden; }
.wh-sec::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px); background-size: 48px 48px; }
.wh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
@media(max-width:960px) { .wh-grid { grid-template-columns: 1fr; } }
.wh-stat      { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 20px 22px; transition: all .2s; }
.wh-stat:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
.wh-stat-n    { font-family: var(--fh); font-size: 28px; font-weight: 800; letter-spacing: -.04em; background: var(--grad-bl-pur); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wh-stat-l    { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-top: 4px; }
.wh-sec .ey   { margin-bottom: 20px; }
.wh-sec .h2   { margin-bottom: 20px; }
.wh-body      { font-size: 15px; color: rgba(255,255,255,.42); line-height: 1.8; margin-bottom: 36px; }
.wh-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }

/* ── PLATFORM CARDS ─────────────────────────────────────────────── */
.pf-grid  { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media(max-width:700px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-card  { border: 1px solid var(--bd); border-radius: 16px; padding: 36px; background: var(--wh); transition: all .25s; position: relative; overflow: hidden; display: block; }
a.pf-card { text-decoration: none; color: inherit; cursor: pointer; }
.pf-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pa-color,var(--bl)); }
.pf-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,43,70,.1); }
.pf-icon  { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 22px; background: color-mix(in srgb, var(--pa-color,var(--bl)) 12%, transparent); }
.pf-name  { font-family: var(--fh); font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.pf-type  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pa-color,var(--bl)); margin-bottom: 12px; }
.pf-desc  { font-size: 14px; line-height: 1.68; color: var(--mid); margin-bottom: 16px; }
.pf-tags  { display: flex; gap: 6px; flex-wrap: wrap; }
.pf-tag     { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--bd); color: var(--lt); }
.pf-tag-pur { color: var(--pur); border-color: rgba(107,79,211,.3); background: rgba(107,79,211,.06); }

/* ── SERVICES GRID ──────────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--bd); border: 1px solid var(--bd); border-radius: 16px; overflow: hidden; }
@media(max-width:900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .svc-grid { grid-template-columns: 1fr; } }
.sc       { background: var(--wh); padding: 36px; transition: background .2s; position: relative; overflow: hidden; cursor: pointer; }
.sc:hover { background: var(--gy); }
.sc::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-bl-pur); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.sc:hover::after { transform: scaleX(1); }
.sc-num   { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--lt); margin-bottom: 20px; }
.sc-name  { font-family: var(--fh); font-size: 17px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.sc-arr   { opacity: 0; transform: translateX(-4px); transition: all .2s; color: var(--bl); }
.sc:hover .sc-arr { opacity: 1; transform: none; }
.sc-desc  { font-size: 14px; line-height: 1.65; color: var(--mid); }
.sc-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bd); }
.sc-tags span { font-size: 10px; font-weight: 700; color: var(--bl); border: 1px solid rgba(26,115,232,.25); background: rgba(26,115,232,.05); border-radius: 20px; padding: 3px 10px; letter-spacing: .04em; }
.sib      { width: 52px; height: 52px; border-radius: 14px; background: var(--bls); border: 1px solid var(--blb); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform .3s; }
.sib.p    { background: rgba(107,79,211,.08); border-color: rgba(107,79,211,.2); }
.sc:hover .sib { transform: scale(1.1); }

/* ── SOLUTION STRIP ─────────────────────────────────────────────── */
.sol-strip { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--bd); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px rgba(15,43,70,.06); }
@media(max-width:900px) { .sol-strip { grid-template-columns: 1fr; } }
.sol-w     { background: var(--wh); padding: 56px 52px; }
.sol-d     { background: linear-gradient(135deg,var(--nv) 0%,#1a1550 100%); padding: 56px 52px; }
.sol-lbl   { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.sl-b      { background: var(--bls); color: var(--bl); border: 1px solid var(--blb); }
.sl-p      { background: rgba(107,79,211,.1); color: var(--pur); border: 1px solid rgba(107,79,211,.25); }
.sf        { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd); }
.sf:last-of-type { border-bottom: none; }
.sf-ico    { width: 32px; height: 32px; border-radius: 8px; background: var(--bls); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.sf-t      { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--ink); }
.sf-d      { font-size: 13px; color: var(--mid); margin-top: 2px; }
.sf-dk     { border-bottom-color: rgba(255,255,255,.07); }
.sf-dk .sf-ico { background: rgba(107,79,211,.18); border: 1px solid rgba(107,79,211,.2); }
.sf-dk .sf-t   { color: rgba(255,255,255,.85); }
.sf-dk .sf-d   { color: rgba(255,255,255,.38); }
.sf-nb         { border-bottom: none; }
.sol-d > p     { font-size: 15px; color: rgba(255,255,255,.42); line-height: 1.8; margin-bottom: 24px; }
.sol-w .dash-card { margin-top: 24px; }

/* ── NETWORK SECTION ────────────────────────────────────────────── */
.net-sec  { padding: 112px 0; background: var(--gy); }
.net-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media(max-width:960px) { .net-grid { grid-template-columns: 1fr; } }

/* ── PROCESS LIST ───────────────────────────────────────────────── */
.proc { position: relative; }
.proc::before { content: ""; position: absolute; left: 19px; top: 0; bottom: 0; width: 1.5px; background: var(--grad-bl-pur); opacity: .22; }
.proc-row { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 32px; }
.proc-num { width: 40px; height: 40px; border-radius: 50%; background: var(--grad-bl-pur); color: #fff; font-family: var(--fh); font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 1; position: relative; box-shadow: 0 4px 14px rgba(26,115,232,.28); }

/* ── DASH CARD ──────────────────────────────────────────────────── */
.dash-card   { background: #0F172A; border-radius: 16px; padding: 22px; }
.dash-topbar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.dc-dot      { width: 9px; height: 9px; border-radius: 50%; }
.dkpis       { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; margin-bottom: 12px; }
.dkpi        { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; padding: 11px 12px; }
.dkpi-v      { font-family: var(--fh); font-size: 19px; font-weight: 800; letter-spacing: -.04em; color: #fff; line-height: 1; }
.dkpi-l      { font-size: 9px; color: rgba(255,255,255,.28); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.dkpi-t      { font-size: 10px; font-weight: 700; margin-top: 5px; }
.t-up        { color: #34D399; }
.t-dn        { color: #F87171; }
.dash-bars   { display: flex; align-items: flex-end; gap: 5px; height: 52px; background: rgba(255,255,255,.03); border-radius: 8px; padding: 8px 10px; }
.db          { border-radius: 3px 3px 0 0; flex: 1; transform-origin: bottom; animation: barUp 1.3s cubic-bezier(.22,1,.36,1) both; }

/* ── SECTION HEADER FLEX ────────────────────────────────────────── */
.sh-flex { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }

/* ── SERVICES SECTION HEADING ──────────────────────────────────── */
.svc-h2 { font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; }
.svc-h2 em { color: var(--bl); font-style: normal; }

/* ── SOLUTION ACTIONS ────────────────────────────────────────────── */
.sol-acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── NAVIQ CHAT DEMO ─────────────────────────────────────────────── */
.chat       { margin-top: 28px; background: rgba(15,23,42,.7); border: 1px solid rgba(107,79,211,.25); border-radius: 14px; padding: 18px; }
.chat-hdr   { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.chat-dot   { width: 7px; height: 7px; border-radius: 50%; background: #A78BFA; animation: pulseDot 1.5s infinite; flex-shrink: 0; }
.chat-lbl   { font-family: var(--fh); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A78BFA; }
.crow       { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-start; }
.crow-u     { flex-direction: row-reverse; }
.cav        { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.cav-u      { background: rgba(255,255,255,.06); }
.cav-a      { background: rgba(107,79,211,.3); }
.cbub       { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-size: 13px; color: rgba(255,255,255,.7); flex: 1; }
.crow-u .cbub { text-align: right; }
.crow-last    { margin-bottom: 0; }
.ctag       { display: inline-flex; align-items: center; font-family: var(--fh); font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-right: 6px; margin-top: 8px; cursor: pointer; }
.ct-pur     { background: rgba(107,79,211,.25); color: #C4B5FD; }
.ct-bl      { background: rgba(26,115,232,.2);  color: #7BAEF8; }
.ct-wh      { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }

/* ── CTA BAND — decorative extensions (base styles in core/base.css) */
.cta-band-blob  { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 400px; background: radial-gradient(ellipse at center,rgba(107,79,211,.2) 0%,rgba(26,115,232,.1) 40%,transparent 70%); pointer-events: none; }
.cta-band .ey   { justify-content: center; margin-bottom: 24px; }
.cta-band .h2   { text-align: center; margin-bottom: 16px; }
.cta-band-sub   { text-align: center; font-size: 17px; color: rgba(255,255,255,.42); max-width: 500px; margin: 0 auto 36px; line-height: 1.75; }
.cta-band-acts  { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-band-deco  { margin: 40px auto 0; max-width: 600px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────── */
@media(max-width:640px) { .hero-inner { grid-template-columns: 1fr; } .about-grid { grid-template-columns: 1fr; } .sol-d, .sol-w { padding: 56px 20px; } .about-dk { padding: 80px 20px; } }
