/*
 * LandLlama.ai - Main Stylesheet
 * Modern land intelligence platform with topographic aesthetic
 */

/* ========================================
   CSS Variables & Theme
   ======================================== */
:root {
  /* Colors - Earth Tones */
  --primary: #7cb342;        /* Vibrant Green */
  --primary-dark: #689f38;
  --primary-light: #aed581;
  
  --secondary: #ff6f00;      /* Energy Orange */
  --secondary-dark: #e65100;
  --secondary-light: #ff9800;
  
  --accent: #2d5016;         /* Deep Forest Green */
  --accent-light: #4a7c2c;
  
  /* Background Colors */
  --bg-dark: #0a0f0d;        /* Rich Black */
  --bg-darker: #060908;
  --bg-light: #0d120f;
  --bg-card: rgba(13, 18, 15, 0.7);
  
  /* Text Colors */
  --text-primary: #e8f5e9;
  --text-secondary: #c5e1a5;
  --text-muted: #9ccc65;
  --text-dark: #558b2f;
  
  /* Utility Colors */
  --success: #66bb6a;
  --warning: #ffa726;
  --error: #ef5350;
  --info: #42a5f5;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Container & Layout
   ======================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 13, 0.9);
  border-bottom: 1px solid rgba(124, 179, 66, 0.1);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.brand-text {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-link.cta-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-link.cta-link::after {
  display: none;
}

.nav-link.cta-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  animation: fadeInUp 1s ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(124, 179, 66, 0.1);
  border: 1px solid rgba(124, 179, 66, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  animation-delay: 0.2s;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation-delay: 0.4s;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 179, 66, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease;
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.animated-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(13, 18, 15, 0.5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 179, 66, 0.2);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.mockup-map {
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 40%, rgba(124, 179, 66, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 111, 0, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, rgba(45, 80, 22, 0.1) 0%, rgba(10, 15, 13, 0.3) 100%);
  position: relative;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: markerAppear 0.5s ease forwards;
}

.map-marker:nth-child(1) { animation-delay: 1s; }
.map-marker:nth-child(2) { animation-delay: 1.3s; }
.map-marker:nth-child(3) { animation-delay: 1.6s; }

.marker-pulse {
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 20px rgba(124, 179, 66, 0.5);
}

.marker-pulse::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.marker-tooltip {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 18, 15, 0.95);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.map-marker:hover .marker-tooltip {
  opacity: 1;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

.btn-secondary {
  background: rgba(124, 179, 66, 0.1);
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(124, 179, 66, 0.2);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.platform-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 111, 0, 0.15) 0%, rgba(124, 179, 66, 0.15) 100%);
  border: 2px solid var(--secondary);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 600;
  animation: pulse-glow 2s ease-in-out infinite;
}

.platform-preview-badge i {
  font-size: 1.25rem;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.5);
  }
}

/* ========================================
   Problem Section
   ======================================== */
.problem-section {
  padding: var(--spacing-xl) 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.problem-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 179, 66, 0.1);
  transition: var(--transition-normal);
}

.problem-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.problem-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 83, 80, 0.1);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.problem-card p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ========================================
   Solution Teaser
   ======================================== */
.solution-teaser {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.solution-content {
  max-width: 900px;
  margin: 0 auto;
}

.solution-title {
  margin-bottom: 1.5rem;
}

.solution-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.solution-highlight {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(124, 179, 66, 0.1);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 179, 66, 0.1);
  transition: var(--transition-normal);
  position: relative;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-card.highlight-card {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(124, 179, 66, 0.05) 0%, rgba(45, 80, 22, 0.1) 100%);
}

