/* GenResurs Premium Public Showcase Stylesheet
 * Unified Authentic Gold-Glass Design System
 */
:root {
  --lp-bg: #08090d;
  --lp-surface: #0e121a;
  --lp-elevated: #161b24;
  --lp-card: #121620;
  --lp-border: rgba(225, 222, 231, 0.12);
  --lp-border-hover: rgba(255, 231, 53, 0.4);
  --lp-gold: #ffdc00;
  --lp-gold-bright: #fff044;
  --lp-gold-accent: #ffe735;
  --lp-gold-glow: rgba(255, 220, 0, 0.2);
  --lp-text: #f4f3f5;
  --lp-text-muted: #9fb8dc;
  --lp-text-dim: #6b7280;
  --lp-emerald: #10b981;
  --laser-angle: 0deg;
}

@property --laser-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes reference-laser-trace {
  0% {
    --laser-angle: 0deg;
  }
  100% {
    --laser-angle: 360deg;
  }
}

#app-landing {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--lp-bg);
  color: var(--lp-text);
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Static ambient background glow */
.lp-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 620px;
  background: radial-gradient(circle at 50% 15%, rgba(255, 220, 0, 0.08) 0%, rgba(255, 220, 0, 0.015) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.lp-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Authentic Smoked Glass Card with Edge Laser Trace */
.lp-chamfer-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(22, 27, 36, 0.72) 0%, rgba(13, 17, 23, 0.88) 100%);
  border: 1px solid rgba(225, 222, 231, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.lp-chamfer-card:hover {
  border-color: rgba(255, 231, 53, 0.42);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 220, 0, 0.12);
  transform: translateY(-2px);
}

/* Edge effect: animated laser trace along card edges */
.lp-chamfer-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--laser-angle, 0deg) at 50% 50%,
    transparent 0deg,
    transparent 315deg,
    rgba(255, 255, 255, 0.10) 322deg,
    rgba(255, 255, 255, 0.38) 332deg,
    rgba(255, 220, 0, 0.95) 342deg,
    rgba(255, 255, 255, 0.20) 350deg,
    transparent 352deg,
    transparent 360deg
  );
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: reference-laser-trace 8s linear infinite;
  pointer-events: none;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.lp-chamfer-card:hover::before {
  opacity: 1;
  animation-duration: 4.5s;
}

/* Chamfer cut corners */
.lp-chamfer-cut {
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* Authentic Gold CTA button (Matches Auth Modal Gradient) */
.lp-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(110deg, #fff044 0%, #ffdc00 100%);
  color: #10191c;
  box-shadow: 0 4px 18px rgba(255, 220, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 240, 68, 0.45);
  text-decoration: none;
}

.lp-btn-gold:hover {
  background: linear-gradient(110deg, #ffffff 0%, #fff044 50%, #ffdc00 100%);
  box-shadow: 0 6px 26px rgba(255, 220, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  color: #10191c;
}

.lp-btn-gold:active {
  transform: translateY(0);
}

/* Secondary outline button */
.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  background: rgba(22, 27, 36, 0.6);
  color: #f4f3f5;
  border: 1px solid rgba(225, 222, 231, 0.16);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.lp-btn-outline:hover {
  border-color: rgba(255, 231, 53, 0.4);
  background: rgba(30, 36, 48, 0.85);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Navigation Links */
.lp-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9fb8dc;
  transition: color 0.18s ease;
  text-decoration: none;
}

.lp-nav-link:hover {
  color: #ffffff;
}

/* Hero Showcase Frame */
.lp-showcase-frame {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(20, 24, 33, 0.8) 0%, rgba(11, 14, 20, 0.95) 100%);
  border: 1px solid rgba(225, 222, 231, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 220, 0, 0.08);
  overflow: hidden;
}

.lp-showcase-frame::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--laser-angle, 0deg) at 50% 50%,
    transparent 0deg,
    transparent 320deg,
    rgba(255, 255, 255, 0.12) 325deg,
    rgba(255, 255, 255, 0.40) 334deg,
    rgba(255, 220, 0, 0.95) 342deg,
    rgba(255, 255, 255, 0.22) 350deg,
    transparent 352deg,
    transparent 360deg
  );
  mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box exclude, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: reference-laser-trace 9s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

