/* ========================================
   STYLES.CSS — Global Styles, Variables & Resets
   Tailwind CDN handles utility classes.
   This file covers custom components.
   ======================================== */

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

body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, #00fca8 0%, #1cdaff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Glow Utilities ---------- */
.glow-green {
  box-shadow: 0 0 60px rgba(0, 252, 168, 0.15), 0 0 120px rgba(0, 252, 168, 0.05);
}
.glow-border {
  border: 1px solid rgba(0, 252, 168, 0.3);
  box-shadow: 0 0 30px rgba(0, 252, 168, 0.1), inset 0 0 30px rgba(0, 252, 168, 0.03);
}
.glow-border-cyan {
  border: 1px solid rgba(28, 218, 255, 0.3);
  box-shadow: 0 0 30px rgba(28, 218, 255, 0.1), inset 0 0 30px rgba(28, 218, 255, 0.03);
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.glass-strong {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Radial Glow Backgrounds ---------- */
.glow-bg-green {
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(0, 252, 168, 0.08) 0%, transparent 70%);
}
.glow-bg-cyan {
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(28, 218, 255, 0.08) 0%, transparent 70%);
}
.glow-bg-mixed {
  background:
    radial-gradient(ellipse 500px 350px at 20% 50%, rgba(0, 252, 168, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 50%, rgba(28, 218, 255, 0.07) 0%, transparent 70%);
}

/* ---------- Phase Stepper ---------- */
.phase-line {
  background: rgba(255, 255, 255, 0.1);
  transition: background 1s ease;
}
.phase-line.lit {
  background: linear-gradient(180deg, #00fca8 0%, #1cdaff 100%);
}
.phase-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.6s ease;
  flex-shrink: 0;
}
.phase-dot.lit {
  background: #00fca8;
  border-color: #00fca8;
  box-shadow: 0 0 20px rgba(0, 252, 168, 0.5), 0 0 40px rgba(0, 252, 168, 0.2);
}

/* ---------- Video Glow Frame ---------- */
.video-frame {
  border: 1px solid rgba(0, 252, 168, 0.3);
  box-shadow:
    0 0 40px rgba(0, 252, 168, 0.12),
    0 0 80px rgba(28, 218, 255, 0.06),
    inset 0 0 40px rgba(0, 252, 168, 0.03);
}

/* ---------- FAQ Accordion ---------- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.faq-answer.open {
  max-height: 200px;
  opacity: 1;
}

/* ---------- Roadmap Accordion ---------- */
.roadmap-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease 0.05s;
}
.roadmap-details.open {
  max-height: 500px;
  opacity: 1;
}
.roadmap-chevron {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.roadmap-chevron.rotated {
  transform: rotate(180deg);
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(0, 252, 168, 0.3); border-radius: 3px; }

/* ---------- Mockup Styles ---------- */
.mockup-macbook {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 12px 28px;
  position: relative;
}
.mockup-macbook::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.mockup-phone {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  position: relative;
}
.mockup-phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

/* ---------- Noise Texture Overlay ---------- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ---------- Toast Notifications ---------- */
.toast {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 360px;
}
.toast.show { transform: translateX(0); }
.toast.success {
  background: rgba(0, 252, 168, 0.15);
  border: 1px solid rgba(0, 252, 168, 0.3);
  color: #00fca8;
}
.toast.error {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff5050;
}

/* ---------- Spinner ---------- */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #00fca8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Admin Dashboard Utilities ---------- */
.admin-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.3s ease;
}
.admin-card:hover {
  border-color: rgba(0, 252, 168, 0.2);
}
.admin-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}
.admin-input:focus {
  border-color: rgba(0, 252, 168, 0.4);
}
.admin-input::placeholder { color: rgba(255,255,255,0.25); }
.admin-textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s ease;
}
.admin-textarea:focus {
  border-color: rgba(0, 252, 168, 0.4);
}
.admin-textarea::placeholder { color: rgba(255,255,255,0.25); }
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.admin-btn-primary {
  background: linear-gradient(135deg, #00fca8, #1cdaff);
  color: #000;
}
.admin-btn-primary:hover { opacity: 0.85; }
.admin-btn-danger {
  background: rgba(255, 80, 80, 0.15);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff5050;
}
.admin-btn-danger:hover { background: rgba(255, 80, 80, 0.25); }
.admin-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}
.admin-btn-ghost:hover { border-color: rgba(0, 252, 168, 0.3); color: #00fca8; }
.admin-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  appearance: none;
  cursor: pointer;
}
.admin-select:focus { border-color: rgba(0, 252, 168, 0.4); }
.admin-select option { background: #111; color: #fff; }

/* ---------- Dynamic Form Animations ---------- */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dyn-fade-in {
  animation: fadeSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.admin-btn-remove {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.18);
  color: #ff5050;
  opacity: 0.7;
  transition: all 0.25s ease;
}
.admin-btn-remove:hover { opacity: 1; background: rgba(255, 80, 80, 0.18); }
.admin-btn-remove:disabled,
.admin-btn-remove[disabled] {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}
.admin-btn-add {
  background: rgba(0, 252, 168, 0.08);
  border: 1px solid rgba(0, 252, 168, 0.2);
  color: #00fca8;
  transition: all 0.25s ease;
}
.admin-btn-add:hover { background: rgba(0, 252, 168, 0.18); }
.task-empty-state {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-style: italic;
  padding: 8px 0;
}

/* ---------- Apply Form — Progress Bar (Zeigarnik Effect) ---------- */
.apply-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 60;
  overflow: hidden;
}
.apply-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00fca8, #1cdaff, #00fca8);
  background-size: 200% 100%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(0, 252, 168, 0.5), 0 0 4px rgba(28, 218, 255, 0.3);
  position: relative;
  animation: progressShimmer 3s ease-in-out infinite;
}
.apply-progress-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 9px;
  border-radius: 50%;
  background: #00fca8;
  box-shadow: 0 0 12px 4px rgba(0, 252, 168, 0.6), 0 0 24px 8px rgba(0, 252, 168, 0.2);
  animation: progressPulse 2s ease-in-out infinite;
}
@keyframes progressShimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
@keyframes progressPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.7); }
}

