/* Zion Infosystem — Premium Design System */
:root {
  --z-bg: #030712;
  --z-bg-elevated: #0a0f1e;
  --z-surface: rgba(15, 23, 42, 0.65);
  --z-surface-solid: #0f172a;
  --z-border: rgba(148, 163, 184, 0.12);
  --z-border-hover: rgba(148, 163, 184, 0.28);
  --z-text: #f1f5f9;
  --z-text-muted: #94a3b8;
  --z-text-dim: #64748b;
  --z-accent: #6366f1;
  --z-accent-2: #8b5cf6;
  --z-accent-glow: rgba(99, 102, 241, 0.45);
  --z-cyan: #22d3ee;
  --z-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #22d3ee 100%);
  --z-gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(34, 211, 238, 0.08));
  --z-glass: rgba(15, 23, 42, 0.55);
  --z-glass-border: rgba(255, 255, 255, 0.08);
  --z-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --z-shadow-sm: 0 8px 32px rgba(0, 0, 0, 0.35);
  --z-radius: 16px;
  --z-radius-lg: 24px;
  --z-radius-pill: 999px;
  --z-font: "Inter", system-ui, -apple-system, sans-serif;
  --z-font-display: "Plus Jakarta Sans", var(--z-font);
  --z-header-h: 76px;
  --z-topbar-h: 40px;
  --z-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --z-container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.zion-premium {
  margin: 0;
  font-family: var(--z-font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--z-text);
  background: var(--z-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.zion-premium::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(34, 211, 238, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 0% 100%, rgba(139, 92, 246, 0.1), transparent);
  pointer-events: none;
  z-index: 0;
}

body.zion-premium > .z-topbar,
body.zion-premium > .z-navbar,
body.zion-premium > main,
body.zion-premium > section.z-page-hero,
body.zion-premium > .z-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--z-cyan);
  text-decoration: none;
  transition: color var(--z-transition);
}

a:hover {
  color: #67e8f9;
}

.z-container {
  width: min(100% - 2rem, var(--z-container));
  margin-inline: auto;
}

/* Typography */
.z-display {
  font-family: var(--z-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.z-gradient-text {
  background: var(--z-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.z-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--z-cyan);
  margin-bottom: 1rem;
}

.z-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--z-gradient);
  box-shadow: 0 0 12px var(--z-accent-glow);
}

.z-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.z-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.z-section-header h2 {
  font-family: var(--z-font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.z-section-header p {
  color: var(--z-text-muted);
  margin: 0;
  font-size: 1.0625rem;
}

/* Top bar */
.z-topbar {
  background: rgba(3, 7, 18, 0.95);
  border-bottom: 1px solid var(--z-border);
  font-size: 0.8125rem;
  height: var(--z-topbar-h);
  display: flex;
  align-items: center;
}

.z-topbar .z-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.z-topbar a {
  color: var(--z-text-muted);
}

.z-topbar a:hover {
  color: var(--z-text);
}

.z-topbar-social {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-topbar-contact {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Navbar */
.z-navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--z-header-h);
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background var(--z-transition), box-shadow var(--z-transition), border-color var(--z-transition);
}

.z-navbar.is-scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--z-border);
  box-shadow: var(--z-shadow-sm);
}

.z-navbar .z-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.z-logo img {
  height: 48px;
  width: auto;
}

.z-nav-toggle {
  display: none;
  background: var(--z-glass);
  border: 1px solid var(--z-glass-border);
  color: var(--z-text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.z-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-nav-menu > li {
  position: relative;
}

.z-nav-menu > li > a {
  display: block;
  padding: 0.5rem 0.875rem;
  color: var(--z-text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color var(--z-transition), background var(--z-transition);
}

.z-nav-menu > li > a:hover,
.z-nav-menu > li.active > a {
  color: var(--z-text);
  background: rgba(255, 255, 255, 0.05);
}

.z-nav-menu .dropdown-menu {
  background:#fff;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 0.75rem;
  box-shadow: var(--z-shadow);
  backdrop-filter: blur(24px);
  min-width: 220px;
  margin-top: 0rem;
}

.z-nav-menu .dropdown-menu a {
  display: block;
  padding: 0.3rem 0rem;
  color: #000;
  font-size: 0.875rem;
  border-radius: 8px;
}

.z-nav-menu .dropdown-menu a:hover {
  background: rgba(99, 102, 241, 0.12);
  color:#000;
}

.z-mega-menu {
  width: min(920px, 95vw);
  padding: 1.25rem !important;
}

.z-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.z-mega-col {
  border-right: 1px solid rgba(46, 35, 35, 0.2);
}

.z-mega-col::last-child {
  border-right:0px;
}

.z-mega-col h6 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--z-cyan);
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.z-mega-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-mega-col li a {
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.z-btn-nav {
  margin-left: 0.5rem;
}

/* Buttons */
.z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--z-font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--z-radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow var(--z-transition), background var(--z-transition);
  text-decoration: none;
}

.z-btn-primary {
  background: var(--z-gradient);
  color: #fff !important;
  box-shadow: 0 4px 24px var(--z-accent-glow);
}

.z-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--z-accent-glow);
  color: #fff !important;
}

