/* ==========================================================================
   SHEETBOTICS - LIGHT THEME MASTER STYLESHEET
   A modern, crisp, high-tech light aesthetic for Sheetbotics.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Color Palette */
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  
  --primary-blue: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  
  --accent-emerald: #10B981;
  --accent-emerald-dark: #059669;
  --accent-emerald-light: #ECFDF5;
  
  --accent-indigo: #4F46E5;
  --accent-indigo-light: #EEF2FF;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-subtle: #64748B;
  
  --border-card: #E2E8F0;
  --border-focus: #3B82F6;
  
  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 35px -8px rgba(37, 99, 235, 0.12), 0 10px 10px -5px rgba(16, 185, 129, 0.04);
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

/* Ambient Tech Dot Grid Background */
.bg-tech-grid {
  background-size: 28px 28px;
  background-image: 
    radial-gradient(circle, rgba(37, 99, 235, 0.07) 1.2px, transparent 1.2px);
}

/* Radiant ambient lighting blobs */
.ambient-glow-blue {
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0) 70%);
  filter: blur(40px);
}

.ambient-glow-emerald {
  background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(40px);
}

/* Text Gradient Utilities */
.text-gradient-brand {
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #1D4ED8 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Premium Light Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.8);
  box-shadow: var(--shadow-hover);
}

/* Interactive Node Animation in Hero Workflow */
@keyframes pulseRing {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10B981;
  animation: pulseRing 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

/* Floating animation for hero elements */
@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-subtle-float {
  animation: subtleFloat 6s ease-in-out infinite;
}

/* SVG Line Data Flow Animation */
@keyframes flowStroke {
  to {
    stroke-dashoffset: -40;
  }
}

.data-flow-line {
  stroke-dasharray: 6, 6;
  animation: flowStroke 1.5s linear infinite;
}

/* Custom Slider Styling for ROI Calculator */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  transition: all 0.15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.28);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Sheet Matrix Cell Highlight Animation */
@keyframes cellBlink {
  0%, 100% { background-color: #FFFFFF; }
  50% { background-color: #D1FAE5; }
}

.cell-processing {
  animation: cellBlink 1.4s ease-in-out infinite;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Modal Blur & Transitions */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Smooth Tab Underline */
.tab-active {
  color: #2563EB !important;
  border-bottom: 2px solid #2563EB;
  font-weight: 600;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
