/* ═══════════════════════════════════════════════════════════
   ZKAA MAIN SCREEN — single viewport, no scroll
   Reference: Reference_2.png (1024px viewport)
   ═══════════════════════════════════════════════════════════ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;900&family=Cairo:wght@400;600;700;900&display=swap');

/* Logo image */
.zkaa-logo-img {
  height: 28px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}
.zkaa-ft-brand-logo-img {
  height: 22px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

/* ── PAGE SHELL ─────────────────────────────────────────── */

#zkaa-screen {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-base);
}

/* ══════════════════════════════════════════════════════════
   S2 — HEADER
   Ref height: 60px
   ══════════════════════════════════════════════════════════ */

#zkaa-header {
  flex: none;
  height: var(--h-header);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
  padding: 0 var(--header-px);
}

.zkaa-header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.zkaa-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.zkaa-logo-icon {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

/* Nav */
.zkaa-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.zkaa-nav a {
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.zkaa-nav a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* Nav actions (search + menu) */
.zkaa-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zkaa-nav-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.zkaa-nav-btn:hover { color: var(--text-primary); background: rgba(255,255,255,0.07); }
.zkaa-nav-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.75; }

/* ══════════════════════════════════════════════════════════
   S3 — HERO
   Ref height: 395px  (fixed, NOT 100dvh)
   ══════════════════════════════════════════════════════════ */

#zkaa-hero {
  flex: 44 1 0;
  min-height: 200px;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Glow effect behind text */
#zkaa-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 280px;
  background: radial-gradient(ellipse at center bottom, rgba(27,182,177,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.zkaa-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.zkaa-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zkaa-hero-title {
  font-size: var(--fs-hero-title);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.zkaa-hero-subtitle {
  font-size: var(--fs-hero-sub);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.zkaa-hero-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.zkaa-hero-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #05080B;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}
.zkaa-hero-cta:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════
   S4 — VALUE PILLARS
   Ref height: 134px
   ══════════════════════════════════════════════════════════ */

#zkaa-pillars {
  flex: 17 1 0;
  min-height: 100px;
  background: var(--bg-pillars);
  border-top: 1px solid var(--border-teal);
  display: flex;
  align-items: center;
}

.zkaa-pillars-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.zkaa-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 8px 12px;
}

.zkaa-pillar-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.zkaa-pillar-icon svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.zkaa-pillar h3 {
  font-size: var(--fs-pillar-h);
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.2;
}

.zkaa-pillar p {
  font-size: var(--fs-pillar-p);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════
   S5 — FOOTER
   Ref height: 273px
   ══════════════════════════════════════════════════════════ */

#zkaa-footer {
  flex: 30 1 0;
  min-height: 180px;
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zkaa-footer-inner {
  flex: 1;
  min-height: 0;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 14px var(--content-px) 6px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 20px;
  align-items: start;
}

/* Brand col */
.zkaa-ft-brand { display: flex; flex-direction: column; gap: 10px; }
.zkaa-ft-brand-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.1rem; font-weight: 900; color: var(--text-primary);
}
.zkaa-ft-brand-logo svg { width: 22px; height: 22px; color: var(--teal); }
.zkaa-ft-tagline { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.zkaa-ft-social { display: flex; gap: 8px; margin-top: 4px; }
.zkaa-ft-social a {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border-teal);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition);
}
.zkaa-ft-social a:hover { color: var(--teal); border-color: var(--teal); }
.zkaa-ft-social svg { width: 14px; height: 14px; fill: currentColor; }

/* Link cols */
.zkaa-ft-col h4 {
  font-size: var(--fs-footer-h);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.zkaa-ft-col ul { display: flex; flex-direction: column; gap: 2px; }
.zkaa-ft-col a {
  font-size: var(--fs-footer-link);
  color: var(--text-muted);
  transition: color var(--transition);
}
.zkaa-ft-col a:hover { color: var(--teal); }

/* Newsletter col */
.zkaa-ft-newsletter { display: flex; flex-direction: column; gap: 8px; }
.zkaa-ft-newsletter h4 {
  font-size: var(--fs-footer-h); font-weight: 700; color: var(--text-primary);
}
.zkaa-ft-newsletter p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.zkaa-ft-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.zkaa-ft-form input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-teal);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 0.8rem; font-family: inherit;
  color: var(--text-primary);
  direction: rtl;
  outline: none;
  transition: border-color var(--transition);
}
.zkaa-ft-form input:focus { border-color: var(--teal); }
.zkaa-ft-form input::placeholder { color: var(--text-muted); }
.zkaa-ft-form button {
  background: var(--gold);
  color: #05080B;
  font-weight: 700; font-size: 0.85rem;
  padding: 9px 16px;
  border-radius: 6px;
  transition: background var(--transition);
}
.zkaa-ft-form button:hover { background: var(--gold-dark); }

/* Copyright bar */
#zkaa-copyright {
  flex: none;
  background: var(--bg-copyright);
  border-top: 1px solid var(--border-subtle);
  padding: 4px var(--content-px);
  display: flex;
  align-items: center;
  justify-content: center;
}
#zkaa-copyright p {
  font-size: var(--fs-copyright);
  color: var(--text-copyright);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — RULE-RESPONSIVE-001
   Preserve: hierarchy · proportions · reading comfort
   No horizontal scroll. No visual breakage.
   ══════════════════════════════════════════════════════════ */

