:root {
  /* Colors - Eco-Industrial Emerald Dark Theme */
  --primary: #10b981;       /* Emerald Green */
  --primary-dark: #059669;  
  --primary-light: #34d399;
  --accent-bg: rgba(16, 185, 129, 0.1);     
  
  --bg-body: #090d16;       /* Eco deep slate */
  --bg-surface: #0f172a;    /* Charcoal slate */
  --bg-surface-secondary: #1e293b;
  
  --text-main: #ffffff;     
  --text-body: #cbd5e1;     /* Soft slate text */
  --text-muted: #94a3b8;    
  
  --border-color: rgba(255, 255, 255, 0.08);
  --transition-speed: 0.25s;
}

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

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  font-weight: 700;
}

/* --- Navbar --- */
.navbar {
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
}

.navbar-brand {
  font-weight: 850;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text-main) !important;
}

.navbar-brand span {
  color: var(--primary);
}

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

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

/* --- Buttons --- */
.btn-primary {
  background-color: var(--primary-dark); 
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-body);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-surface-secondary);
  color: #fff;
}

.btn-outline-primary {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* --- Hero Section --- */
.hero {
  padding: 10rem 0 7rem 0;
  background: radial-gradient(ellipse at top right, rgba(6, 95, 70, 0.25) 0%, rgba(9, 13, 22, 1) 70%);
  border-bottom: 1px solid var(--border-color);
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.pill-tag .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 650px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.security-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 1rem;
}

/* --- Pages General Header --- */
.page-header {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.page-header .lead {
  color: var(--text-body) !important;
}

/* --- Section Styling --- */
.section {
  padding: 6rem 0;
}

.section-bg {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* --- Feature & Information Cards / Glass Panels --- */
.feature-card, .glass-panel {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  transition: border-color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.feature-card:hover, .glass-panel:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.icon-box, .feature-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

/* --- Trust & Features List --- */
.trust-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-list li:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--primary);
}

/* --- Pricing Cards --- */
.pricing-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 3rem 2rem;
  height: 100%;
  transition: all var(--transition-speed) ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
  background: rgba(15, 23, 42, 0.85);
}

.pricing-card.popular::before {
  content: "Most Popular";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-family: "Outfit", sans-serif;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pricing-features li i {
  color: var(--primary);
}

/* --- Support & FAQs --- */
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-body);
  font-size: 0.95rem;
}

/* --- Form Control Styling --- */
.form-group label {
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  background-color: var(--bg-body);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  outline: none;
  color: var(--text-main);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* --- Content Styling --- */
.rich-text {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.rich-text p, .rich-text ul, .rich-text ol {
  margin-bottom: 1.5rem;
  color: var(--text-body);
}

.rich-text li {
  margin-bottom: 0.5rem;
}

/* --- Code Block section --- */
.code-container {
  background: #0f172a;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.code-header {
  background: #090d16;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-body {
  padding: 1.5rem;
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  overflow-x: auto;
  margin: 0;
}

.c-keyword { color: #f472b6; }
.c-type { color: #60a5fa; }
.c-string { color: #facc15; }
.c-comment { color: #64748b; }

/* --- Call to Action & Footer --- */
.cta-section {
  background: linear-gradient(135deg, #064e3b 0%, #090d16 100%);
  padding: 6rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer {
  background: #05070a; 
  color: #94a3b8;
  padding: 4rem 0;
  border-top: 1px solid #111827;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer a:hover {
  color: white;
}

/* --- Interactive Compaction Mock Graphic --- */
.mock-compaction-container {
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background-color: #0b0f19;
}

.mock-compaction-header {
  background-color: #0f172a;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.mock-compaction-body {
  height: 350px;
  padding: 1.25rem;
  position: relative;
  display: flex;
  gap: 1rem;
  background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 15px 15px;
}

.compaction-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  gap: 2px;
  flex-grow: 1;
  border-radius: 6px;
  overflow: hidden;
}

.grid-cell {
  background-color: var(--primary-dark);
  transition: background-color 0.3s;
}

/* Specific cell colors to represent compaction passes */
.cell-target { background-color: #059669; }        /* Compaction met */
.cell-warning { background-color: #d97706; }       /* Needs passes */
.cell-critical { background-color: #dc2626; }      /* Soft spots */

.compaction-legend {
  width: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.7rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-body);
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.dot-indicators {
  display: flex;
  gap: 5px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.9); }
}