/* ---------- Quiz Form — Progress Bar ---------- */
.quiz-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 60;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00fca8, #1cdaff, #00fca8);
  background-size: 200% 100%;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(0, 252, 168, 0.5), 0 0 4px rgba(28, 218, 255, 0.3);
  position: relative;
  animation: progressShimmer 3s ease-in-out infinite;
}
.quiz-progress-fill::after {
  content: '';
  position: absolute;
  right: -2px;
  top: -3px;
  width: 8px;
  height: 9px;
  border-radius: 50%;
  background: #00fca8;
  box-shadow: 0 0 12px 4px rgba(0, 252, 168, 0.6), 0 0 24px 8px rgba(0, 252, 168, 0.2);
  animation: progressPulse 2s ease-in-out infinite;
}

/* ---------- Quiz Form — Step Transitions ---------- */
.quiz-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.quiz-step-active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Admin — Investment Range Badges ---------- */
.invest-badge {
  letter-spacing: 0.02em;
  border: 1px solid;
}
.invest-exploratory {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}
.invest-market {
  color: #1cdaff;
  background: rgba(28, 218, 255, 0.08);
  border-color: rgba(28, 218, 255, 0.25);
}
.invest-scale {
  color: #00fca8;
  background: rgba(0, 252, 168, 0.08);
  border-color: rgba(0, 252, 168, 0.25);
}

/* ---------- Apply Form — Step Transitions ---------- */
.apply-step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.apply-step-active {
  opacity: 1;
  transform: translateY(0);
}
.apply-slide-out {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.apply-slide-in {
  animation: applySlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes applySlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ---------- Apply Form — Glow Button ---------- */
.glow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00fca8, #1cdaff);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: glowPulse 2.5s ease-in-out infinite;
}
.glow-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 252, 168, 0.4), 0 0 48px rgba(0, 252, 168, 0.12); }
  50%      { box-shadow: 0 0 24px rgba(0, 252, 168, 0.6), 0 0 64px rgba(0, 252, 168, 0.2); }
}

/* ---------- Apply Form — Back Button ---------- */
.apply-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}
.apply-btn-back:hover {
  border-color: rgba(0, 252, 168, 0.3);
  color: #00fca8;
}

