/* Color palette (5 total):
   Primary: #0ea5e9
   Accent:  #10b981
   Neutrals: #111827, #6b7280, #ffffff
*/

:root {
  --primary: #0ea5e9;
  --accent: #10b981;
  --bg: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans",
    sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.05rem;
}
.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--fg);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: transparent;
  transition: background .2s ease, transform .2s ease;
  transform: scaleX(0);
  transform-origin: left;
}
.nav a:hover {
  background: #f3f4f6;
}
.nav a:hover::after {
  background: var(--primary);
  transform: scaleX(1);
}
.btn {
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; /* hover lift for buttons */
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-3px); /* hover lift for buttons */
}
.btn-primary:active {
  transform: translateY(1px); /* hover lift for buttons */
}
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  opacity: 0.95;
}
.btn-outline {
  border: 1px solid var(--fg);
  color: var(--fg);
  background: transparent;
}
.btn-outline:hover {
  background: #f3f4f6;
}
.btn-subtle {
  border: 1px solid #e5e7eb;
  color: var(--fg);
  background: #fff;
}
.btn-subtle:hover {
  background: #f9fafb;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: .75rem;
  border: 1px solid #e5e7eb;
  color: var(--muted);
}

.content {
  padding: 24px 0;
}

.hero {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #f9fafb; /* solid background instead of gradient */
}
.hero h1 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.25;
  font-family: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
  letter-spacing: 0.2px;
}
.hero p {
  margin: 0;
  color: var(--muted);
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.grid {
  display: grid;
  gap: 16px;
}
.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 16px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; /* hover lift for cards */
}
.card.hover-lift:hover {
  transform: translateY(-3px); /* hover lift for cards */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); /* hover lift for cards */
}
.card h3 {
  margin: 0 0 6px 0;
  font-family: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}
.card p {
  margin: 0;
  color: var(--muted);
}

.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 8px;
}
.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}
.table th {
  font-weight: 700;
  font-size: .9rem;
  color: #374151;
  background: #f9fafb;
}

.input,
select,
.file {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: var(--fg);
}
.label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.alert {
  padding: 12px;
  border-radius: 10px;
  background: #ecfeff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  margin-bottom: 12px;
}
.error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
.footer-inner {
  padding: 16px 0;
  color: var(--muted);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer-title {
  margin: 0 0 8px 0;
  font-weight: 700;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer-links a {
  text-decoration: none;
  color: var(--fg);
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-copy {
  color: var(--muted);
  margin: 0;
}
.footer-bottom {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
}

/* reveal animation utilities */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Add subtle section titles and separators */
.section-title {
  font-family: "Poppins", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}
.section-sub {
  color: var(--muted);
}

/* CTA band styling */
.cta-band {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
  background: #fff;
}
@media (min-width: 768px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}
