/* ==========================================================================
   SEOPRISM.IN - $5,000 SaaS DESIGN SYSTEM STYLESHEET
   Refined luxury gradients, glassmorphism, micro-interactions, mobile polish
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --surface-dark: #0f172a;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-glass-dark: rgba(15, 23, 42, 0.75);
  --border-glass: rgba(255, 255, 255, 0.22);
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Luxury Glow and Gradients */
.glow-primary {
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.4);
}

.glow-gold {
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, rgba(248, 250, 252, 0) 70%);
}

.bg-dark-radial {
  background: radial-gradient(circle at 50% -20%, rgba(124, 58, 237, 0.25) 0%, rgba(15, 23, 42, 1) 75%);
}

/* Animated Shimmer for Loading & AI Generation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-loading {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Pulse Glow Keyframes */
@keyframes pulseSlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.95; }
}

.pulse-cta {
  animation: pulseSlow 3s ease-in-out infinite;
}

/* Star Rating Animation & Touch Optimization */
.star-btn {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.star-btn:hover, .star-btn:active {
  transform: scale(1.22);
}

/* Review Option Selection Radio Card (Stable 2px border, zero layout jump) */
.review-choice-card {
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
}

.review-choice-card:hover {
  border-color: #a5b4fc;
  box-shadow: 0 8px 18px -4px rgba(79, 70, 229, 0.08);
}

.review-choice-card.selected {
  border-color: #4f46e5 !important;
  background-color: #f5f3ff !important;
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.15) !important;
}

/* Indian Language Chip */
.lang-chip {
  transition: all 0.15s ease;
}
.lang-chip.active {
  background-color: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Toast Notification */
#toastNotification {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  transform: translate(-50%, 100%);
  opacity: 0;
  pointer-events: none;
}

#toastNotification.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ==========================================================================
   3D TABLETOP ACRYLIC STAND DESIGNER & PRINT ENGINE
   Photorealistic acrylic glass reflections, 3D bases, and 4"x6"/A6 print rules
   ========================================================================== */

.stand-stage {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: radial-gradient(65% 50% at 50% 0%, rgba(79, 70, 229, 0.08), transparent 70%),
              radial-gradient(50% 40% at 90% 20%, rgba(6, 182, 212, 0.07), transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 1px 0 #ffffff, 0 24px 50px -25px rgba(15, 23, 42, 0.18);
  padding: 2.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stand-wrap {
  position: relative;
  max-width: 330px;
  width: 100%;
  margin: 0 auto;
  perspective: 1000px;
}

.stand-card {
  --st-bg: #ffffff;
  --st-fg: #0f172a;
  --st-mut: #4f46e5;
  --st-mut2: #6366f1;
  --st-line: #e2e8f0;
  --st-surface: #f8fafc;
  --st-border: #cbd5e1;
  --st-tagbg: rgba(79, 70, 229, 0.08);
  --st-tagfg: #4338ca;
  --st-tagbd: rgba(79, 70, 229, 0.22);
  --st-scanfg: #475569;
  --st-glow: rgba(79, 70, 229, 0.2);

  position: relative;
  border-radius: 24px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--st-bg);
  color: var(--st-fg);
  border: 1.5px solid var(--st-border);
  box-shadow: 0 35px 65px -30px rgba(15, 23, 42, 0.28), 
              0 0 0 1px rgba(255, 255, 255, 0.95) inset, 
              0 2px 4px rgba(255, 255, 255, 1) inset;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  min-height: 480px;
}

.stand-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--st-mut), var(--st-mut2), transparent);
}

.stand-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 22%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.18) 100%);
  z-index: 5;
}

