/* ── 4U2B Zenith Supremium Edition v10.0.0 ──────────────────
   The Pinnacle Build: True Glassmorphism, Spring Physics, 
   & Enterprise Design Tokens
   ──────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap');

/* ── 1. Design Tokens (The Sovereign Matrix) ─────────────── */
:root {
  /* Color Matrix */
  --z-void:        #020204;
  --z-obs1:        #060608;
  --z-obs2:        #0a0a0c;
  --z-gold:        #bbaa6d;
  --z-gold-light:  #dcd49d;
  --z-gold-dim:    #5a4e2a;
  --z-white:       #f5f4f0;
  --z-off-white:   #dcdbd5;
  --z-muted:       #888888;
  --z-danger:      #e56b6f;
  --z-success:     #42b883;

  /* Gradients & Shimmers */
  --z-gold-grad:   linear-gradient(135deg, #c5b376 0%, #fff9e6 25%, #bbaa6d 50%, #e8dfaf 75%, #8e8251 100%);
  --z-gold-grad2:  linear-gradient(90deg, #8e8251 0%, #bbaa6d 30%, #fff9e6 55%, #bbaa6d 80%, #8e8251 100%);
  --z-heading-wave: linear-gradient(100deg, #e7e4dc 0%, #bbaa6d 25%, #ffffff 50%, #bbaa6d 75%, #e7e4dc 100%);
  
  /* Physics & Materials */
  --z-glass:       blur(40px) saturate(180%);
  --z-glass-heavy: blur(60px) saturate(200%);
  --z-ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --z-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* Physical snap effect */
}

/* ── 2. Global Reset & Texture ───────────────────────────── */
html, body {
  background: var(--z-void);
  color: var(--z-white);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0; padding: 0;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--z-void); }
::-webkit-scrollbar-thumb { background: rgba(187,170,109,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--z-gold); }

/* The Ambient Base (Orbs + True Noise Grain) */
#zenith-app::before {
  content: ''; position: fixed; inset: 0;
  background: 
    radial-gradient(circle at 50% -20%, rgba(187,170,109,0.08) 0%, transparent 60%), 
    radial-gradient(circle at 90% 80%, rgba(187,170,109,0.05) 0%, transparent 50%), 
    radial-gradient(circle at 10% 60%, rgba(66,184,131,0.03) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}
/* Micro-grain texture for premium glass feel */
.z-noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
#zenith-app > * { position: relative; z-index: 2; }
#zParticles { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; opacity: 0.6; }

/* ── 3. The Core Physics Engine (Keyframes) ──────────────── */
@keyframes zTicker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes zTickerReverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes zEntry { 0%{opacity:0;transform:translateY(40px) scale(0.98);filter:blur(10px)} 100%{opacity:1;transform:none;filter:none} }
@keyframes zShimmer { to { background-position: 200% center; } }
@keyframes zPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }
@keyframes zSpin { 100%{transform:rotate(360deg)} }
@keyframes zToastUp { from{opacity:0;transform:translateY(24px) scale(0.9)} to{opacity:1;transform:none} }
@keyframes zModalIn { 0%{opacity:0;transform:scale(0.9) translateY(30px)} 100%{opacity:1;transform:none} }
@keyframes zHeadingWave { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
@keyframes zFadeUp { from { opacity: 0; transform: translateY(20px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes zCascade { from { opacity: 0; transform: translateY(15px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes zBreathe { 0%,100% { box-shadow: 0 0 15px rgba(187,170,109,0.1); border-color: rgba(187,170,109,0.3); } 50% { box-shadow: 0 0 35px rgba(187,170,109,0.4); border-color: var(--z-gold); } }
@keyframes zErrorShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }

.z-fade-up { opacity:0; transform:translateY(40px); filter: blur(8px); transition:all 1s var(--z-ease); animation: zFadeUpFallback 0.1s 1.5s forwards; }
.z-fade-up.visible { opacity:1; transform:translateY(0); filter: blur(0); animation: none; }
@keyframes zFadeUpFallback { to { opacity: 1; transform: translateY(0); filter: blur(0); } }

.z-shake { animation: zErrorShake 0.4s var(--z-ease-spring); border-color: var(--z-danger) !important; }

/* ── 4. Typography & Kinetic Waves ───────────────────────── */
.z-hero-h1, .z-dash-title, .z-panel-h, .z-audience-h, .z-section-h, .z-modal-title, .z-ethos-title { 
  font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; 
  background: var(--z-heading-wave); background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text; 
  animation: zHeadingWave 6s linear infinite; text-shadow: 0 4px 20px rgba(187,170,109,0.15); 
}
.z-hero-h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); margin-bottom: 24px; }
.z-dash-title { font-size: clamp(2.2rem, 6vw, 3rem); }
.z-panel-h { font-size: clamp(1.6rem, 5vw, 2rem); margin-bottom: 8px; }
.z-section-h { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 12px; }
.z-audience-h { font-size: 1.8rem; margin-bottom: 16px; line-height: 1.15; }

/* ── 5. Architecture: Nav & Tickers ──────────────────────── */
.z-nav { background: rgba(4,4,6,0.7); backdrop-filter: var(--z-glass); -webkit-backdrop-filter: var(--z-glass); border-bottom: 1px solid rgba(187,170,109,0.1); padding: 16px 24px; position: sticky; top: 0; z-index: 100; display: flex; flex-direction: column; gap: 12px; transition: all 0.4s var(--z-ease); }
.z-nav.scrolled { background: rgba(2,2,4,0.95); box-shadow: 0 10px 40px rgba(0,0,0,0.9); border-bottom-color: rgba(187,170,109,0.25); padding: 12px 24px; }
.z-nav-top { display: flex; align-items: center; justify-content: space-between; }
.z-nav-actions { display: flex; align-items: center; gap: 10px; }
.z-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--z-gold) !important; text-decoration: none !important; display: flex; align-items: center; gap: 10px; letter-spacing: -0.03em; transition: transform 0.3s var(--z-ease-spring); }
.z-logo:hover { color: var(--z-gold-light) !important; transform: scale(1.03); }
.z-shimmer-word { background: var(--z-gold-grad); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: zShimmer 5s linear infinite; }
.z-lang-select-hidden { display: none; }
.z-lang-btn { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); color: var(--z-white); border-radius: 12px; padding: 8px 14px; font-size: 11px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.3s var(--z-ease); }
.z-lang-btn:hover { border-color: var(--z-gold); color: var(--z-gold); background: rgba(187,170,109,0.1); box-shadow: 0 0 20px rgba(187,170,109,0.15); }

.z-ticker { background: var(--z-gold-grad2); color: var(--z-void); padding: 9px 0; font-size: 10.5px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.15em; overflow: hidden; white-space: nowrap; position: relative; z-index: 101; box-shadow: 0 4px 20px rgba(187,170,109,0.3); }
.z-ticker.bottom { background: rgba(4,4,6,0.9); border-top: 1px solid rgba(187,170,109,0.2); color: var(--z-gold); padding: 10px 0; box-shadow: 0 -4px 20px rgba(0,0,0,0.6); z-index: 100; }
.z-ticker-track { display: inline-flex; gap: 40px; align-items: center; animation: zTicker 60s linear infinite; }
.z-ticker-track.reverse { animation: zTickerReverse 60s linear infinite; }
.z-ticker-track span { opacity: 0.9; } .z-ticker-track span:hover { opacity: 1; }

/* ── 6. Theme Leakage Armor (Buttons & Icons) ────────────── */
#zenith-app a.z-btn, #zenith-app button.z-btn { 
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; 
  border-radius: 18px; font-weight: 800; font-size: 13px; font-family: 'DM Sans', sans-serif; 
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer; 
  transition: all 0.4s var(--z-ease-spring); text-decoration: none !important; 
  border: none !important; position: relative; overflow: hidden; outline: none !important;
}
#zenith-app a.z-btn::before, #zenith-app button.z-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transform: skewX(-20deg); transition: 0s; z-index: 1; }
#zenith-app a.z-btn:hover::before, #zenith-app button.z-btn:hover::before { animation: zShine 0.7s forwards; }

#zenith-app a.z-btn-fill, #zenith-app button.z-btn-fill { background: var(--z-gold-grad); background-size: 200% auto; color: var(--z-void) !important; box-shadow: 0 10px 30px rgba(187,170,109,0.3), inset 0 1px 1px rgba(255,255,255,0.5); }
#zenith-app a.z-btn-fill:hover, #zenith-app button.z-btn-fill:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 40px rgba(187,170,109,0.5); background-position: right center; color: var(--z-void) !important; }
#zenith-app a.z-btn-fill:active, #zenith-app button.z-btn-fill:active { transform: translateY(0) scale(0.96); }

#zenith-app a.z-btn-ghost, #zenith-app button.z-btn-ghost { background: rgba(187,170,109,0.05); border: 1px solid rgba(187,170,109,0.5) !important; color: var(--z-gold-light) !important; backdrop-filter: blur(10px); }
#zenith-app a.z-btn-ghost:hover, #zenith-app button.z-btn-ghost:hover { background: rgba(187,170,109,0.15); border-color: var(--z-gold) !important; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(187,170,109,0.2); color: var(--z-gold-light) !important; }

#zenith-app .z-btn-sm  { padding: 10px 18px; font-size: 11px; border-radius: 12px; }
#zenith-app .z-btn-lg  { padding: 20px 40px; font-size: 15px; border-radius: 20px; letter-spacing: 0.1em; }

.z-icon { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; display:inline-block; vertical-align:middle; flex-shrink:0; position:relative; z-index:2; }
.z-icon-sm { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; }
.z-icon-lg { width:30px; height:30px; stroke:currentColor; fill:none; stroke-width:1.8; }

/* ── 7. Landing Environment ──────────────────────────────── */
.z-landing { padding: 0 20px 140px; max-width: 1100px; margin: 0 auto; }
.z-hero { text-align: center; padding: 90px 0 50px; position: relative; }
.z-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(187,170,109,0.08); border: 1px solid rgba(187,170,109,0.3); color: var(--z-gold-light); padding: 8px 18px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; box-shadow: 0 0 0 0 rgba(187,170,109,0.4); animation: zBadgePulse 3s ease-in-out infinite; }
.z-hero-body { font-size: 1.05rem; color: var(--z-muted); max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }

