/* ==========================================================================
   REELFLOW — PROFESSIONAL DESIGN SYSTEM
   Fonts: Plus Jakarta Sans (body) + Fraunces (headings)
   ========================================================================== */

:root {
  /* Surface palette — Original Light Theme */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-input: #ffffff;

  /* Accent — Original Indigo Blue */
  --accent: #2563eb;
  --accent-dim: #eff6ff;
  --accent-border: #bfdbfe;

  /* Text hierarchy */
  --text-1: #0f172a;
  --text-2: #64748b;
  --text-3: #94a3b8;

  /* Borders & Shadows */
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-full: 9999px;

  /* Fonts — Original */
  --f-head: 'Fraunces', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: 'Fira Code', 'Courier New', monospace;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.2s;

  /* Legacy compat aliases */
  --font-sans: var(--f-body);
  --font-serif: var(--f-head);
  --font-code: var(--f-mono);
  --ink: var(--text-1);
  --ink-secondary: var(--text-2);
  --ink-muted: var(--text-3);
  --paper: var(--bg-canvas);
  --muted: var(--text-2);
  --subtle-border: var(--border);
  --blue-primary: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --blue-dark: #1e40af;
  --card-shadow: var(--shadow-md);
  --hover-shadow: 0 20px 30px -10px rgba(37, 99, 235, 0.15), 0 10px 15px -5px rgba(37, 99, 235, 0.08);
  --modal-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-full: var(--r-full);
  --transition: all var(--dur) var(--ease);
  --secondary: #7c3aed;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --glass-blur: blur(12px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--f-body);
  background: var(--bg-canvas);
  color: var(--text-1);
  line-height: 1.55;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 72px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ---- LAYOUT ---- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand span {
  color: var(--blue-primary);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: var(--text-1);
  background: var(--bg-elevated);
}

.nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-icon, .mobile-nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.button, .btn-insta-chat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
  text-decoration: none;
}

.btn-insta-chat {
  background: var(--accent);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-weight: 700;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0;
}
.btn-insta-chat::before { display: none; }
.btn-insta-chat:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}
.btn-insta-chat svg { flex-shrink: 0; }
.btn-insta-chat:hover svg { transform: none; }

@media (max-width: 600px) {
  .btn-insta-chat {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
  }
}

.button-dark {
  background: var(--accent);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--r-sm);
}
.button-dark:hover {
  background: #1d4ed8;
}

.button-light {
  background: var(--bg-elevated);
  color: var(--text-2);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--r-sm);
}
.button-light:hover {
  border-color: var(--border-hover);
  color: var(--text-1);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pag-btn {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.pag-btn:hover:not(:disabled) {
  border-color: var(--border-hover);
  color: var(--text-1);
}
.pag-btn.active {
  background: var(--accent);
  color: #ffffff !important;
  border-color: var(--accent) !important;
  font-weight: 700;
}
.pag-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.pag-page-btn {
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-2);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all var(--dur) var(--ease);
}
.pag-page-btn:hover { border-color: var(--border-hover); color: var(--text-1); }
.pag-page-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   FLASH BANNER
   ========================================================================== */
.flash-banner {
  background: var(--bg-surface);
  color: var(--text-2);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.flash-banner b { color: var(--accent); font-weight: 700; }
.flash-close {
  background: none; border: none; color: var(--text-3);
  font-size: 16px; cursor: pointer; padding: 4px; line-height: 1;
}
.flash-close:hover { color: var(--text-1); }

/* ==========================================================================
   FLOATING WIDGET
   ========================================================================== */
.floating-chat-widget {
  position: fixed;
  bottom: 80px; right: 16px;
  z-index: 180;
  display: inline-flex;
  align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #ffffff;
  font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
  transition: all var(--dur) var(--ease);
}
.floating-chat-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}
@media (min-width: 769px) { .floating-chat-widget { bottom: 24px; } }

/* ==========================================================================
   MARQUEE / CAROUSEL
   ========================================================================== */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 16px 0;
  margin-bottom: 24px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.logo-marquee-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
  will-change: transform;
}
.logo-marquee-wrapper:hover .logo-marquee-track,
.logo-marquee-track:hover,
.client-card-3d:hover { animation-play-state: paused !important; }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.client-card-3d {
  width: 240px; flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
}
.client-card-3d:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.client-card-3d img {
  width: 100%; height: 140px;
  object-fit: cover;
  background: var(--bg-elevated);
}
.client-card-3d .yt-play-overlay {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #0c0f14;
  display: grid; place-items: center;
  font-size: 16px;
  opacity: 0.85;
  transition: all var(--dur) var(--ease);
}
.client-card-3d:hover .yt-play-overlay {
  opacity: 1; transform: translate(-50%, -50%) scale(1.08);
}
.client-card-3d .yt-title-bar {
  padding: 10px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--text-1);
}

