/* ==============================================================================
   KHYATHI.SRI AI — HOSTINGER INDIA DESIGN SYSTEM CLONE
   ============================================================================== */

:root, body.theme-envato-dark {
  /* Hostinger Signature Palette (Royal Purple + Obsidian Indigo + Mint) */
  --primary: #673DE6;         /* Hostinger Signature Royal Purple */
  --primary-hover: #5428E0;
  --primary-dark: #4F21D4;
  --primary-light: rgba(103, 61, 230, 0.16);
  --primary-glow: rgba(103, 61, 230, 0.38);

  --secondary: #8C52FF;       /* Hostinger Electric Violet */
  --secondary-hover: #7839EE;
  --accent: #00EB96;          /* Hostinger Emerald / Mint */
  --accent-hover: #00C88C;
  --accent-light: rgba(0, 235, 150, 0.16);

  --deal-pink: #FF006E;       /* Hostinger Deal Magenta */
  --deal-pink-light: rgba(255, 0, 110, 0.15);

  --bg: #130C25;              /* Hostinger Deep Obsidian Dark */
  --surface: #1F143D;         /* Hostinger Royal Slate */
  --surface-secondary: #271A4D; /* Hostinger Deep Surface */
  --surface-alt: #322166;
  --ink: #FFFFFF;             /* Crisp White (16:1+ Contrast) */
  --ink-secondary: #CBD5E1;   /* Soft Slate */
  --ink-muted: #8F85B2;       /* Hostinger Lavender Slate */
  --ink-subtle: #6D6294;
  
  --border: rgba(103, 61, 230, 0.28);
  --border-focus: #673DE6;

  --grid-line: rgba(103, 61, 230, 0.09);

  --gold: #FFBC00;            /* Hostinger Amber */
  --gold-light: rgba(255, 188, 0, 0.18);
  --green: #00EB96;           /* Hostinger Emerald */
  --green-light: rgba(0, 235, 150, 0.18);
  --purple: #673DE6;
  --purple-light: rgba(103, 61, 230, 0.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-primary: 0 8px 30px rgba(103, 61, 230, 0.38);

  --trans: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-envato-light {
  --primary: #673DE6;         /* Hostinger Signature Purple */
  --primary-hover: #5428E0;
  --primary-dark: #4F21D4;
  --primary-light: #F0ECFF;
  --primary-glow: rgba(103, 61, 230, 0.2);

  --secondary: #8C52FF;
  --secondary-hover: #7839EE;
  --accent: #00A86B;          /* Darker Mint for AA compliance on light */
  --accent-light: #E6FBF3;

  --deal-pink: #E10062;
  --deal-pink-light: #FEEBF2;

  --bg: #F8F9FE;              /* Hostinger Light Crisp Canvas */
  --surface: #FFFFFF;         /* Pure Crisp White */
  --surface-secondary: #F0F2FA; /* Hostinger Light Tint */
  --surface-alt: #E4E7F6;
  --ink: #130C25;             /* Hostinger Obsidian Black - 16:1+ Contrast */
  --ink-secondary: #3D3558;   /* Hostinger Deep Plum Slate - 8:1+ Contrast */
  --ink-muted: #6B628A;       /* Accessible Slate - 4.8:1+ Contrast */
  --ink-subtle: #8F85B2;

  --border: rgba(103, 61, 230, 0.16);
  --border-focus: #673DE6;

  --grid-line: rgba(103, 61, 230, 0.06);

  --gold: #D97706;
  --gold-light: #FEF3C7;
  --green: #00A86B;
  --green-light: #E6FBF3;
  --purple: #673DE6;
  --purple-light: #F0ECFF;

  --shadow-sm: 0 1px 2px rgba(19, 12, 37, 0.05);
  --shadow: 0 4px 16px rgba(19, 12, 37, 0.06), 0 1px 3px rgba(19, 12, 37, 0.04);
  --shadow-lg: 0 12px 36px rgba(19, 12, 37, 0.09), 0 4px 12px rgba(19, 12, 37, 0.05);
  --shadow-primary: 0 8px 24px rgba(103, 61, 230, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-alt); border-radius: 99px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--trans); text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary); color: #fff; padding: 9px 18px;
  box-shadow: 0 2px 8px rgba(59, 102, 245, 0.3);
}
.btn-primary:hover {
  background: var(--primary-hover); box-shadow: 0 4px 16px rgba(59, 102, 245, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface); color: var(--ink-secondary); padding: 8px 16px;
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-secondary); border-color: var(--primary); color: var(--primary);
}

.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 12px 26px; font-size: 14.5px; border-radius: 10px; }
.btn-icon { width: 34px; height: 34px; padding: 0; border-radius: 8px; }

/* ── BADGES & STATUS ── */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2); }
.dot-gold  { background: var(--gold);  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2); }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 3px 9px; border-radius: var(--radius-full);
}
.pill-blue   { background: var(--primary-light); color: var(--primary); }
.pill-green  { background: var(--green-light); color: var(--green); }
.pill-gold   { background: var(--gold-light); color: var(--gold); }
.pill-purple { background: var(--purple-light); color: var(--purple); }
.pill-gray   { background: var(--surface-alt); color: var(--ink-muted); }

