:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --header-bg: #000000; /* Dark background for header */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background-color: var(--header-bg); /* Dark header */
  padding: 0.5rem 0; /* Reduced padding as logo has built-in spacing */
}

.header .header-container {
  display: flex;
  justify-content: center; /* Center the logo across all screens */
  align-items: center;
}

.logo-container {
  /* No specific styles needed for container if centering works */
}

.header-logo {
  max-height: 80px; /* Set a specific height for the logo */
  width: auto; /* Maintain aspect ratio */
  display: block;
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

/* Form Card */
.form-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.hidden {
  display: none;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.submit-btn {
  width: 100%;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.875rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
}

.submit-btn:hover {
  background-color: var(--primary-hover);
}

/* Thank You Section */
.thank-you-page {
  /* Set overall thank-you page to take up full height with a clean body */
}

.thank-you-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px - 113px); /* Subtract header and approximate footer heights */
  padding: 1.5rem;
}

.thank-you-container .card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  text-align: center;
  max-width: 450px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: block; /* Important for flex-centering within thank-you-section */
}

.checkmark {
  width: 60px;
  height: 60px;
  background-color: #dcfce7;
  color: #15803d;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer a {
  color: var(--text-muted);
}