/* ---------- Apply Form — Radio Cards ---------- */
.apply-radio-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.apply-radio-card:hover {
  border-color: rgba(0, 252, 168, 0.2);
  background: rgba(0, 252, 168, 0.02);
}
.apply-radio-card.selected {
  border-color: rgba(0, 252, 168, 0.4);
  background: rgba(0, 252, 168, 0.05);
}
.apply-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}
.apply-radio-dot.active {
  border-color: #00fca8;
  background: #00fca8;
  box-shadow: 0 0 10px rgba(0, 252, 168, 0.4);
}
.apply-radio-dot.active::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: #000;
  border-radius: 50%;
}

/* ---------- Apply Form — Inputs ---------- */
.apply-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.apply-input:focus {
  border-color: rgba(0, 252, 168, 0.4);
}
.apply-input::placeholder { color: rgba(255, 255, 255, 0.25); }

/* ---------- Apply Form — Textarea ---------- */
.apply-textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.apply-textarea:focus {
  border-color: rgba(0, 252, 168, 0.4);
}
.apply-textarea::placeholder { color: rgba(255, 255, 255, 0.25); }

/* ---------- Apply Form — Tooltip ---------- */
.apply-tooltip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 252, 168, 0.05);
  border: 1px solid rgba(0, 252, 168, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  animation: applySlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.apply-tooltip.hidden {
  display: none;
}

/* ---------- Apply Form — Checkbox ---------- */
.apply-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
}
.apply-checkbox:checked {
  background: #00fca8;
  border-color: #00fca8;
}
.apply-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 6px; height: 10px;
  border: 2px solid #000;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ---------- Quote Analytics — Badges ---------- */
.quote-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.quote-badge-views {
  background: rgba(28, 218, 255, 0.08);
  border: 1px solid rgba(28, 218, 255, 0.15);
  color: #1cdaff;
}
.quote-badge-clicks {
  background: rgba(0, 252, 168, 0.08);
  border: 1px solid rgba(0, 252, 168, 0.15);
  color: #00fca8;
}
.quote-badge-heat {
  background: rgba(255, 159, 67, 0.1);
  border: 1px solid rgba(255, 159, 67, 0.2);
  color: #ff9f43;
  animation: pulse-heat 2s ease-in-out infinite;
}
@keyframes pulse-heat {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ---------- Quote Analytics — Activity Feed ---------- */
.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s ease;
}
.activity-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1cdaff;
  flex-shrink: 0;
}
.activity-dot.recent {
  background: #00fca8;
  box-shadow: 0 0 6px rgba(0, 252, 168, 0.4);
}

/* ---------- Top Performing — Rank Badge ---------- */
.rank-badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.rank-1 { background: rgba(255, 215, 0, 0.12); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.25); }
.rank-2 { background: rgba(192, 192, 192, 0.1); color: #c0c0c0; border: 1px solid rgba(192, 192, 192, 0.2); }
.rank-3 { background: rgba(205, 127, 50, 0.1); color: #cd7f32; border: 1px solid rgba(205, 127, 50, 0.2); }

/* ---------- Leads — Toggle Switch ---------- */
.lead-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.lead-toggle.active {
  background: rgba(0, 252, 168, 0.4);
}
.lead-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.lead-toggle.active::after {
  transform: translateX(18px);
  background: #00fca8;
}

/* ---------- Leads — Card States ---------- */
.lead-card {
  transition: opacity 0.4s ease, border-color 0.3s ease;
}
.lead-card.responded {
  opacity: 0.55;
}
.lead-card.responded:hover {
  opacity: 0.75;
}

/* ---------- Leads — Filter Tabs ---------- */
.lead-filter-btn {
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.lead-filter-btn:hover {
  border-color: rgba(0, 252, 168, 0.2);
  color: rgba(255, 255, 255, 0.8);
}
.lead-filter-btn.active {
  background: rgba(0, 252, 168, 0.1);
  border-color: rgba(0, 252, 168, 0.3);
  color: #00fca8;
}

/* ---------- Leads — Budget Colors ---------- */
.budget-high {
  color: #1cdaff;
  font-weight: 700;
}
.budget-low {
  color: #b8954a;
  font-weight: 600;
  opacity: 0.7;
}

/* ---------- Leads — Responded Check ---------- */
.lead-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 252, 168, 0.15);
  color: #00fca8;
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- Apply Form — File Upload Dropzone ---------- */
.apply-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}
.apply-dropzone:hover,
.apply-dropzone-active {
  border-color: rgba(0, 252, 168, 0.35);
  background: rgba(0, 252, 168, 0.03);
}
.apply-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.apply-file-row:hover {
  border-color: rgba(255, 80, 80, 0.15);
}
.apply-file-remove {
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s ease;
}
.apply-file-remove:hover {
  background: rgba(255, 80, 80, 0.1);
}

/* ---------- Testimonials — Wall of Trust ---------- */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 252, 168, 0.2);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
  border-color: rgba(0, 252, 168, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 252, 168, 0.08), 0 8px 32px rgba(0, 0, 0, 0.3);
}
.testimonial-avatar {
  background: rgba(0, 252, 168, 0.12);
  color: #00fca8;
  border: 1px solid rgba(0, 252, 168, 0.3);
  box-shadow: 0 0 12px rgba(0, 252, 168, 0.15);
}
.testimonial-star {
  color: #00fca8;
  filter: drop-shadow(0 0 3px rgba(0, 252, 168, 0.4));
}
.testimonial-cta {
  color: #00fca8;
  border: 1px solid rgba(0, 252, 168, 0.3);
  background: transparent;
}
.testimonial-cta:hover {
  background: rgba(0, 252, 168, 0.08);
  border-color: rgba(0, 252, 168, 0.5);
  box-shadow: 0 0 20px rgba(0, 252, 168, 0.12);
}

