/* ============================================
   Anivation Marketing — Webdev Intake Form
   Huisstijl: donkergroen #004423 + geel #edb70d
   ============================================ */

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

:root {
  --ani-green: #004423;
  --ani-green-soft: #0a5a32;
  --ani-green-bg: #f0f5f1;
  --ani-yellow: #edb70d;
  --ani-yellow-dark: #c99a05;
  --ani-yellow-soft: #fdf5d9;
  --ani-white: #ffffff;
  --ani-gray-50: #f8f8f6;
  --ani-gray-100: #eeeeea;
  --ani-gray-200: #dcdcd4;
  --ani-gray-500: #6b7066;
  --ani-gray-700: #3a3d36;
  --ani-radius: 14px;
  --ani-radius-sm: 8px;
  --ani-radius-pill: 999px;
  --ani-shadow: 0 1px 2px rgba(0,68,35,0.04), 0 8px 24px -12px rgba(0,68,35,0.12);
  --ani-shadow-soft: 0 1px 2px rgba(0,68,35,0.04);
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ani-green);
  background: var(--ani-gray-50);
  padding: 2rem 1rem;
  min-height: 100vh;
}

.form-wrap {
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
}

/* ----- Hero header ----- */
.hero {
  background: var(--ani-green);
  color: #fff;
  padding: 2rem 2rem 1.75rem;
  border-radius: var(--ani-radius);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--ani-yellow);
  opacity: 0.14;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -30px; right: 60px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--ani-yellow);
  opacity: 0.18;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ani-yellow);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--ani-yellow);
  display: inline-block;
}
.hero-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.hero-title .accent { color: var(--ani-yellow); }
.hero-sub {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.85;
  max-width: 480px;
  line-height: 1.5;
}

/* ----- Section card ----- */
.section {
  background: var(--ani-white);
  border: 1px solid var(--ani-gray-100);
  border-radius: var(--ani-radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  box-shadow: var(--ani-shadow-soft);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.section:hover {
  border-color: var(--ani-gray-200);
  box-shadow: var(--ani-shadow);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ani-gray-100);
}
.section-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ani-green);
  color: var(--ani-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.section-num::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--ani-yellow);
  opacity: 0.4;
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ani-green);
  letter-spacing: -0.005em;
}

/* ----- Fields ----- */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field-grid.single { grid-template-columns: 1fr; }

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-group label {
  font-size: 12px;
  color: var(--ani-green);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.field-group input,
.field-group select,
.field-group textarea {
  font-size: 14px;
  border: 1.5px solid var(--ani-gray-100);
  border-radius: var(--ani-radius-sm);
  padding: 10px 12px;
  background: var(--ani-white);
  color: var(--ani-green);
  width: 100%;
  outline: none;
  transition: all 0.15s;
  resize: none;
  font-family: inherit;
  font-weight: 400;
}
.field-group input::placeholder,
.field-group textarea::placeholder {
  color: var(--ani-gray-500);
  font-weight: 300;
}
.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover {
  border-color: var(--ani-gray-200);
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--ani-green);
  box-shadow: 0 0 0 3px rgba(237, 183, 13, 0.18);
}

/* ----- Radio pills ----- */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.radio-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--ani-gray-100);
  border-radius: var(--ani-radius-pill);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ani-gray-700);
  background: var(--ani-white);
  transition: all 0.15s;
  user-select: none;
}
.radio-btn:hover {
  border-color: var(--ani-green);
  color: var(--ani-green);
  transform: translateY(-1px);
}
.radio-btn.selected {
  border-color: var(--ani-green);
  background: var(--ani-green);
  color: var(--ani-yellow);
  font-weight: 600;
}

/* ----- Checkboxes ----- */
.check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ani-gray-700);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--ani-radius-sm);
  transition: background 0.15s;
}
.check-item:hover {
  background: var(--ani-green-bg);
  color: var(--ani-green);
}
.check-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--ani-green);
  cursor: pointer;
}

/* ----- Conditional reveals ----- */
.conditional {
  transition: opacity 0.25s, max-height 0.35s;
  overflow: hidden;
}
.conditional.hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}
.conditional.visible {
  opacity: 1;
  max-height: 800px;
  margin-top: 1rem;
}

/* ----- Score bar ----- */
.score-bar-wrap {
  margin-top: 1rem;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--ani-green) 0%, var(--ani-green-soft) 100%);
  border-radius: var(--ani-radius);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.score-bar-wrap::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--ani-yellow);
  opacity: 0.1;
}
.score-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 110px;
  color: var(--ani-yellow);
}
.score-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
}
.score-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--ani-yellow);
  transition: width 0.5s ease, background 0.3s;
  box-shadow: 0 0 12px rgba(237, 183, 13, 0.5);
}
.score-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--ani-yellow);
  min-width: 60px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.score-note {
  font-size: 11px;
  color: var(--ani-gray-500);
  margin-top: 8px;
  font-style: italic;
}

/* ----- CTAs ----- */
.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 13px 26px;
  background: var(--ani-green);
  color: var(--ani-yellow);
  border: 2px solid var(--ani-green);
  border-radius: var(--ani-radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary::after {
  content: "→";
  transition: transform 0.2s;
}
.btn-primary:hover {
  background: var(--ani-yellow);
  color: var(--ani-green);
  border-color: var(--ani-yellow);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(237, 183, 13, 0.5);
}
.btn-primary:hover::after {
  transform: translateX(3px);
}

.btn-secondary {
  padding: 13px 22px;
  background: transparent;
  color: var(--ani-green);
  border: 2px solid var(--ani-green);
  border-radius: var(--ani-radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--ani-green);
  color: var(--ani-yellow);
}

/* ----- Footer signature ----- */
.signature {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ani-gray-100);
  font-size: 11px;
  color: var(--ani-gray-500);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}
.signature .dot {
  color: var(--ani-yellow);
  font-size: 14px;
}

/* ----- Responsive ----- */
@media (max-width: 600px) {
  body { padding: 1rem 0.75rem; }
  .hero { padding: 1.5rem 1.25rem; }
  .hero-title { font-size: 24px; }
  .section { padding: 1.2rem 1.1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