/* ── Tablet (≤1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --h-hero:    clamp(260px, 38vh, 400px);
    --h-pillars: clamp(110px, 15vh, 160px);
  }
  /* Footer height → auto so copyright is never clipped */
  #zkaa-footer { height: auto; overflow: visible; }
  .zkaa-footer-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ── Mobile (≤768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-px:  20px;
    --content-px: 16px;
  }

  /* Allow scroll on mobile — single-screen for desktop only */
  html, body { overflow: auto; }
  #zkaa-screen { height: auto; overflow: visible; }

  /* Header */
  #zkaa-header { height: clamp(48px, 6vh, 60px); flex: none; }
  .zkaa-nav { display: none; }

  /* Hero */
  #zkaa-hero { height: clamp(240px, 35vh, 360px); flex: none; }

  /* Pillars — height auto so 2×2 grid fits */
  #zkaa-pillars { height: auto; flex: none; padding: 16px 0; }
  .zkaa-pillars-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Footer */
  #zkaa-footer { height: auto; flex: none; overflow: visible; }
  .zkaa-footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 20px var(--content-px) 12px;
    gap: 16px;
  }

  /* Copyright */
  #zkaa-copyright { flex: none; }
}

/* ── Small Mobile (≤480px) ───────────────────────────── */
@media (max-width: 480px) {
  :root {
    --fs-hero-title: clamp(1.6rem, 7vw, 2.4rem);
    --fs-hero-sub:   clamp(1rem, 5vw, 1.5rem);
  }
  #zkaa-hero { height: clamp(220px, 32vh, 320px); }
  .zkaa-pillars-inner { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .zkaa-footer-inner  { grid-template-columns: 1fr; }
}


/* ── INTEGRATION FIX: Pillar column separators ─────────────── */
.zkaa-pillar:not(:last-child) {
  border-inline-end: 1px solid var(--border-teal);
}

/* ── INTEGRATION FIX: Kill any list bullets from WP/plugin CSS ─ */
#zkaa-screen ul,
#zkaa-screen ol,
#zkaa-screen li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
#zkaa-screen li::before,
#zkaa-screen li::marker {
  display: none !important;
  content: none !important;
}

/* ── INTEGRATION FIX: Logo icon size boost ─────────────────── */
.zkaa-logo-img {
  height: 32px;
  width: auto;
}
.zkaa-ft-brand-logo-img {
  height: 26px;
  width: auto;
}

/* ── INTEGRATION FIX: Pillar icon size match reference ───────── */
.zkaa-pillar-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
}

/* ── INTEGRATION-FIX-002 — WordPress Admin Bar ──────────────
   WordPress adds html { margin-top: 32px !important } for
   logged-in users. This shifts #zkaa-screen (height:100vh)
   32px below viewport, clipping the copyright bar.
   .admin-bar class is added by WP to <body> when bar is active.
   Zero impact on visitors (no .admin-bar class for them).
   ─────────────────────────────────────────────────────────── */
.admin-bar #zkaa-screen {
  height: calc(100vh - 32px);
}