/* ---------- Scroll-Spy Layout Offsets ---------- */
/* 130px = AppBar (56px) + Sticky Bar (~48px) + breathing room */
.scroll-section,
section[id] {
  scroll-margin-top: 130px;
}

/* ---------- Nav — Backdrop Blur ---------- */
#navbar {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ==========================================================
   HERO TIMER CARD — "System Status" Neuromarketing Design
   Nuclear Launch / Stock Market aesthetic.
   Luxury spacing (negative space = perceived value).
   ========================================================== */
.hero-timer-card {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 252, 168, 0.45), rgba(28, 218, 255, 0.3), rgba(0, 252, 168, 0.45));
  background-size: 200% 200%;
  animation: heroGlowShift 4s ease-in-out infinite;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
}
@keyframes heroGlowShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero-timer-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse 500px 250px at 50% 50%, rgba(0, 252, 168, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-timer-inner {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 48px 32px 40px;
  text-align: center;
  overflow: hidden;
}
/* Scanline overlay — terminal aesthetic */
.hero-timer-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 252, 168, 0.015) 2px,
    rgba(0, 252, 168, 0.015) 4px
  );
  pointer-events: none;
  z-index: 0;
}

/* Pulsing status dot — "system live" indicator */
.hero-timer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00fca8;
  box-shadow: 0 0 8px rgba(0, 252, 168, 0.7), 0 0 20px rgba(0, 252, 168, 0.3);
  margin: 0 auto 16px;
  animation: statusDotPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes statusDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(0, 252, 168, 0.7), 0 0 20px rgba(0, 252, 168, 0.3); }
  50%      { opacity: 0.5; box-shadow: 0 0 4px rgba(0, 252, 168, 0.4), 0 0 12px rgba(0, 252, 168, 0.15); }
}

.hero-timer-title {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 252, 168, 0.7);
  margin-bottom: 16px;
}

