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

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-bg: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.05);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── NAV ── */
nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-link {
  font-size: 15px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  color: var(--color-white);
  padding: 80px 24px 90px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 17px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* ── HOW IT WORKS ── */
.section {
  padding: 72px 24px;
}

.section-inner {
  max-width: 920px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 52px;
  letter-spacing: -0.3px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  background: var(--color-white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
}

.step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 60px 24px;
}

.cta-strip h2 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-strip p {
  font-size: 16px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.85);
}

.btn-white {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-primary-dark);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.btn-white:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── FORM PAGE ── */
.page-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.page-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.form-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.15s;
  font-family: inherit;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  width: 100%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.required-note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ── THANK YOU ── */
.thankyou-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 40px 24px;
  text-align: center;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.thankyou-icon svg {
  width: 36px;
  height: 36px;
  color: var(--color-success);
}

.thankyou-wrap h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}

.thankyou-wrap p {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 420px;
}

/* ── ADMIN ── */
.admin-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text);
}

.admin-count {
  font-size: 14px;
  color: var(--color-text-muted);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 50px;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  font-size: 14px;
}

thead {
  background: #f1f5f9;
}

th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #f8fafc;
}

.description-cell {
  max-width: 260px;
  white-space: pre-wrap;
  word-break: break-word;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: #dbeafe;
  color: var(--color-primary-dark);
}

.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--color-text-muted);
}

/* ── ADMIN LOGIN ── */
.login-wrap {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.login-card h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 6px;
}

.login-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.error-msg {
  background: #fee2e2;
  color: var(--color-error);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  text-align: left;
}

/* ── FOOTER ── */
footer {
  background: #1e293b;
  color: rgba(255,255,255,0.55);
  text-align: center;
  font-size: 13px;
  padding: 24px;
}
