/* ==========================================================================
   SwiftGuard — brand overlay  |  css/brand.css  (loaded LAST)
   Palette taken from the logo: primary #86C7AE · secondary #E8E0C4 · ground #08120E
   ========================================================================== */
:root {
  --b-primary: #86C7AE; --b-primary-hi: #CDE6DC; --b-primary-lo: #499E7D;
  --b-secondary: #E8E0C4; --b-secondary-hi: #EEE8D3; --b-ground: #08120E;
  --b-primary-rgb: 134, 199, 174; --b-secondary-rgb: 232, 224, 196;
  --zt-metal-text: linear-gradient(100deg, #CDE6DC 0%, #86C7AE 42%, #E8E0C4 100%);
  --b-ink: #F4F5F7; --b-ink-60: rgba(255, 255, 255, 0.55); --b-surface: rgba(255, 255, 255, 0.045); --b-surface-solid: #1C2521; --b-line: rgba(255, 255, 255, 0.13); --b-panel: rgba(8, 8, 12, 0.5);
  --zt-hairline: linear-gradient(90deg, transparent, rgba(134, 199, 174, 0.55) 20%, #86C7AE 50%, rgba(232, 224, 196, 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: #08120E; }
body { background-color: #08120E; }
::selection { background: rgba(134, 199, 174, 0.35); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #08120E; }
::-webkit-scrollbar-thumb { background: linear-gradient(#86C7AE, #E8E0C4); border-radius: 8px; border: 2px solid #08120E; }

/* 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(134, 199, 174, 0.22), transparent 70%), radial-gradient(40% 40% at 85% 75%, rgba(232, 224, 196, 0.16), transparent 70%) !important; }

/* secondary accent on secondary buttons / pills */
.btn-outline-hero:hover, .btn-ghost-white:hover { border-color: #E8E0C4; }
.testimonial-avatar { background: linear-gradient(135deg, #86C7AE, #E8E0C4) !important; color: #08120E !important; }

/* logo handling: 430x425 (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=splitrev nav=bar card=sharp order=4 head=center bg=stripes btn=solid hl=gradient ---- */
#main-content { display: flex; flex-direction: column; }
#hero { order: 0; }
#cta { order: 99; }
#how-it-works { order: 2; }
.trust-section { order: 4; }
#problem-solution { order: 6; }
#video-story { order: 8; }
#services { order: 10; }
#advanced-features { order: 11; }
#why-brand { order: 12; }
#testimonials { order: 14; }

.zt-hero .hero-content-center { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(1.5rem, 5vw, 4rem); align-items: center; text-align: left; max-width: 1120px; }
.zt-hero .hero-content-center > * { grid-column: 2; justify-self: start; }
.zt-hero .l101-hero-badge { grid-column: 1; grid-row: 1 / span 6; justify-self: center; margin: 0; }
.zt-hero .l101-hero-badge img { height: clamp(150px, 20vw, 260px); max-width: min(34vw, 380px); }
.zt-hero .zt-hero-actions { justify-content: flex-start; }
@media (max-width: 900px) { .zt-hero .hero-content-center { display: flex; flex-direction: column; align-items: center; text-align: center; } .zt-hero .hero-content-center > * { justify-self: center; } .zt-hero .l101-hero-badge img { height: 100px; } }

.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: var(--b-primary) !important; background-image: none !important; box-shadow: none !important; } .btn-primary:hover { filter: brightness(1.08); }

.section, .trust-section { background-image: repeating-linear-gradient(135deg, rgba(var(--b-primary-rgb), 0.06) 0 2px, transparent 2px 22px) !important; }

/* 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; }