.z-stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0 64px; text-align: center; }
.z-stat { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 18px; padding: 20px 12px; transition: all 0.4s var(--z-ease-spring); position: relative; overflow: hidden; }
.z-stat:hover { border-color: rgba(187,170,109,0.3); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.z-stat-num { display: block; font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 900; background: var(--z-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 6px; }
.z-stat-label { display: block; font-size: 0.72rem; color: var(--z-muted); line-height: 1.4; }

.z-section { padding: 48px 0; }
.z-section-sub { color: var(--z-muted); margin-bottom: 36px; font-size: 0.95rem; line-height: 1.6; }
.z-passes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.z-pass-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(187,170,109,0.1); border-radius: 24px; padding: 30px 26px; transition: all 0.4s var(--z-ease-spring); position: relative; overflow: hidden; }
.z-pass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--z-gold-grad); opacity: 0; transition: opacity 0.4s; }
.z-pass-card:hover { border-color: rgba(187,170,109,0.3); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(187,170,109,0.1); }
.z-pass-card:hover::before { opacity: 1; }
.z-pass-card.featured { border-color: var(--z-gold); background: rgba(187,170,109,0.05); transform: translateY(-8px); box-shadow: 0 24px 60px rgba(187,170,109,0.15), 0 0 60px rgba(187,170,109,0.08); }
.z-pass-card.featured::before { opacity: 1; }
.z-pass-card.featured::after { content: 'POPULAR'; position: absolute; top: 14px; right: 14px; background: var(--z-gold-grad); color: var(--z-void); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 99px; }
.z-pass-card.sponsor-card { border-color: rgba(187,170,109,0.4); background: linear-gradient(135deg, rgba(187,170,109,0.06) 0%, rgba(187,170,109,0.02) 100%); }
.z-pass-name { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; color: var(--z-white); }
.z-pass-desc { font-size: 0.8rem; color: var(--z-muted); margin-bottom: 14px; line-height: 1.5; }
.z-pass-price { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 900; margin: 10px 0; line-height: 1; background: var(--z-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.z-pass-qty { font-size: 11px; font-weight: 700; color: var(--z-gold-light); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.z-pass-btns { display: flex; flex-direction: column; gap: 10px; }

#z-who { display: flex; flex-direction: column; gap: 0; padding: 0 0 48px; }
.z-who-heading { text-align: center; margin-bottom: 36px; }
.z-audience-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(187,170,109,0.25); border-radius: 24px; padding: 36px 28px; position: relative; overflow: hidden; transition: all 0.4s var(--z-ease-spring); animation: zFadeUp 0.7s var(--z-ease) backwards; }
.z-audience-individual { animation-delay: 0.1s; }
.z-audience-corporate { border-color: rgba(187,170,109,0.3); background: linear-gradient(135deg, rgba(187,170,109,0.08) 0%, rgba(187,170,109,0.02) 100%); animation-delay: 0.3s; }
.z-audience-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--z-gold-grad); opacity: 0; transition: opacity 0.4s; }
.z-audience-card:hover::before { opacity: 1; }
.z-audience-card:hover { border-color: rgba(187,170,109,0.5); transform: translateY(-3px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(187,170,109,0.1); }
.z-audience-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; color: var(--z-gold); border: 1px solid var(--z-gold-dim); border-radius: 99px; padding: 4px 12px; margin-bottom: 16px; }
.z-audience-body { font-size: 0.9rem; color: var(--z-muted); line-height: 1.8; margin-bottom: 22px; }

