:root {
  --bg: #f6f7f8;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #374151;
  --brand: #1e7a4b;
  --brand-ink: #0f3f2a;
  --accent: #e7f6ee;
  --ring: rgba(30, 122, 75, 0.25);
  --shadow: 0 10px 20px rgba(2, 6, 23, 0.06), 0 2px 6px rgba(2, 6, 23, 0.06);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

body.landing-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

body.landing-page header {
  position: static;
  top: auto;
  backdrop-filter: none;
  background: transparent;
  border-bottom: none !important;
  min-height: auto;
  contain: initial;
  box-shadow: none;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-logo {
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  border-radius: 10px;
  display: block;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf6f0;
  padding: 18px;
  border-radius: 12px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.04);
}

.logo-wrap .landing-logo {
  margin-bottom: 0;
}

.hero {
  background: var(--card);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.form-container {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 0 auto;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink);
  background: white;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--brand);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.submit-btn:hover:not(:disabled) {
  background: var(--brand-ink);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s ease-in-out infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

.response-container {
  margin-top: 1rem;
}

.trust-signals {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.features-list {
  text-align: left;
  margin-bottom: 1.5rem;
}

.features-list ul {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

.features-list li::before {
  content: "✅";
  margin-right: 0.75rem;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.125rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}