.z-btn-ghost {
  background: var(--z-glass);
  border: 1px solid var(--z-glass-border);
  color: var(--z-text) !important;
  backdrop-filter: blur(12px);
}

.z-btn-ghost:hover {
  border-color: var(--z-border-hover);
  background: rgba(255, 255, 255, 0.08);
  color: var(--z-text) !important;
}

.z-btn-outline {
  background: transparent;
  border: 1px solid var(--z-border-hover);
  color: var(--z-text) !important;
}

.z-btn-outline:hover {
  border-color: var(--z-accent);
  background: rgba(99, 102, 241, 0.1);
  color: var(--z-text) !important;
}

.z-btn-sm,
.z-glass-card .z-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hero */
.z-hero {
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 8rem);
  position: relative;
  overflow: hidden;
}

.z-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.z-hero h1 {
  font-family: var(--z-font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.z-hero-lead {
  font-size: 1.125rem;
  color: var(--z-text-muted);
  margin: 0 0 2rem;
  max-width: 540px;
}

.z-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.z-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.z-stat strong {
  display: block;
  font-family: var(--z-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--z-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.z-stat span {
  font-size: 0.8125rem;
  color: var(--z-text-dim);
}

.z-hero-visual {
  position: relative;
}

.z-hero-card {
  background: var(--z-glass);
  border: 1px solid var(--z-glass-border);
  border-radius: var(--z-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(24px);
  box-shadow: var(--z-shadow);
  animation: z-float 6s ease-in-out infinite;
}

.z-hero-card img {
  border-radius: var(--z-radius);
  width: 100%;
}

.z-hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--z-accent-glow), transparent 70%);
  filter: blur(60px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.6;
}

@keyframes z-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Glass cards */
.z-glass-card {
  background: var(--z-glass);
  border: 1px solid var(--z-glass-border);
  border-radius: var(--z-radius);
  padding: 2rem;
  backdrop-filter: blur(20px);
  transition: transform var(--z-transition), border-color var(--z-transition), box-shadow var(--z-transition);
  height: 100%;
}

.z-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.z-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--z-gradient-soft);
  border: 1px solid var(--z-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.z-glass-card h3 {
  font-family: var(--z-font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.z-glass-card p {
  color: var(--z-text-muted);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
}

/* Client marquee */
.z-marquee {
  overflow: hidden;
  padding: 2rem 0;
  border-block: 1px solid var(--z-border);
  background: rgba(10, 15, 30, 0.5);
}

.z-marquee-track {
  display: flex;
  gap: 4rem;
  animation: z-marquee 35s linear infinite;
  width: max-content;
  will-change: transform;
}

.z-marquee:hover .z-marquee-track {
  animation-play-state: paused;
}

.z-marquee-track img {
  height: 48px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(1.2);
  transition: opacity var(--z-transition);
}

.z-marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0);
}

@keyframes z-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About split */
.z-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.z-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.z-feature-pill {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--z-glass);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  transition: border-color var(--z-transition);
}

.z-feature-pill:hover {
  border-color: rgba(99, 102, 241, 0.4);
}

.z-feature-pill img {
  height: 48px;
  margin-bottom: 0.5rem;
}

.z-feature-pill h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
}

/* Tech stack */
.z-tech-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.z-tech-row img {
  height: 64px;
  opacity: 0.7;
  transition: opacity var(--z-transition), transform var(--z-transition);
  filter: brightness(1.1);
}

.z-tech-row img:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Features list */
.z-features-list {
  display: grid;
  gap: 1.25rem;
}

.z-feature-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--z-glass);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  transition: border-color var(--z-transition);
}