#zenith-app ul.z-audience-list { list-style: none !important; padding: 0 !important; margin: 0 0 26px !important; display: flex; flex-direction: column; gap: 11px; }
#zenith-app ul.z-audience-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; color: var(--z-off-white); line-height: 1.45; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 10px; border-left: 2px solid rgba(187,170,109,0.4); transition: all 0.3s var(--z-ease-spring); list-style-type: none !important; margin: 0 !important; }
#zenith-app ul.z-audience-list li:hover { background: rgba(187,170,109,0.08); border-left-color: var(--z-gold); transform: translateX(6px); }

.z-audience-divider { display: flex; align-items: center; justify-content: center; padding: 28px 0; position: relative; }
.z-audience-divider::before, .z-audience-divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(187,170,109,0.2), transparent); }
.z-audience-or { font-family: 'Syne', sans-serif; font-weight: 900; font-size: 0.8rem; color: var(--z-gold); letter-spacing: 0.18em; padding: 8px 18px; border: 1px solid var(--z-gold-dim); border-radius: 99px; background: var(--z-obs2); box-shadow: 0 0 20px rgba(187,170,109,0.1); }

/* ── 8. Impact & Ethos (Glowing Sections) ────────────────── */
.z-impact-section { border-top: 1px solid rgba(187,170,109,0.12); padding-top: 56px; margin-top: 0; position: relative; overflow: hidden; opacity: 1 !important; transform: none !important; filter: none !important; }
.z-impact-section::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 300px; height: 300px; background: radial-gradient(circle, rgba(187,170,109,0.08) 0%, transparent 70%); pointer-events: none; }
.z-impact-header { text-align: center; margin-bottom: 40px; }
.z-impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px; }
.z-impact-tile { background: rgba(187,170,109,0.04); border: 1px solid rgba(187,170,109,0.15); border-radius: 20px; padding: 26px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: all 0.4s var(--z-ease-spring); position: relative; overflow: hidden; }
.z-impact-tile::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--z-gold-grad); transform: scaleX(0); transition: transform 0.4s var(--z-ease-spring); }
.z-impact-tile:hover { transform: translateY(-5px); border-color: rgba(187,170,109,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 30px rgba(187,170,109,0.1); }
.z-impact-tile:hover::after { transform: scaleX(1); }
.z-impact-num { font-family: 'Syne', sans-serif; font-weight: 900; font-size: 2.1rem; background: var(--z-gold-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.z-impact-label { font-size: 0.73rem; color: var(--z-muted); line-height: 1.5; }

.z-ethos-section { text-align: center; padding: 80px 20px; position: relative; z-index: 10; margin-top: 20px; }
.z-ethos-section::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; max-width: 600px; background: radial-gradient(circle, rgba(187,170,109,0.15) 0%, transparent 70%); pointer-events: none; z-index: -1; }
.z-ethos-title { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; letter-spacing: -0.02em; background: var(--z-gold-grad); background-size: 200% auto; color: transparent; -webkit-background-clip: text; background-clip: text; margin-bottom: 12px; line-height: 1.1; animation: zHeadingWave 6s linear infinite; }
.z-ethos-subtitle { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.25em; text-transform: uppercase; color: var(--z-gold-light); margin-bottom: 24px; }
.z-ethos-body { font-size: 1.1rem; color: var(--z-off-white); line-height: 1.8; max-width: 540px; margin: 0 auto; }

/* ── 9. Dashboard Workspace & Vault ──────────────────────── */
.z-dashboard { padding: 40px 20px 140px; max-width: 860px; margin: 0 auto; }
.z-dashboard-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.z-dash-sub { color: var(--z-off-white); font-size: 0.95rem; margin-top: 8px; opacity: 0.8; }

.z-sync { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--z-muted); padding: 8px 16px; border-radius: 99px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s var(--z-ease); }
.z-sync.saved { color: var(--z-success); border-color: rgba(66,184,131,0.4); background: rgba(66,184,131,0.08); box-shadow: 0 0 20px rgba(66,184,131,0.1); }
.z-sync.saved svg { stroke: var(--z-success); }
.z-sync.syncing { color: var(--z-gold-light); border-color: rgba(187,170,109,0.4); box-shadow: 0 0 20px rgba(187,170,109,0.1); }
.z-sync.syncing svg { stroke: var(--z-gold-light); animation: zSpin 1s linear infinite; }

.z-progress-wrap { margin-bottom: 36px; }
.z-progress-label { display:flex; justify-content:space-between; font-size:0.75rem; color:var(--z-muted); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:12px; font-weight: 800; }
.z-progress-label strong { color: var(--z-gold-light); font-weight: 900; }
.z-progress-track { height:8px; background:rgba(0,0,0,0.5); border-radius:99px; overflow:hidden; box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.05); }
.z-progress-fill { height:100%; background:var(--z-gold-grad); background-size: 200% auto; width:0%; transition:width 1s var(--z-ease-spring); border-radius:99px; box-shadow: 0 0 20px rgba(187,170,109,0.6); animation: zHeadingWave 3s linear infinite; position: relative; }
.z-progress-fill::after { content:''; position:absolute; right:0; top:0; height:100%; width:20px; background:rgba(255,255,255,0.5); filter:blur(5px); } /* Leading edge glow */

