@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --teal: #0F6E56;
  --teal-light: #1a8f70;
  --teal-dark: #0a4e3d;
  --gold: #BA7517;
  --gold-light: #d48a1c;
  --cream: #FDFAF4;
  --cream-dark: #f0ebe0;
  --violet: #6B3FA0;
  --violet-light: #8354c4;
  --text-main: #1c1c2e;
  --text-sub: #4a4a6a;
  --text-light: #8888aa;
  --border: #e2ddd5;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --success: #16a34a;
  --error: #dc2626;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }

img { max-width: 100%; display: block; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-link:hover { background: var(--cream-dark); color: var(--teal); }
.nav-link.active { background: var(--teal); color: white; font-weight: 600; }
.nav-cta {
  padding: 9px 20px;
  background: var(--teal);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}
.nav-cta:hover { background: var(--gold); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 16px rgba(15,110,86,0.28);
}
.btn-primary:hover:not(:disabled) {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(186,117,23,0.32);
}
.btn-secondary {
  background: white;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-secondary:hover:not(:disabled) { background: var(--teal); color: white; }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover:not(:disabled) { background: var(--teal); }
.btn-ghost {
  background: transparent;
  color: var(--text-sub);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { background: var(--cream-dark); }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; border-radius: var(--radius-sm); }
.btn-lg { padding: 16px 36px; font-size: 17px; min-height: 54px; border-radius: 14px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-teal { border-left: 4px solid var(--teal); }
.card-gold { border-left: 4px solid var(--gold); }
.card-violet { border-left: 4px solid var(--violet); }

/* ── Progress ───────────────────────────────────────────── */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--cream-dark);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}
.badge-teal { background: rgba(15,110,86,0.1); color: var(--teal); }
.badge-gold { background: rgba(186,117,23,0.1); color: var(--gold); }
.badge-violet { background: rgba(107,63,160,0.1); color: var(--violet); }
.badge-success { background: rgba(22,163,74,0.1); color: var(--success); }
.badge-error { background: rgba(220,38,38,0.1); color: var(--error); }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.form-input:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,110,86,0.12);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234a4a6a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: white;
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}
.form-textarea:focus { border-color: var(--teal); }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
.form-char-count { font-size: 11px; color: var(--text-light); text-align: right; margin-top: 2px; }
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.form-checkbox input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-checkbox-label { font-size: 13px; color: var(--text-sub); line-height: 1.5; }
.form-checkbox-label a { color: var(--teal); }

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-success { background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.2); color: #14532d; }
.alert-warning { background: rgba(186,117,23,0.08); border-color: rgba(186,117,23,0.2); color: #78350f; }
.alert-error { background: rgba(220,38,38,0.08); border-color: rgba(220,38,38,0.2); color: #7f1d1d; }
.alert-info { background: rgba(15,110,86,0.08); border-color: rgba(15,110,86,0.2); color: var(--teal-dark); }

/* ── Containers ─────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--text-main);
  color: rgba(255,255,255,0.65);
  padding: 48px 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 20px; color: white; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-link { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.1); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-violet { color: var(--violet); }
.text-sub { color: var(--text-sub); }
.text-light { color: var(--text-light); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-12 { display: flex; flex-direction: column; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hidden { display: none !important; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }

.fade-in { animation: fadeIn 0.35s ease forwards; }
.slide-right { animation: slideRight 0.3s ease forwards; }

/* Loading spinner */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .section { padding: 48px 0; }
  .container, .container-sm { padding: 0 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  h1 { font-size: clamp(24px, 7vw, 42px) !important; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; font-size: 15px; }
}