.z-feature-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.z-feature-item i {
  font-size: 1.5rem;
  color: var(--z-accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.z-feature-item h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.z-feature-item p {
  margin: 0;
  color: var(--z-text-muted);
  font-size: 0.9375rem;
}

/* CTA band */
.z-cta-band {
  background: var(--z-gradient-soft);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.z-cta-band h3 {
  font-family: var(--z-font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0;
  max-width: 600px;
}

/* Testimonials */
.z-testimonial-card {
  background: var(--z-glass);
  border: 1px solid var(--z-glass-border);
  border-radius: var(--z-radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.z-testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid rgba(99, 102, 241, 0.4);
}

.z-testimonial-card blockquote {
  font-size: 1.0625rem;
  color: var(--z-text-muted);
  margin: 0 0 1.5rem;
  font-style: normal;
  line-height: 1.7;
}

.z-testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--z-text);
}

.z-testimonial-card cite span {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--z-text-dim);
  margin-top: 0.25rem;
}

/* Page hero (inner pages) */
.z-page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.z-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--z-gradient-soft);
  opacity: 0.5;
}

.z-page-hero .z-container {
  position: relative;
}

.z-page-hero h1 {
  font-family: var(--z-font-display);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 52rem;
  margin: 0 auto 0.75rem;
  letter-spacing: -0.02em;
}

.z-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--z-text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-breadcrumb a {
  color: var(--z-text-muted);
}

/* Inner page content — layout details in zion-inner.css */
.z-page-content .z-container {
  max-width: var(--z-container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.z-page-content h1,
.z-page-content h2,
.z-page-content h3,
.z-page-content h4,
.z-page-content .hea,
.z-page-content .head,
.z-page-content .bhead {
  font-family: var(--z-font-display);
  color: var(--z-text);
}

.z-page-content p,
.z-page-content li,
.z-page-content h5 {
  color: var(--z-text-muted);
}

.z-page-content strong {
  color: var(--z-text);
}

.z-page-content .text-container,
.z-page-content .text,
.z-page-content section {
  color: var(--z-text-muted);
}

.z-page-content img {
  border-radius: var(--z-radius);
}

.z-page-content .text-container {
  margin-bottom: 1.5rem;
}

.z-page-content .btn,
.z-page-content .button {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--z-radius-pill);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--z-border-hover);
  color: var(--z-text) !important;
  background: var(--z-glass);
  transition: var(--z-transition);
}

.z-page-content .btn:hover,
.z-page-content .button:hover {
  border-color: var(--z-accent);
  background: rgba(99, 102, 241, 0.15);
}

.z-page-content .btn-2,
.z-page-content .btn-primary,
.z-page-content .btn-warning {
  background: var(--z-gradient) !important;
  border: none !important;
  color: #fff !important;
}

.z-page-content table {
  color: var(--z-text-muted);
}

body.z-ta-site .z-inner-cta__box h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.75rem;
  color: #fff !important;
}

body.z-ta-site .z-inner-cta__box p {
  color: #fff !important;
}

body.z-ta-site .z-page-content .btn:hover {
  background: #fd0000;
}


.z-page-content table td,
.z-page-content table th {
  border-color: var(--z-border) !important;
  background: transparent !important;
}

.z-page-content .form-control {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--z-border);
  color: var(--z-text);
  border-radius: 10px;
}

.z-page-content .red-section,
.z-page-content .on-sale,
.z-page-content .contact-p1,
.z-page-content .contact-p2 {
  background: var(--z-gradient-soft) !important;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 2rem;
  margin: 2rem 0;
}

.z-page-content .fa {
  color: var(--z-accent);
}

/* Footer */
.z-footer {
  background: var(--z-bg-elevated);
  border-top: 1px solid var(--z-border);
  padding-top: 4rem;
}

.z-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.z-footer h3 {
  font-family: var(--z-font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--z-cyan);
  margin: 0 0 1.25rem;
}

.z-footer p {
  color: var(--z-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.z-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-footer-links li {
  margin-bottom: 0.5rem;
}

.z-footer-links a {
  color: var(--z-text-muted);
  font-size: 0.9375rem;
}

.z-footer-links a:hover {
  color: var(--z-text);
}

.z-footer-map iframe {
  border-radius: var(--z-radius);
  border: 1px solid var(--z-border);
  width: 100%;
  height: 160px;
}

.z-footer-bottom {
  border-top: 1px solid var(--z-border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--z-text-dim);
}

.z-footer-bottom a {
  color: var(--z-text-muted);
}

/* WhatsApp float */
.z-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1020;
  transition: transform 0.2s;
}

.z-whatsapp:hover {
  transform: scale(1.08);
}

.z-whatsapp img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Quick enquiry FAB */
.z-enquiry-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1020;
}