/* Hook — Privilege description for fast decision-makers */
.hero-timer-hook {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

/* Digit blocks — large & spaced for "data terminal" feel */
.hero-timer-digits {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-digit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-digit {
  font-family: 'Courier New', 'SF Mono', 'Fira Code', monospace;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #00fca8;
  text-shadow: 0 0 28px rgba(0, 252, 168, 0.6), 0 0 56px rgba(0, 252, 168, 0.15);
  line-height: 1;
  min-width: 80px;
  padding: 12px 6px;
  border-radius: 10px;
  background: rgba(0, 252, 168, 0.03);
  border: 1px solid rgba(0, 252, 168, 0.08);
}
.hero-digit-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}
.hero-digit-sep {
  font-family: 'Courier New', monospace;
  font-size: 36px;
  font-weight: 900;
  color: rgba(0, 252, 168, 0.3);
  line-height: 1;
  margin-bottom: 22px;
}

/* Seconds pulse animation */
.scarcity-seconds-pulse {
  animation: secondsPulse 1s ease-in-out infinite;
}
@keyframes secondsPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* Dynamic Reframing Block — "With these savings, you can:" */
.hero-timer-reframing {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(0, 252, 168, 0.03);
  border: 1px solid rgba(0, 252, 168, 0.08);
}
.hero-reframing-prefix {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.hero-reframing-message {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 10px;
}
.hero-reframing-value {
  font-size: 22px;
  font-weight: 800;
  color: #00fca8;
  text-shadow: 0 0 16px rgba(0, 252, 168, 0.3);
  line-height: 1;
}
.hero-reframing-value-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-shadow: none;
}

/* Pro-rated disclaimer — micro-text */
.hero-timer-disclaimer {
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.5;
  letter-spacing: 0.01em;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing card footnote */
.pricing-footnote {
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* Urgent state: red glow border */
.hero-timer-urgent {
  background: linear-gradient(135deg, rgba(255, 62, 62, 0.55), rgba(255, 100, 62, 0.35), rgba(255, 62, 62, 0.55)) !important;
}
.hero-timer-urgent .hero-timer-status-dot {
  background: #ff3e3e;
  box-shadow: 0 0 8px rgba(255, 62, 62, 0.7), 0 0 20px rgba(255, 62, 62, 0.3);
}

/* Expired state: collapse */
.hero-timer-expired {
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.6s ease, padding 0.8s ease, margin 0.8s ease;
}

/* Responsive: full-width on mobile */
@media (max-width: 640px) {
  .hero-timer-card {
    margin-left: -24px;
    margin-right: -24px;
    border-radius: 0;
    max-width: none;
  }
  .hero-timer-inner {
    border-radius: 0;
    padding: 36px 20px 32px;
  }
  .hero-digit {
    font-size: 38px;
    min-width: 60px;
    padding: 10px 4px;
  }
  .hero-digit-sep {
    font-size: 28px;
  }
  .hero-timer-cta {
    width: 100%;
    padding: 16px 24px;
  }
}

/* ==========================================================
   STICKY SCARCITY BAR — High-Conversion Three-Pillar Layout
   LEFT: Opportunity  |  CENTER: Scarcity  |  RIGHT: Action
   ========================================================== */
.sticky-scarcity-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 90;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  /* Scroll-driven morph — JS controls opacity/transform per frame */
  will-change: transform, opacity;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  /* Mobile constraint: never exceed 15% of viewport height */
  max-height: 15vh;
  overflow: hidden;
}

/* ── Animated glowing bottom border ─────────────────────── */
.sticky-bar-glow-border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 252, 168, 0.6) 30%,
    rgba(255, 190, 60, 0.5) 60%,
    rgba(0, 252, 168, 0.6) 85%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: stickyGlowSweep 8s linear infinite;
}
@keyframes stickyGlowSweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ── Inner grid: three pillars ──────────────────────────── */
.sticky-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── LEFT: The Opportunity ──────────────────────────────── */
.sticky-bar-opportunity {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}
.sticky-bar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00fca8;
  box-shadow: 0 0 8px rgba(0, 252, 168, 0.7);
  flex-shrink: 0;
  animation: statusDotPulse 2s ease-in-out infinite;
}
.sticky-bar-opp-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sticky-bar-opp-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-bar-opp-sub {
  font-size: 10px;
  font-weight: 500;
  color: rgba(0, 252, 168, 0.7);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ── CENTER: The Scarcity ───────────────────────────────── */
.sticky-bar-scarcity {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sticky-bar-scarcity-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.sticky-bar-timer {
  font-family: 'Courier New', 'SF Mono', 'Fira Code', monospace;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffbe3c;
  text-shadow: 0 0 14px rgba(255, 190, 60, 0.5), 0 0 30px rgba(255, 190, 60, 0.15);
  line-height: 1;
  animation: stickyTimerPulse 2s ease-in-out infinite;
}
@keyframes stickyTimerPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.75; }
}