.highlight-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 179, 66, 0.15) 0%, rgba(45, 80, 22, 0.2) 100%);
  border-radius: var(--radius-md);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.feature-list i {
  color: var(--primary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ========================================
   Platform Features
   ======================================== */
.platform-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.platform-feature.reverse {
  direction: rtl;
}

.platform-feature.reverse > * {
  direction: ltr;
}

.platform-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(124, 179, 66, 0.1);
  border: 1px solid rgba(124, 179, 66, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.platform-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.platform-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.platform-benefits {
  list-style: none;
}

.platform-benefits li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(124, 179, 66, 0.1);
}

.platform-benefits li:last-child {
  border-bottom: none;
}

.platform-benefits i {
  color: var(--primary);
  font-size: 1.2rem;
}

.platform-visual {
  position: relative;
}

.mockup-dashboard {
  background: rgba(13, 18, 15, 0.7);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(124, 179, 66, 0.2);
  margin-bottom: 1.5rem;
}

.dashboard-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dashboard-badge {
  padding: 0.35rem 0.85rem;
  background: rgba(124, 179, 66, 0.15);
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.dashboard-badge.success {
  background: rgba(102, 187, 106, 0.15);
  border-color: var(--success);
  color: var(--success);
}

.dashboard-badge.hot {
  background: rgba(255, 111, 0, 0.15);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(10, 15, 13, 0.6);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.search-bar i {
  color: var(--primary);
  font-size: 1.2rem;
}

.search-bar span {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Results List */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-item {
  padding: 1.25rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.result-item:hover {
  border-color: var(--primary);
  background: rgba(124, 179, 66, 0.05);
}

.result-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(124, 179, 66, 0.15);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.result-badge.hot {
  background: rgba(255, 111, 0, 0.15);
  color: var(--secondary);
}

.result-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.result-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Financial Chart */
.financial-chart {
  margin-bottom: 1.5rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 1rem;
  height: 200px;
  padding: 1rem 0;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(124, 179, 66, 0.3) 0%, rgba(124, 179, 66, 0.1) 100%);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0.5rem;
  position: relative;
  transition: var(--transition-normal);
  animation: chartGrow 1s ease forwards;
}

.chart-bar.success {
  background: linear-gradient(to top, rgba(102, 187, 106, 0.3) 0%, rgba(102, 187, 106, 0.1) 100%);
  border-top-color: var(--success);
}

.chart-bar:hover {
  opacity: 0.8;
}

.chart-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.chart-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.scenario-toggle {
  display: flex;
  gap: 0.5rem;
}

.scenario-btn {
  flex: 1;
  padding: 0.75rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
}

.scenario-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.scenario-btn.active {
  background: rgba(124, 179, 66, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

/* Due Diligence Categories */
.diligence-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.category-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(124, 179, 66, 0.05);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.category-item:hover {
  background: rgba(124, 179, 66, 0.1);
  transform: translateY(-3px);
}

.category-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.category-name {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Due Diligence Results */
.diligence-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diligence-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.15);
  border-radius: var(--radius-sm);
}

.diligence-item.clear {
  border-color: var(--success);
}

.diligence-item i {
  color: var(--success);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.diligence-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.diligence-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.diligence-progress {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(124, 179, 66, 0.2);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(10, 15, 13, 0.6);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--success) 100%);
  border-radius: 50px;
  animation: progressFill 2s ease forwards;
}

.diligence-progress span {
  display: block;
  text-align: center;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Monitoring Feed */
.monitoring-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feed-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.feed-item:hover {
  border-color: var(--primary);
  background: rgba(124, 179, 66, 0.05);
}

.feed-item.new {
  border-color: var(--secondary);
  animation: newItemPulse 2s ease infinite;
}

.feed-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 179, 66, 0.15);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
}

.feed-content {
  flex: 1;
}

.feed-content strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.feed-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.feed-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Actual Platform Screenshot */
.actual-platform-screenshot {
  position: relative;
  animation: fadeInRight 1s ease;
}

.actual-platform-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  transition: var(--transition-normal);
}

.actual-platform-screenshot:hover img {
  transform: scale(1.02);
  box-shadow: 0 12px 48px rgba(124, 179, 66, 0.3);
}

.screenshot-caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(124, 179, 66, 0.1);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.screenshot-caption i {
  color: var(--primary);
  font-size: 1.2rem;
}

.platform-callout {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 111, 0, 0.1);
  border: 1px solid rgba(255, 111, 0, 0.3);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.platform-callout i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Pipeline Stages */
.pipeline-stages {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pipeline-stage {
  flex: 1;
  text-align: center;
  padding: 1rem 0.5rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.15);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
}

.pipeline-stage:hover {
  border-color: var(--primary);
}

.pipeline-stage.active {
  background: rgba(124, 179, 66, 0.15);
  border-color: var(--primary);
}

.stage-header {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stage-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pipeline-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.deal-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(10, 15, 13, 0.4);
  border: 1px solid rgba(124, 179, 66, 0.15);
  border-radius: var(--radius-sm);
}

.deal-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.deal-status {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   How It Works
   ======================================== */
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 220px;
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(13, 18, 15, 0.5);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  position: relative;
}

.step-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
}

.step-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.step-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.step-result {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  font-style: italic;
}

.step-arrow {
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.steps-cta {
  text-align: center;
}

.steps-cta p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 179, 66, 0.2);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(124, 179, 66, 0.2);
}

.author-avatar {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================
   Demo Section
   ======================================== */
.demo-section {
  padding: var(--spacing-xl) 0;
}

.demo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.demo-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.demo-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.demo-benefit i {
  color: var(--success);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.demo-form-container {
  position: relative;
}

.demo-form {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(124, 179, 66, 0.2);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(10, 15, 13, 0.6);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(10, 15, 13, 0.8);
}

.form-group textarea {
  resize: vertical;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(124, 179, 66, 0.2);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 179, 66, 0.1);
  border: 1px solid rgba(124, 179, 66, 0.2);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 179, 66, 0.1);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes markerAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes chartGrow {
  from {
    height: 0;
  }
}

@keyframes progressFill {
  from {
    width: 0;
  }
}

@keyframes newItemPulse {
  0%, 100% {
    border-color: rgba(255, 111, 0, 0.3);
  }
  50% {
    border-color: rgba(255, 111, 0, 0.8);
  }
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
  .hero-content,
  .platform-feature,
  .demo-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .platform-feature.reverse {
    direction: ltr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 15, 13, 0.98);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(124, 179, 66, 0.2);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    flex-direction: column;
  }
  
  .step-arrow {
    transform: rotate(90deg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .diligence-categories {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Mobile Fixes - Overflow & Layout
   ======================================== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Platform titles and text */
  .platform-title {
    font-size: 1.6rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .platform-description {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-title {
    font-size: 2rem;
    word-wrap: break-word;
  }

  .solution-title {
    font-size: 1.6rem;
    word-wrap: break-word;
  }

  /* Pipeline stages - wrap on mobile */
  .pipeline-stages {
    flex-wrap: wrap;
  }

  .pipeline-stage {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: calc(50% - 0.5rem);
  }

  /* Mockup dashboard overflow fix */
  .mockup-dashboard {
    padding: 1rem;
    overflow: hidden;
  }

  .dashboard-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
  }

  .dashboard-title {
    font-size: 0.85rem;
    white-space: normal;
    word-wrap: break-word;
    flex-shrink: 1;
    min-width: 0;
  }

  .dashboard-badge {
    font-size: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Search bar - wrap text on mobile */
  .search-bar {
    overflow: hidden;
    font-size: 0.85rem;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .search-bar span {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
  }

  /* Result items */
  .result-item {
    overflow: hidden;
  }

  .result-title {
    font-size: 0.9rem;
    word-wrap: break-word;
  }

  .result-meta {
    font-size: 0.8rem;
    word-wrap: break-word;
  }

  /* Chart bars */
  .chart-bars {
    gap: 0.5rem;
  }

  .chart-value {
    font-size: 0.8rem;
  }

  .chart-label {
    font-size: 0.7rem;
  }

  /* Scenario toggle */
  .scenario-toggle {
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  .scenario-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  /* Feed items */
  .feed-content p {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Due diligence categories */
  .diligence-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Platform visual */
  .platform-visual {
    max-width: 100%;
    overflow: hidden;
  }

  /* Platform benefits text */
  .platform-benefits li {
    font-size: 0.9rem;
  }

  /* Deal card */
  .deal-card {
    flex-direction: column;
    gap: 0.25rem;
  }

  .deal-name,
  .deal-status {
    font-size: 0.85rem;
    word-wrap: break-word;
  }

  /* Demo form */
  .demo-title {
    font-size: 1.5rem;
  }

  /* Platform callout */
  .platform-callout {
    font-size: 0.85rem;
  }

  /* Screenshot */
  .actual-platform-screenshot img {
    width: 100%;
    height: auto;
  }

  /* Step items */
  .step-title {
    font-size: 1.1rem;
  }

  .step-description {
    font-size: 0.9rem;
  }

  /* Testimonials */
  .testimonial-text {
    font-size: 0.95rem;
  }

  .author-title {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .pipeline-stage {
    flex: 1 1 100%;
  }

  .diligence-categories {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .platform-title {
    font-size: 1.4rem;
  }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary: #a5d6a7;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
  }
}