/* Varlil Corporation Website Styles */

/* CSS Custom Properties - Varlil Brand Colors */
:root {
  --varlil-green: #006674;
  --varlil-grey: #6b7280;
  --varlil-blue: #1e40af;
  --varlil-white: #ffffff;
  --varlil-black: #111827;
  --varlil-light-grey: #f9fafb;
  --varlil-border: #e5e7eb;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--varlil-black);
  background-color: var(--varlil-white);
}

body {
  font-size: var(--font-size-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
.varlil-home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Navigation */
.varlil-navigation {
  background-color: var(--varlil-white);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  animation: slideInDown 0.6s ease-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo .logo {
  height: 50px;
  width: auto;
  transition: all var(--transition-normal);
}

.nav-logo .logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-xl);
}

.nav-menu a {
  text-decoration: none;
  color: var(--varlil-black);
  font-weight: 500;
  transition: all var(--transition-normal);
  position: relative;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 6px;
}

.nav-menu a:hover {
  color: var(--varlil-green);
  background-color: rgba(0, 102, 116, 0.05);
  transform: translateY(-1px);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--varlil-green);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-menu a:hover::after {
  width: 80%;
}

/* Hero Section */
.varlil-hero {
  background: linear-gradient(135deg, var(--varlil-light-grey) 0%, var(--varlil-white) 100%);
  padding: var(--spacing-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}

.varlil-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(5, 150, 105, 0.02) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.hero-container {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.hero-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 var(--spacing-xl);
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subheadline {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--varlil-green);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--varlil-grey);
  margin-bottom: var(--spacing-2xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
  margin-top: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease-out 0.8s both;
  padding: var(--spacing-lg) 0;
}

.cta-button {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  border: none;
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: var(--spacing-lg) 0;
  min-height: 48px;
  line-height: 1.2;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background-color: #004d5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  animation: glow 2s ease-in-out infinite;
}

/* Ecosystem Grid */
.ecosystem-grid {
  padding: var(--spacing-4xl) 0;
  background-color: var(--varlil-white);
}

.ecosystem-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.ecosystem-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.ecosystem-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

.ecosystem-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--varlil-grey);
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 1.4s both;
}

.product-section {
  margin-bottom: var(--spacing-4xl);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
  max-width: 100%;
}

/* Special styling for single-card grids */
.product-grid:has(.product-card:only-child) {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Product Cards */
.product-card {
  background-color: var(--varlil-white);
  border: 1px solid var(--varlil-border);
  border-radius: 12px;
  padding: var(--spacing-3xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: scaleIn 0.6s ease-out both;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.02) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--varlil-green);
}

.product-card.featured {
  border: 2px solid var(--varlil-green) !important;
  background: linear-gradient(135deg, var(--varlil-white) 0%, #f0fdf4 100%) !important;
  animation: scaleIn 0.6s ease-out both, float 3s ease-in-out infinite 2s;
  box-shadow: 0 4px 12px rgba(0, 102, 116, 0.15) !important;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.product-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card.featured:hover::before {
  opacity: 1;
}

.product-card.featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 102, 116, 0.25) !important;
  border-color: #004d56 !important;
}

.product-card.featured .product-name {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.product-card.featured .product-tagline {
  color: var(--varlil-green);
  font-weight: 600;
  position: relative;
}

.product-card.featured .product-tagline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--varlil-green), #004d56);
  transition: width var(--transition-normal);
}

.product-card.featured:hover .product-tagline::after {
  width: 100%;
}

.product-card.featured .status-badge.status-available {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  color: var(--varlil-white);
  border: 1px solid #004d56;
  box-shadow: 0 2px 4px rgba(0, 102, 116, 0.2);
  position: relative;
  overflow: hidden;
}

.product-card.featured .status-badge.status-available::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.product-card.featured:hover .status-badge.status-available::before {
  left: 100%;
}

.product-card.featured .status-badge.status-available:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 102, 116, 0.3);
}

.product-card.future {
  opacity: 0.8;
  animation: scaleIn 0.6s ease-out both;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--varlil-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.product-card.future:nth-child(1) {
  border-color: #6b7280;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.product-card.future:nth-child(2) {
  border-color: #9ca3af;
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}

.product-card.future:nth-child(3) {
  border-color: #d1d5db;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.product-card.future:nth-child(4) {
  border-color: #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}

.product-card.future::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card.future:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, #6b7280, transparent);
}

.product-card.future:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #9ca3af, transparent);
}

.product-card.future:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #d1d5db, transparent);
}