/* ── RIGHT: The Path to Action ──────────────────────────── */
.sticky-bar-action {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sticky-bar-price-tag {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.sticky-bar-price-unit {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.03em;
}
.sticky-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00fca8, #00d48e);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.3s ease, transform 0.15s ease;
  box-shadow: 0 0 12px rgba(0, 252, 168, 0.3);
}
.sticky-bar-cta:hover {
  box-shadow: 0 0 20px rgba(0, 252, 168, 0.5);
  transform: translateY(-1px);
}
.sticky-bar-cta:active {
  transform: translateY(0);
}
.sticky-bar-cta-icon {
  width: 12px;
  height: 12px;
}

/* ── Responsive: mobile (<768px) ────────────────────────── */
@media (max-width: 767px) {
  .sticky-scarcity-bar {
    max-height: none;
    overflow: visible;
  }
  .sticky-bar-opportunity {
    display: none;
  }
  .sticky-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    padding: 6px 12px;
  }
  .sticky-bar-scarcity {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }
  .sticky-bar-scarcity-label {
    font-size: 8px;
  }
  .sticky-bar-timer {
    font-size: 17px;
    letter-spacing: 1.5px;
  }
  .sticky-bar-action {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  .sticky-bar-price-tag {
    font-size: 13px;
  }
  .sticky-bar-cta {
    padding: 5px 12px;
    font-size: 10px;
  }
}

/* ==========================================================
   SHARED SCARCITY ANIMATIONS
   ========================================================== */

/* Heartbeat animation */
.scarcity-heartbeat {
  animation: scarcityHeartbeat 1s ease-in-out infinite;
}
@keyframes scarcityHeartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Urgent mode: < 10 minutes — flickering red */
.scarcity-urgent .hero-digit,
.scarcity-urgent.sticky-bar-timer {
  color: #ff3e3e !important;
  text-shadow: 0 0 20px rgba(255, 62, 62, 0.8), 0 0 40px rgba(255, 62, 62, 0.3) !important;
  animation: scarcityFlicker 0.5s ease-in-out infinite !important;
}
.scarcity-urgent .hero-digit-sep {
  color: rgba(255, 62, 62, 0.5) !important;
}
/* Urgent sticky bar dot */
.scarcity-urgent ~ .sticky-bar-dot,
.sticky-scarcity-bar:has(.scarcity-urgent) .sticky-bar-dot {
  background: #ff3e3e;
  box-shadow: 0 0 6px rgba(255, 62, 62, 0.6);
}
@keyframes scarcityFlicker {
  0%, 100% { opacity: 1; }
  25% { opacity: 0.7; }
  50% { opacity: 1; }
  75% { opacity: 0.8; }
}

/* Expired timer text */
.scarcity-expired-text .hero-digit,
.scarcity-expired-text {
  color: rgba(255, 255, 255, 0.3) !important;
  text-shadow: none !important;
  animation: none !important;
}

/* ---------- Ghost Price — Deeply Muted Anchor (Isolating Effect) ---------- */
.ghost-price {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.15);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
}