/* Stand Themes */
.stand-card[data-theme="indigo"] {
  --st-bg: #0f0d2e;
  --st-fg: #ffffff;
  --st-mut: #a5b4fc;
  --st-mut2: #22d3ee;
  --st-line: rgba(165, 180, 252, 0.22);
  --st-surface: rgba(255, 255, 255, 0.06);
  --st-border: rgba(165, 180, 252, 0.3);
  --st-tagbg: rgba(165, 180, 252, 0.14);
  --st-tagfg: #ddd6fe;
  --st-tagbd: rgba(165, 180, 252, 0.34);
  --st-scanfg: #cbd5e1;
  --st-glow: rgba(99, 102, 241, 0.45);
  box-shadow: 0 35px 65px -30px rgba(15, 23, 42, 0.6), 0 0 50px -15px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.stand-card[data-theme="emerald"] {
  --st-bg: #064e3b;
  --st-fg: #ffffff;
  --st-mut: #34d399;
  --st-mut2: #fbbf24;
  --st-line: rgba(52, 211, 153, 0.22);
  --st-surface: rgba(255, 255, 255, 0.07);
  --st-border: rgba(52, 211, 153, 0.32);
  --st-tagbg: rgba(52, 211, 153, 0.14);
  --st-tagfg: #a7f3d0;
  --st-tagbd: rgba(52, 211, 153, 0.3);
  --st-scanfg: #d1fae5;
  --st-glow: rgba(52, 211, 153, 0.35);
  box-shadow: 0 35px 65px -30px rgba(6, 78, 59, 0.6), 0 0 50px -15px rgba(52, 211, 153, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.stand-card[data-theme="onyx"] {
  --st-bg: #0b0d12;
  --st-fg: #ffffff;
  --st-mut: #f59e0b;
  --st-mut2: #d97706;
  --st-line: rgba(245, 158, 11, 0.22);
  --st-surface: rgba(255, 255, 255, 0.06);
  --st-border: rgba(245, 158, 11, 0.3);
  --st-tagbg: rgba(245, 158, 11, 0.12);
  --st-tagfg: #fde68a;
  --st-tagbd: rgba(245, 158, 11, 0.3);
  --st-scanfg: #e2e8f0;
  --st-glow: rgba(245, 158, 11, 0.4);
  box-shadow: 0 35px 65px -30px rgba(0, 0, 0, 0.7), 0 0 50px -15px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

/* 3D Acrylic Bases */
.stand-base-container {
  width: 92%;
  margin: -10px auto 0;
  position: relative;
  z-index: 1;
}

.stand-base {
  height: 26px;
  border-radius: 8px 8px 12px 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.stand-base-slot {
  width: 78%;
  height: 3px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 99px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.85);
}

.base-walnut {
  background: linear-gradient(180deg, #452b1b 0%, #2f1c11 50%, #1a0f08 100%);
  box-shadow: 0 18px 30px -8px rgba(15, 23, 42, 0.5), 0 1px 2px rgba(255, 255, 255, 0.15) inset;
}

.base-oak {
  background: linear-gradient(180deg, #e3cbb0 0%, #c4a57d 50%, #9e7f55 100%);
  box-shadow: 0 18px 30px -8px rgba(15, 23, 42, 0.28), 0 1px 2px rgba(255, 255, 255, 0.4) inset;
}

.base-brass {
  background: linear-gradient(180deg, #f7e7b4 0%, #d4af37 50%, #a6841c 100%);
  box-shadow: 0 18px 30px -8px rgba(160, 120, 20, 0.4), 0 1px 2px rgba(255, 255, 255, 0.55) inset;
}

.base-crystal {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.65) 50%, rgba(210, 210, 210, 0.85));
  box-shadow: 0 18px 30px -8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Stand Elements */
.stand-qr-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 12px;
  display: inline-block;
  margin: 0 auto;
  border: 2px solid #e2e8f0;
  box-shadow: 0 14px 28px -12px rgba(15, 23, 42, 0.16);
}

#standeeQrCanvas canvas,
#standeeDualQr1 canvas,
#standeeDualQr2 canvas,
#rawQrCanvas canvas,
#heroQrCanvas canvas,
#modalQrCanvas canvas {
  display: block !important;
  margin: 0 auto !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}

#standeeQrCanvas img,
#standeeDualQr1 img,
#standeeDualQr2 img,
#rawQrCanvas img,
#heroQrCanvas img,
#modalQrCanvas img {
  margin: 0 auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: pixelated;
}

.stand-badge-capsule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 99px;
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  margin: 0 auto;
  max-width: 250px;
  justify-content: center;
}

/* High-DPI Tabletop Standee Print Styles (A6 / 4" x 6") */
@media print {
  @page {
    size: 4in 6in;
    margin: 0;
  }
  
  html, body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  body * {
    visibility: hidden;
  }

  .no-print,
  .topbar,
  header,
  footer,
  #toastNotification,
  .stand-stage,
  .stand-base-container,
  .stand-glare {
    display: none !important;
  }

  #printableStandCard,
  #printableStandCard * {
    visibility: visible;
  }

  #printableStandCard {
    position: fixed;
    top: 0;
    left: 0;
    width: 4in !important;
    height: 6in !important;
    max-width: 4in !important;
    min-height: 6in !important;
    margin: 0 !important;
    padding: 0.35in 0.3in !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    border: 1px dashed #cbd5e1 !important;
    box-shadow: none !important;
    background: var(--st-bg, #ffffff) !important;
    color: var(--st-fg, #0f172a) !important;
    page-break-after: always;
    page-break-inside: avoid;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  #printableStandCard::after {
    display: none !important;
  }
}

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

.animate-fade-in {
  animation: fadeInCard 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

