/* landing.css - High-End Obsidian & Platinum Minimalist VStock Theme */
:root {
  --bg-deep: #08090D;
  --bg-surface: #0E1017;
  --bg-elevated: #141722;
  --text-primary: #FFFFFF;
  --text-secondary: #9CA3AF;
  --text-dim: #6B7280;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(255, 255, 255, 0.25);
  --accent-primary: #FFFFFF;
  --accent-silver: #E5E7EB;
  --accent-glow: rgba(255, 255, 255, 0.06);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

body.minimal-theme {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Base Utility & Grid */
.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 64px;
}

/* Navigation — Floating Ultra-Glass Bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  background: rgba(8, 9, 13, 0.75);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent
  );
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.brand-name .brand-cn {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  transition: width 0.25s ease, left 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Button Styles — High-End Monochromatic Craftsmanship */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  position: relative;
  color: #08090D;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.btn-primary:hover {
  background: #E5E7EB;
  border-color: #E5E7EB;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
  gap: 10px;
  border-radius: 10px;
}

/* Reveal Animation */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* Add position relative for canvas positioning */
}

/* Background Canvas */
.hero-background-canvas {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
  /* place behind content */
  pointer-events: none;
  /* Let clicks pass through to content */
  opacity: 1;
  /* Full opacity for immersive effect */
}


.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-app-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-app-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.hero-visual-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 0;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 14px #60a5fa; }
  100% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px 0;
  line-height: 1.18;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 0 32px 0;
  line-height: 1.7;
  text-align: left;
  font-weight: 400;
}

.hero-disclaimer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 16px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.disclaimer-alert {
  color: #F87171;
  font-weight: 700;
}

/* Hero QR Code Download Card */
.hero-qr-card {
  width: 320px;
  background: rgba(14, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero-qr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.qr-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qr-card-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.qr-card-titles {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.qr-card-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.qr-card-sub {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.qr-card-footer {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Ambient bottom glow trailing the card */
.iphone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-text-column {
    align-items: center;
    text-align: center;
  }
  
  .hero-title, .hero-subtitle {
    text-align: center;
  }
  
  .hero-cta {
    align-self: center;
  }

  .desktop-only {
    display: none;
  }
  
  .iphone-mockup {
    transform: none;
  }
}

/* Features / Bento Grid */
.features-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 12px 0;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: border-color var(--transition-smooth);
}

.bento-card:hover {
  border-color: var(--border-strong);
}

.card-large {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 12px 0;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Three-Pillar Feature Grid */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  background: rgba(14, 16, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Ambient bottom glow */
.pillar-ambient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.3;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 70%);
  filter: blur(50px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.9);
  pointer-events: none;
}

.pillar-card:hover .pillar-ambient {
  opacity: 0.7;
  transform: scale(1.05);
}

/* Inner content */
.card-inner {
  position: relative;
  z-index: 1;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

/* Watermark Numeral */
.card-numeral {
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

.pillar-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  color: #FFFFFF;
}

.pillar-card:hover .pillar-icon-wrap {
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.3);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.pillar-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 28px 0;
}

/* Glass Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.glass-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.pillar-card:hover .glass-tag {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.glass-tag:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Mini Dashboard Toolbox inside Pillar Card */
.toolbox-showcase {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.toolbox-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.pillar-card:hover .toolbox-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.toolbox-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.toolbox-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toolbox-badge {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.toolbox-bar-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toolbox-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.toolbox-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
}

.toolbox-bar-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.toolbox-tags-mini {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.toolbox-tags-mini span {
  font-size: 0.75rem;
  padding: 2px 7px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.pillar-card:hover .toolbox-tags-mini span {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
}

.toolbox-desc-mini {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0 120px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  position: relative;
}

/* Update .pricing-card */
.pricing-card {
  background: linear-gradient(145deg, rgba(16, 18, 25, 0.85) 0%, rgba(10, 11, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 900px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Ambient Pro Glow */
.pricing-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%; 
  width: 50%; 
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-20deg);
  animation: pricing-sweep 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pricing-sweep {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

.pricing-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.pricing-info {
  flex: 1;
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 0%, #B0B7C3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 40px 0;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-text strong {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-text span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.pricing-qr-block {
  flex-shrink: 0;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.6);
  position: relative;
  box-sizing: border-box;
}

.qr-code-box {
  position: relative;
  width: 160px;
  height: 160px;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  box-sizing: border-box;
}

.pro-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  animation: scan 3s ease-in-out infinite;
  opacity: 0.85;
}

@keyframes scan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; height: 3px; }
  85% { opacity: 1; height: 3px; }
  100% { top: 100%; opacity: 0; }
}

.qr-corners {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  pointer-events: none;
}
.qr-corners::before, .qr-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}
.qr-corners::before {
  top: -2px; left: -2px;
  border-right: none;
  border-bottom: none;
}
.qr-corners::after {
  bottom: -2px; right: -2px;
  border-left: none;
  border-top: none;
}

.qr-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-icon-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

.qr-subtext {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.pricing-action {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .pricing-content-wrap {
    flex-direction: column;
    text-align: center;
  }
  
  .pricing-header {
    justify-content: center;
  }
  
  .pricing-features li {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

.footnote {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  filter: grayscale(1);
}

.footer-links-group {
  display: flex;
  gap: 24px;
}

.footer-links-group a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 4px 0;
}

.footer-bottom a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--text-secondary);
}

/* =========================================
   Experts & Skills Showcase (Marquee)
========================================= */
.experts-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(to bottom, var(--bg-body), var(--bg-elevated));
}

.experts-showcase {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 0;
  margin-top: 20px;
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
  mask-image: linear-gradient(to right,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

/* Base marquee row styling */
.marquee-row {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  /* Use CSS variable for duration and direction if desired, handled via style attribute in HTML */
  animation: scroll-marquee var(--duration, 40s) linear infinite;
  animation-direction: var(--direction, normal);
}

.marquee-content {
  display: flex;
  gap: 20px;
  align-items: center;
  /* Crucial: Must be exactly 50% of the row width or equal to the total content width to loop seamlessly */
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
    /* Move by half the row width since content is duplicated twice */
  }
}

.marquee-row:hover {
  animation-play-state: paused;
}

/* Tags Styling */
.expert-tag,
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: default;
}

.expert-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.expert-tag svg {
  color: var(--accent-blue);
  width: 16px;
  height: 16px;
}

.skill-tag {
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
}

.expert-tag:hover {
  background: var(--bg-elevated);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2), inset 0 0 10px rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.skill-tag:hover {
  border-color: var(--accent-blue);
  background: rgba(50, 115, 246, 0.05);
  box-shadow: 0 4px 12px rgba(50, 115, 246, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Fade gradients on edges for smooth entry/exit */
.showcase-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.showcase-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.showcase-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInFade {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes growLine {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

/* QR Code Download Modal */
.qr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qr-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.qr-modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6);
}

.qr-modal-overlay.is-open .qr-modal-card {
  transform: scale(1) translateY(0);
}

.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
  padding: 4px;
}

.qr-modal-close:hover {
  color: var(--text-primary);
}

.qr-modal-header {
  margin-bottom: 28px;
}

.qr-modal-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.qr-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--text-primary);
}

.qr-modal-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.qr-code-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 16px;
  display: inline-block;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  display: block;
  image-rendering: pixelated;
}

.qr-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 99px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Bento Model Logo Grid */
.bento-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: auto 0 24px 0;
}