/* ---------- Promo Price — Emerald Success Glow ---------- */
.promo-price-glow {
  background: linear-gradient(135deg, #00fca8 0%, #34d399 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0, 252, 168, 0.35));
}

/* ---------- Price Fade Transitions ---------- */
.price-fade-out {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.price-fade-in {
  animation: priceFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes priceFadeIn {
  from { opacity: 0; transform: scale(1.08); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Promo Expired Badge ---------- */
.promo-expired-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 8px;
  background: rgba(255, 62, 62, 0.1);
  border: 1px solid rgba(255, 62, 62, 0.25);
  color: #ff3e3e;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-fade-in {
  animation: badgeFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes badgeFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Admin Promo Badge ---------- */
.promo-status-active {
  color: #00fca8;
  background: rgba(0, 252, 168, 0.08);
  border: 1px solid rgba(0, 252, 168, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.promo-status-expired {
  color: #ff3e3e;
  background: rgba(255, 62, 62, 0.08);
  border: 1px solid rgba(255, 62, 62, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}
.promo-status-none {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

/* ---------- Admin Reframing Preview ---------- */
.reframing-preview {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(28, 218, 255, 0.04);
  border: 1px solid rgba(28, 218, 255, 0.15);
  margin-top: 12px;
  transition: all 0.3s ease;
}
.reframing-preview-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1cdaff;
  font-weight: 700;
  margin-bottom: 6px;
}
.reframing-preview-msg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.reframing-preview-savings {
  font-size: 20px;
  font-weight: 800;
  color: #00fca8;
  margin-bottom: 4px;
}

/* ==========================================================
   VISUAL PROOF — ENGINE ROOM (Bento Grid)
   ========================================================== */

/* ── Bento Grid Layout ─────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-cell-wide {
    grid-column: span 2;
  }
}

/* ── Bento Cell ────────────────────────────────────────── */
.bento-cell {
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-cell:hover {
  background: linear-gradient(135deg, rgba(0,252,168,0.15), rgba(28,218,255,0.08));
}
.bento-cell-inner {
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 28px 24px;
  height: 100%;
  overflow: hidden;
}
.bento-visual {
  max-height: 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bento-cell-wide .bento-visual {
  max-height: 100px;
}

/* ── Contribution Graph Animation ──────────────────────── */
.contribution-cell {
  animation: cellFadeIn 0.6s ease forwards;
  opacity: 0;
}
@keyframes cellFadeIn {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: var(--final-opacity, 0.04); transform: scale(1); }
}
.contribution-graph rect {
  transition: filter 0.4s ease;
}
.bento-cell:hover .contribution-graph rect {
  filter: brightness(1.3) drop-shadow(0 0 2px rgba(57, 211, 83, 0.4));
}

/* ── Isometric Architecture Animation ──────────────────── */
.iso-block {
  animation: isoFloat 3s ease-in-out infinite;
}
@keyframes isoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
.iso-line {
  animation: isoDash 4s linear infinite;
}
@keyframes isoDash {
  to { stroke-dashoffset: -24; }
}
.iso-label {
  animation: isoLabelPulse 3s ease-in-out infinite;
}
@keyframes isoLabelPulse {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

/* ── Data Flow Animation ───────────────────────────────── */
.flow-path {
  animation: flowDash 6s linear infinite;
}
@keyframes flowDash {
  to { stroke-dashoffset: -48; }
}
.flow-node {
  animation: flowNodePulse 3s ease-in-out infinite;
}
@keyframes flowNodePulse {
  0%, 100% { opacity: 0.6; transform-origin: center; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}
.flow-node-core {
  animation: flowCorePulse 2s ease-in-out infinite;
}
@keyframes flowCorePulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}
.flow-shield {
  animation: shieldPulse 2.5s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.7; }
}

/* ==========================================================
   VISUAL PROOF — STOREFRONT (Fading Phone Gallery)
   ========================================================== */

/* ── Gallery Wrapper ───────────────────────────────────── */
.storefront-gallery-wrap {
  position: relative;
  overflow: hidden;
}
.storefront-gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.storefront-gallery::-webkit-scrollbar {
  display: none;
}

/* ── Horizontal Fade Masks ─────────────────────────────── */
.storefront-fade-left,
.storefront-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.storefront-fade-left {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}
.storefront-fade-right {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

/* ── Phone Mockup ──────────────────────────────────────── */
.storefront-phone {
  width: 140px;
  min-width: 140px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  cursor: pointer;
  text-decoration: none;
}
.storefront-phone:hover {
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(0, 252, 168, 0.3));
}
.storefront-phone:hover .storefront-phone-frame {
  border-color: rgba(0, 252, 168, 0.25);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(0, 252, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.storefront-phone-frame {
  position: relative;
  background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 8px 6px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.storefront-phone-notch {
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto 6px;
}
.storefront-phone-screen {
  border-radius: 14px;
  aspect-ratio: 9 / 17;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  background: #0a0a0a;
}
.storefront-phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.storefront-phone-label {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}
.storefront-phone:hover .storefront-phone-label {
  color: #00fca8;
}

/* ── Storefront CTA ────────────────────────────────────── */
.storefront-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00fca8, #1cdaff);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 24px rgba(0, 252, 168, 0.3), 0 0 60px rgba(0, 252, 168, 0.1);
}
.storefront-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 252, 168, 0.5), 0 0 80px rgba(0, 252, 168, 0.15);
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 640px) {
  .storefront-phone {
    width: 120px;
    min-width: 120px;
  }
  .storefront-gallery {
    padding: 12px 24px;
    gap: 14px;
  }
  .storefront-fade-left,
  .storefront-fade-right {
    width: 48px;
  }
  .bento-cell-inner {
    padding: 20px 16px;
  }
  .storefront-cta {
    padding: 14px 28px;
    font-size: 14px;
  }
}

/* ---------- Page Transition ---------- */
#app {
  opacity: 1;
  transition: opacity 0.25s ease;
}
#app.fade-out { opacity: 0; }
