:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --text-color: #333;
  --bg-color: #ffffff;
  --error-color: #dc3545;
  --success-color: #28a745;
  --card-bg: #fff;
  --border-radius: 8px;
  --shadow: 0 4px 6px rgba(0,0,0,0.1);
  --header-bg: #1a1a1a;
  --header-text: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--secondary-color);
  line-height: 1.6;
}

/* Header & Nav */
header {
  background-color: var(--header-bg);
  color: var(--header-text);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--header-text);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: var(--header-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #adb5bd;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
  min-height: 70vh;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: var(--border-radius);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.card p {
  flex-grow: 1;
  color: #666;
}

.price {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--success-color);
  margin: 15px 0;
}

.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #004494;
}

/* Error Specific Styles */
.error-container {
  background: #ffe6e6;
  border: 1px solid var(--error-color);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.error-title {
  color: var(--error-color);
  margin-bottom: 10px;
}

.datadog-test-btn {
  background: #632ca6; /* Datadog purple */
  margin-top: 10px;
}

.datadog-test-btn:hover {
  background: #4f2385;
}

/* Footer */
footer {
  background: var(--header-bg);
  color: var(--header-text);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}