/* Sub-pages of mlenterpriseapps.com (loaded after styles.css) */
.nav-links { gap: 20px; }
.nav-links a { white-space: nowrap; }
.topbar .brand, .nav-cta { flex: none; } .nav-cta .btn { white-space: nowrap; }
.nav-links a.on { color: #fff; position: relative; }
.nav-links a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--cyan); }
@media (max-width: 1240px) { .nav-links { gap: 15px; } .nav-links a { font-size: 14px; } .topbar .brand small { display: none; } }
/* Below this width the menu moves into the ☰ button (same look as styles.css on phones) */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy); padding: 8px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; font-size: 15px; }
  .nav-links a.on::after { display: none; }
  .menu-btn { display: inline-flex; }
}

.page-hero { position: relative; overflow: hidden; color: #fff; padding: 76px 0 70px;
  background: radial-gradient(1000px 520px at 90% -20%, rgba(34, 211, 238, .2), transparent 60%), radial-gradient(800px 480px at -10% 120%, rgba(37, 99, 235, .45), transparent 60%), var(--navy); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.05; margin: 14px 0 16px; max-width: 820px; }
.page-hero p.lead { color: #cbd5e1; font-size: 19px; line-height: 1.6; max-width: 700px; margin: 0 0 26px; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.crumbs { font-size: 14px; color: #94a3b8; } .crumbs a { color: #cbd5e1; }
.hero-shot { margin-top: 44px; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .12); }
.hero-shot img { width: 100%; height: auto; }

.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 46px 0; }
.feature-row.flip > :first-child { order: 2; }
.feature-row h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; margin: 10px 0 14px; line-height: 1.15; }
.feature-row p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-row ul { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; }
.feature-row li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; }
.feature-row li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dbeafe; color: var(--blue); font-size: 13px; font-weight: 800; }
.shot { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(2, 8, 23, .22); border: 1px solid var(--line); cursor: zoom-in; background: #0b1220; transition: transform .25s; }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 100%; height: auto; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.gallery figcaption b { color: var(--text); display: block; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(2, 6, 23, .88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; animation: lb .2s ease; }
.lightbox figure { margin: 0; max-width: 1280px; width: 100%; }
.lightbox img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: #e2e8f0; text-align: center; margin-top: 12px; font-size: 15px; }
@keyframes lb { from { opacity: 0; } }

.app-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; overflow: hidden; padding: 0; }
.app-card .body { padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.app-card h3 { font-size: 28px; margin: 0; letter-spacing: -.02em; }
.app-card .media { background: var(--navy); display: grid; place-items: center; padding: 26px; }
.app-card .media img { width: 100%; border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.app-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #fff; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow span { padding: 5px 12px; border-radius: 99px; background: #eef3fc; color: var(--navy-2); font-size: 13px; font-weight: 600; }

.price-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-box .card b.big { display: block; font-size: 26px; margin: 6px 0; letter-spacing: -.02em; }

.timeline { position: relative; display: grid; gap: 26px; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), var(--cyan)); }
.tl-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.tl-num { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--blue), #7c3aed); position: relative; box-shadow: 0 10px 26px rgba(37, 99, 235, .35); }
.tl-step h3 { margin: 4px 0 6px; font-size: 22px; }
.tl-step p { margin: 0; color: var(--muted); line-height: 1.6; }
.tl-step .when { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }

.faq-cats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.faq-cats a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 600; font-size: 14px; }
.faq-group { max-width: 860px; margin: 0 auto 40px; }
.faq-group h2 { font-size: 24px; margin: 0 0 14px; }

.chat-demo { background: #0b1220; border-radius: 18px; padding: 18px; min-height: 380px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 70px rgba(2, 8, 23, .35); }
.chat-demo .head { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid #1e293b; }
.chat-demo .head small { color: #4ade80; font-weight: 500; }
.chat-demo .m { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: all .4s; }
.chat-demo .m.in { opacity: 1; transform: none; }
.chat-demo .m.u { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.chat-demo .m.a { align-self: flex-start; background: #1e293b; color: #e2e8f0; border-bottom-left-radius: 4px; }
.chat-demo .m.t { align-self: flex-start; background: #14532d; color: #dcfce7; border-bottom-left-radius: 4px; }
.chat-demo .typing { align-self: flex-start; color: #94a3b8; font-size: 13px; }
.agent-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.agent-tabs button { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font: 600 14px var(--font); cursor: pointer; }
.agent-tabs button.on { background: var(--blue); color: #fff; border-color: var(--blue); }

.site-foot { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 48px 24px 26px !important; align-items: start !important; }
.site-foot b { display: block; color: #fff; margin-bottom: 10px; }
.site-foot a { display: block; color: #94a3b8; margin: 6px 0; } .site-foot a:hover { color: #fff; }
.site-foot .brand { color: #fff; } .sf-brand p { color: #94a3b8; line-height: 1.6; margin-top: 12px; }
.sf-bottom { border-top: 1px solid rgba(148, 163, 184, .15); padding-top: 18px !important; padding-bottom: 26px !important; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.seen { opacity: 1; transform: none; }
.cta-band { background: linear-gradient(135deg, #1d4ed8, #7c3aed); color: #fff; border-radius: 24px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 30px; letter-spacing: -.02em; } .cta-band p { margin: 0; color: #dbeafe; font-size: 17px; }
.cta-band .btn { background: #fff; color: var(--navy-2); }
@media (max-width: 900px) {
  .feature-row, .app-card, .price-box, .site-foot { grid-template-columns: 1fr !important; }
  .feature-row.flip > :first-child { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