/* ── INPUTS ── */
.input {
  border: 1px solid var(--border); border-radius: 9px; padding: 9px 13px;
  font-size: 13px; color: var(--ink); background: var(--surface); outline: none; width: 100%;
  transition: all var(--trans);
}
.input:focus {
  border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
select.input option {
  background: var(--surface);
  color: var(--ink);
}

/* ==============================================================================
   HOSTINGER PROMO DEAL BANNER & STICKY NAVBAR
   ============================================================================== */

/* ── HOSTINGER TOP PROMO DEAL BANNER ── */
.hostinger-deal-banner {
  background: linear-gradient(90deg, #5428E0 0%, #673DE6 45%, #FF006E 100%);
  color: #FFFFFF;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  z-index: 102;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.hostinger-deal-pill {
  background: #00EB96;
  color: #130C25;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: hostinger-pulse 2s infinite ease-in-out;
}
.hostinger-countdown {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: 'Inter', monospace;
  font-weight: 700;
  font-size: 12.5px;
}
.countdown-block {
  background: rgba(19, 12, 37, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 24px;
  text-align: center;
  color: #FFFFFF;
}
.countdown-colon {
  opacity: 0.7;
  font-weight: 800;
}
.hostinger-banner-cta {
  background: #FFFFFF;
  color: #673DE6;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  text-decoration: none;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  cursor: pointer;
}
.hostinger-banner-cta:hover {
  background: #00EB96;
  color: #130C25;
  transform: scale(1.05);
}

/* ── STICKY NAVBAR ── */
.navbar {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(19, 12, 37, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--trans), background var(--trans);
}
body.theme-envato-light .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.navbar-logo {
  width: 32px; height: 32px; border-radius: 8px; object-fit: contain;
}
.navbar-name {
  font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 6px;
}
.navbar-name span { color: var(--primary); }
.badge-tagline {
  font-size: 9.5px; font-weight: 800; background: var(--primary); color: #fff;
  padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── ICON-ONLY MAIN MENU NAVIGATION RAIL ── */
.navbar-nav {
  display: flex; align-items: center; gap: 6px;
  background: var(--surface-secondary);
  padding: 4px 6px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.nav-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 0;
}
.nav-btn:hover {
  background: var(--surface);
  border-color: var(--border);
  color: var(--primary);
  transform: translateY(-2px);
}
.nav-btn.active {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}
body.theme-envato-light .nav-btn.active {
  color: #FFFFFF;
  background: var(--primary);
}

/* ── UNIFIED UI TOOLTIPS ── */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1F143D;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
body.theme-envato-light [data-tooltip]::after {
  background: #130C25;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
}
[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.navbar-right { display: flex; align-items: center; gap: 10px; }

/* User Navigation Chip */
.user-nav-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-secondary); border: 1px solid var(--border);
  padding: 4px 10px 4px 6px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; color: var(--ink);
}
.user-nav-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.user-nav-role {
  font-size: 10px; font-weight: 700; color: var(--primary);
  background: var(--primary-light); padding: 2px 7px; border-radius: var(--radius-full);
}
.user-nav-role.super {
  color: #b45309; background: var(--gold-light);
}

/* ==============================================================================
   ZIPWP-STYLE LANDING PAGE SECTIONS
   ============================================================================== */
.zipwp-landing {
  padding-top: 64px;
}

/* ── Hero Section ── */
.zip-hero {
  background: radial-gradient(circle at 50% 0%, var(--primary-light) 0%, var(--bg) 80%);
  padding: 64px 24px 52px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.zip-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600; color: var(--ink-secondary);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.zip-badge-pill {
  background: var(--primary-light); color: var(--primary);
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: var(--radius-full);
  text-transform: uppercase;
}
.zip-hero-title {
  font-size: clamp(32px, 5vw, 54px); font-weight: 800;
  letter-spacing: -1.2px; line-height: 1.12; color: var(--ink);
  max-width: 860px; margin: 0 auto 16px;
}
.zip-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #3b66f5 0%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.zip-hero-sub {
  font-size: 17px; color: var(--ink-muted); line-height: 1.6;
  max-width: 680px; margin: 0 auto 32px;
}

/* ZipWP Interactive Prompt Generator Box */
.zip-prompt-card {
  max-width: 780px; margin: 0 auto 18px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 10px 14px 10px 18px;
  box-shadow: var(--shadow-lg); transition: all var(--trans);
  display: flex; align-items: center; gap: 10px; text-align: left;
}
.zip-prompt-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(59, 102, 245, 0.15), 0 0 0 3px rgba(59, 102, 245, 0.08);
}
.zip-prompt-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--ink); line-height: 1.5; width: 100%;
}
.zip-prompt-input::placeholder { color: #94a3b8; }
.zip-lang-select {
  border: 1px solid var(--border); border-radius: 9px;
  padding: 7px 11px; font-size: 12.5px; color: var(--ink-secondary);
  background: var(--surface-secondary); outline: none; cursor: pointer;
}
.zip-prompt-btn {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 22px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  transition: all var(--trans); flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(59, 102, 245, 0.3);
}
.zip-prompt-btn:hover {
  background: var(--primary-hover); transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 102, 245, 0.4);
}

/* Prompt Chips */
.zip-chips-row {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 14px;
}
.zip-chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 5px 13px; font-size: 12px; font-weight: 500;
  color: var(--ink-secondary); cursor: pointer; transition: all var(--trans);
  box-shadow: var(--shadow-sm);
}
.zip-chip:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-light);
  transform: translateY(-1px);
}

/* In-Hero Output Box */
.zip-output-box {
  max-width: 780px; margin: 18px auto 0;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; text-align: left;
  box-shadow: var(--shadow); animation: panelFade 0.25s ease;
}

/* ── Social Proof & Trust Bar ── */
.zip-trust-bar {
  padding: 24px 32px; background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 24px;
}
.zip-trust-item {
  display: flex; align-items: center; gap: 12px;
}
.zip-trust-metric { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1; }
.zip-trust-label  { font-size: 12px; color: var(--ink-muted); font-weight: 500; }

/* ── General Section Framework ── */
.zip-sec {
  padding: 64px 36px; max-width: 1200px; margin: 0 auto;
}
.zip-sec-hd {
  text-align: center; max-width: 680px; margin: 0 auto 48px;
}
.zip-sec-tag {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--primary); margin-bottom: 8px; display: inline-block;
}
.zip-sec-title {
  font-size: clamp(26px, 3.6vw, 36px); font-weight: 800;
  letter-spacing: -0.8px; color: var(--ink); line-height: 1.2;
}
.zip-sec-sub {
  font-size: 15px; color: var(--ink-muted); margin-top: 10px; line-height: 1.6;
}

