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

:root {
  --primary: #0052CC;
  --primary-hover: #0747A6;
  --primary-subtle: #DEEBFF;
  --secondary: #6366F1;
  --secondary-gradient: linear-gradient(135deg, #0052CC 0%, #6366F1 50%, #8B5CF6 100%);
  --accent-green: #10B981;
  --text-main: #0F172A;
  --text-muted: #475569;
  --border-light: #E2E8F0;
  --bg-card: #FFFFFF;
  --bg-canvas: #F8FAFC;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-canvas);
}

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

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

/* Code typography */
code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #0052CC 0%, #4F46E5 60%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-badge {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.08) 0%, rgba(99, 102, 241, 0.12) 100%);
  border: 1px solid rgba(0, 82, 204, 0.2);
  color: #0052CC;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, rgba(99, 102, 241, 0.08) 45%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
}

/* Browser Mockup Chrome */
.browser-frame {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-header {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dot.red { background-color: #EF4444; }
.window-dot.yellow { background-color: #F59E0B; }
.window-dot.green { background-color: #10B981; }

.browser-address {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 11px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Screenshot Hover & Lightbox */
.zoomable-img-container {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.zoomable-img-container img {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoomable-img-container:hover img {
  transform: scale(1.02);
}

.zoomable-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.zoomable-img-container:hover .zoomable-img-overlay {
  opacity: 1;
}

/* Lightbox Modal */
#screenshot-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#screenshot-lightbox.active {
  display: flex;
}

#lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tabs */
.tab-btn {
  transition: all 0.2s ease;
}
.tab-btn.active {
  background-color: #0052CC;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.25);
}

/* Interactive AI Demo Card */
.ai-prompt-chip {
  transition: all 0.15s ease;
  cursor: pointer;
}
.ai-prompt-chip:hover {
  background-color: #DEEBFF;
  border-color: #0052CC;
  color: #0052CC;
  transform: translateY(-1px);
}

/* Comparison Table Styling */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #E2E8F0;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}
.highlight-column {
  background: rgba(0, 82, 204, 0.03);
  border-left: 2px solid #0052CC;
  border-right: 2px solid #0052CC;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}
