:root {
  --cp-primary: #0F766E;
  --cp-secondary: #1E293B;
  --cp-accent: #2563EB;
  --cp-bg: #F8FAFC;
  --cp-text: #0F172A;
  
  --cp-font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --cp-font-display: 'Outfit', 'Inter', sans-serif;
}

body {
  background-color: var(--cp-bg);
  color: var(--cp-text);
  font-family: var(--cp-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cp-font-display);
  font-weight: 700;
  color: var(--cp-secondary);
}

/* Base Styles & Typography */
.text-primary-custom { color: var(--cp-primary); }
.text-secondary-custom { color: var(--cp-secondary); }
.text-accent-custom { color: var(--cp-accent); }
.bg-primary-custom { background-color: var(--cp-primary); }
.bg-secondary-custom { background-color: var(--cp-secondary); }
.bg-accent-custom { background-color: var(--cp-accent); }

/* Buttons */
.btn-primary-custom {
  background-color: var(--cp-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(15, 118, 110, 0.2), 0 2px 4px -1px rgba(15, 118, 110, 0.1);
}
.btn-primary-custom:hover {
  background-color: #0d615b;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.3), 0 4px 6px -2px rgba(15, 118, 110, 0.15);
  color: white;
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--cp-primary);
  border: 2px solid var(--cp-primary);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-custom:hover {
  background-color: var(--cp-primary);
  color: white;
}

/* Card Based Layouts */
.cp-card {
  background: white;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.cp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.cp-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}
.cp-card-body {
  padding: 1.5rem;
}

/* Navigation */
.navbar-custom {
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}
.navbar-custom .nav-link {
  color: var(--cp-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.2s ease;
}
.navbar-custom .nav-link:hover {
  color: var(--cp-primary);
}
.navbar-custom .navbar-brand {
  font-family: var(--cp-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cp-primary);
}

/* Tags / Badges */
.cp-badge {
  display: inline-block;
  padding: 0.35em 0.85em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 9999px;
  background-color: rgba(15, 118, 110, 0.1);
  color: var(--cp-primary);
}

.cp-badge-accent {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--cp-accent);
}

/* Roadmap timeline */
.cp-timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}
.cp-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgba(15, 118, 110, 0.2);
}
.cp-timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.cp-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--cp-primary);
  border: 3px solid white;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2);
}

/* Sections */
.cp-section {
  padding: 5rem 0;
}
.cp-section-light {
  background-color: white;
}
.cp-section-alt {
  background-color: var(--cp-bg);
}

/* Search Bar */
.search-container {
  position: relative;
}
.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}
.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 9999px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.search-input:focus {
  outline: none;
  border-color: var(--cp-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

/* Sidebar Utilities */
.sticky-sidebar {
  position: sticky;
  top: 2rem;
}

/* Custom Utilities */
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.shadow-soft { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025); }

/* Transitions */
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