.lp-showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 18, 25, 0.92);
  border-bottom: 1px solid rgba(225, 222, 231, 0.08);
}

/* Chat Bubbles */
.lp-bubble-in {
  background: #171d28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  padding: 0.65rem 0.85rem;
  border-radius: 12px 12px 12px 2px;
  font-size: 0.8125rem;
  max-width: 88%;
  line-height: 1.4;
}

.lp-bubble-out {
  background: #005c4b;
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  border-radius: 12px 12px 2px 12px;
  font-size: 0.8125rem;
  max-width: 88%;
  margin-left: auto;
  line-height: 1.4;
}

/* Pulse animation dot */
.lp-dot-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: lp-pulse 2s infinite;
}

@keyframes lp-pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* FAQ Item styling */
.lp-faq-item {
  border: 1px solid rgba(225, 222, 231, 0.10);
  background: linear-gradient(145deg, rgba(22, 27, 36, 0.65) 0%, rgba(13, 17, 23, 0.8) 100%);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.lp-faq-item:hover {
  border-color: rgba(255, 231, 53, 0.35);
}

.lp-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f4f3f5;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

.lp-faq-btn:hover {
  color: #ffe735;
}

.lp-faq-content {
  padding: 0 1.4rem 1.25rem 1.4rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9fb8dc;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.9rem;
}

/* Tariff Banner in Hero */
.lp-hero-tariff-banner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.55rem 1.2rem;
  border-radius: 9999px;
  background: rgba(22, 27, 36, 0.85);
  border: 1px solid rgba(255, 220, 0, 0.32);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 220, 0, 0.08);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.lp-hero-tariff-free {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffe735;
  letter-spacing: 0.01em;
}

.lp-hero-tariff-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.lp-hero-tariff-price {
  font-weight: 600;
  font-size: 0.875rem;
  color: #f4f3f5;
}

.lp-hero-tariff-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  letter-spacing: 0.03em;
}

/* Calculator Styles */
.lp-calc-card {
  background: linear-gradient(145deg, rgba(22, 27, 36, 0.85) 0%, rgba(13, 17, 23, 0.95) 100%);
  border: 1px solid rgba(255, 220, 0, 0.35);
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 220, 0, 0.12);
  padding: 2rem;
}

.lp-calc-pill {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  background: rgba(22, 27, 36, 0.9);
  color: #9fb8dc;
  border: 1px solid rgba(225, 222, 231, 0.14);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-calc-pill:hover {
  border-color: rgba(255, 231, 53, 0.4);
  color: #ffffff;
}

.lp-calc-pill.active {
  background: linear-gradient(110deg, #fff044 0%, #ffdc00 100%);
  color: #10191c;
  border-color: rgba(255, 240, 68, 0.5);
  box-shadow: 0 2px 10px rgba(255, 220, 0, 0.25);
}

/* Demo Tab Switcher */
.lp-demo-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #9fb8dc;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.lp-demo-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.lp-demo-tab-btn.active {
  background: rgba(22, 27, 36, 0.95);
  color: #ffe735;
  border: 1px solid rgba(255, 220, 0, 0.35);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .lp-chamfer-card::before,
  .lp-showcase-frame::before {
    animation: none !important;
    opacity: 0.35 !important;
  }
  .lp-dot-pulse {
    animation: none !important;
  }
  * {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* B2B Clean Background & Hero Normalization (Resolve Auditor Feedback) */
#app-landing {
  background-color: #08090d !important;
  position: relative;
  z-index: 20;
}

#app-landing #hero {
  margin-top: 0 !important;
}

/* Hide matrix digital rain canvas to avoid visual clutter on landing page */
#gold-matrix-canvas {
  display: none !important;
}