/* ── 3-Step Process (ZipWP Style) ── */
.zip-steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.zip-step-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; transition: all var(--trans);
  position: relative; overflow: hidden;
}
.zip-step-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.zip-step-num {
  font-size: 14px; font-weight: 800; color: var(--primary);
  background: var(--primary-light); width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.zip-step-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.zip-step-card p  { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }

/* ── Audience Matrix (Kids to PG Research) ── */
.zip-aud-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.zip-aud-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 26px; transition: all var(--trans);
  cursor: pointer; display: flex; flex-direction: column;
}
.zip-aud-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.zip-aud-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.zip-aud-icon.purple { background: var(--purple-light); color: var(--purple); }
.zip-aud-icon.blue   { background: var(--primary-light); color: var(--primary); }
.zip-aud-icon.green  { background: var(--green-light); color: var(--green); }
.zip-aud-icon.gold   { background: var(--gold-light); color: var(--gold); }
.zip-aud-card h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.zip-aud-card p  { font-size: 13px; color: var(--ink-muted); line-height: 1.6; flex: 1; }
.zip-aud-action  { font-size: 12px; font-weight: 700; color: var(--primary); margin-top: 14px; }

/* ── Bento Grid Capabilities ── */
.zip-bento {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px;
}
.zip-bento-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: all var(--trans);
}
.zip-bento-card:hover {
  border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-2px);
}
.zip-bento-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.zip-bento-card p  { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* ── Comparison Section ── */
.zip-compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.zip-compare-table th {
  padding: 16px 20px; font-size: 13px; font-weight: 700; text-align: left;
  border-bottom: 1.5px solid var(--border); background: var(--surface-secondary);
}
.zip-compare-table td {
  padding: 14px 20px; font-size: 13px; border-bottom: 1px solid var(--border);
  color: var(--ink-secondary);
}
.zip-compare-table tr:last-child td { border-bottom: none; }
.zip-check { color: var(--green); font-weight: 800; font-size: 15px; }
.zip-cross { color: #ef4444; font-weight: 800; font-size: 15px; }

/* ── FAQ Accordion ── */
.zip-faq-list {
  max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}
.zip-faq-item {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; transition: all var(--trans);
}
.zip-faq-item:hover { border-color: #cbd5e1; }
.zip-faq-question {
  padding: 18px 22px; font-size: 15px; font-weight: 700; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.zip-faq-answer {
  padding: 0 22px 18px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.65;
  display: none;
}
.zip-faq-item.open .zip-faq-answer { display: block; }
.zip-faq-item.open { border-color: var(--primary); }

/* ── Bottom High-Converting CTA Banner ── */
.zip-cta-banner {
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  border-radius: var(--radius-lg); padding: 56px 40px; text-align: center;
  color: #fff; box-shadow: var(--shadow-lg); max-width: 1100px; margin: 40px auto;
}
.zip-cta-title { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.zip-cta-sub   { font-size: 15px; color: #94a3b8; max-width: 560px; margin: 0 auto 28px; }

/* ── Multi-Column SaaS Footer ── */
.zip-footer {
  background: #0f172a; color: #94a3b8; padding: 56px 36px 32px;
  border-top: 1px solid #1e293b;
}
.zip-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px;
}
.zip-footer-brand h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.zip-footer-brand p  { font-size: 13px; line-height: 1.6; max-width: 320px; }
.zip-footer-col h5   { color: #f8fafc; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.zip-footer-col ul   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.zip-footer-col a    { color: #94a3b8; text-decoration: none; font-size: 12.5px; transition: color var(--trans); }
.zip-footer-col a:hover { color: #fff; }
.zip-footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid #1e293b; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; font-size: 12px;
}

/* ==============================================================================
   LEFT & RIGHT SPLIT AUTH MODAL (MANDATED FOR SUPER ADMIN & ADMIN ROLES)
   ============================================================================== */
.split-auth-backdrop {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(11, 19, 43, 0.6); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: 20px;
}
.split-auth-card {
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2); border: 1px solid var(--border);
  width: 100%; max-width: 860px; display: flex; overflow: hidden;
  position: relative; animation: panelFade 0.25s ease;
}
/* Left Showcase Column */
.auth-left-col {
  flex: 1; background: linear-gradient(145deg, #0b132b 0%, #1e293b 100%);
  color: #fff; padding: 40px 32px; display: flex; flex-direction: column;
  justify-content: space-between; border-right: 1px solid #334155;
}
.auth-left-brand {
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 10px;
}
.auth-left-desc {
  font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 24px;
}
.auth-roles-list {
  display: flex; flex-direction: column; gap: 8px;
}
.auth-role-item {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px; border-radius: 8px; font-size: 12px; display: flex; align-items: center; justify-content: space-between;
}
.auth-role-item strong { color: #fff; }
.auth-left-footer {
  font-size: 11.5px; color: #64748b; margin-top: 24px; display: flex; align-items: center; gap: 8px;
}

/* Right Form Column */
.auth-right-col {
  flex: 1.2; padding: 40px 36px; background: var(--surface); overflow-y: auto; max-height: 85vh;
}
.auth-tabs-row {
  display: flex; border-bottom: 1.5px solid var(--border); margin-bottom: 20px;
}
.auth-tab-btn {
  flex: 1; padding: 10px; border: none; background: none; font-size: 13.5px; font-weight: 600;
  color: var(--ink-muted); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all var(--trans);
}
.auth-tab-btn.active {
  color: var(--primary); border-bottom-color: var(--primary); font-weight: 700;
}

/* One-Click Quick Login Strip */
.quick-profiles-strip {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
}
.quick-profile-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--surface-secondary); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 6px; cursor: pointer; font-size: 12px;
  color: var(--ink-secondary); transition: all var(--trans);
}
.quick-profile-btn:hover {
  background: var(--primary-light); border-color: var(--primary); color: var(--primary);
}
.quick-profile-btn.super-btn {
  background: var(--gold-light); border-color: #fcd34d; color: #92400e; font-weight: 600;
}
.quick-profile-btn.super-btn:hover {
  background: #fef08a;
}

/* ==============================================================================
   CLAUDE DESKTOP APP 3-PANE FIXED LAYOUT (DASHBOARD & STUDIO)
   ============================================================================== */
.claude-desktop-container {
  display: none;
  position: fixed; inset: 0; z-index: 150;
  height: 100vh; overflow: hidden;
  background: var(--bg);
}
.claude-desktop-container.active {
  display: flex;
}

/* ── Left Sidebar / Navigator Rail (Icon-Only Unified UI) ── */
/* ── Left Sidebar / Navigator Rail (ChatGPT Style 260px Fixed / Collapsible) ── */
.c-left-pane {
  width: 260px; height: 100vh; flex-shrink: 0;
  background: var(--surface); border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px 12px; z-index: 10;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  overflow: hidden;
}
.c-left-pane.collapsed {
  width: 68px; padding: 14px 8px; align-items: center;
}
.c-sidebar-top {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; overflow: hidden;
}
.c-brand-row {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 0 4px 12px; border-bottom: 1px solid var(--border); width: 100%;
}
.c-brand-title {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.c-brand-title span {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap;
}
.c-left-pane.collapsed .c-brand-row {
  flex-direction: column; align-items: center; justify-content: center;
}
.c-left-pane.collapsed .c-brand-title span {
  display: none;
}
.c-new-session-btn {
  width: 100%; height: 42px; border-radius: 10px;
  background: var(--primary); border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px;
  color: #FFFFFF; cursor: pointer;
  transition: all var(--trans);
  box-shadow: 0 4px 12px var(--primary-glow);
}
.c-new-session-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}
.c-new-session-btn .c-new-label {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600;
}
.c-new-session-btn .c-kbd-badge {
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.2); font-family: monospace;
}
.c-left-pane.collapsed .c-new-session-btn {
  width: 44px; height: 44px; justify-content: center; padding: 0;
}
.c-left-pane.collapsed .c-new-session-btn span,
.c-left-pane.collapsed .c-new-session-btn .c-kbd-badge {
  display: none;
}

/* Nav Menu */
.c-nav-list {
  display: flex; flex-direction: column; gap: 4px;
  width: 100%;
}
.c-nav-item {
  width: 100%; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 0 12px;
  color: var(--ink-secondary);
  border: 1px solid transparent; background: transparent;
  cursor: pointer; transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
}
.c-nav-item:hover {
  background: var(--surface-secondary);
  border-color: var(--border);
  color: var(--primary);
}
.c-nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border-color: rgba(59, 130, 246, 0.25);
  font-weight: 600;
}
.c-nav-item.super-nav {
  color: var(--gold);
  background: var(--gold-light);
  border-color: rgba(255, 188, 0, 0.3);
}
.c-nav-item.super-nav:hover {
  background: var(--gold);
  color: #130C25;
}
.c-nav-item span {
  display: inline-block; font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.c-left-pane.collapsed .c-nav-item {
  width: 44px; height: 44px; justify-content: center; padding: 0;
}
.c-left-pane.collapsed .c-nav-item span {
  display: none;
}

/* History Feed in Sidebar */
.c-history-label {
  display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: var(--ink-muted); letter-spacing: 0.05em; padding: 10px 6px 4px;
}
.c-history-list {
  display: flex; flex-direction: column; gap: 3px;
  overflow-y: auto; max-height: 220px; margin-bottom: 6px;
  padding-right: 4px;
}
.c-history-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 8px; font-size: 12.5px;
  color: var(--ink-secondary); cursor: pointer; transition: all 0.18s ease;
  position: relative;
}
.c-history-item:hover {
  background: var(--surface-secondary); color: var(--ink);
}
.c-history-item.active {
  background: rgba(59, 130, 246, 0.15); color: var(--primary); font-weight: 600;
}
.c-history-item .c-history-title {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; margin-right: 6px;
}
.c-history-item .c-del-session-btn {
  opacity: 0; visibility: hidden; background: none; border: none;
  color: var(--ink-muted); cursor: pointer; padding: 2px;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.c-history-item:hover .c-del-session-btn {
  opacity: 1; visibility: visible;
}
.c-history-item .c-del-session-btn:hover {
  color: #ef4444;
}
.c-left-pane.collapsed .c-history-label,
.c-left-pane.collapsed .c-history-list {
  display: none;
}

/* Left Sidebar Bottom Profile */
.c-profile-card {
  border-top: 1px solid var(--border); padding-top: 12px; width: 100%;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
}
.c-profile-info {
  display: flex; align-items: center; gap: 8px; overflow: hidden;
}
.c-left-pane.collapsed .c-profile-card {
  flex-direction: column; justify-content: center; align-items: center;
}
.c-left-pane.collapsed .c-profile-info div[style*="overflow:hidden"],
.c-left-pane.collapsed .c-profile-info .user-details {
  display: none !important;
}

/* Side navigation tooltips (pop out to right) */
.c-nav-item[data-tooltip]::after,
.c-new-session-btn[data-tooltip]::after,
.c-brand-row button[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  bottom: auto;
  transform: translateY(-50%) translateX(4px);
  background: #0f172a;
  color: #f8fafc;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s ease;
  z-index: 200;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.c-nav-item[data-tooltip]:hover::after,
.c-new-session-btn[data-tooltip]:hover::after,
.c-brand-row button[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ── Center Main Workspace ── */
.c-center-pane {
  flex: 1; height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); overflow: hidden; position: relative;
}
.c-center-header {
  height: 56px; border-bottom: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; flex-shrink: 0; z-index: 5;
}
.c-center-messages {
  flex: 1; overflow-y: auto; padding: 24px 20px 140px;
  display: flex; flex-direction: column; gap: 20px;
  max-width: 840px; width: 100%; margin: 0 auto;
}

/* ── ChatGPT Empty State ── */
.c-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; margin: auto 0; padding: 20px 10px;
}
.c-empty-icon-wrap {
  width: 58px; height: 58px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.25);
  animation: orbFloat 6s ease-in-out infinite alternate;
}
.c-empty-title {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px;
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.c-empty-subtitle {
  font-size: 14px; color: var(--ink-secondary); max-width: 520px; line-height: 1.6;
  margin-bottom: 28px;
}
.c-starter-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  width: 100%; max-width: 720px;
}
.c-starter-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px 16px; text-align: left;
  cursor: pointer; transition: all 0.22s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.c-starter-card:hover {
  background: var(--surface-secondary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.c-starter-head {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px;
  font-weight: 700; color: var(--ink);
}
.c-starter-desc {
  font-size: 12px; color: var(--ink-muted); line-height: 1.4;
}

/* ── ChatGPT Message Stream Rows ── */
.chat-msg-row {
  display: flex; gap: 14px; width: 100%; animation: panelFade 0.25s ease;
}
.chat-msg-row.user {
  flex-direction: row-reverse;
}
.chat-msg-avatar {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.chat-msg-row.assistant .chat-msg-avatar {
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.35);
}
.chat-msg-row.user .chat-msg-avatar {
  background: var(--surface-secondary);
  color: var(--ink);
  border: 1px solid var(--border);
}
.chat-msg-content {
  flex: 1; max-width: calc(100% - 50px);
  display: flex; flex-direction: column; gap: 10px;
}
.chat-msg-row.user .chat-msg-content {
  align-items: flex-end;
}
.chat-bubble-user {
  background: var(--primary); color: #FFFFFF;
  padding: 12px 18px; border-radius: 18px 18px 4px 18px;
  font-size: 14px; line-height: 1.6; word-break: break-word;
  max-width: 85%; box-shadow: 0 4px 14px var(--primary-glow);
}
.chat-bubble-assistant {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-radius: 18px 18px 18px 4px;
  padding: 16px 20px; font-size: 14px; line-height: 1.7; word-break: break-word;
  width: 100%; box-shadow: var(--shadow-sm);
}

/* Markdown styling inside assistant bubble */
.chat-bubble-assistant p { margin-bottom: 12px; }
.chat-bubble-assistant p:last-child { margin-bottom: 0; }
.chat-bubble-assistant ul, .chat-bubble-assistant ol {
  margin: 8px 0 12px 20px; padding: 0;
}
.chat-bubble-assistant li { margin-bottom: 4px; }
.chat-bubble-assistant h1, .chat-bubble-assistant h2, .chat-bubble-assistant h3 {
  margin: 14px 0 8px; font-weight: 700; color: var(--ink);
}
.chat-bubble-assistant h1 { font-size: 18px; }
.chat-bubble-assistant h2 { font-size: 16px; }
.chat-bubble-assistant h3 { font-size: 14.5px; }
.chat-bubble-assistant blockquote {
  border-left: 3px solid var(--primary); padding-left: 12px;
  margin: 10px 0; color: var(--ink-secondary); font-style: italic;
}
.chat-bubble-assistant code.inline-code {
  background: rgba(255, 255, 255, 0.08); color: #38BDF8;
  padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 12.5px;
}

/* ── Code Block Component with 1-Click Copy ── */
.code-block-wrapper {
  margin: 12px 0; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #090D16;
}
.code-block-header {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.05); padding: 7px 14px;
  font-size: 11.5px; font-family: monospace; color: var(--ink-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.copy-code-btn {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px; color: var(--ink-secondary); font-size: 11px;
  padding: 3px 8px; cursor: pointer; display: flex; align-items: center; gap: 5px;
  transition: all 0.18s ease;
}
.copy-code-btn:hover {
  background: rgba(255, 255, 255, 0.1); color: #FFFFFF;
}
.copy-code-btn.copied {
  background: #10B981; color: #FFFFFF; border-color: #10B981;
}
.code-block-wrapper pre {
  margin: 0; padding: 14px 16px; overflow-x: auto;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12.5px; line-height: 1.6; color: #E2E8F0;
}

/* ── Inline 24kHz Custom Audio Player ── */
.inline-audio-player {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px; padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  margin-top: 10px; width: 100%; max-width: 540px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.audio-play-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); border: none; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.2s ease; flex-shrink: 0;
  box-shadow: 0 2px 10px var(--primary-glow);
}
.audio-play-btn:hover {
  transform: scale(1.06); background: var(--primary-hover);
}
.audio-meta-area {
  flex: 1; display: flex; flex-direction: column; gap: 4px; overflow: hidden;
}
.audio-title-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; font-weight: 600; color: var(--ink-secondary);
}
.audio-timeline-wrap {
  display: flex; align-items: center; gap: 8px; width: 100%;
}
.audio-scrubber {
  flex: 1; height: 5px; accent-color: var(--primary); cursor: pointer;
  border-radius: 3px;
}
.audio-time-label {
  font-size: 10.5px; font-family: monospace; color: var(--ink-muted);
}
.audio-wave-bars {
  display: flex; align-items: center; gap: 2px; height: 16px;
}
.audio-wave-bar {
  width: 3px; height: 4px; background: var(--primary); border-radius: 2px;
  transition: height 0.15s ease;
}
.audio-wave-bars.playing .audio-wave-bar:nth-child(1) { animation: wavePulse 0.6s infinite ease-in-out alternate; }
.audio-wave-bars.playing .audio-wave-bar:nth-child(2) { animation: wavePulse 0.4s infinite ease-in-out alternate 0.1s; }
.audio-wave-bars.playing .audio-wave-bar:nth-child(3) { animation: wavePulse 0.7s infinite ease-in-out alternate 0.2s; }
.audio-wave-bars.playing .audio-wave-bar:nth-child(4) { animation: wavePulse 0.5s infinite ease-in-out alternate 0.15s; }
.audio-wave-bars.playing .audio-wave-bar:nth-child(5) { animation: wavePulse 0.8s infinite ease-in-out alternate 0.25s; }
@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; }
}
.audio-download-btn {
  background: transparent; border: none; color: var(--ink-muted);
  cursor: pointer; padding: 6px; border-radius: 6px; transition: all 0.18s ease;
  display: flex; align-items: center; justify-content: center;
}
.audio-download-btn:hover {
  color: var(--primary); background: rgba(255, 255, 255, 0.08);
}

/* ── Floating Return to Chat Pill Banner ── */
.return-chat-pill {
  position: fixed; bottom: 24px; right: 28px; z-index: 100;
  background: linear-gradient(135deg, #3B82F6, #6366F1);
  color: #FFFFFF; font-size: 13.5px; font-weight: 700;
  padding: 12px 20px; border-radius: 30px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; box-shadow: 0 8px 28px rgba(59, 130, 246, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.22s ease;
}
.return-chat-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.6);
}

/* ── Microphone Speech-to-Text Button ── */
.c-mic-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 1px solid var(--border);
  color: var(--ink-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.c-mic-btn:hover {
  background: var(--surface-secondary); color: var(--primary);
  border-color: var(--primary);
}
.c-mic-btn.recording {
  background: #ef4444; color: #FFFFFF; border-color: #ef4444;
  animation: micPulse 1.2s infinite alternate;
}
@keyframes micPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  100% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
}

/* Claude Floating Prompt Dock at Bottom */
.c-prompt-dock {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 60%);
  display: flex; flex-direction: column; align-items: center;
  pointer-events: none; gap: 6px;
}
.c-prompt-box {
  pointer-events: auto;
  max-width: 840px; width: 100%; background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 12px 16px; display: flex; flex-direction: column; gap: 8px;
  transition: all var(--trans);
  backdrop-filter: blur(16px);
}
.c-prompt-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.18), 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.c-prompt-textarea {
  border: none; outline: none; background: transparent; font-size: 14.5px;
  color: var(--ink); line-height: 1.5; resize: none; max-height: 140px; min-height: 38px;
  font-family: inherit; width: 100%;
}
.c-prompt-bar-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 8px;
}
.c-disclaimer-text {
  font-size: 11px; color: var(--ink-muted); text-align: center; pointer-events: auto;
}

