/* landing.css - Refined Minimalist VStock Redesign */
:root {
  --bg-deep: #050505;
  --bg-surface: #0a0a0a;
  --bg-elevated: #111111;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-dim: #555555;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --accent-primary: #ffffff;
  --accent-blue: #3273f6;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: '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 — Full-width Floating Glass Bar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 60%, rgba(245, 158, 11, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  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(245, 158, 11, 0.6);
  transition: width 0.25s ease, left 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

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

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  position: relative;
  color: #fff;
  border: 2px solid transparent;
  background-image: 
    linear-gradient(#0a0a0c, #0a0a0c), 
    linear-gradient(90deg, #0ea5e9, #8b5cf6, #ec4899, #f59e0b, #0ea5e9);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  background-size: 100% 100%, 200% 100%;
  animation: border-flow 3s linear infinite;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(139, 92, 246, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

@keyframes border-flow {
  0% { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 0% 0%, 200% 0%; }
}

@keyframes glow-flow {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-surface);
}

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

/* 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;
}

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

.hero-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px; /* iOS icon curve estimate */
  border: 1px solid var(--border-strong);
  box-shadow: 0 8px 16px rgba(0,0,0, 0.4);
}

.hero-app-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.hero-app-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.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(3.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 24px 0;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 40%, rgba(255, 255, 255, 0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

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

/* iPhone Mockup */
.iphone-mockup {
  width: 320px;
  border-radius: 46px;
  background-color: #000;
  border: 12px solid #1a1a1a;
  box-shadow: 
    inset 0 0 0 2px rgba(255, 255, 255, 0.2), 
    0 24px 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05); /* Outer thin metal ring */
  position: relative;
  overflow: hidden;
  z-index: 2;
  transform: rotateY(-5deg) rotateX(2deg); /* Slightly 3D */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float-iphone 6s ease-in-out infinite;
  line-height: 0;
}

@keyframes float-iphone {
  0%, 100% { transform: translateY(0px) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-12px) rotateY(-3deg) rotateX(4deg); }
}

.iphone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}



.iphone-screen {
  width: 100%;
  height: auto;
  border-radius: 34px; /* Internal border radius respecting outer border */
  display: block;
}

/* Ambient bottom glow trailing the phone */
.iphone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.4) 0%, rgba(245, 158, 11, 0.2) 50%, 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: linear-gradient(180deg, rgba(16,24,39,0.7) 0%, rgba(8,17,31,0.9) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  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);
}

.pillar-card:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 2px 20px rgba(255,255,255,0.05);
}

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

.pillar-card:hover .pillar-ambient {
  opacity: 0.8;
  transform: scale(1.1);
}

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

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

.pillar-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.85);
}

.pillar-card:hover .pillar-icon-wrap {
  transform: scale(1.05) rotate(-2deg);
}

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

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

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

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

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

.glass-tag:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.2);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}

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

.toolbox-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.3s ease;
}

.pillar-card:hover .toolbox-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-2px);
}

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

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

.toolbox-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

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

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

.toolbox-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

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

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

.toolbox-tags-mini span {
  font-size: 0.75rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

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

.toolbox-desc-mini {
  font-size: 0.8rem;
  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(20,20,22,0.8) 0%, rgba(10,10,12,0.9) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  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(245, 158, 11, 0.15) 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.08), 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;
  background: linear-gradient(135deg, #fff 40%, #fcd34d 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 10px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  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(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  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.3);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 20px rgba(0, 0, 0, 0.5);
  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(245, 158, 11, 0.15);
  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: #f59e0b;
  box-shadow: 0 0 10px #f59e0b, 0 0 20px #f59e0b, 0 0 40px #fcd34d;
  animation: scan 3s ease-in-out infinite;
  opacity: 0.8;
}

@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 #f59e0b;
  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;
  }
}