.product-card.future:nth-child(4)::before {
  background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.product-card.future:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card.future:hover::before {
  opacity: 1;
}

.product-card.future:nth-child(1):hover {
  border-color: #4b5563;
}

.product-card.future:nth-child(2):hover {
  border-color: #6b7280;
}

.product-card.future:nth-child(3):hover {
  border-color: #9ca3af;
}

.product-card.future:nth-child(4):hover {
  border-color: #d1d5db;
}

.product-card.future .product-name {
  color: #6b7280;
  font-weight: 600;
}

.product-card.future .product-tagline {
  color: #9ca3af;
  font-weight: 500;
}

.product-icon {
  display: none;
}

.product-icon .icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.product-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--varlil-green);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.product-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
  flex-grow: 1;
}

.product-status {
  margin-top: auto;
}

.status-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 16px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  min-width: 120px;
}

.status-r1-launch {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  animation: pulse 2s infinite, glow 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.status-r1-launch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

.status-available {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
}

.status-r2-release,
.status-r3-release,
.status-r4-release {
  background-color: var(--varlil-grey);
  color: var(--varlil-white);
}

.status-development,
.status-planning {
  background-color: var(--varlil-light-grey);
  color: var(--varlil-grey);
  border: 1px solid var(--varlil-border);
}

/* Technology Foundation */
.technology-foundation {
  background-color: var(--varlil-light-grey);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.technology-foundation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(5, 150, 105, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.03) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

.tech-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

.tech-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 1.6s both;
}

.tech-description {
  font-size: var(--font-size-lg);
  color: var(--varlil-grey);
  margin-bottom: var(--spacing-3xl);
  animation: fadeInUp 0.8s ease-out 1.8s both;
}

.tech-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.tech-benefit {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: var(--spacing-2xl);
  border-radius: 16px;
  border: 2px solid var(--varlil-border);
  transition: all var(--transition-normal);
  animation: scaleIn 0.6s ease-out both;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tech-benefit:nth-child(1) { 
  animation-delay: 2s;
  border-color: #ef4444;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.tech-benefit:nth-child(2) { 
  animation-delay: 2.2s;
  border-color: #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.tech-benefit:nth-child(3) { 
  animation-delay: 2.4s;
  border-color: var(--varlil-green);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.tech-benefit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.tech-benefit:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
}

.tech-benefit:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.tech-benefit:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
}

.tech-benefit:hover::before {
  opacity: 1;
}

.tech-benefit:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tech-benefit:nth-child(1):hover {
  border-color: #dc2626;
}

.tech-benefit:nth-child(2):hover {
  border-color: #1d4ed8;
}

.tech-benefit:nth-child(3):hover {
  border-color: #004d56;
}

.tech-benefit h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.tech-benefit:nth-child(1) h3 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-benefit:nth-child(2) h3 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-benefit:nth-child(3) h3 {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tech-benefit p {
  color: var(--varlil-grey);
  line-height: 1.6;
}

/* Clay Interactive Showcase */
.clay-interactive {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.clay-interactive-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.clay-interactive-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.clay-interactive-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--varlil-grey);
  max-width: 800px;
  margin: 0 auto var(--spacing-4xl);
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Theme Switcher */
.theme-switcher {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.theme-switcher h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-md);
}

.theme-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.theme-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--varlil-green);
  background-color: transparent;
  color: var(--varlil-green);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-btn:hover,
.theme-btn.active {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  transform: translateY(-2px);
}

/* Demo Area */
.demo-area {
  background-color: var(--varlil-white);
  border-radius: 16px;
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.demo-header h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--varlil-black);
}

.performance-metrics {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.metric {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* Demo Components */
.demo-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
}

.component-card {
  background-color: #f8fafc;
  border: 1px solid var(--varlil-border);
  border-radius: 12px;
  padding: var(--spacing-xl);
  text-align: center;
}

.component-card h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-md);
}

/* Clay Components */
.clay-button {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin: var(--spacing-xs);
  display: inline-block;
}

.clay-button.primary {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
}

.clay-button.secondary {
  background-color: transparent;
  color: var(--varlil-green);
  border: 2px solid var(--varlil-green);
}

.clay-button.success {
  background-color: #10b981;
  color: var(--varlil-white);
}

.clay-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.clay-input {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid var(--varlil-border);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: all var(--transition-normal);
  margin-bottom: var(--spacing-sm);
}