/* ── 10. Zenith AI Master Console ────────────────────────── */
.z-ai-master-console { background: rgba(10,10,12,0.5); backdrop-filter: var(--z-glass-heavy); -webkit-backdrop-filter: var(--z-glass-heavy); border: 1px solid rgba(187,170,109,0.25); border-radius: 32px; padding: 40px; margin-bottom: 40px; box-shadow: 0 30px 80px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.05); transition: all 0.4s var(--z-ease-spring); }
.z-ai-console-intro { margin-bottom: 24px; }
.z-upload-zone { border:2px dashed rgba(187,170,109,0.3); border-radius:28px; padding:60px 24px; text-align:center; cursor:pointer; transition:all 0.4s var(--z-ease-spring); background:rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.z-upload-zone::before { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:0; height:0; background:radial-gradient(circle, rgba(187,170,109,0.2) 0%, transparent 70%); transition:all 0.6s var(--z-ease-out); opacity:0; pointer-events:none; }
.z-upload-zone:hover { border-color:var(--z-gold); background:rgba(187,170,109,0.05); border-style: solid; transform: scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
.z-upload-zone:hover::before { width:200%; height:200%; opacity:1; }
.z-upload-zone.drag-active { border-color:var(--z-gold-light); background:rgba(187,170,109,0.15); transform: scale(1.04); box-shadow: 0 0 40px rgba(187,170,109,0.3); }

.z-file-success-pill { background: rgba(66, 184, 131, 0.05); border: 1px solid var(--z-success); border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; margin-top: 16px; margin-bottom: 16px; box-shadow: inset 0 0 20px rgba(66, 184, 131, 0.05); animation: zFadeUp 0.4s var(--z-ease-spring); }
.z-ai-options { background:rgba(0,0,0,0.5); border:1px solid rgba(187,170,109,0.2); border-radius:20px; padding:20px; margin-bottom:16px; display:flex; flex-direction:column; gap:12px; box-shadow: inset 0 5px 15px rgba(0,0,0,0.5); }
.z-radio-opt { display:flex; align-items:center; gap:14px; padding:16px 20px; background: rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.05); border-radius:14px; cursor:pointer; transition:all 0.3s var(--z-ease-spring); font-size:0.95rem; font-weight:700; color: var(--z-off-white); }
.z-radio-opt:hover { background:rgba(187,170,109,0.1); border-color:var(--z-gold); transform:translateX(6px); color: var(--z-white); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.z-radio-opt input { accent-color:#bbaa6d; transform: scale(1.3); }
.z-btn-pulse { animation: zBreathe 3s infinite alternate var(--z-ease); }

.z-ai-loader { background: rgba(0,0,0,0.6); border: 1px dashed rgba(187,170,109,0.4); border-radius: 24px; padding: 40px 24px; text-align: center; animation: zPulseGlow 2s infinite alternate var(--z-ease); }
.z-ai-response-box { border-radius: 24px; overflow: hidden; background: rgba(4,4,6,0.9); border: 1px solid rgba(187,170,109,0.4); box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 50px rgba(187,170,109,0.15); animation: zEntry 0.6s var(--z-ease-spring); }
.z-ai-response-header { background: rgba(187,170,109,0.15); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(187,170,109,0.3); font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 900; color: var(--z-gold-light); letter-spacing: 0.1em; text-transform: uppercase; }
.z-ai-response-body { padding: 32px; font-size: 0.95rem; color: var(--z-off-white); line-height: 1.9; max-height: 500px; overflow-y: auto; }
.z-ai-response-body::after { content: '|'; color: var(--z-gold); animation: zPulse 0.8s infinite; margin-left: 6px; font-weight: 300; }
.z-ai-response-body.typing-complete::after { display: none; }
.z-ai-response-footer { padding: 24px; border-top: 1px solid rgba(187,170,109,0.3); background: rgba(0,0,0,0.5); }

/* ── 11. Tabs & Panels (Glassmorphism & Spring) ──────────── */
.z-tabs { 
  display:flex; gap:8px; overflow-x:auto; scrollbar-width:none; 
  background:rgba(10,10,12,0.5); padding:8px; border-radius:20px; 
  border:1px solid rgba(255,255,255,0.05); margin-bottom:40px; 
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.5); position: relative;
}
.z-tabs::-webkit-scrollbar { display:none; }
.z-tab { 
  flex-shrink:0; scroll-snap-align: start; padding:12px 20px; border-radius:14px; 
  cursor:pointer; font-size:0.85rem; font-weight:700; color:var(--z-muted); 
  background:transparent; border:1px solid transparent; transition:all 0.4s var(--z-ease-spring); 
  display:flex; align-items:center; gap:8px; position: relative; z-index: 2;
}
.z-tab svg { transition: stroke 0.3s var(--z-ease); stroke: var(--z-muted); }
.z-tab.active { background:rgba(187,170,109,0.15); color:var(--z-white); border-color: rgba(187,170,109,0.4); box-shadow: 0 10px 30px rgba(187,170,109,0.15), inset 0 1px 0 rgba(255,255,255,0.1); transform: scale(1.05); }
.z-tab.active svg { stroke: var(--z-gold-light); }
.z-tab:hover:not(.active) { color:var(--z-gold-light); background: rgba(187,170,109,0.05); }

.z-panel { 
  display:none; background:rgba(10,10,12,0.6); 
  backdrop-filter:var(--z-glass-heavy); -webkit-backdrop-filter:var(--z-glass-heavy); 
  border:1px solid rgba(187,170,109,0.2); border-radius:32px; padding:48px; 
  box-shadow:0 50px 100px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.05); 
}
.z-panel.active { display:block; animation:zEntry 0.6s var(--z-ease-spring); }
.z-panel-sub { color:var(--z-off-white); opacity: 0.8; font-size:0.95rem; margin-bottom:36px; line-height:1.6; }

/* ── 12. Deep Carved Forms & Inputs ──────────────────────── */
.z-field { margin-bottom: 24px; position: relative; }
.z-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.z-label { display:block; font-size:0.75rem; font-weight:800; color:var(--z-muted); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:10px; transition: color 0.3s ease; }
.z-label-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }

.z-input, .z-textarea { 
  width:100%; background:rgba(0,0,0,0.6); border:1px solid rgba(255,255,255,0.05); 
  border-radius:16px; padding:16px 20px; color:var(--z-white); 
  font-family:'DM Sans',sans-serif; font-size:1rem; outline:none; 
  transition:all 0.4s var(--z-ease-spring); -webkit-appearance:none; 
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.05); 
}
.z-input::placeholder, .z-textarea::placeholder { color: rgba(255,255,255,0.2); }
.z-input:focus, .z-textarea:focus { background:rgba(187,170,109,0.05); border-color:var(--z-gold); box-shadow: 0 0 0 4px rgba(187,170,109,0.15), inset 0 2px 5px rgba(0,0,0,0.6); transform:translateY(-2px); }
.z-input:focus + .z-label, .z-textarea:focus + .z-label { color: var(--z-gold-light); }
.z-textarea { resize:vertical; min-height:120px; line-height:1.6; }

.z-mic-btn { background:rgba(187,170,109,0.1); border:1px solid rgba(187,170,109,0.4); color:var(--z-gold); border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:all 0.4s var(--z-ease-spring); }
.z-mic-btn:hover { background:var(--z-gold); color:var(--z-void); transform:scale(1.15) rotate(-5deg); box-shadow: 0 10px 20px rgba(187,170,109,0.4); }