.z-enquiry-fab .z-btn {
  box-shadow: var(--z-shadow-sm);
  font-size: 0.875rem;
  padding: 0.65rem 1.1rem;
}

/* Mega menu desktop alignment */
@media (min-width: 992px) {
  .z-nav-menu .dropdown-menu.z-mega-menu {
    left: 100%;
    right: auto;
    transform: translateX(-50%) !important;
    margin-top: 0rem;
  }
}

@media (min-width: 992px) and (hover: hover) {
  .z-nav-menu > li.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.z-nav-menu > li.dropdown.active > .dropdown-toggle {
  /* color: var(--z-text); */
  background: rgba(255, 255, 255, 0.05);
}

/* Focus visible accessibility */
.z-btn:focus-visible,
.z-nav-menu a:focus-visible,
.z-nav-toggle:focus-visible {
  outline: 2px solid var(--z-cyan);
  outline-offset: 2px;
}

/* Form labels global */
.z-modal .form-label,
.z-page-content .form-label {
  color: var(--z-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

/* Modal */
.z-modal .modal-content {
  background: var(--z-surface-solid);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-lg);
  color: var(--z-text);
}

.z-modal .modal-header {
  border-bottom-color: var(--z-border);
}

.z-modal .form-control {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--z-border);
  color: var(--z-text);
  border-radius: 10px;
}

.z-modal .form-control:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: var(--z-accent);
  color: var(--z-text);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Reveal animations */
[data-z-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-z-reveal].is-visible,
.fadesimple.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Bootstrap overrides in premium context */
body.zion-premium .carousel-indicators [data-bs-target] {
  background-color: var(--z-accent);
}

body.zion-premium .carousel-control-prev-icon,
body.zion-premium .carousel-control-next-icon {
  filter: invert(1);
}

/* Responsive */
@media (max-width: 991px) {
  .z-hero-grid,
  .z-split {
    grid-template-columns: 1fr;
  }

  .z-hero-visual {
    order: -1;
  }

  .z-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .z-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .z-topbar-contact {
    display: none;
  }

  .z-nav-toggle {
    display: flex;
  }

  .z-nav-menu {
    position: fixed;
    top: calc(var(--z-topbar-h) + var(--z-header-h));
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform var(--z-transition);
    overflow-y: auto;
    gap: 0;
  }

  .z-nav-menu.is-open {
    transform: translateX(0);
  }

  .z-nav-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
  }

  .z-mega-menu {
    width: 100% !important;
  }

  .z-btn-nav {
    margin: 1rem 0 0;
    width: 100%;
  }

  .z-footer-grid {
    grid-template-columns: 1fr;
  }

  .z-feature-grid {
    grid-template-columns: 1fr;
  }

  .z-hero-stats {
    gap: 1.5rem;
  }

  .z-enquiry-fab {
    bottom: 88px;
    left: 16px;
  }

  .z-whatsapp {
    bottom: 16px;
    right: 16px;
  }

  .z-enquiry-fab .z-btn span,
  .z-enquiry-fab .z-btn {
    font-size: 0.8125rem;
  }

  .z-hero {
    padding-top: 2rem;
  }
  .z-nav-menu .dropdown-menu a{
    color: #fff !important;
  }
  .z-nav-menu > li > a {
    padding: 0.75rem 0.5rem;
    color: #fff !important;
  }
}

/* ═══ Homepage spotlight hero (TechAhead-inspired) ═══ */
body.z-home::before,
body.zion-premium:not(.z-home)::before {
  opacity: 0;
}

body.z-home,
body.zion-premium:not(.z-home) {
  color: #334155;
  background: #fafbff;
}

