/* =========================================================
   BLOOMEOR MODERN ENTERPRISE DESIGN SYSTEM
   Inspired by: Stripe, Linear, Apple, Vercel
   ========================================================= */

:root {
  /* Cinematic Depth */
  --glow-gold: radial-gradient(circle at center, rgba(255, 215, 0, 0.08), transparent 70%);
  --glow-neutral: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 70%);
  
  /* High-End Glassmorphism */
  --glass-enterprise: rgba(255, 255, 255, 0.015);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-blur: blur(30px);
  
  /* Professional Spacing */
  --section-padding: clamp(8rem, 12vw, 15rem);
  --container-width: 1400px;
}

/* Base Body Enhancements */
body {
  background-color: #020408;
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Depth Layer */
.enterprise-bg-layers {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
}

.bg-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.3;
}

.bg-ambient-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(255, 215, 0, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
  filter: blur(80px);
}

/* ========== TRUST STRIP ========== */
.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.logo-ticker {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  filter: grayscale(1) invert(1);
}

.trust-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-metric h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
}

.trust-metric span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ========== CINEMATIC DASHBOARD PREVIEW ========== */
.dashboard-preview-section {
  padding: var(--section-padding) 0;
  position: relative;
}

.dashboard-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 24px;
  background: #0d1117;
  border: 1px solid var(--glass-border);
  box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 50px rgba(227, 30, 36, 0.1);
  overflow: hidden;
  transform: perspective(2000px) rotateX(5deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-frame:hover {
  transform: perspective(2000px) rotateX(0deg) translateY(-10px);
}

.dashboard-ui {
  width: 100%;
  display: block;
}


/* ========== BENTO GRID PRODUCT SHOWCASE ========== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.bento-item {
  background: var(--glass-enterprise);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 3rem;
  position: relative;
  transition: all 0.4s ease;
}

.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.025);
}

.bento-item-lg { grid-column: span 2; grid-row: span 2; }
.bento-item-md { grid-column: span 2; }

/* ========== ENTERPRISE FEATURES V2 ========== */
.feature-card-v2 {
  position: relative;
  background: rgba(255, 255, 255, 0.005);
  border: 1px solid var(--glass-border);
  padding: 4rem 3rem;
  border-radius: 40px;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.feature-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.1);
  background: rgba(255, 255, 255, 0.015);
}

/* ========== INTEGRATION ECOSYSTEM ========== */
.integration-item {
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s ease;
  color: var(--text-primary);
}

.integration-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/* ========== ENTERPRISE CTA ========== */
.enterprise-cta-section {
  padding: var(--section-padding) 0;
  background: radial-gradient(circle at center, #0a0d18 0%, #020408 100%);
  position: relative;
  text-align: center;
}

.cta-trust-badges {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 40px;
  opacity: 0.8;
}

.footer-bottom-inner {
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-bottom-actions {
  display: flex;
  gap: 30px;
  align-items: center;
}

.cta-glow-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.05) 0%, transparent 70%);
  z-index: 0;
}

/* ========== PROFESSIONAL FOOTER V2 ========== */
.footer-v2 {
  background: var(--bg-base);
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 0 3rem;
}

.marquee-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-base), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-base), transparent);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

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

.integration-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.integration-item i {
  font-size: 1.5rem;
}

.integration-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

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

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-column h5 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.footer-link-v2 {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.footer-link-v2:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-column-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-link-v2 i {
  transition: transform 0.3s ease;
}

.footer-link-v2:hover i {
  transform: scale(1.2);
  color: #FFD700;
}

@keyframes pulse-status {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-status 2s infinite;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

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

/* Hero / section entry animations */
.animate-fadeInUp {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.22s; }
.stagger-3 { animation-delay: 0.34s; }
.stagger-4 { animation-delay: 0.46s; }
.stagger-5 { animation-delay: 0.58s; }
.stagger-6 { animation-delay: 0.7s; }
.stagger-7 { animation-delay: 0.82s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* New Utilities */
.text-gradient {
  background: linear-gradient(135deg, #E31E24 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-premium {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Section Header Styles */
.section-header-v2 {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-header-v2 h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-header-v2 p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Feature Grid Responsive */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .grid-cols-2, .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  .footer-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* ========== PAYMENT INFRASTRUCTURE STYLES ========== */
.payment-strip-v2 {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 40px;
  padding: 4rem;
  margin-top: -5rem;
  position: relative;
  z-index: 10;
  box-shadow: 0 40px 100px rgba(0,0,0,0.05);
  backdrop-filter: blur(20px);
}

.payment-strip-header {
  margin-bottom: 3rem;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.payment-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  filter: none;
  opacity: 0.9;
}

.payment-item:hover {
  opacity: 1;
  transform: scale(1.15) translateY(-5px);
}

.payment-footer-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .payment-grid {
    gap: 2rem;
  }
  .payment-strip-v2 {
    padding: 2.5rem;
    margin-top: 0;
  }
}

/* ========== CINEMATIC METRICS V2 STYLES ========== */
.metrics-showcase-v2 {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #020408 0%, #05070a 100%);
  position: relative;
  overflow: hidden;
}


@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   MISSING COMPONENT DEFINITIONS
   All classes referenced in index.html that had no CSS
   ======================================================== */

/* ===== BUTTON OUTLINE ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(227, 30, 36, 0.04);
}

/* ===== PRODUCT SHOWCASE ===== */
.product-showcase {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.product-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-robot-glow {
  position: absolute;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}

.product-robot-img {
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(227, 30, 36, 0.15));
  animation: product-float 8s ease-in-out infinite alternate;
}

@keyframes product-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-16px); }
}

.product-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== FEATURE LIST (Product Showcase) ===== */
.feature-list-premium {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2rem;
}

.feature-item-premium {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-icon-premium {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(227, 30, 36, 0.08);
  border: 1px solid rgba(227, 30, 36, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.feature-item-premium:hover .feature-icon-premium {
  background: rgba(227, 30, 36, 0.15);
  border-color: rgba(227, 30, 36, 0.3);
  transform: scale(1.05);
}

.feature-text-premium h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.feature-text-premium p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== METRIC CARDS (Infrastructure Section) ===== */
.metric-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.metric-card-premium:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-4px);
}

.metric-card-premium h3 {
  font-size: 1.4rem;
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.metric-card-premium p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.metric-icon {
  width: 48px;
  height: 48px;
  background: rgba(227, 30, 36, 0.08);
  border: 1px solid rgba(227, 30, 36, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--accent-primary);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.metric-card-premium:hover .metric-icon {
  background: rgba(227, 30, 36, 0.15);
  transform: scale(1.05);
}

.metric-glow {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(227, 30, 36, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== CTA WRAP ===== */
.cta-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== FEATURE ICON WRAPPER (Bespoke section) ===== */
.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Responsive: Product Showcase */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .product-visual {
    order: -1;
  }
  .product-robot-img {
    max-width: 280px;
  }
  .cta-wrap {
    justify-content: center;
  }
}
