/* ==========================================================================
   Lightning Ventures LLC - Core Stylesheet
   Modern Glassmorphism & Enterprise B2B SaaS Aesthetics
   ========================================================================== */

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

:root {
  --bg-primary: #070B14;
  --bg-secondary: #0D1527;
  --bg-card: rgba(17, 26, 47, 0.7);
  --cyan-primary: #06B6D4;
  --cyan-bright: #38BDF8;
  --indigo-primary: #6366F1;
  --emerald-accent: #10B981;
  --gold-primary: #E5A93C;
  --gold-bright: #FDE047;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(56, 189, 248, 0.25);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
}

.font-cinzel {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
}

.text-gold {
  color: var(--gold-primary);
}

.brand-title-main {
  font-family: 'Cinzel', Georgia, 'Times New Roman', serif;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1;
}

@media (min-width: 640px) {
  .brand-title-main {
    font-size: 2.125rem;
  }
}

.brand-title-sub {
  font-family: 'Cinzel', 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-primary);
  line-height: 1;
  margin-top: 0.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Background Ambiance & Glows
   -------------------------------------------------------------------------- */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(6, 182, 212, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #070B14 0%, #0A101D 50%, #060911 100%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Glassmorphism Components
   -------------------------------------------------------------------------- */
.glass-nav {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.glass-panel {
  background: rgba(13, 21, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
}

/* --------------------------------------------------------------------------
   Gradient Text & Lightning Accents
   -------------------------------------------------------------------------- */
.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 60%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-indigo {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-glow {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0891B2 100%);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #F8FAFC;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Product Tabs & Interactive Switches
   -------------------------------------------------------------------------- */
.tab-btn {
  transition: all 0.25s ease;
  position: relative;
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #38BDF8;
  border-radius: 2px;
  box-shadow: 0 0 8px #38BDF8;
}

/* --------------------------------------------------------------------------
   Simulator & Spreadsheet Visualizer
   -------------------------------------------------------------------------- */
.sheet-preview {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  background: #090E17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow-x: auto;
}

.sheet-header-cell {
  background: #111A2C;
  color: #94A3B8;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.sheet-data-cell {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  color: #E2E8F0;
}

.sheet-row-new {
  animation: highlightRow 1.5s ease-out;
}

@keyframes highlightRow {
  0% { background: rgba(16, 185, 129, 0.35); }
  100% { background: transparent; }
}

/* --------------------------------------------------------------------------
   Pulse and Live Indicators
   -------------------------------------------------------------------------- */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px #10B981; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* --------------------------------------------------------------------------
   Custom Scrollbar
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #070B14;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}