body.z-home .z-topbar,
body.zion-premium:not(.z-home) .z-topbar {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.z-home .z-topbar a,
body.zion-premium:not(.z-home) .z-topbar a {
  color: #64748b;
}

body.z-home .z-topbar a:hover,
body.zion-premium:not(.z-home) .z-topbar a:hover {
  color: #0f172a;
}

body.z-home .z-navbar,
body.zion-premium:not(.z-home) .z-navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.z-home .z-navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

body.z-home .z-nav-menu > li > a,
body.z-home .z-nav-menu .dropdown-toggle {
  color: #334155;
}

body.z-home .z-nav-menu > li > a:hover,
body.z-home .z-nav-menu > li.active > a {
  color: #0f172a;
  background: rgba(99, 102, 241, 0.08);
}

body.z-home .z-nav-toggle {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #0f172a;
}

body.z-home .z-btn-nav .z-btn-primary,
body.zion-premium:not(.z-home) .z-btn-nav .z-btn-primary {
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.z-hero-spotlight {
  position: relative;
  overflow: hidden;
  background: #fafbff;
  padding: clamp(2rem, 5vw, 3rem) 0 0;
  margin-bottom: 0;
}

.z-hero-spotlight__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 8% 55%, rgba(167, 139, 250, 0.35), transparent 65%),
    radial-gradient(ellipse 50% 65% at 92% 45%, rgba(244, 114, 182, 0.28), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(199, 210, 254, 0.4), transparent 70%),
    #fafbff;
  z-index: 0;
}

.z-hero-spotlight__grid-dots {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(99, 102, 241, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

.z-hero-spotlight__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  min-height: clamp(420px, 58vh, 560px);
  padding-block: clamp(1rem, 4vw, 2.5rem);
}

.z-hero-spotlight__copy {
  text-align: center;
  grid-column: 2;
  grid-row: 1;
  max-width: 640px;
  margin-inline: auto;
}

.z-hero-spotlight__copy h1 {
  font-family: var(--z-font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 1.25rem;
}

.z-hero-spotlight__accent {
  background: linear-gradient(105deg, #7c3aed 0%, #a855f7 35%, #ec4899 70%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.z-hero-spotlight__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: #475569;
  margin: 0 auto 2rem;
  max-width: 520px;
}

.z-hero-spotlight__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.z-btn-spot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  border: none;
  cursor: pointer;
}

.z-btn-spot--dark {
  background: #0f172a;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
}

.z-btn-spot--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  color: #fff !important;
}

.z-btn-spot--gradient {
  background: linear-gradient(105deg, #7c3aed, #c026d3, #ec4899);
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.z-btn-spot--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
  color: #fff !important;
}

/* Device mockups */
.z-hero-spotlight__mockup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.z-hero-spotlight__mockup--left {
  grid-column: 1;
  justify-self: end;
}

.z-hero-spotlight__mockup--right {
  grid-column: 3;
  justify-self: start;
}

.z-hero-spotlight__shape {
  position: absolute;
  border-radius: 24px;
  transform: rotate(-12deg);
  z-index: 0;
  filter: blur(0.5px);
}

.z-hero-spotlight__shape--purple {
  width: 140px;
  height: 280px;
  background: linear-gradient(160deg, #8b5cf6, #a78bfa);
  opacity: 0.85;
  left: 50%;
  top: 50%;
  margin: -140px 0 0 -50px;
}

.z-hero-spotlight__shape--violet {
  width: 200px;
  height: 260px;
  background: linear-gradient(160deg, #7c3aed, #c4b5fd);
  opacity: 0.8;
  right: 20%;
  top: 50%;
  margin-top: -130px;
  transform: rotate(10deg);
}

.z-device {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(15, 23, 42, 0.18));
}

.z-hero-spotlight__mockup--left .z-device {
  width: min(200px, 28vw);
  transform: rotate(-8deg);
  animation: z-device-float-left 5s ease-in-out infinite;
}

.z-hero-spotlight__mockup--right .z-device {
  width: min(320px, 36vw);
  transform: rotate(6deg);
  animation: z-device-float-right 5.5s ease-in-out infinite 0.5s;
}

.z-device__screen {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #1e293b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.z-device--phone .z-device__screen {
  border-radius: 28px;
  aspect-ratio: 9/16;
}

.z-device--phone .z-device__screen::before {
  content: "";
  display: block;
  width: 36%;
  height: 4px;
  background: #1e293b;
  border-radius: 4px;
  margin: 8px auto 6px;
}

.z-device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

@keyframes z-device-float-left {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-14px); }
}

@keyframes z-device-float-right {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}

/* Trust bar */
.z-hero-spotlight__trust {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  padding: 1.5rem 0 2rem;
}

.z-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 200px;
}

.z-trust-item img {
  opacity: 0.75;
  filter: grayscale(1);
  flex-shrink: 0;
}

.z-trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.z-trust-text {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #64748b;
}

.z-trust-text strong {
  display: block;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 700;
}

.z-trust-item--logos {
  gap: 1rem;
  max-width: none;
}

/* ═══ Homepage light sections (match spotlight hero) ═══ */
body.z-home {
  color: #334155;
  background: #fafbff;
}