.z-entries { display:flex; flex-direction:column; gap:16px; margin-bottom:24px; }
.z-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.05); border-radius:24px; padding:26px; transition:all 0.4s var(--z-ease-spring); animation: zCascade 0.6s var(--z-ease) backwards; position: relative; overflow: hidden; }
.z-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--z-gold-grad); opacity: 0; transition: opacity 0.3s; }
.z-card:nth-child(1) { animation-delay: 0.1s; } .z-card:nth-child(2) { animation-delay: 0.2s; } .z-card:nth-child(3) { animation-delay: 0.3s; }
.z-card:hover { border-color:rgba(187,170,109,0.3); background:rgba(187,170,109,0.05); transform:translateX(8px); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.z-card:hover::before { opacity: 1; }
.z-card-hdr { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.z-card-title { font-family:'Syne',sans-serif; font-weight:800; font-size:1.1rem; color:var(--z-gold-light); letter-spacing: -0.01em; }
.z-card-sub { font-size:0.85rem; color:var(--z-off-white); margin-top:6px; font-weight: 500; }
.z-card-desc { font-size:0.85rem; color:var(--z-muted); margin-top:12px; line-height:1.7; }
.z-card-actions { display:flex; gap:8px; flex-shrink:0; }
.z-card-btn { background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.1); border-radius:10px; padding:8px 14px; font-size:0.75rem; font-weight: 700; color:var(--z-off-white); cursor:pointer; transition:all 0.3s var(--z-ease-spring); }
.z-card-btn:hover { border-color:var(--z-gold); color:var(--z-gold); background: rgba(187,170,109,0.15); transform: translateY(-4px) scale(1.05); box-shadow: 0 8px 20px rgba(187,170,109,0.2); }
.z-card-btn.danger:hover { border-color:var(--z-danger); color:var(--z-danger); background: rgba(220,92,96,0.15); box-shadow: 0 8px 20px rgba(229,107,111,0.2); }

.z-add-btn { width:100%; background:rgba(0,0,0,0.4); border:2px dashed rgba(187,170,109,0.4); border-radius:20px; padding:20px; color:var(--z-gold); font-family:'DM Sans',sans-serif; font-size:0.95rem; font-weight: 800; cursor:pointer; transition:all 0.4s var(--z-ease-spring); display:flex; align-items:center; justify-content:center; gap:12px; margin-top:10px; }
.z-add-btn:hover { background:rgba(187,170,109,0.1); border-color:var(--z-gold); border-style: solid; transform: translateY(-4px); box-shadow:0 15px 40px rgba(187,170,109,0.2); }
.z-entry-form { background:rgba(0,0,0,0.4); border:1px solid rgba(187,170,109,0.3); border-radius:24px; padding:30px; margin-top:16px; animation:zEntry 0.4s var(--z-ease-spring); box-shadow: inset 0 5px 20px rgba(0,0,0,0.5); }

/* ── 13. ATS Widget & Skills Network ─────────────────────── */
.z-ats-widget { background: linear-gradient(135deg, rgba(187,170,109,0.1) 0%, rgba(187,170,109,0.02) 100%); border: 1px solid rgba(187,170,109,0.3); border-radius: 28px; padding: 36px 24px; text-align: center; margin-bottom: 32px; position: relative; overflow: hidden; box-shadow: inset 0 5px 20px rgba(0,0,0,0.4); }
.z-ats-widget::before { content: ''; position: absolute; top:0; left:0; right:0; height:3px; background: var(--z-heading-wave); background-size: 200% auto; animation: zHeadingWave 4s linear infinite; }
.z-ats-label { font-size:12px; font-weight:900; color:var(--z-gold-light); text-transform:uppercase; letter-spacing:0.18em; margin-bottom:16px; }
.z-ats-score { font-family:'Syne',sans-serif; font-size:4.5rem; font-weight:900; line-height:1; margin-bottom:16px; background:var(--z-gold-grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; filter: drop-shadow(0 10px 20px rgba(187,170,109,0.2)); }
.z-ats-unit { font-size:2rem; }
.z-ats-hint { font-size:12px; color:var(--z-off-white); font-weight: 500; }

.z-skill-row { display:flex; gap:10px; margin-bottom:18px; }
.z-skills-grid { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:18px; }
.z-chip { display:flex; align-items:center; gap:8px; background:rgba(187,170,109,0.15); border:1px solid rgba(187,170,109,0.4); border-radius:99px; padding:10px 20px; font-size:0.9rem; font-weight: 700; color:var(--z-white); transition:all 0.4s var(--z-ease-spring); }
.z-chip:hover { border-color:var(--z-gold); background:rgba(187,170,109,0.25); transform: translateY(-4px) scale(1.05); box-shadow: 0 10px 25px rgba(187,170,109,0.3); }
.z-chip button { background:none; border:none; color:var(--z-muted); cursor:pointer; font-size:1.4rem; line-height:1; padding:0; transition:all 0.3s var(--z-ease-spring); display: flex; align-items: center; }
.z-chip button:hover { color:var(--z-danger); transform: scale(1.4) rotate(90deg); }
.z-suggestions { display:flex; flex-wrap:wrap; gap:8px; }

/* ── 14. Preview Output (Luxury Paper Aesthetic) ─────────── */
.z-preview { background:#f4f1ea; background-image: radial-gradient(#d5d0c0 1px, transparent 1px); background-size: 24px 24px; color:#111; padding:60px 48px; border-radius:20px; box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 0 60px rgba(0,0,0,0.05); line-height:1.8; font-family:'DM Sans',sans-serif; }
.z-preview-name { font-family:'Syne',sans-serif; font-size:2.8rem; font-weight:900; text-transform:uppercase; letter-spacing: -0.03em; color: #0a0a0c; margin-bottom: 4px; }
.z-preview-headline { color:#333; font-weight:800; font-size:1.1rem; margin-bottom: 12px; }
.z-preview-contact { color:#666; font-size:0.9rem; margin-bottom:32px; font-weight: 600; }
.z-preview-section-title { font-family:'Syne',sans-serif; font-size:0.85rem; font-weight:900; text-transform:uppercase; letter-spacing:0.15em; color:#8e8251; border-bottom:2px solid #d5d0c0; padding-bottom:8px; margin:36px 0 16px; }
.z-preview-etitle { font-weight:800; color:#111; font-size: 1.1rem; }
.z-preview-esub { color:#555; font-size:0.9rem; font-weight: 600; }

/* ── 15. Access Gate & Modals ────────────────────────────── */
.z-access-gate { text-align: center; padding: 48px 0; }
.z-gate-icon { font-size: 3rem; margin-bottom: 14px; animation: zPulseGlow 3s infinite alternate; }
.z-access-gate h2 { font-family: 'Syne', sans-serif; font-size: 1.5rem; margin-bottom: 8px; }
.z-access-gate p { color: var(--z-muted); margin-bottom: 22px; }

.z-modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.9); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); z-index:10000; display:flex; align-items:center; justify-content:center; padding:20px; }
.z-modal { background:var(--z-obs2); border:1px solid rgba(187,170,109,0.4); padding:48px; border-radius:36px; width:100%; max-width:440px; box-shadow:0 60px 120px rgba(0,0,0,0.95), 0 0 80px rgba(187,170,109,0.15); animation:zModalIn 0.6s var(--z-ease-spring); position:relative; overflow:hidden; }
.z-modal::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--z-heading-wave); background-size: 200% auto; animation: zHeadingWave 4s linear infinite; }

#zToasts { position:fixed; bottom:100px; left:50%; transform:translateX(-50%); z-index:9999; display:flex; flex-direction:column; gap:12px; align-items:center; pointer-events:none; width:max-content; max-width:90vw; }
.z-toast { background:rgba(10,10,12,0.98); backdrop-filter:blur(24px); -webkit-backdrop-filter:blur(24px); border:1px solid var(--z-gold); color:var(--z-white); padding:16px 32px; border-radius:99px; font-weight:800; font-size:14px; display:flex; align-items:center; gap:12px; animation:zToastUp 0.5s var(--z-ease-spring); white-space:nowrap; box-shadow:0 20px 60px rgba(0,0,0,0.9); }
.z-toast.success { border-color:var(--z-success); color:var(--z-success); }
.z-toast.error   { border-color:var(--z-danger);  color:var(--z-danger); }
.z-toast.info    { border-color:#0ea5e9; color:#7dd3fc; }

/* ── 16. Bottom Sync Bar ─────────────────────────────────── */
.z-sync-bar { position:sticky; bottom:0; z-index:150; padding:16px 32px; background:rgba(4,4,6,0.92); backdrop-filter:blur(40px); -webkit-backdrop-filter:blur(40px); border-top:1px solid rgba(187,170,109,0.3); display:flex; align-items:center; justify-content:space-between; box-shadow: 0 -15px 50px rgba(0,0,0,0.9); }
.z-sync-indicator { display:flex; align-items:center; gap:12px; color:var(--z-muted); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.z-dot { width:12px; height:12px; border-radius:50%; background:var(--z-muted); flex-shrink:0; transition:all 0.5s var(--z-ease-spring); }
.z-dot.synced  { background:var(--z-success); box-shadow:0 0 20px var(--z-success); }
.z-dot.syncing { background:var(--z-gold); animation:zPulse 1s infinite; box-shadow:0 0 20px var(--z-gold); }
.z-dot.error   { background:var(--z-danger); box-shadow:0 0 20px var(--z-danger); }

/* ── 17. ARMOR-PLATED MOBILE QUERIES ─────────────────────── */
@media (max-width:600px) {
  .z-stats-strip { grid-template-columns: 1fr; gap: 12px; }
  .z-passes-grid { grid-template-columns: 1fr; }
  .z-impact-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .z-audience-card { padding: 32px 24px; }
  .z-hero-h1 { font-size: 2.8rem; }
  .z-dashboard { padding: 24px 16px 140px; }
  .z-row { grid-template-columns:1fr; gap:0; }
  .z-panel, .z-ai-master-console { padding: 32px 20px; border-radius: 28px; }
  .z-panel-h { font-size: 1.6rem; }
  .z-tab { font-size:0.8rem; padding:12px 16px; }
  .z-input, .z-textarea { padding: 16px 18px; font-size: 1rem; }
  .z-field { margin-bottom: 24px; }
  .z-preview { padding: 40px 24px; }
  .z-preview-name { font-size: 2.2rem; }
  .z-sync-bar { padding: 16px 20px; flex-direction: column; gap: 16px; }
  .z-sync-bar > div { width: 100%; justify-content: space-between; }
  .z-add-btn { padding: 16px; font-size: 0.9rem; }
  
  /* Mobile Button Override */
  #zenith-app a.z-btn, #zenith-app button.z-btn { padding: 14px 20px; font-size: 12px; width: 100%; justify-content: center; }
  
  .z-card { padding: 20px; }
  .z-file-success-pill { flex-direction: column; gap: 12px; align-items: flex-start; }
  .z-file-success-pill > div:last-child { width: 100%; justify-content: space-between; }
}

/* ── 18. Utilities & Print ───────────────────────────────── */
[data-i18n] svg { vertical-align: middle; }
@media print { #zenith-app { background: white; color: black; } .z-nav, .z-tabs, .z-sync-bar, .z-btn, #zParticles, .z-ai-master-console, .z-noise-overlay { display: none !important; } }
