/* Clean, minimal design inspired by Basecamp and Apple */
/* Color scheme derived from logo color #28535f (teal) */

:root {
  --primary-color: #2d6a80;
  --primary-hover: #1f4d5e;
  --accent-color: #d4574b;
  --accent-hover: #b8443a;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --border-color: #e0e0e0;
  --bg-light: #f8fafb;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  color: var(--text-secondary);
}

/* Navbar */
.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--text-primary) !important;
  font-weight: 600;
}

.nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 106, 128, 0.15);
}

.btn {
  border-radius: 6px;
  font-weight: 500;
}

/* Forms */
.form-control, .form-select {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(45, 106, 128, 0.1);
}

.form-control::placeholder {
  color: #999;
}

/* Hero section */
.hero {
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero .lead {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
  padding: 3rem 2rem;
  border-radius: 12px;
  max-width: 500px;
  margin: 3rem auto 0;
  border: 1px solid var(--border-color);
}

.cta-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.cta-section .form-group {
  margin-bottom: 1rem;
}

.cta-section input[type="email"] {
  padding: 0.85rem;
  font-size: 1rem;
}

.cta-section .btn {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
}

/* Features section */
.features {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
  background-color: white;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 106, 128, 0.08);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-card h4 {
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  margin-top: auto;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

footer a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer h6 {
  color: var(--text-primary);
}

/* Spacing utilities */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero {
    padding: 3rem 0;
  }
}