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

:root {
  --bg-primary: #0B1320;
  --bg-secondary: #182330;
  --bg-tertiary: #243345;
  --text-primary: #F8FAFC;
  --text-secondary: #8FA0B5;
  --accent-blue: #549CB0;
  --accent-green: #2A9D8F;
  --accent-orange: #E76F51;
  --accent-red: #E63946;
  --accent-purple: #46818F;
  --border-color: rgba(84, 156, 176, 0.15);
  --panel-radius: 12px;
  --ui-opacity: 0.85;
  --font-brand: 'Outfit', 'Inter', sans-serif;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* Landing Page Stylesheet */
.landing-page-container {
  flex: 1;
  overflow-y: auto;
  background-color: #0b0f19;
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  padding: 40px 48px;
  gap: 64px;
  scrollbar-width: thin;
  position: relative;
}

/* Custom Scrollbar */
.landing-page-container::-webkit-scrollbar {
  width: 6px;
}
.landing-page-container::-webkit-scrollbar-track {
  background: rgba(11, 15, 25, 0.5);
}
.landing-page-container::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

/* Gradient Text styling */
.gradient-text {
  background: linear-gradient(135deg, #549cb0 0%, #73a5b5 50%, #8fa0b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 1. Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 20px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(84, 156, 176, 0.1);
  border: 1px solid rgba(84, 156, 176, 0.3);
  color: #73a5b5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #549cb0;
  box-shadow: 0 0 8px #549cb0;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #94a3b8;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* Primary Button */
.btn-primary {
  background: #549cb0;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(84, 156, 176, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background: #427a8a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84, 156, 176, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(30, 41, 59, 0.6);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.bullet-icon-blue {
  color: #549cb0;
  flex-shrink: 0;
}

/* Hero Map Preview Card */
.hero-preview-map {
  display: flex;
  justify-content: center;
}

/* Hero macOS Preview Window */
.preview-window-frame {
  background: rgba(30, 41, 59, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-window-frame:hover {
  transform: translateY(-4px) scale(1.01);
}

.window-header {
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #94a3b8;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #eab308; }
.dot-green { background-color: #22c55e; }

.window-title {
  margin: 0 auto;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding-right: 42px;
}

.window-viewport {
  position: relative;
  width: 100%;
  height: 330px;
  overflow: hidden;
  background-color: #070a13;
}

.preview-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.window-viewport:hover .preview-screenshot-img {
  transform: scale(1.05);
}

.viewport-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 15, 25, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.window-viewport:hover .viewport-overlay {
  opacity: 1;
}

.overlay-btn {
  background: #549cb0;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(84, 156, 176, 0.4);
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.window-viewport:hover .overlay-btn {
  transform: translateY(0);
}

/* Feature Details Popup Modals */
.feature-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease;
}

.feature-modal-content {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 580px;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.feature-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-modal-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-modal-title-area h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.feature-modal-title-area p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 2px;
}

.feature-modal-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.step-item {
  display: flex;
  gap: 16px;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  color: #549cb0;
  flex-shrink: 0;
  border: 1px solid rgba(84, 156, 176, 0.2);
}

.step-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-details p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.btn-close-modal {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  margin-left: auto;
  display: block;
  transition: all 0.2s;
}

.btn-close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Barney AI Section CSS */
.barney-ai-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 48px;
}

.ai-glow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #a78bfa;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 16px;
}

.barney-ai-section h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.barney-ai-section .section-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 24px;
}

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-feat-item {
  display: flex;
  gap: 16px;
}

.ai-feat-icon {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.1);
  padding: 8px;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-feat-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ai-feat-info p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Barney AI Mock Screen Panel */
.barney-mock-panel {
  background: rgba(30, 41, 59, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  font-family: 'Inter', sans-serif;
}

.mock-panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.mock-panel-header h3 {
  font-size: 1.05rem;
  font-weight: bold;
}

.mock-panel-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.mock-score-badge {
  background: rgba(84, 156, 176, 0.1);
  border: 1px solid rgba(84, 156, 176, 0.2);
  color: #73a5b5;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}

.mock-score-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #549cb0;
}

.mock-times-section {
  background: rgba(15, 23, 42, 0.4);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
}

.mock-times-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: bold;
  margin-bottom: 8px;
}

.mock-times-chart {
  display: flex;
  align-items: flex-end;
  height: 48px;
  gap: 3px;
  padding-top: 8px;
}

.chart-bar {
  flex: 1;
  background: rgba(84, 156, 176, 0.3);
  border-radius: 2px 2px 0 0;
}

.chart-bar.highlighted {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.mock-analysis-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.mock-section-title {
  color: #a78bfa;
  font-weight: bold;
  font-size: 0.82rem;
  margin-bottom: 4px;
  margin-top: 12px;
}

.mock-list {
  padding-left: 12px;
  margin: 4px 0;
}

.mock-list li {
  margin-bottom: 4px;
}

/* 2. Trusted Section (Social Proof) */
.trusted-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
}

.trusted-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 2px;
  font-weight: 700;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.logo-item {
  font-size: 1.15rem;
  color: #cbd5e1;
  user-select: none;
  opacity: 0.45;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
}

.logo-item:hover {
  opacity: 0.85;
}

.logo-bold {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-light {
  font-weight: 300;
  font-size: 0.9rem;
}

.logo-red {
  color: #ef4444;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.logo-muted {
  color: #94a3b8;
}

.logo-white {
  font-weight: 700;
  letter-spacing: 1px;
}

.bp-logo {
  font-size: 1rem;
}

.bp-sunflower {
  margin-right: 4px;
}

/* 3. Features Section */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1rem;
  color: #94a3b8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(84, 156, 176, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
}

.green-glow {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.blue-glow {
  background: rgba(84, 156, 176, 0.08);
  border: 1px solid rgba(84, 156, 176, 0.15);
}

.purple-glow {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.orange-glow {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  flex: 1;
}

.feature-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #73a5b5;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

/* 4. Bottom KPI & CTA Panel */
.cta-kpi-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 24px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.kpi-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kpi-block:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding-right: 24px;
}

.panel-block-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 1px;
}

/* Doughnut simulation details */
.donut-and-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.donut-chart-simulation {
  width: 80px;
  height: 80px;
}

.circular-chart {
  display: block;
}

.circle-segment {
  transform: rotate(-90deg);
  transform-origin: 18px 18px;
  stroke-linecap: round;
}

.chart-text {
  fill: #fff;
  font-family: inherit;
}

.donut-number {
  font-size: 0.52rem;
  font-weight: 800;
  text-anchor: middle;
}

.donut-label {
  font-size: 0.22rem;
  font-weight: 500;
  fill: #64748b;
  text-anchor: middle;
  text-transform: uppercase;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.legend-row {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  gap: 6px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.green { background: #10b981; }
.legend-dot.orange { background: #f59e0b; }
.legend-dot.blue { background: #549cb0; }
.legend-dot.red { background: #ef4444; }

.legend-text {
  color: #94a3b8;
  flex: 1;
}

.legend-value {
  color: #f1f5f9;
  font-weight: bold;
}

/* Top Opportunity block details */
.top-opportunity-content {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1;
}

.top-opp-visual {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(84, 156, 176, 0.2) 0%, rgba(70, 129, 143, 0.2) 100%);
  border: 1px solid rgba(84, 156, 176, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 10px rgba(84, 156, 176, 0.15);
}

.top-opp-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.top-opp-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.top-opp-score-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 0.75rem;
}

.top-opp-score-line .label-text {
  color: #94a3b8;
  margin-right: 4px;
}

.top-opp-score-line .score-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #10b981;
}

.top-opp-score-line .score-max {
  color: #64748b;
  font-size: 0.65rem;
}

.btn-view-analysis {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin-top: 4px;
  transition: all 0.15s ease;
}

.btn-view-analysis:hover {
  background: rgba(84, 156, 176, 0.15);
  color: #73a5b5;
  border-color: rgba(84, 156, 176, 0.25);
  transform: translateX(2px);
}

/* Booking Pitch CTA block details */
.cta-pitch-block {
  justify-content: center;
  gap: 12px;
}

.cta-pitch-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
}

.cta-pitch-text {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.btn-cta-blue {
  background: #549cb0;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(84, 156, 176, 0.25);
  width: fit-content;
}

.btn-cta-blue:hover {
  background: #427a8a;
  transform: translateY(-1px);
}

/* 5. Booking Demo Modal */
.demo-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.2s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.demo-modal-content {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  animation: scaleUpModal 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUpModal {
  from { transform: scale(0.9) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.close-modal-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s;
}

.close-modal-btn:hover {
  color: #f8fafc;
}

.modal-header-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-icon {
  color: #549cb0;
  background: rgba(84, 156, 176, 0.1);
  border-radius: 50%;
  padding: 12px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header-section h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.modal-header-section p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.4;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: bold;
}

.form-group input {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f8fafc;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: #549cb0;
  box-shadow: 0 0 0 2px rgba(84, 156, 176, 0.2);
}

.btn-modal-submit {
  background: #549cb0;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(84, 156, 176, 0.3);
  margin-top: 8px;
}

.btn-modal-submit:hover {
  background: #427a8a;
}

.btn-modal-submit:active {
  transform: scale(0.98);
}

/* Success modal screen */
.modal-success-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0;
}

.success-tick-anim {
  animation: tickPulse 0.5s ease-in-out;
}

@keyframes tickPulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.modal-success-screen h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #10b981;
}

.modal-success-screen p {
  font-size: 0.9rem;
  color: #e2e8f0;
}

.modal-success-screen .success-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-top: 8px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-preview-map {
    order: -1; /* Place map preview on top on mobile/tablet */
  }
  .cta-kpi-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kpi-block:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .barney-ai-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .landing-page-container {
    padding: 24px 16px;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .trusted-logos {
    gap: 20px;
  }
  .barney-ai-section h2 {
    font-size: 1.75rem;
  }
  .mock-panel-score-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .mock-app-top-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 6px !important;
    left: 16px;
    right: 16px;
    width: auto;
  }
  .mock-app-sidebar {
    display: none;
  }
  .mock-app-bottom-bar {
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .mock-app-right-panel {
    display: none;
  }
  .window-viewport {
    height: 380px;
  }
  .cta-kpi-panel {
    padding: 16px;
  }
  .donut-and-legend {
    flex-direction: column;
    align-items: center;
  }
  .barney-mock-panel {
    padding: 16px;
  }
}

/* Interactive process steps in feature modals */
.interactive-step {
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.interactive-step:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.step-number {
  position: relative;
}

.play-icon-hover {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: #549cb0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.interactive-step:hover .play-icon-hover {
  opacity: 1;
}

/* Nested Video modal overlay */
.video-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

.video-modal-content {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  padding: 24px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-player-container {
  box-shadow: inset 0 0 20px rgba(0,0,0,0.6);
}

/* Fallback Card animations */
@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; filter: brightness(1.2); }
  100% { transform: scale(1); opacity: 0.8; }
}

.fallback-brain-icon {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* Expanded state for macOS window mapping */
.preview-window-frame.expanded-fullscreen {
  position: fixed;
  top: 5vh;
  left: 5vw;
  width: 90vw;
  height: 90vh;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10000;
  transform: none !important;
  background: #0f172a;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: expandWindow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes expandWindow {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.preview-window-frame.expanded-fullscreen .window-viewport {
  height: calc(100% - 37px) !important;
}

.map-expanded-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.map-expanded-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.map-live-container {
  width: 100%;
  height: 100%;
  background: #070a13;
}

/* Mock App Sandbox Overlay Styles */
.mock-app-sidebar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 200px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mock-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: #94a3b8;
  font-size: 0.72rem;
  border-radius: 4px;
  margin: 0 8px;
  text-decoration: none;
  font-weight: 500;
  cursor: default;
}

.mock-nav-item.active {
  background: #549cb0;
  color: white;
}

.mock-app-right-panel {
  position: absolute;
  top: 16px; right: 16px; bottom: 16px;
  width: 360px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  z-index: 2;
  overflow-y: auto;
  scrollbar-width: none;
}

.mock-app-right-panel::-webkit-scrollbar {
  display: none;
}

.mock-app-top-bar {
  position: absolute;
  top: 16px; left: 216px;
  z-index: 2;
}

.mock-app-bottom-bar {
  position: absolute;
  bottom: 16px; left: 216px; right: 392px;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 18px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* --- Interactive Barney mockup CSS --- */

/* Left features hover indicators */
.interactive-feat-left {
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-feat-left:hover,
.interactive-feat-left.active-hover {
  background: rgba(139, 92, 246, 0.05);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateX(4px);
}

/* Cross-highlighting glow */
.highlighted-section-glow {
  border-color: rgba(139, 92, 246, 0.6) !important;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.35) !important;
  background: rgba(30, 41, 59, 0.6) !important;
  transform: scale(1.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dynamic Popular Times Tooltips */
.mock-times-chart {
  display: flex;
  align-items: flex-end;
  height: 60px; /* Slightly taller to accommodate tooltip positioning */
  gap: 3px;
  position: relative;
  padding-top: 15px;
}

.chart-bar-container {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  cursor: pointer;
}

.chart-bar-container .chart-bar {
  width: 100%;
  background: rgba(84, 156, 176, 0.3);
  border-radius: 2px 2px 0 0;
  transition: all 0.2s ease;
  flex: none;
}

.chart-bar-container .chart-bar.highlighted {
  background: rgba(84, 156, 176, 0.6);
}

.chart-bar.hovered, .chart-bar:hover {
  background: #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.8) !important;
}

.chart-bar-tooltip-bubble {
  position: absolute;
  bottom: 102%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: bold;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.chart-bar-tooltip-bubble.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Chat Widget Styling inside right mockup panel */
.barney-chat-widget {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-history-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: #a78bfa;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
}

.header-icon-spark {
  animation: pulseSpark 1.5s infinite alternate;
}

@keyframes pulseSpark {
  from { filter: drop-shadow(0 0 2px rgba(167, 139, 250, 0.5)); transform: scale(0.95); }
  to { filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.9)); transform: scale(1.05); }
}

.chat-messages-container {
  height: 120px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 4px;
  scrollbar-width: thin;
}

.chat-messages-container::-webkit-scrollbar {
  width: 4px;
}

.chat-messages-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.chat-message-bubble {
  max-width: 85%;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.35;
  width: fit-content;
}

.chat-message-bubble.barney {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #e9d5ff;
  border-bottom-left-radius: 2px;
  align-self: flex-start;
}

.chat-message-bubble.user {
  background: rgba(84, 156, 176, 0.2);
  border: 1px solid rgba(84, 156, 176, 0.3);
  color: #dbeafe;
  border-bottom-right-radius: 2px;
  align-self: flex-end;
}

/* Typing indicator dots */
.typing-dots {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 8px 12px;
}

.dot-blink {
  width: 5px;
  height: 5px;
  background: #a78bfa;
  border-radius: 50%;
  display: inline-block;
  animation: typingBlink 1.4s infinite both;
}

.dot-blink:nth-child(2) { animation-delay: 0.2s; }
.dot-blink:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* Suggestion prompt list */
.chat-suggestions-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.chat-suggestions-list::-webkit-scrollbar {
  display: none;
}

.suggestion-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.suggestion-chip-btn:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c084fc;
}

/* Form inputs styling */
.chat-widget-form {
  display: flex;
  gap: 6px;
  position: relative;
}

.chat-widget-form input {
  flex: 1;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 36px 6px 10px;
  color: #fff;
  font-size: 0.72rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.chat-widget-form input:focus {
  border-color: rgba(139, 92, 246, 0.6);
}

.chat-send-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #a78bfa;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.15s, transform 0.1s;
}

.chat-send-btn:hover {
  color: #c084fc;
  transform: translateY(-50%) scale(1.1);
}

/* Custom Premium Hover Tooltips */
.has-tooltip {
  position: relative;
}

.tooltip-text {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.35;
  width: max-content;
  max-width: 200px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  z-index: 999;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.has-tooltip:hover .tooltip-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tooltip-text.tooltip-bottom {
  bottom: auto;
  top: 130%;
  transform: translateX(-50%) translateY(-4px);
}

.has-tooltip:hover .tooltip-text.tooltip-bottom {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Day tab styles */
.day-tab {
  transition: color 0.15s, border-color 0.15s;
}
.day-tab:hover {
  color: #fff !important;
}

/* Cinematic Map Animation Layout and Details Panel */
.features-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.features-map-wrapper {
  position: relative;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.features-map-canvas {
  width: 100%;
  height: 100%;
  background: #070a13;
}

.map-loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 10;
  background: rgba(15, 23, 42, 0.8);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: opacity 0.3s ease;
}

/* Translucent details panel overlay */
.map-pin-details-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.map-pin-details-panel.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 968px) {
  .features-layout-grid {
    grid-template-columns: 1fr;
  }
  .features-map-wrapper {
    height: 350px;
    order: 2;
  }
}


