/* Dashboard Showcase - Replit-style Product Demos */

.dashboard-showcase {
  position: relative;
  perspective: 1500px;
}

.browser-frame {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.25),
    0 30px 60px -30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-frame:hover {
  transform: translateY(-8px) rotateX(2deg);
}

.browser-frame.tilt-left {
  transform: rotateY(8deg) rotateX(4deg);
}

.browser-frame.tilt-left:hover {
  transform: rotateY(4deg) rotateX(2deg) translateY(-8px);
}

.browser-frame.tilt-right {
  transform: rotateY(-8deg) rotateX(4deg);
}

.browser-frame.tilt-right:hover {
  transform: rotateY(-4deg) rotateX(2deg) translateY(-8px);
}

.browser-header {
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
  display: flex;
  gap: 8px;
}

.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'SF Mono', 'Monaco', monospace;
}

.browser-content {
  background: #0a0a0a;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.dashboard-mockup {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.mockup-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  background: #0f0f0f;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.mockup-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #5D4CDA 0%, #7867E8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.mockup-logo-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: all 0.2s ease;
}

.mockup-nav-item.active {
  background: rgba(93, 76, 218, 0.15);
  color: #a78bfa;
}

.mockup-nav-item i {
  width: 18px;
  font-size: 14px;
}

.mockup-main {
  position: absolute;
  left: 220px;
  top: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  overflow: hidden;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mockup-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.mockup-btn {
  background: linear-gradient(135deg, #5D4CDA 0%, #7867E8 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mockup-cards-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
}

.mockup-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.mockup-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.mockup-stat-change {
  font-size: 11px;
  color: #10b981;
  margin-top: 4px;
}

.mockup-score-display {
  text-align: center;
  padding: 20px;
}

.mockup-score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#5D4CDA 0deg, #7867E8 180deg, rgba(255,255,255,0.1) 180deg, rgba(255,255,255,0.1) 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
}

.mockup-score-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.mockup-score-number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.mockup-score-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  height: 140px;
  position: relative;
  overflow: hidden;
}

.mockup-chart-line {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  height: 60px;
  background: linear-gradient(180deg, rgba(93, 76, 218, 0.3) 0%, transparent 100%);
  clip-path: polygon(0% 100%, 10% 80%, 20% 85%, 35% 50%, 50% 60%, 65% 30%, 80% 40%, 90% 15%, 100% 20%, 100% 100%);
}

.mockup-chart-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #5D4CDA, #7867E8);
  clip-path: polygon(0% 0%, 10% 100%, 20% 85%, 35% 200%, 50% 160%, 65% 240%, 80% 200%, 90% 280%, 100% 260%);
}