.clay-input:focus {
  outline: none;
  border-color: var(--varlil-green);
  box-shadow: 0 0 0 3px rgba(0, 102, 116, 0.1);
}

.input-feedback {
  font-size: var(--font-size-sm);
  color: var(--varlil-grey);
  margin-top: var(--spacing-xs);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--varlil-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.progress-fill {
  height: 100%;
  background-color: var(--varlil-green);
  width: 0%;
  transition: width 0.3s ease;
}

/* Theme Variations */
.demo-area[data-theme="dark"] {
  background-color: #1f2937;
  color: #f9fafb;
}

.demo-area[data-theme="dark"] .component-card {
  background-color: #374151;
  border-color: #4b5563;
}

.demo-area[data-theme="dark"] .component-card h4 {
  color: #f9fafb;
}

.demo-area[data-theme="ocean"] {
  background-color: #e0f2fe;
}

.demo-area[data-theme="ocean"] .component-card {
  background-color: #b3e5fc;
}

.demo-area[data-theme="forest"] {
  background-color: #f0fdf4;
}

.demo-area[data-theme="forest"] .component-card {
  background-color: #dcfce7;
}

/* Rust/WASM Performance Demo */
.rust-demo {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.rust-demo h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-sm);
}

.rust-demo p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  margin: 0;
}

/* Performance Comparison */
.performance-comparison {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.comparison-stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-sm);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  min-width: 120px;
}

.stat .label {
  font-size: var(--font-size-sm);
  color: var(--varlil-grey);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.stat .value {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--varlil-green);
}

/* Trust-Based Component Playground */
.playground-section {
  margin-top: var(--spacing-4xl);
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 1px solid var(--varlil-border);
}

.playground-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--varlil-black);
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.playground-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.playground-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

.playground-controls {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.trust-selector,
.component-selector {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.trust-selector label,
.component-selector label {
  font-weight: 600;
  color: var(--varlil-black);
  font-size: var(--font-size-sm);
}

.trust-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
}

.trust-btn {
  padding: var(--spacing-sm);
  border: 2px solid var(--varlil-border);
  background-color: var(--varlil-white);
  border-radius: 8px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.trust-btn:hover,
.trust-btn.active {
  border-color: var(--varlil-green);
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  transform: translateY(-2px);
}

#component-type {
  padding: var(--spacing-sm);
  border: 2px solid var(--varlil-border);
  border-radius: 8px;
  font-size: var(--font-size-sm);
  background-color: var(--varlil-white);
}

.playground-demo {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.demo-workspace {
  min-height: 200px;
  background-color: var(--varlil-white);
  border: 2px dashed var(--varlil-border);
  border-radius: 12px;
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dynamic-component {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trust-based components */
.trust-button {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  background-color: var(--varlil-white);
  position: relative;
  overflow: hidden;
}

.trust-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.trust-button:hover::before {
  left: 100%;
}

.trust-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-input-container {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.trust-input {
  width: 100%;
  padding: var(--spacing-sm);
  border: 2px solid;
  border-radius: 8px;
  font-size: var(--font-size-base);
  background-color: var(--varlil-white);
  transition: all var(--transition-normal);
}

.trust-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 116, 0.1);
  transform: translateY(-1px);
}

.input-indicator {
  position: absolute;
  top: 50%;
  right: var(--spacing-sm);
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.2); }
}

.trust-card {
  width: 100%;
  max-width: 300px;
  border: 2px solid;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--varlil-white) 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 116, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: var(--spacing-sm);
  color: var(--varlil-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  position: relative;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.card-header h4 {
  margin: 0;
  font-size: var(--font-size-base);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.trust-badge {
  font-size: var(--font-size-xs);
  font-weight: 700;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.card-content {
  padding: var(--spacing-sm);
  background: linear-gradient(135deg, var(--varlil-white) 0%, #f8fafc 100%);
}

.card-content p {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--varlil-grey);
  line-height: 1.4;
}

.premium-action {
  padding: var(--spacing-xs) var(--spacing-sm);
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  color: var(--varlil-white);
  border: none;
  border-radius: 6px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 4px rgba(0, 102, 116, 0.2);
}

.premium-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 102, 116, 0.3);
}

.trust-modal {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 102, 116, 0.1) 100%);
  border-radius: 12px;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, var(--varlil-white) 0%, #f8fafc 100%);
  border: 2px solid;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: var(--spacing-sm);
  color: var(--varlil-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
}

.modal-header h3 {
  margin: 0;
  font-size: var(--font-size-base);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-close {
  background: none;
  border: none;
  color: var(--varlil-white);
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-body {
  padding: var(--spacing-sm);
}

.modal-body p {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--varlil-grey);
  line-height: 1.4;
}

/* Coming Soon Cards - Enhanced Design */
.coming-soon-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--varlil-green);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.coming-soon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
  animation: shimmer 4s infinite;
}