/* ── Right Inspector / Companion Panel (300px) ── */
.c-right-pane {
  width: 300px; height: 100vh; flex-shrink: 0;
  background: var(--surface); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 18px;
  overflow-y: auto; transition: width 0.25s ease, opacity 0.2s ease;
}
.c-right-pane.collapsed {
  width: 0; padding: 0; opacity: 0; overflow: hidden; border-left: none;
}
.c-inspector-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.c-inspector-title { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.c-param-group {
  margin-bottom: 18px;
}
.c-param-header {
  display: flex; justify-content: space-between; font-size: 12px;
  font-weight: 600; color: var(--ink-secondary); margin-bottom: 6px;
}
.c-slider {
  width: 100%; accent-color: var(--primary); cursor: pointer;
}

/* ── SUPER ADMIN DASHBOARD / CONSOLE PANEL ── */
.super-admin-panel {
  display: none; background: var(--surface); border: 2px solid #f59e0b;
  border-radius: var(--radius); padding: 24px; margin-top: 16px;
}
.super-admin-panel.active { display: block; }
.super-tag-badge {
  background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 4px;
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 900px) {
  .navbar { padding: 0 16px; }
  .navbar-nav { display: none; }
  .zip-sec { padding: 40px 16px; }
  .zip-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .split-auth-card { flex-direction: column; }
  .auth-left-col { display: none; }
  
  /* Mobile Drawer Sidebar Navigation */
  .c-left-pane {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px !important;
    z-index: 1000 !important;
    background: var(--surface) !important;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6) !important;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
  }
  .c-left-pane.mobile-drawer-open {
    transform: translateX(0) !important;
  }
  .c-right-pane { display: none; }
  #btn-toggle-sidebar { display: inline-flex !important; }
}