/* ==========================================================================
   SIDE DRAWER
   ========================================================================== */
.vp-sidebar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.vp-sidebar-btn:hover { border-color: var(--border-hover); color: var(--text-1); }

.vp-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.vp-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.vp-side-drawer {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 300px; max-width: 85vw;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease);
}
.vp-drawer-overlay.is-open .vp-side-drawer { transform: translateX(0); }

.vp-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.vp-drawer-close {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  width: 28px; height: 28px; border-radius: var(--r-sm);
  cursor: pointer; display: grid; place-items: center;
  font-size: 12px; color: var(--text-2);
}
.vp-drawer-body { padding: 16px 20px; overflow-y: auto; flex: 1; }

.drawer-section-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--text-3); margin-bottom: 10px;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text-1);
  transition: all var(--dur) var(--ease);
  border: 1px solid transparent;
}
.drawer-link:hover { background: var(--bg-elevated); }
.d-tag {
  font-size: 11px; font-weight: 600;
  padding: 2px 6px; border-radius: 4px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-3);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.vp-hero {
  margin: 20px 0 28px;
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .vp-hero { padding: 40px 36px; margin: 28px 0 36px; }
}
.vp-hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
@media (min-width: 992px) {
  .vp-hero-inner { grid-template-columns: 1.2fr 0.9fr; }
}
.code-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 10px; border-radius: 4px;
  margin-bottom: 12px;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 168, 0.15); }
  50% { box-shadow: 0 0 0 4px rgba(45, 212, 168, 0); }
}
.vp-hero-copy h1, #typewriterText {
  font-family: var(--f-head);
  font-size: 28px; line-height: 1.2;
  font-weight: 800; color: var(--text-1);
  letter-spacing: -0.5px; margin-bottom: 12px;
}
@media (min-width: 768px) {
  .vp-hero-copy h1, #typewriterText { font-size: 38px; }
}
.vp-hero-copy h1 em, #typewriterText em {
  font-style: normal; color: var(--accent);
}
.lead {
  font-size: 14px; color: var(--text-2);
  line-height: 1.6; margin-bottom: 20px;
}
.vp-trust-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.vp-pill {
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 4px;
}