.coming-soon-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 116, 0.02) 0%, rgba(0, 102, 116, 0.05) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.coming-soon-card:hover::after {
  opacity: 1;
}

.coming-soon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #004d56;
}

.coming-soon-card .product-name {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 102, 116, 0.1);
}

.coming-soon-card .product-tagline {
  color: var(--varlil-green);
  font-weight: 600;
  position: relative;
}

.coming-soon-card .product-tagline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--varlil-green), #004d56);
  transition: width var(--transition-normal);
}

.coming-soon-card:hover .product-tagline::after {
  width: 100%;
}

.coming-soon-card .status-badge.status-r2-release {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: var(--varlil-white);
  border: 1px solid #4b5563;
  box-shadow: 0 2px 4px rgba(55, 65, 81, 0.2);
  position: relative;
  overflow: hidden;
}

.coming-soon-card .status-badge.status-r2-release::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.coming-soon-card:hover .status-badge.status-r2-release::before {
  left: 100%;
}

.coming-soon-card .status-badge.status-r2-release:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(55, 65, 81, 0.3);
}

/* Pulse animation for Coming Soon cards */
@keyframes coming-soon-pulse {
  0%, 100% { 
    box-shadow: var(--shadow-sm), 0 0 0 0 rgba(0, 102, 116, 0.4);
  }
  50% { 
    box-shadow: var(--shadow-md), 0 0 0 8px rgba(0, 102, 116, 0);
  }
}

.coming-soon-card:nth-child(1) {
  animation: coming-soon-pulse 3s infinite;
  animation-delay: 0s;
}

.coming-soon-card:nth-child(2) {
  animation: coming-soon-pulse 3s infinite;
  animation-delay: 1s;
}

.coming-soon-card:nth-child(3) {
  animation: coming-soon-pulse 3s infinite;
  animation-delay: 2s;
}

.playground-stats {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.playground-features {
  background-color: var(--varlil-white);
  border-radius: 8px;
  padding: var(--spacing-lg);
}

.playground-features h4 {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--varlil-black);
}

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

.playground-features li {
  padding: var(--spacing-xs) 0;
  font-size: var(--font-size-sm);
  color: var(--varlil-grey);
}

/* Responsive design */
@media (max-width: 768px) {
  .playground-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .trust-buttons {
    grid-template-columns: 1fr;
  }
  
  .playground-stats {
    flex-direction: column;
    align-items: center;
  }
}

/* Clay & Sandwich Showcase */
.clay-showcase {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.clay-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.clay-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.clay-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--varlil-grey);
  max-width: 800px;
  margin: 0 auto var(--spacing-4xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.clay-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.clay-feature {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--varlil-green);
  border-radius: 12px;
  padding: var(--spacing-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.clay-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.clay-feature:hover::before {
  opacity: 1;
}

.clay-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #004d56;
}

.clay-feature .feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.clay-feature h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-sm);
}

.clay-feature p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
}