.c-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.c-mobile-backdrop.active {
  display: block;
  opacity: 1;
}

/* Microphone Real-Time Animated Waveform */
.mic-waveform-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
}
.mic-waveform-bars .bar {
  width: 3px;
  height: 14px;
  background: #ef4444;
  border-radius: 2px;
  animation: waveBar 0.8s ease-in-out infinite alternate;
}
.mic-waveform-bars .bar:nth-child(1) { animation-delay: 0.1s; height: 8px; }
.mic-waveform-bars .bar:nth-child(2) { animation-delay: 0.25s; height: 16px; }
.mic-waveform-bars .bar:nth-child(3) { animation-delay: 0.4s; height: 12px; }
.mic-waveform-bars .bar:nth-child(4) { animation-delay: 0.15s; height: 18px; }
.mic-waveform-bars .bar:nth-child(5) { animation-delay: 0.3s; height: 10px; }

@keyframes waveBar {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================================
   MAGIC GLASSY THEME & ANIMATED GRID BACKGROUND (HIGH ATTRACTION MOTIONS)
   ============================================================================== */

/* Moving animated grid backdrop */
.animated-grid-bg {
  position: relative;
  background-color: var(--bg);
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  animation: gridMove 28s linear infinite;
  overflow: hidden;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 44px 44px; }
}