/* Terminal */
.coding-terminal {
  background: #0a0d12;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
  font-family: var(--f-mono);
}
@keyframes floatTerminal {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.terminal-header {
  background: var(--bg-surface);
  padding: 8px 12px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 5px; }
.t-dot { width: 8px; height: 8px; border-radius: 50%; }
.t-dot.red { background: #f87171; }
.t-dot.yellow { background: #fbbf24; }
.t-dot.green { background: #34d399; }
.terminal-title { font-size: 11px; color: var(--text-3); font-weight: 600; }
.terminal-body {
  padding: 14px; font-size: 12px; line-height: 1.8; color: var(--text-2);
}
.code-line { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 2px; }
.code-prompt { color: var(--accent); font-weight: 700; user-select: none; }
.code-kw { color: #f87171; font-weight: 600; }
.code-fn { color: #60a5fa; }
.code-str { color: #34d399; }
.code-num { color: #fbbf24; }
.code-cm { color: var(--text-3); font-style: italic; }
.typing-cursor {
  display: inline-block; width: 6px; height: 13px;
  background: var(--accent); vertical-align: middle; margin-left: 2px;
  animation: cursorBlink 0.8s infinite;
}
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==========================================================================
   FILTER BAR
   ========================================================================== */
.vp-filter-bar {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px;
}
@media (min-width: 768px) {
  .vp-filter-bar { flex-direction: row; align-items: center; justify-content: space-between; }
}
.vp-tabs {
  display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.vp-tabs::-webkit-scrollbar { display: none; }
.vp-tab {
  white-space: nowrap;
  padding: 7px 14px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--border);
  background: var(--bg-surface); color: var(--text-2);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.vp-tab:hover { border-color: var(--border-hover); color: var(--text-1); }
.vp-tab.active {
  background: var(--accent); color: #ffffff; border-color: var(--accent);
}

.search-box { position: relative; flex: 1; }
.search-box svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-3);
}
.search-box input {
  width: 100%; height: 38px;
  padding: 0 14px 0 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-input);
  font-size: 13px; color: var(--text-1); outline: none;
  transition: all var(--dur) var(--ease);
}
.search-box input:focus {
  border-color: var(--accent-border);
  box-shadow: 0 0 0 2px var(--accent-dim);
}
.filter-selects select {
  height: 38px; padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-input);
  font-size: 12px; font-weight: 600;
  color: var(--text-1); outline: none; cursor: pointer;
}

/* ==========================================================================
   CARD GRID
   ========================================================================== */
.vp-catalog-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .vp-catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vp-catalog-grid { grid-template-columns: repeat(3, 1fr); } }

.vp-product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}
.vp-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.vp-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.company-badge {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  padding: 3px 8px; border-radius: 4px;
}
.type-badge {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-elevated);
  padding: 3px 6px; border-radius: 4px;
  border: 1px solid var(--border);
}
.vp-card-content { display: flex; flex-direction: column; flex: 1; }
.vp-card-content h3 {
  font-family: var(--f-head); font-size: 16px; font-weight: 700;
  line-height: 1.3; color: var(--text-1); margin-bottom: 4px;
}
.vp-salary-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 6px;
}
.vp-card-content p {
  font-size: 13px; color: var(--text-2); line-height: 1.5; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.skills-wrapper { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.skill-tag {
  font-size: 11px; font-weight: 500; color: var(--text-2);
  background: var(--bg-elevated); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 4px;
}
.vp-price-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border);
}
.timer-tag {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  background: var(--bg-elevated); padding: 3px 8px;
  border-radius: 4px; border: 1px solid var(--border);
}

/* ==========================================================================
   MOBILE BOTTOM NAV
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 150;
}
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none; }
  body { padding-bottom: 0; }
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; font-weight: 600; color: var(--text-3);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--accent); }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: grid; place-items: center; padding: 16px;
  opacity: 0; visibility: hidden;
  transition: all var(--dur) var(--ease);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  width: 100%; max-width: 600px; max-height: 90vh;
  overflow-y: auto; padding: 28px;
  box-shadow: var(--modal-shadow);
}
.modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.close-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  width: 32px; height: 32px; border-radius: var(--r-sm);
  cursor: pointer; display: grid; place-items: center;
  font-size: 14px; color: var(--text-2);
}
.close-btn:hover { border-color: var(--border-hover); color: var(--text-1); }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast-container {
  position: fixed; top: 16px; right: 16px; z-index: 400;
  display: flex; flex-direction: column; gap: 6px;
}
.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-1);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: slideUp 0.25s var(--ease);
}
@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   TOGGLE SWITCHES (LEGACY COMPAT)
   ========================================================================== */
.slider-round:before {
  position: absolute; content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: var(--text-2);
  transition: .25s; border-radius: 50%;
}
input:checked + .slider-round {
  background-color: #2563eb !important;
}
input:checked + .slider-round:before {
  transform: translateX(20px);
  background-color: #ffffff;
}

@media (max-width: 992px) {
  .chat-kashii-card { grid-template-columns: 1fr !important; }
}

/* Global Mobile Viewport & Screen Fitting Protection (e.g. iPhone 12 / 390px width) */
@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  .wrap {
    padding: 0 12px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  input[type="text"],
  input[type="url"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari (iPhone) */
    max-width: 100% !important;
  }
}