.tech-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  color: var(--varlil-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.tech-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.clay-feature:hover .tech-badge::before {
  left: 100%;
}

/* Trust & Security Section */
.trust-security {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.trust-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.trust-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.trust-description {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--varlil-grey);
  max-width: 800px;
  margin: 0 auto var(--spacing-4xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.security-feature {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--varlil-border);
  border-radius: 16px;
  padding: var(--spacing-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.security-feature:nth-child(1) {
  border-color: #dc2626;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.security-feature:nth-child(2) {
  border-color: #2563eb;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.security-feature:nth-child(3) {
  border-color: #059669;
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.security-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.security-feature:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, #dc2626, transparent);
}

.security-feature:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
}

.security-feature:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #059669, transparent);
}

.security-feature:hover::before {
  opacity: 1;
}

.security-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.security-feature:nth-child(1):hover {
  border-color: #b91c1c;
}

.security-feature:nth-child(2):hover {
  border-color: #1d4ed8;
}

.security-feature:nth-child(3):hover {
  border-color: #047857;
}

.security-feature h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.security-feature:nth-child(1) h3 {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.security-feature:nth-child(2) h3 {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.security-feature:nth-child(3) h3 {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  display: block;
}

.security-feature h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-sm);
}

.security-feature p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  background-color: var(--varlil-white);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.faq-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-4xl);
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--varlil-border);
  border-radius: 12px;
  padding: var(--spacing-2xl);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item:nth-child(1) {
  border-color: var(--varlil-green);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.faq-item:nth-child(2) {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.faq-item:nth-child(3) {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}

.faq-item:nth-child(4) {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.faq-item:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
}

.faq-item:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.faq-item:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.faq-item:nth-child(4)::before {
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.faq-item:nth-child(1):hover {
  border-color: #004d56;
}

.faq-item:nth-child(2):hover {
  border-color: #1d4ed8;
}

.faq-item:nth-child(3):hover {
  border-color: #7c3aed;
}

.faq-item:nth-child(4):hover {
  border-color: #d97706;
}

.faq-item h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.faq-item:nth-child(1) h3 {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item:nth-child(2) h3 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item:nth-child(3) h3 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item:nth-child(4) h3 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--varlil-grey);
  line-height: 1.6;
}

/* Enhanced CTA Buttons */
.hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease-out 0.8s both;
  padding: var(--spacing-lg) 0;
}

.cta-button.primary {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
  border: 2px solid var(--varlil-green);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--varlil-green);
  border: 2px solid var(--varlil-green);
}

.cta-button.secondary:hover {
  background-color: var(--varlil-green);
  color: var(--varlil-white);
}

.about-section {
  background-color: var(--varlil-white);
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  text-align: center;
}

.about-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--varlil-black);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.8s ease-out both;
}

.about-description {
  font-size: var(--font-size-lg);
  color: var(--varlil-grey);
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.about-mission {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--varlil-green);
  margin-bottom: var(--spacing-3xl);
  text-align: center;
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 102, 116, 0.1);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.value-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: var(--spacing-2xl);
  border-radius: 16px;
  border: 2px solid var(--varlil-border);
  transition: all var(--transition-normal);
  animation: scaleIn 0.6s ease-out both;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.value-item:nth-child(1) { 
  animation-delay: 0.4s;
  border-color: var(--varlil-green);
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.value-item:nth-child(2) { 
  animation-delay: 0.6s;
  border-color: #3b82f6;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.value-item:nth-child(3) { 
  animation-delay: 0.8s;
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.value-item:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, var(--varlil-green), transparent);
}

.value-item:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.value-item:nth-child(3)::before {
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

.value-item:hover::before {
  opacity: 1;
}

.value-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.value-item:nth-child(1):hover {
  border-color: #004d56;
}

.value-item:nth-child(2):hover {
  border-color: #1d4ed8;
}

.value-item:nth-child(3):hover {
  border-color: #7c3aed;
}

.value-item h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.value-item:nth-child(1) h3 {
  background: linear-gradient(135deg, var(--varlil-green) 0%, #004d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-item:nth-child(2) h3 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-item:nth-child(3) h3 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-item p {
  color: var(--varlil-grey);
  line-height: 1.6;
}

/* Footer */
.varlil-footer {
  background-color: var(--varlil-black);
  color: var(--varlil-white);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.varlil-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
  animation: float 8s ease-in-out infinite;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease-out 2.6s both;
}

.footer-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.footer-subtitle {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-description {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--varlil-green);
}

.contact-info {
  color: #d1d5db;
}

.contact-item {
  margin-bottom: var(--spacing-sm);
}

.contact-label {
  font-weight: 600;
  color: var(--varlil-white);
}

.contact-item a {
  color: var(--varlil-green);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--spacing-lg);
  text-align: center;
}

.footer-copyright {
  color: #9ca3af;
  font-size: var(--font-size-sm);
}

.copyright-logo {
  height: 16px;
  width: auto;
  margin: 0 4px;
  vertical-align: middle;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.copyright-logo:hover {
  opacity: 1;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(5, 150, 105, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.6);
  }
}

/* Staggered animations for product cards */
.product-card:nth-child(1) { transition-delay: 0ms; }
.product-card:nth-child(2) { transition-delay: 100ms; }
.product-card:nth-child(3) { transition-delay: 200ms; }
.product-card:nth-child(4) { transition-delay: 300ms; }
.product-card:nth-child(5) { transition-delay: 400ms; }
.product-card:nth-child(6) { transition-delay: 500ms; }

/* Staggered animations for tech benefits */
.tech-benefit:nth-child(1) { transition-delay: 0ms; }
.tech-benefit:nth-child(2) { transition-delay: 150ms; }
.tech-benefit:nth-child(3) { transition-delay: 300ms; }

/* Staggered animations for clay features */
.clay-feature:nth-child(1) { transition-delay: 0ms; }
.clay-feature:nth-child(2) { transition-delay: 150ms; }
.clay-feature:nth-child(3) { transition-delay: 300ms; }

/* Staggered animations for security features */
.security-feature:nth-child(1) { transition-delay: 0ms; }
.security-feature:nth-child(2) { transition-delay: 150ms; }
.security-feature:nth-child(3) { transition-delay: 300ms; }

/* Staggered animations for FAQ items */
.faq-item:nth-child(1) { transition-delay: 0ms; }
.faq-item:nth-child(2) { transition-delay: 100ms; }
.faq-item:nth-child(3) { transition-delay: 200ms; }
.faq-item:nth-child(4) { transition-delay: 300ms; }

/* Staggered animations for value items */
.value-item:nth-child(1) { transition-delay: 0ms; }
.value-item:nth-child(2) { transition-delay: 150ms; }
.value-item:nth-child(3) { transition-delay: 300ms; }

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--varlil-green);
  color: var(--varlil-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 102, 116, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #004d56;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 116, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-1px);
}