/* Radiant atmospheric floating ambient glow orbs */
.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
body.theme-envato-light .ambient-glow-orb {
  opacity: 0.25;
}

.orb-blue {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59, 102, 245, 0.35) 0%, rgba(59, 102, 245, 0) 70%);
  top: -80px; left: 10%;
}

.orb-purple {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.28) 0%, rgba(168, 85, 247, 0) 70%);
  top: 30%; right: 5%;
  animation-duration: 18s;
  animation-delay: -5s;
}

.orb-cyan {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: 15%; left: 8%;
  animation-duration: 16s;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -45px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Glassy container & cards */
.glass-container {
  background: var(--surface);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
body.theme-envato-dark .glass-container {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}
body.theme-envato-light .glass-container {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* macOS App Window Mockup Frame */
.macos-app-frame {
  max-width: 1060px;
  margin: 32px auto 0;
  background: var(--surface);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.theme-envato-dark .macos-app-frame {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 75px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
body.theme-envato-light .macos-app-frame {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 28px 75px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
}
.macos-app-frame:hover {
  box-shadow: 0 32px 85px -12px rgba(59, 130, 246, 0.25), 0 0 0 1px var(--primary);
}

.macos-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--surface-secondary);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.macos-traffic-lights {
  display: flex;
  gap: 7px;
  align-items: center;
}

.traffic-light {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.light-red { background: #ef4444; }
.light-yellow { background: #f59e0b; }
.light-green { background: #10b981; }

.macos-tab-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
}

.macos-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--ink-muted);
}
.macos-tab:hover {
  color: var(--ink);
  background: var(--surface-alt);
}
.macos-tab.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

/* Greeting Bar inside macOS Frame */
.macos-greeting-bar {
  padding: 28px 24px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
body.theme-envato-dark .macos-greeting-bar {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
}
body.theme-envato-light .macos-greeting-bar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
}
.macos-greeting-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.macos-greeting-sub {
  font-size: 13.5px;
  color: var(--ink-secondary);
  margin-bottom: 14px;
}
.macos-greeting-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* Glassy Gradient Mesh Cards */
.glass-mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  padding: 24px;
}

.glass-mesh-card {
  position: relative;
  border-radius: 16px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.glass-mesh-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Micro-Dot pattern overlay inside each card */
.glass-mesh-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 13px 13px;
  pointer-events: none;
  opacity: 0.65;
}

/* Light Theme Card Gradients */
body.theme-envato-light .card-theme-intro  { background: linear-gradient(135deg, #e0f2fe 0%, #ede9fe 100%); border-color: #bae6fd; }
body.theme-envato-light .card-theme-social { background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 60%, #e0e7ff 100%); border-color: #ddd6fe; }
body.theme-envato-light .card-theme-voice  { background: linear-gradient(135deg, #f5f3ff 0%, #fae8ff 60%, #e0f2fe 100%); border-color: #e9d5ff; }
body.theme-envato-light .card-theme-sms    { background: linear-gradient(135deg, #ecfdf5 0%, #ccfbf1 50%, #e0f2fe 100%); border-color: #a7f3d0; }
body.theme-envato-light .card-theme-video  { background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 50%, #ede9fe 100%); border-color: #fecdd3; }
body.theme-envato-light .card-theme-data   { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 60%, #e0f2fe 100%); border-color: #bfdbfe; }
body.theme-envato-light .card-theme-ai     { background: linear-gradient(135deg, #f0fdf4 0%, #e0e7ff 60%, #ede9fe 100%); border-color: #bbf7d0; }

/* Dark Theme Card Gradients */
body.theme-envato-dark .card-theme-intro  { background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.18) 100%), #1E293B; border-color: rgba(56, 189, 248, 0.25); }
body.theme-envato-dark .card-theme-social { background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(168, 85, 247, 0.18) 100%), #1E293B; border-color: rgba(168, 85, 247, 0.25); }
body.theme-envato-dark .card-theme-voice  { background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(59, 130, 246, 0.18) 100%), #1E293B; border-color: rgba(139, 92, 246, 0.25); }
body.theme-envato-dark .card-theme-sms    { background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(14, 165, 233, 0.18) 100%), #1E293B; border-color: rgba(16, 185, 129, 0.25); }
body.theme-envato-dark .card-theme-video  { background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(168, 85, 247, 0.18) 100%), #1E293B; border-color: rgba(244, 63, 94, 0.25); }
body.theme-envato-dark .card-theme-data   { background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(14, 165, 233, 0.18) 100%), #1E293B; border-color: rgba(59, 130, 246, 0.25); }
body.theme-envato-dark .card-theme-ai     { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(99, 102, 241, 0.18) 100%), #1E293B; border-color: rgba(52, 211, 153, 0.25); }

/* Card Progress Dashes */
.card-dash-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.dash-bar {
  flex: 1;
  height: 3px;
  background: var(--surface-alt);
  border-radius: 2px;
}
.dash-bar.filled {
  background: var(--primary);
}

/* Card Duration Pill */
.card-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  width: fit-content;
}

/* Card Content & Action */
.card-content-wrap {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.glass-mesh-card h4 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.glass-mesh-card p {
  font-size: 12px;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Status Pill Buttons */
.card-action-btn {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-completed {
  background: var(--green);
  color: #ffffff;
}
.btn-resume {
  background: var(--primary);
  color: #ffffff;
}
.btn-resume:hover {
  background: var(--primary-hover);
}
.btn-start {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-start:hover {
  background: var(--surface-secondary);
  border-color: var(--primary);
  color: var(--primary);
}

/* Connected tool badges row */
.integration-pills-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.int-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.int-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}
.int-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

/* Workflow Details & Category Strip */
.workflow-details-cols {
  padding: 28px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.workflow-category-strip {
  padding: 24px 28px;
  background: var(--surface-secondary);
  border-top: 1px solid var(--border);
}

/* Category Grid from template kit */
.category-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.cat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-box:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}
.cat-box-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==============================================================================
   ENVATO PREMIUM DESIGN SYSTEM UTILITIES & MODULES ($50+ VALUE)
   ============================================================================== */

/* ── Typography & Gradients ── */
.font-inter {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.heading-pro {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.body-pro {
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.gradient-text {
  background: linear-gradient(to right, #60A5FA, #A855F7, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-envato-light .gradient-text {
  background: linear-gradient(to right, #2563EB, #7C3AED, #DB2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-heading {
  background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-envato-light .gradient-heading {
  background: linear-gradient(135deg, #1D4ED8 0%, #6D28D9 50%, #BE185D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Glassmorphism & Depth ── */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
body.theme-envato-light .glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* ── Micro-Interactions ── */
.hover-lift {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
}

.hover-scale {
  transition: transform 0.15s ease;
}
.hover-scale:hover {
  transform: scale(1.02);
}
.hover-scale:active, .btn:active, button:active {
  transform: scale(0.95);
}

@keyframes pulse-gradient {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.04);
  }
}
.animate-pulse-gradient {
  animation: pulse-gradient 5s ease-in-out infinite;
}

/* ── Theme Switcher Button ── */
.theme-switcher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all var(--trans);
}
.theme-switcher-btn:hover {
  background: var(--surface-secondary);
  color: var(--primary);
  border-color: var(--primary);
}

/* ── Marketplace Module ── */
.marketplace-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.tpl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tpl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--primary);
}

.tpl-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tpl-badge-bestseller { background: rgba(245, 158, 11, 0.15); color: #F59E0B; border: 1px solid rgba(245, 158, 11, 0.3); }
.tpl-badge-trending   { background: rgba(59, 130, 246, 0.15); color: #3B82F6; border: 1px solid rgba(59, 130, 246, 0.3); }
.tpl-badge-popular    { background: rgba(139, 92, 246, 0.15); color: #8B5CF6; border: 1px solid rgba(139, 92, 246, 0.3); }
.tpl-badge-hot        { background: rgba(239, 68, 68, 0.15); color: #EF4444; border: 1px solid rgba(239, 68, 68, 0.3); }

.tpl-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.tpl-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.tpl-author {
  font-size: 12px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.tpl-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.tpl-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tpl-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-secondary);
}

.tpl-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--ink-muted);
}
.tpl-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--gold);
}

.tpl-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tpl-price-usd {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.tpl-price-inr {
  font-size: 12.5px;
  color: var(--ink-muted);
}

.tpl-actions {
  display: flex;
  gap: 8px;
}

/* ── Multi-Gateway Checkout Modal & Pricing ── */
.pricing-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.2s ease;
}

.pricing-modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  padding: 32px;
  position: relative;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 28px;
}
.billing-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.billing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.billing-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--surface-alt);
  transition: .25s;
  border-radius: 9999px;
  border: 1px solid var(--border);
}
.billing-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s;
  border-radius: 50%;
}
.billing-switch input:checked + .billing-slider {
  background-color: var(--primary);
}
.billing-switch input:checked + .billing-slider:before {
  transform: translateX(24px);
}

.pricing-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.pricing-tier-card {
  background: var(--surface-secondary);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.pricing-tier-card.selected, .pricing-tier-card:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
}
.pricing-tier-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

/* Payment Gateway Selector */
.gateway-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.gateway-card {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.gateway-card:hover, .gateway-card.active {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
}
.gateway-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ── License Key Certificate & Modal ── */
.license-modal-box {
  background: var(--surface);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 60px rgba(59, 130, 246, 0.25);
  text-align: center;
}
.license-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.license-key-display {
  background: var(--surface-secondary);
  border: 1px dashed var(--primary);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ── Blog & Portfolio Sections ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

/* ==============================================================================
   SPA PANELS, CHAT BUBBLES, CODE BLOCKS & DASHBOARD MODULES
   ============================================================================== */

/* ── SPA Page Panels ── */
.page-panel {
  display: none;
  min-height: calc(100vh - 64px);
  padding-top: 64px;
}
.page-panel.active {
  display: block;
}
.zipwp-landing.page-panel {
  padding-top: 64px;
}

/* ── Claude Studio Chat Message Bubbles ── */
.chat-bubble {
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  animation: panelFade 0.2s ease;
  word-break: break-word;
}
.chat-bubble.ai {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  max-width: 85%;
  align-self: flex-start;
}
.chat-bubble.user {
  background: var(--primary);
  color: #ffffff;
  border-radius: 16px 16px 4px 16px;
  max-width: 80%;
  align-self: flex-end;
  box-shadow: var(--shadow-primary);
}

/* ── Code Blocks & Tabs ── */
.code-tab-panel {
  animation: panelFade 0.2s ease;
}
.code-block {
  background: #0B1120;
  color: #38BDF8;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-x: auto;
  box-shadow: var(--shadow);
}
body.theme-envato-light .code-block {
  background: #0F172A;
  color: #38BDF8;
  border: 1px solid #1E293B;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
}

/* ── Capabilities Studio Cards ── */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--trans);
}
.skill-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.skill-hd {
  margin-bottom: 8px;
}
.skill-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.skill-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.skill-run {
  align-self: flex-start;
}

/* ── Intelligence Matrix Cards ── */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.model-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.model-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.model-card.sel {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
  background: var(--primary-light);
}
.model-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 6px;
}
.model-desc {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ── Voice Personas Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
  border: 2px solid var(--border);
}
.team-avatar-ph {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
}
.team-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ── Connectors & Integrations Cards ── */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.conn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--trans);
}
.conn-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.conn-card.on {
  border-color: var(--green);
}
.conn-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}
.conn-status.on {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}
.conn-status.off {
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 500;
}

/* ── Utilities: Spinners & Audio Players ── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.audio-result {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.audio-result audio {
  width: 100%;
  border-radius: 8px;
  outline: none;
}

/* ==============================================================================
   HOSTINGER INDIA SOCIAL PROOF, CARDS & FRAMER ANIMATIONS
   ============================================================================== */

/* ── HOSTINGER SOCIAL PROOF & TRUST STRIP ── */
.hostinger-social-proof {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap; margin: 28px auto 0; max-width: 920px;
  padding: 12px 24px; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative; z-index: 2;
}
.hostinger-proof-item {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
}
.hostinger-stars {
  display: flex; align-items: center; gap: 2px; color: #00EB96;
}
.proof-bold {
  font-weight: 700; color: var(--ink); font-size: 13px;
}
.proof-sub {
  color: var(--ink-secondary); font-size: 12px;
}
.hostinger-proof-divider {
  width: 1px; height: 18px; background: var(--border);
}
@media (max-width: 768px) {
  .hostinger-proof-divider { display: none; }
  .hostinger-social-proof { border-radius: 16px; gap: 12px; }
}

/* ── CRISP INSIDE CARD ICONS ── */
.card-icon-bubble {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(103, 61, 230, 0.15);
  border: 1px solid rgba(103, 61, 230, 0.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-icon-bubble.bubble-emerald {
  background: rgba(0, 235, 150, 0.15);
  border-color: rgba(0, 235, 150, 0.3);
  color: #00EB96;
}
.card-icon-bubble.bubble-pink {
  background: rgba(255, 0, 110, 0.15);
  border-color: rgba(255, 0, 110, 0.3);
  color: #FF006E;
}
.card-icon-bubble.bubble-amber {
  background: rgba(255, 188, 0, 0.15);
  border-color: rgba(255, 188, 0, 0.3);
  color: #FFBC00;
}
.framer-card:hover .card-icon-bubble,
.zip-bento-card:hover .card-icon-bubble,
.zip-step-card:hover .card-icon-bubble {
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 4px 14px var(--primary-glow);
}

/* ── FRAMER MOTION STYLE HOVER & LIFTS ── */
.framer-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease;
}
.framer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(103, 61, 230, 0.25);
  border-color: rgba(103, 61, 230, 0.55);
}

@keyframes hostinger-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes deal-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.animate-deal-shimmer {
  background-size: 200% auto;
  animation: deal-shimmer 4s linear infinite;
}

/* ── CHATGPT STREAMING & MESSAGE ACTION EXTENSIONS ── */
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.streaming-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 900;
  animation: blink-cursor 0.75s infinite;
  margin-left: 3px;
  font-size: 14px;
}

.msg-actions-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.msg-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.msg-action-btn:hover {
  background: var(--primary-light);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}
.msg-action-btn.active {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

.c-history-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.c-history-item:hover .c-history-actions {
  opacity: 1;
}

.c-action-session-btn {
  background: transparent;
  border: none;
  color: var(--ink-muted);
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.c-action-session-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.c-action-session-btn.del-btn:hover {
  color: #EF4444;
}