body.z-home main {
  background: #fafbff;
}

.z-home-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.z-home-section--about {
  background: #fff;
}

.z-home-section--services {
  background: #f8fafc;
}

.z-home-section--tech {
  background: #fff;
}

.z-home-section--vision {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.05));
}

.z-home-section--support {
  background: #fff;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.z-home-section--testimonials {
  background: #f8fafc;
}

.z-home-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.z-home-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
  margin: 0 0 0.75rem;
}

.z-home-eyebrow--center {
  display: block;
}

.z-home-title {
  font-family: var(--z-font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.z-home-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 1.5rem;
}

.z-home-text--center {
  margin-inline: auto;
}

body.z-home .z-split {
  gap: clamp(2rem, 5vw, 4rem);
}

body.z-home .z-feature-pill {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

body.z-home .z-feature-pill:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.1);
}

body.z-home .z-feature-pill h4 {
  color: #0f172a;
}

.z-home-img-frame {
  border-radius: var(--z-radius-lg);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.z-home-card {
  height: 100%;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--z-radius-lg);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.z-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
}

.z-home-card .z-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #7c3aed;
}

.z-home-card h3 {
  font-family: var(--z-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.z-home-card p {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.z-home-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #7c3aed;
  text-decoration: none;
}

.z-home-link:hover {
  color: #6d28d9;
  text-decoration: underline;
}

body.z-home .z-tech-row img {
  opacity: 0.85;
  filter: none;
}

body.z-home .z-tech-row img:hover {
  opacity: 1;
}

.z-home-cta {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--z-radius-lg);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.z-home-cta h3 {
  font-family: var(--z-font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 auto 1.5rem;
  max-width: 720px;
  line-height: 1.45;
}

.z-home-testimonial {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 3rem;
}

.z-home-testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.z-home-testimonial blockquote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 1.25rem;
  font-style: normal;
}

.z-home-testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.9375rem;
}

.z-home-testimonial cite span {
  display: block;
  font-weight: 500;
  color: #64748b;
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

body.z-home #testimonialCarousel .carousel-control-prev,
body.z-home #testimonialCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

body.z-home #testimonialCarousel .carousel-control-prev {
  left: -12px;
}

body.z-home #testimonialCarousel .carousel-control-next {
  right: -12px;
}

body.z-home #testimonialCarousel .carousel-control-prev-icon,
body.z-home #testimonialCarousel .carousel-control-next-icon {
  filter: invert(1) brightness(0.2);
  width: 1.25rem;
  height: 1.25rem;
}

.z-footer--home {
  background: #0f172a;
  color: #94a3b8;
  border-top: none;
}

.z-footer--home h3 {
  color: #f1f5f9;
}

.z-footer--home .z-footer-links a {
  color: #cbd5e1;
}

.z-footer--home .z-footer-links a:hover {
  color: #fff;
}

.z-footer--home .z-footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #64748b;
}

.z-footer--home .z-footer-bottom a {
  color: #94a3b8;
}

body.z-home .z-enquiry-fab .z-btn-spot {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.4);
}

body.z-home .z-modal .modal-content {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
}

body.z-home .z-modal .modal-title {
  color: #0f172a;
}

body.z-home .z-modal .form-label {
  color: #475569;
}

body.z-home .z-modal .form-control {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #0f172a;
}

body.z-home .z-modal .form-control:focus {
  background: #fff;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

body.z-home .z-modal .btn-close {
  filter: none;
}

@media (max-width: 991px) {
  body.z-home .z-split {
    grid-template-columns: 1fr;
  }

  body.z-home .z-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 575px) {
  body.z-home .z-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .z-hero-spotlight__stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: auto;
    text-align: center;
  }

  .z-hero-spotlight__copy {
    grid-column: 1;
    grid-row: 1;
    order: 1;
  }

  .z-hero-spotlight__mockup--left {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    order: 2;
  }

  .z-hero-spotlight__mockup--right {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    order: 2;
    margin-top: -4rem;
    margin-left: 2rem;
  }

  .z-hero-spotlight__mockup--left {
    margin-right: 2rem;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .z-hero-spotlight__mockup--right {
    display: none;
  }

  .z-hero-spotlight__mockup--left {
    margin: 0;
  }

  .z-device--phone {
    width: 160px;
  }

  .z-trust-row {
    gap: 1rem;
  }

  .z-trust-item {
    flex: 1 1 45%;
    max-width: none;
  }

  .z-trust-item--logos {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .z-marquee-track {
    animation: none;
  }
}