/* Mobile Back to Top Button */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Reduced motion support for back to top */
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.3s ease;
  }
  
  .back-to-top:hover {
    transform: none;
  }
  
  .back-to-top svg {
    transition: none;
  }
}

/* Scroll-triggered animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Progressive enhancement: show content if JS doesn't load or fails */
body.loaded .scroll-animate:not(.animate) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.scroll-animate-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.animate {
  opacity: 1;
  transform: translateX(0);
}

body.loaded .scroll-animate-left:not(.animate) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.scroll-animate-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.animate {
  opacity: 1;
  transform: translateX(0);
}

body.loaded .scroll-animate-right:not(.animate) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.animate {
  opacity: 1;
  transform: scale(1);
}

body.loaded .scroll-animate-scale:not(.animate) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.3s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Design */
@media (max-width: 1400px) {
  .nav-container,
  .hero-container,
  .ecosystem-container,
  .tech-container,
  .about-container,
  .footer-container {
    padding: 0 var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--spacing-md);
    height: 56px;
  }
  
  .nav-logo .logo {
    height: 35px; /* Smaller logo on mobile */
  }
  
  .nav-menu {
    gap: var(--spacing-lg);
  }
  
  .nav-menu a {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
  }
  
  .hero-headline {
    font-size: var(--font-size-4xl);
  }
  
  .hero-subheadline {
    font-size: var(--font-size-xl);
  }
  
  .hero-description {
    font-size: var(--font-size-base);
  }
  
  .ecosystem-title {
    font-size: var(--font-size-3xl);
  }
  
  .ecosystem-description {
    font-size: var(--font-size-base);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .tech-benefits {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .tech-title {
    font-size: var(--font-size-3xl);
  }
  
  .tech-description {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 var(--spacing-sm);
    height: 48px;
  }
  
  .nav-menu {
    gap: var(--spacing-md);
  }
  
  .nav-menu a {
    padding: var(--spacing-xs);
    font-size: var(--font-size-xs);
  }
  
  .hero-headline {
    font-size: var(--font-size-3xl);
    line-height: 1.2;
  }
  
  .hero-subheadline {
    font-size: var(--font-size-lg);
  }
  
  .hero-description {
    font-size: var(--font-size-sm);
  }
  
  .hero-cta {
    margin-top: var(--spacing-xl);
  }
  
  .cta-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    width: 100%;
    max-width: 280px;
  }
  
  .ecosystem-title {
    font-size: var(--font-size-2xl);
  }
  
  .ecosystem-description {
    font-size: var(--font-size-sm);
  }
  
  .product-card {
    padding: var(--spacing-lg);
  }
  
  .product-name {
    font-size: var(--font-size-lg);
  }
  
  .product-tagline {
    font-size: var(--font-size-sm);
  }
  
  .product-description {
    font-size: var(--font-size-xs);
  }
  
  .tech-title {
    font-size: var(--font-size-2xl);
  }
  
  .tech-description {
    font-size: var(--font-size-sm);
  }
  
  .tech-benefit {
    padding: var(--spacing-lg);
  }
  
  .tech-benefit h3 {
    font-size: var(--font-size-lg);
  }
  
  .tech-benefit p {
    font-size: var(--font-size-sm);
  }
  
  .footer-title {
    font-size: var(--font-size-lg);
  }
  
  .footer-subtitle {
    font-size: var(--font-size-base);
  }
  
  .footer-description {
    font-size: var(--font-size-sm);
  }
  
  .footer-copyright {
    font-size: var(--font-size-xs);
  }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .tech-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .nav-container,
  .hero-container,
  .ecosystem-container,
  .tech-container,
  .footer-container {
    max-width: 1400px;
  }
  
  .hero-headline {
    font-size: 4rem;
  }
  
  .hero-subheadline {
    font-size: 2rem;
  }
  
  .ecosystem-title {
    font-size: 3.5rem;
  }
  
  .tech-title {
    font-size: 3.5rem;
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .product-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  
  .cta-button:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  
  .nav-menu a:hover {
    transform: none;
    background-color: rgba(5, 150, 105, 0.1);
  }
  
  .nav-menu a:hover::after {
    width: 0;
  }
  
  /* Increase touch targets */
  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cta-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-card {
    min-height: 200px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo,
  .product-icon img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility improvements */
.skip-link {
  position: absolute;
  top: -100px;
  left: 6px;
  background: var(--varlil-green);
  color: var(--varlil-white);
  padding: var(--spacing-sm);
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top var(--transition-normal);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  top: 6px;
  opacity: 1;
  pointer-events: auto;
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--varlil-green);
  outline-offset: 2px;
}

.product-card:focus {
  outline: 3px solid var(--varlil-green);
  outline-offset: 4px;
}

.cta-button:focus,
.nav-menu a:focus {
  outline: 2px solid var(--varlil-green);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .product-card {
    border: 2px solid var(--varlil-black);
  }
  
  .status-badge {
    border: 1px solid var(--varlil-black);
  }
  
  .cta-button {
    border: 2px solid var(--varlil-white);
  }
}

/* Print styles */
@media print {
  .varlil-navigation,
  .hero-cta,
  .varlil-footer {
    display: none;
  }
  
  .hero-headline,
  .hero-subheadline,
  .ecosystem-title,
  .tech-title {
    color: #000 !important;
  }
  
  .product-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* ===================================================== */
/* JELLY DEMO - Trust-Based Visual Effects */
/* Only Jelly can do real-time trust-based theming!     */
/* ===================================================== */

.jelly-trust-demo {
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.jelly-trust-demo h4 {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  color: #6366f1;
}

.trust-slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-slider-container label {
  font-size: 0.875rem;
  color: var(--varlil-grey);
  font-weight: 500;
}

.trust-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, 
    #dc267f 0%,      /* Red (0-20) */
    #dc267f 20%, 
    #fe6100 21%,     /* Orange (21-49) */
    #fe6100 49%,
    #ffb000 50%,     /* Gold (50-69) */
    #ffb000 69%,
    #648fff 70%,     /* Blue (70-89) */
    #648fff 89%,
    #785ef0 90%      /* Purple (90-100) */
  );
  outline: none;
  -webkit-appearance: none;
}

.trust-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid currentColor;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.trust-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid currentColor;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.trust-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.trust-indicator #trust-value {
  font-weight: 700;
  font-size: 1.25rem;
}

.trust-level-low { color: #dc267f; }
.trust-level-medium { color: #fe6100; }
.trust-level-caution { color: #ffb000; }
.trust-level-high { color: #648fff; }
.trust-level-excellent { color: #785ef0; }

#trust-level {
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Jelly Visual Effect - Animated Blobs */
.jelly-visual-effect {
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: 1rem;
  background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.3), rgba(56, 189, 248, 0.3));
  border-radius: 12px;
  overflow: hidden;
}

.jelly-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: jelly-wobble 8s ease-in-out infinite;
}

.jelly-blob:nth-child(1) {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #785ef0, #648fff);
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.jelly-blob:nth-child(2) {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #648fff, #ffb000);
  top: 40%;
  right: 20%;
  animation-delay: 2s;
}

.jelly-blob:nth-child(3) {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffb000, #fe6100);
  bottom: 20%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes jelly-wobble {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -20px) scale(1.2);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.9);
  }
  75% {
    transform: translate(10px, 20px) scale(1.1);
  }
}

/* Trust-based color changes */
.jelly-showcase {
  transition: all 0.3s ease;
}

.jelly-showcase[data-trust="low"] {
  border-left: 4px solid #dc267f;
}

.jelly-showcase[data-trust="medium"] {
  border-left: 4px solid #fe6100;
}

.jelly-showcase[data-trust="caution"] {
  border-left: 4px solid #ffb000;
}

.jelly-showcase[data-trust="high"] {
  border-left: 4px solid #648fff;
}

.jelly-showcase[data-trust="excellent"] {
  border-left: 4px solid #785ef0;
}

.jelly-showcase[data-trust="excellent"] .product-status .status-badge {
  background: linear-gradient(135deg, #785ef0, #648fff);
  color: white;
}

/* Interactive hover effects */
.trust-slider:hover::-webkit-slider-thumb {
  transform: scale(1.3);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.trust-slider:active::-webkit-slider-thumb {
  transform: scale(1.5);
}

/* Smooth transitions for trust changes */
.jelly-visual-effect,
.jelly-blob {
  transition: background 0.5s ease, transform 0.3s ease;
}

/* ===================================================== */
/* NARRATIVE DASHBOARD - Jelly's Unique Feature         */
/* ===================================================== */

.narrative-dashboard {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.narrative-dashboard h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #6366f1;
}

.narrative-stream-container {
  margin-top: 1rem;
}

.narrative-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.narrative-count {
  font-size: 0.875rem;
  color: var(--varlil-grey);
  font-weight: 500;
}

.narrative-stream {
  max-height: 300px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.narrative-event {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  background: white;
  border-left: 3px solid;
  animation: narrative-fade-in 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

@keyframes narrative-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.narrative-event.committed {
  border-left-color: #10b981;
  background: linear-gradient(90deg, #10b98110, white);
}

.narrative-event.interrupted {
  border-left-color: #f59e0b;
  background: linear-gradient(90deg, #f59e0b10, white);
}

.narrative-event.abandoned {
  border-left-color: #ef4444;
  background: linear-gradient(90deg, #ef444410, white);
}

.narrative-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.narrative-time {
  font-size: 0.75rem;
  color: var(--varlil-grey);
  font-weight: 600;
}

.narrative-agency {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.narrative-agency.committed {
  background: #10b981;
  color: white;
}

.narrative-agency.interrupted {
  background: #f59e0b;
  color: white;
}

.narrative-agency.abandoned {
  background: #ef4444;
  color: white;
}

.narrative-text {
  font-size: 0.875rem;
  color: var(--varlil-text);
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.narrative-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--varlil-grey);
}

.narrative-context {
  display: inline-block;
  margin-right: 0.75rem;
  padding: 0.125rem 0.375rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 4px;
}

.narrative-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.trust-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.narrative-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.narrative-stats .stat {
  text-align: center;
}

.narrative-stats .label {
  display: block;
  font-size: 0.75rem;
  color: var(--varlil-grey);
  margin-bottom: 0.25rem;
}

.narrative-stats .value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--varlil-text);
}

/* ===================================================== */
/* CONTEXT-AWARE ADAPTATIONS - Jelly WASM Integration */
/* ===================================================== */

.context-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 6px;
}

.context-label {
  font-size: 0.75rem;
  color: var(--varlil-grey);
  font-weight: 600;
  text-transform: uppercase;
}

.context-value {
  font-size: 0.875rem;
  color: var(--varlil-black);
  font-weight: 600;
}

/* Time-based adaptations */
body.context-morning {
  filter: brightness(1.1) saturate(1.0);
}

body.context-afternoon {
  filter: brightness(1.0) saturate(1.0);
}

body.context-evening {
  filter: brightness(0.8) saturate(0.9);
}

body.context-night {
  filter: brightness(0.6) saturate(0.7);
  background: #1a1a1a;
  color: #e5e5e5;
}

/* Weather-based adaptations */
body.weather-sunny {
  filter: saturate(1.1);
}

body.weather-cloudy {
  filter: saturate(0.8) brightness(0.9);
}

body.weather-rainy {
  filter: saturate(0.7) contrast(0.8);
}

body.weather-stormy {
  filter: saturate(0.6) contrast(0.7) brightness(0.8);
}

body.weather-snowy {
  filter: saturate(0.9) contrast(1.1) brightness(1.2);
}

/* System dark mode adaptation */
body.system-dark {
  background: #1a1a1a;
  color: #e5e5e5;
}

body.system-dark * {
  color: #e5e5e5;
}

body.system-dark .product-card {
  background: #2a2a2a;
  border-color: #3a3a3a;
}

body.system-dark .product-card:hover {
  background: #333;
}

body.system-dark .section-title,
body.system-dark .product-name,
body.system-dark h1,
body.system-dark h2,
body.system-dark h3 {
  color: #e5e5e5;
}