/* ==========================================================================
   JI Locker — brand overlay  |  css/brand.css  (loaded LAST)
   Palette taken from the logo: primary #30E8D8 · secondary #1FB3A6 · ground #031214
   ========================================================================== */
:root {
  --b-primary: #30E8D8; --b-primary-hi: #91EDE5; --b-primary-lo: #12A094;
  --b-secondary: #1FB3A6; --b-secondary-hi: #33DCCD; --b-ground: #031214;
  --b-primary-rgb: 48, 232, 216; --b-secondary-rgb: 31, 179, 166;
  --zt-metal-text: linear-gradient(100deg, #91EDE5 0%, #30E8D8 42%, #1FB3A6 100%);
  --b-ink: #F4F5F7; --b-ink-60: rgba(255, 255, 255, 0.55); --b-surface: rgba(255, 255, 255, 0.045); --b-surface-solid: #172527; --b-line: rgba(255, 255, 255, 0.13); --b-panel: rgba(8, 8, 12, 0.5);
  --zt-hairline: linear-gradient(90deg, transparent, rgba(48, 232, 216, 0.55) 20%, #30E8D8 50%, rgba(31, 179, 166, 0.6) 80%, transparent);
}
[hidden] { display: none !important; }
/* comparison tables (device-management pages) */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--b-line); border-radius: 16px; background: var(--b-surface); }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.92rem; }
.cmp-table th, .cmp-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--b-line); }
.cmp-table thead th { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--b-primary); background: rgba(var(--b-primary-rgb), 0.08); }
.cmp-table tbody th { font-weight: 700; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

:root { --m-line: var(--b-line); --m-surface: var(--b-surface-solid); --m-acc: var(--b-primary); --m-acc-rgb: var(--b-primary-rgb); --m-ink: var(--b-ink); }
/* ---- phone clips, how-it-works phone, service thumbnails, use-case cards ---- */
.ph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.ph-card { margin: 0; }
.ph-frame { aspect-ratio: 9 / 16; border-radius: 26px; overflow: hidden; background: #000; border: 1px solid var(--m-line); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
.ph-frame video, .ph-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0.25rem 0; }
.ph-card figcaption b { color: var(--m-ink); font-size: 1rem; }
.ph-card figcaption span { color: var(--clr-text-muted); font-size: 0.88rem; }
.ph-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ph-use { display: flex; flex-direction: column; border: 1px solid var(--m-line); border-radius: 22px; overflow: hidden; background: var(--m-surface); text-decoration: none; color: inherit; transition: transform .25s, border-color .25s; }
.ph-use:hover { transform: translateY(-4px); border-color: var(--m-acc); }
.ph-use-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.ph-use-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-use-tag { position: absolute; left: 0.9rem; top: 0.9rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--m-surface); border: 1px solid var(--m-acc); color: var(--m-acc); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ph-use-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ph-use-body h3 { color: var(--m-ink); font-size: 1.15rem; }
.ph-use-body p { color: var(--clr-text-muted); font-size: 0.93rem; }
.ph-use-link { color: var(--m-acc); font-weight: 700; font-size: 0.9rem; margin-top: 0.25rem; }
.service-card-media { margin: 0 0 1rem; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--m-line); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hiw { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; max-width: 980px; margin: 0 auto; }
.hiw-phone { position: relative; aspect-ratio: 9 / 16; max-height: 600px; margin-inline: auto; width: 100%; }
.hiw-phone::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--m-acc-rgb), 0.28), transparent 70%); filter: blur(24px); }
.hiw-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(8px) scale(0.985); transition: opacity .45s, transform .45s; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.35)); }
.hiw-img.is-on { opacity: 1; transform: none; }
.hiw-steps { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin: 0; padding: 0; }
.hiw-step { width: 100%; display: flex; gap: 1rem; align-items: flex-start; text-align: left; padding: 1rem 1.1rem; border-radius: 18px; border: 1px solid var(--m-line); background: var(--m-surface); color: inherit; cursor: pointer; font: inherit; transition: border-color .25s, background .25s, transform .25s; }
.hiw-step:hover { transform: translateX(3px); }
.hiw-step.is-on { border-color: var(--m-acc); background: rgba(var(--m-acc-rgb), 0.1); }
.hiw-step .step-badge { flex: 0 0 auto; margin: 0; }
.hiw-step b { display: block; color: var(--m-ink); font-size: 1.02rem; }
.hiw-step small { display: block; color: var(--clr-text-muted); font-size: 0.9rem; margin-top: 0.15rem; line-height: 1.45; }
@media (max-width: 1024px) { .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-use-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .hiw { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .hiw-phone { max-width: 190px; }
  .hiw-steps { flex-direction: row; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--container-px, 1rem) * -1); padding: 0.25rem var(--container-px, 1rem) 0.5rem; scroll-padding-inline: var(--container-px, 1rem); }
  .hiw-steps::-webkit-scrollbar { display: none; }
  .hiw-steps > li { flex: 0 0 min(78%, 280px); scroll-snap-align: center; display: flex; }
  .hiw-step { padding: 0.9rem 1rem; border-radius: 16px; min-height: 100%; }
  .hiw-step:hover { transform: none; }
  .hiw-step small { font-size: 0.86rem; }
}
@media (max-width: 640px) { .ph-grid { gap: 0.85rem; } .ph-use-grid { grid-template-columns: 1fr; } .ph-frame { border-radius: 18px; } }