.mockup-table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.mockup-table-header {
  display: flex;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-table-cell {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-table-row {
  display: flex;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  align-items: center;
}

.mockup-table-row:last-child {
  border-bottom: none;
}

.mockup-table-row .mockup-table-cell {
  color: rgba(255, 255, 255, 0.7);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.mockup-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.mockup-badge.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.mockup-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.mockup-badge.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.showcase-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(93, 76, 218, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.showcase-glow.top-right {
  top: -100px;
  right: -100px;
}

.showcase-glow.bottom-left {
  bottom: -100px;
  left: -100px;
}

.product-showcase-section {
  padding: 120px 0;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.product-showcase-section.dark {
  background: #000;
  color: #fff;
}

.product-showcase-section.dark .section-title {
  color: #fff;
}

.product-showcase-section.dark .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.showcase-split.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.showcase-split.reverse .showcase-content {
  order: 2;
}

.showcase-split.reverse .showcase-visual {
  order: 1;
}

.showcase-content {
  max-width: 480px;
}

.showcase-content .section-label {
  font-size: 12px;
  font-weight: 600;
  color: #5D4CDA;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.showcase-content .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.showcase-content .section-desc {
  font-size: 1.0625rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 32px;
}

.product-showcase-section.dark .showcase-content .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.showcase-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: #333;
}

.product-showcase-section.dark .showcase-features li {
  color: rgba(255, 255, 255, 0.8);
}

.showcase-features li i {
  color: #5D4CDA;
  margin-top: 4px;
}

.showcase-visual {
  position: relative;
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-top: 32px;
  transition: all 0.2s ease;
}

.showcase-cta:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-2px);
}

.product-showcase-section.dark .showcase-cta {
  background: #fff;
  color: #000;
}

.product-showcase-section.dark .showcase-cta:hover {
  background: #f0f0f0;
  color: #000;
}

.typing-animation {
  display: inline-block;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  animation: typing 3s steps(30, end) infinite, blink 0.75s step-end infinite;
}

@keyframes typing {
  0%, 100% { width: 0; }
  50%, 70% { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(93, 76, 218, 0.3);
  border-radius: inherit;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Animated Cursor & Interactions */
.animated-showcase {
  position: relative;
}

.animated-showcase .dashboard-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.animated-showcase.playing .dashboard-cursor {
  opacity: 1;
}

.cursor-pointer {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 2px rgba(255,255,255,0.8);
  position: relative;
}

.cursor-pointer::after {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(93, 76, 218, 0.5);
  opacity: 0;
  animation: cursor-pulse 1.5s ease-out infinite;
}

.cursor-click {
  animation: cursor-click-anim 0.3s ease-out;
}

@keyframes cursor-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes cursor-click-anim {
  0% { transform: scale(1); }
  50% { transform: scale(0.85); }
  100% { transform: scale(1); }
}

/* Highlight effects for clicked elements */
.mockup-highlight {
  position: relative;
}

.mockup-highlight::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 8px;
  border: 2px solid rgba(93, 76, 218, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mockup-highlight.active::before {
  opacity: 1;
  animation: highlight-pulse 0.6s ease-out;
}

@keyframes highlight-pulse {
  0% { transform: scale(0.95); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Typing animation in inputs */
.mockup-input-animated {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  overflow: hidden;
  white-space: nowrap;
}

.mockup-input-animated .typing-text {
  display: inline-block;
  border-right: 2px solid #5D4CDA;
  animation: blink-caret 0.7s step-end infinite;
}

@keyframes blink-caret {
  50% { border-color: transparent; }
}

/* Score counter animation */
.score-animate {
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-animate.counting .mockup-score-number {
  animation: score-count 2s ease-out forwards;
}

@keyframes score-count {
  0% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Progress bar animation */
.mockup-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}

.mockup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #5D4CDA 0%, #7867E8 50%, #10b981 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-progress-fill.animate {
  width: 78%;
}

/* Chart line animation */
.mockup-chart-line.animate {
  animation: chart-draw 2s ease-out forwards;
}

@keyframes chart-draw {
  0% { clip-path: polygon(0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 0% 100%); }
  100% { clip-path: polygon(0% 100%, 10% 80%, 20% 85%, 35% 50%, 50% 60%, 65% 30%, 80% 40%, 90% 15%, 100% 20%, 100% 100%); }
}

/* Notification animation */
.mockup-notification {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.mockup-notification i {
  font-size: 14px;
}

/* Row highlight animation */
.mockup-table-row.highlight-row {
  animation: row-highlight 0.6s ease-out;
}

@keyframes row-highlight {
  0% { background: transparent; }
  50% { background: rgba(93, 76, 218, 0.15); }
  100% { background: transparent; }
}

/* Animated gradient background for showcase */
.showcase-animated-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(93, 76, 218, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(120, 103, 232, 0.06) 0%, transparent 50%);
  animation: bg-shift 8s ease-in-out infinite;
}

@keyframes bg-shift {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

/* Video-like loop container */
.showcase-video-loop {
  position: relative;
  overflow: hidden;
}

.showcase-video-loop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-video-loop.dark::after {
  opacity: 1;
}

/* Play indicator */
.showcase-play-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.showcase-video-loop:hover .showcase-play-indicator {
  opacity: 1;
}

.play-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: play-blink 1s ease-in-out infinite;
}

@keyframes play-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================
   ADVANCED REPLIT-STYLE ANIMATIONS
   Indie Dashboard Visual Effects
   ============================================ */

/* Floating Orb Elements */
.showcase-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.showcase-orb.purple {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #5D4CDA 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.showcase-orb.blue {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #7867E8 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -3s;
}

.showcase-orb.pink {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  top: 50%;
  right: 20%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
    opacity: 0.3;
  }
  25% { 
    transform: translate(20px, -30px) scale(1.1); 
    opacity: 0.5;
  }
  50% { 
    transform: translate(-10px, 20px) scale(0.95); 
    opacity: 0.4;
  }
  75% { 
    transform: translate(15px, 10px) scale(1.05); 
    opacity: 0.35;
  }
}

/* Animated Grid Background */
.animated-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(93, 76, 218, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 76, 218, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: gridShift 20s linear infinite;
  pointer-events: none;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

/* Gradient Border Animation */
.gradient-border-animated {
  position: relative;
  overflow: hidden;
}

.gradient-border-animated::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #5D4CDA, #7867E8, #ec4899, #5D4CDA);
  background-size: 400% 400%;
  border-radius: inherit;
  z-index: -1;
  animation: gradientRotate 4s ease-in-out infinite;
}

.gradient-border-animated::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #0a0a0a;
  border-radius: inherit;
  z-index: -1;
}

@keyframes gradientRotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Pulse Ring Effect */
.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  border: 1px solid rgba(93, 76, 218, 0.2);
  border-radius: 24px;
  transform: translate(-50%, -50%);
  animation: pulseExpand 3s ease-out infinite;
}

.pulse-ring::after {
  animation-delay: 1.5s;
}

@keyframes pulseExpand {
  0% { 
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  100% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0;
  }
}

/* Data Flow Lines */
.data-flow-line {
  position: absolute;
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #5D4CDA, transparent);
  animation: dataFlow 2s linear infinite;
}

.data-flow-line:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}

.data-flow-line:nth-child(2) {
  left: 40%;
  animation-delay: 0.5s;
}

.data-flow-line:nth-child(3) {
  left: 60%;
  animation-delay: 1s;
}

.data-flow-line:nth-child(4) {
  left: 80%;
  animation-delay: 1.5s;
}

@keyframes dataFlow {
  0% { 
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% { 
    transform: translateY(calc(100vh));
    opacity: 0;
  }
}

/* Score Counter Animation */
.score-counter-animated {
  display: inline-block;
  animation: scoreCount 0.5s ease-out forwards;
}

@keyframes scoreCount {
  0% { 
    transform: translateY(20px);
    opacity: 0;
  }
  100% { 
    transform: translateY(0);
    opacity: 1;
  }
}

/* Card Hover Lift Effect */
.lift-on-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lift-on-hover:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(93, 76, 218, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Shimmer Effect */
.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Typing Cursor Animation */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #5D4CDA;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Stats Pop-in Animation */
.stat-pop-in {
  animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stat-pop-in:nth-child(1) { animation-delay: 0.1s; }
.stat-pop-in:nth-child(2) { animation-delay: 0.2s; }
.stat-pop-in:nth-child(3) { animation-delay: 0.3s; }
.stat-pop-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes popIn {
  0% { 
    transform: scale(0.8);
    opacity: 0;
  }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* Floating Badge Animation */
.floating-badge {
  animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Glow Pulse on Score */
.score-glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(93, 76, 218, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(93, 76, 218, 0.5), 0 0 60px rgba(120, 103, 232, 0.3);
  }
}

/* Animated Progress Bar */
.progress-bar-animated {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress, 75%);
  background: linear-gradient(90deg, #5D4CDA, #7867E8);
  border-radius: 3px;
  animation: progressFill 1.5s ease-out forwards;
}

@keyframes progressFill {
  0% { width: 0; }
  100% { width: var(--progress, 75%); }
}

/* Success Checkmark Animation */
.success-check {
  animation: checkPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes checkPop {
  0% { 
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% { 
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .showcase-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .showcase-split.reverse .showcase-content,
  .showcase-split.reverse .showcase-visual {
    order: unset;
  }
  
  .mockup-sidebar {
    display: none;
  }
  
  .mockup-main {
    left: 0;
  }
  
  .browser-frame.tilt-left,
  .browser-frame.tilt-right {
    transform: none;
  }
  
  .dashboard-cursor {
    display: none;
  }
  
  .showcase-orb {
    display: none;
  }
  
  .pulse-ring {
    display: none;
  }
}
