/* Landing Page Styles */

html {
  scroll-behavior: smooth;
}

:root {
  /* V2 Color Palette - "Clean Light" Theme */
  --bg-dark: #ffffff;
  --bg-card: #f8fafc;
  /* Slate 50 */
  --primary: #4f46e5;
  /* Indigo 600 */
  --primary-hover: #4338ca;
  --accent: #0891b2;
  /* Cyan 700 */
  --success: #059669;
  --danger: #dc2626;
  --text-main: #0f172a;
  /* Slate 900 */
  --text-muted: #475569;
  /* Slate 600 */
  --border: #e2e8f0;
  --glow: 0 0 40px rgba(79, 70, 229, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
.brand-font {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* --- Navbar V2 --- */
.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 55px;
  /* Large visible logo */
  /* NO FILTER - Natural Colors */
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* --- Buttons --- */
.btn-primary-glow {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transition: all 0.2s;
}

.btn-primary-glow:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  color: white;
}

.btn-text {
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
}

.btn-text:hover {
  color: var(--accent);
}

/* --- Hero V2 --- */
.hero-section {
  padding: 8rem 0 6rem;
  position: relative;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 40%);
}

.display-hero {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  /* Solid dark color for readability */
}

.lead-hero {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

/* --- Incident Insight Card (Replaces Chat) --- */
.insight-card-container {
  position: relative;
  margin-top: 4rem;
}

.insight-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.insight-header {
  background: #f1f5f9;
  /* Slate 100 */
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.insight-badge {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--text-muted);
}

.timeline-item.active::before {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1.2rem;
  bottom: -1.6rem;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::after {
  display: none;
}

/* --- Feature Cards V2 --- */
.feature-grid {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 12px;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* --- Utilities --- */
.text-accent {
  color: var(--accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 991px) {
  .display-hero {
    font-size: 2.5rem;
  }

  .insight-body {
    grid-template-columns: 1fr;
  }
}