/* inner-page hero alignment (text, buttons and trust chips share one centre line) */
.page-hero-content.text-center { margin-inline: auto; text-align: center; max-width: 760px; }
.page-hero-content.text-center .page-hero-actions, .page-hero-actions.center-actions { justify-content: center; }
.hero-trust-bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.7rem 1.6rem; width: fit-content; max-width: 100%; margin-inline: auto; padding: 0.9rem 1.5rem; border-radius: 24px; }
.hero-trust-bar .trust-divider { display: none; }
.btn { white-space: nowrap; }
.btn svg { flex-shrink: 0; }

html { background: #031214; }
body { background-color: #031214; }
::selection { background: rgba(48, 232, 216, 0.35); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #031214; }
::-webkit-scrollbar-thumb { background: linear-gradient(#30E8D8, #1FB3A6); border-radius: 8px; border: 2px solid #031214; }

/* generated hero film (brand-coloured) */

.zt-hero .brand-single-video.mode-hero { filter: saturate(1.2) brightness(0.95); mix-blend-mode: screen; opacity: 0.8;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.45) 0%, #000 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0, 0, 0, 0.45) 0%, #000 85%); }

.zt-hero-grid { background-image: linear-gradient(rgba(var(--b-primary-rgb), 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--b-primary-rgb), 0.05) 1px, transparent 1px) !important; }
.zt-story-smoke { filter: saturate(1.1) brightness(0.95); }
.zt-hero-glow { background: radial-gradient(60% 55% at 50% 38%, rgba(48, 232, 216, 0.22), transparent 70%), radial-gradient(40% 40% at 85% 75%, rgba(31, 179, 166, 0.16), transparent 70%) !important; }

/* secondary accent on secondary buttons / pills */
.btn-outline-hero:hover, .btn-ghost-white:hover { border-color: #1FB3A6; }
.testimonial-avatar { background: linear-gradient(135deg, #30E8D8, #1FB3A6) !important; color: #031214 !important; }

/* logo handling: 505x499 (1.01:1) badge */
.nav-brand.l101-brand .nav-brand-logo.l101-brand-badge { height: 46px; width: auto; max-width: 120px; object-fit: contain; }


.l101-hero-badge { width: auto; }
.l101-hero-badge img { height: 128px; width: auto; max-width: 220px; object-fit: contain; }
.zt-emblem-mark, .l101-loader-logo { object-fit: contain; }
@media (max-width: 640px) { .l101-hero-badge img { height: 96px; max-width: 220px; } }


.dropdown-item:hover .dropdown-item-icon, .service-card:hover .service-card-icon, .stepper-dot.is-active, .feature-tab-btn.is-active, .feature-tabs-nav .feature-tab-btn.active, .step-badge { color: #14110A !important; }
/* ---- layout variant: hero=slant nav=minimal card=sharp order=1 head=center bg=clean btn=outline hl=mark ---- */
#main-content { display: flex; flex-direction: column; }
#hero { order: 0; }
#cta { order: 99; }
#problem-solution { order: 2; }
.trust-section { order: 4; }
#how-it-works { order: 6; }
#services { order: 8; }
#advanced-features { order: 9; }
#video-story { order: 10; }
#testimonials { order: 12; }
#why-brand { order: 14; }

.zt-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%); padding-bottom: 72px; margin-bottom: -1px; }
@media (max-width: 700px) { .zt-hero { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); padding-bottom: 40px; } }

.site-header, .site-header.is-scrolled { border-bottom: 3px solid var(--b-primary) !important; }
.site-header .nav-link { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.76rem; font-weight: 700; border-radius: 0 !important; background: transparent !important; }
.site-header .nav-link:hover, .site-header .nav-link.is-active { box-shadow: inset 0 -3px 0 var(--b-primary); }
.btn, .btn-primary, .btn-outline, .btn-lg, .btn-sm, .playstore-badge { border-radius: 4px !important; }
.service-card, .l101-ps-card, .testimonial-card, .why-item, .workflow-step, .faq-item, .glass-card, .zt-hero-status { border-radius: 4px !important; border: 1px solid var(--b-line) !important; border-left: 4px solid var(--b-primary) !important; background: var(--b-surface) !important; box-shadow: none !important; }
.btn-primary { background: transparent !important; background-image: none !important; border: 2px solid var(--b-primary) !important; color: var(--b-primary) !important; box-shadow: none !important; } .btn-primary:hover { background: var(--b-primary) !important; color: #14110A !important; }
.hero-title .highlight, .section-title span, .page-hero-title .highlight, .page-hero-title span, .text-gradient { background: linear-gradient(var(--b-primary), var(--b-primary)) no-repeat 0 96% / 100% 0.13em !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; animation: none !important; filter: none !important; padding: 0 0.12em; }


/* navbar fit (see js/main.js) */
.navbar.nav-tight .nav-hotline-btn { display: none !important; }
.navbar.nav-tighter .l101-brand-text { display: none; }
.navbar.nav-tighter .nav-link { padding-inline: 0.5rem; }
.site-header .nav-actions { flex-shrink: 0; }