.bento-model-item {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.bento-model-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, var(--glow-color, rgba(255,255,255,0.1)) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.bento-model-item:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.bento-model-item:hover::before {
  opacity: 0.3;
}

.bento-model-item img {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(1) opacity(0.5) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.bento-model-item:hover img {
  transform: scale(1.15);
  filter: grayscale(0) opacity(1) drop-shadow(0 4px 12px var(--glow-color, rgba(255,255,255,0.4)));
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .card-large {
    grid-column: span 1;
  }

  .demo-body {
    padding: 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .nav-links {
    display: none;
  }

  .qr-modal-card {
    padding: 32px 24px;
  }

  .qr-code-img {
    width: 180px;
    height: 180px;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card:hover {
    transform: none;
  }
}

/* Regulatory Compliance Section */
.compliance-section {
  max-width: 1100px;
  margin: 60px auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.compliance-card {
  background: rgba(15, 17, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 36px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.compliance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.compliance-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.compliance-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.compliance-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.compliance-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.compliance-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-item-title::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.compliance-item-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   AI Sandbox & Strategy Lab Section
   =================================================== */
.sandbox-section {
  max-width: 1100px;
  margin: 90px auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.sandbox-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.78rem;
  color: #FCD34D;
  font-weight: 600;
  margin-bottom: 12px;
}

.sandbox-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.sandbox-card {
  background: rgba(14, 16, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.sandbox-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.08);
}

.sandbox-card-numeral {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.7);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.sandbox-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.sandbox-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* Mini Visual Showcase inside Sandbox Cards */
.sandbox-inner-widget {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
}

.sandbox-workflow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.sandbox-wf-chip {
  font-size: 0.7rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.sandbox-wf-chip.active {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.15);
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sandbox-wf-arrow {
  color: var(--text-dim);
  font-size: 0.7rem;
}

.sandbox-vs-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sandbox-vs-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sandbox-vs-item:last-child {
  border-bottom: none;
}

.sandbox-vs-name {
  color: var(--text-secondary);
}

.sandbox-vs-val {
  font-weight: 700;
  font-family: var(--font-display);
}

.sandbox-vs-val.win {
  color: #10B981;
}

.sandbox-vs-val.sub {
  color: #60A5FA;
}

.sandbox-vs-val.base {
  color: var(--text-dim);
}

/* ===================================================
   Market Pulse Command Center Section
   =================================================== */
.pulse-section {
  max-width: 1100px;
  margin: 90px auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.pulse-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.78rem;
  color: #7DD3FC;
  font-weight: 600;
  margin-bottom: 12px;
}

.pulse-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.pulse-featured-card {
  background: rgba(14, 16, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.pulse-featured-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.pulse-featured-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Watchlist Penetration Box (Unique feature showcase) */
.watchlist-penetration-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watchlist-penetration-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.watchlist-penetration-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #38BDF8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.watchlist-impact-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.watchlist-impact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.watchlist-stock-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.watchlist-impact-detail {
  font-size: 0.72rem;
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
}

.watchlist-impact-detail.neutral {
  color: #94A3B8;
  background: rgba(148, 163, 184, 0.12);
}

/* Breadth Ribbon Simulation */
.pulse-breadth-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breadth-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

.breadth-up { color: #10B981; font-weight: 700; }
.breadth-flat { color: var(--text-dim); }
.breadth-down { color: #EF4444; font-weight: 700; }

.breadth-bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  overflow: hidden;
}

.breadth-bar-segment-up {
  width: 62%;
  background: #10B981;
}

.breadth-bar-segment-flat {
  width: 10%;
  background: #6B7280;
}

.breadth-bar-segment-down {
  width: 28%;
  background: #EF4444;
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
  .sandbox-grid {
    grid-template-columns: 1fr;
  }
  .pulse-grid {
    grid-template-columns: 1fr;
  }
}