/* ═══════════════════════════════════════════════════════════════
   ZOECHÉA ACADEMY — DMIT PORTAL DESIGN SYSTEM
   Extracted directly from DMIT app aesthetic.
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --ink: #19332e;
  --muted: #3f554f;
  --paper: #f2f5e8;
  --page: #fffdf2;
  --panel: #fff8e8;
  --line: #cbbf9c;
  --forest: #00715f;
  --lake: #087eb1;
  --mint: #a2ed7a;
  --sky: #6edaf2;
  --butter: #ffd84d;
  --honey: #f5ad28;
  --clay: #ff7c59;
  --lavender: #d7adff;
  --plum: #8656c7;
  --safe: #4e73d8;
  --cream: #fff3bf;
  --shadow: 0 16px 38px rgba(50, 44, 31, 0.14);
}

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

html { background: #e9eedf; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 113, 95, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 126, 177, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Geist", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ═════════════════════════ LAYOUT ═════════════════════════ */

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 60px 0; }

/* ═════════════════════════ NAV ═════════════════════════ */

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 18px; color: var(--ink);
}

.nav-brand .logo {
  width: 36px; height: 36px; background: var(--forest);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--page);
  font-size: 14px; font-weight: 900;
}

.nav-links {
  display: flex; align-items: center; gap: 24px;
}

.nav-links a {
  font-size: 14px; font-weight: 700; color: var(--muted);
  text-decoration: none; transition: color .15s;
}

.nav-links a:hover { color: var(--forest); }

/* ═════════════════════════ HERO ═════════════════════════ */

.hero {
  text-align: center;
  padding: 100px 0 80px;
}

.hero .brand-logo {
  width: 64px; height: 64px; border-radius: 14px;
  background: var(--forest); color: var(--page);
  font-size: 28px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 52px; line-height: 0.97; letter-spacing: 0;
  color: #1f302d; margin-bottom: 16px; font-weight: 800;
}

.hero-tagline {
  color: #3e524e; font-size: 22px; font-weight: 700;
  max-width: 600px; margin: 0 auto 32px;
}

.hero-sub {
  color: var(--muted); font-size: 16px; font-weight: 600;
  max-width: 560px; margin: 0 auto;
}

/* ═════════════════════════ CARDS ═════════════════════════ */

.card {
  background: var(--page);
  border: 1px solid rgba(216, 205, 185, 0.85);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.card-top-forest { border-top: 8px solid var(--forest); }
.card-top-mint { border-top: 8px solid var(--mint); }
.card-top-honey { border-top: 8px solid var(--honey); }
.card-top-lake { border-top: 8px solid var(--lake); }
.card-top-plum { border-top: 8px solid var(--plum); }
.card-top-clay { border-top: 8px solid var(--clay); }
.card-top-sky { border-top: 8px solid var(--sky); }

/* ═════════════════════════ BUTTONS ═════════════════════════ */

.btn-pill {
  display: inline-flex; min-height: 48px; align-items: center;
  justify-content: center; padding: 12px 28px;
  border: 1px solid rgba(47, 102, 90, 0.22);
  border-radius: 999px;
  background: var(--forest); color: var(--page);
  font-size: 15px; font-weight: 900; cursor: pointer;
  transition: all .15s; text-decoration: none;
}

.btn-pill:hover {
  background: #005a4c; transform: scale(1.02);
  text-decoration: none;
}

.btn-pill-outline {
  display: inline-flex; min-height: 48px; align-items: center;
  justify-content: center; padding: 12px 28px;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  background: transparent; color: var(--forest);
  font-size: 15px; font-weight: 900; cursor: pointer;
  transition: all .15s; text-decoration: none;
}

.btn-pill-outline:hover {
  background: var(--forest); color: var(--page);
  text-decoration: none;
}

.btn-pill-full { width: 100%; }

/* ═════════════════════════ FORMS ═════════════════════════ */

.form-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 12px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted);
}

.form-input {
  background: var(--panel); border: 1.5px solid var(--line);
  border-radius: 8px; padding: 12px 14px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  width: 100%; transition: border-color .15s;
}

.form-input:focus { outline: none; border-color: var(--forest); }

.form-error {
  color: #b91c1c; font-size: 13px; font-weight: 600;
  margin-top: 4px;
}

/* ═════════════════════════ BADGES ═════════════════════════ */

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; line-height: 1.1; letter-spacing: 0.04em;
}

.badge-active { background: var(--mint); color: var(--ink); }
.badge-pending { background: var(--butter); color: var(--ink); }
.badge-expired { background: var(--clay); color: var(--page); }
.badge-cancelled { background: var(--lavender); color: var(--ink); }

/* ═════════════════════════ ALERTS ═════════════════════════ */

.alert {
  padding: 14px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600; margin-bottom: 20px;
  border: 1px solid var(--line);
}

.alert-success { background: #e3efe7; color: #275e50; border-color: #a8d5ba; }
.alert-error { background: #fce8e8; color: #7f1d1d; border-color: #f5c2c2; }
.alert-info { background: #e0f2fe; color: #0c4a6e; border-color: #bae6fd; }

/* ═════════════════════════ GRIDS ═════════════════════════ */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}

/* ═════════════════════════ PRICING ═════════════════════════ */

.pricing-card {
  display: flex; flex-direction: column;
  padding: 32px;
}

.pricing-card .plan-name {
  font-size: 22px; font-weight: 800; color: var(--ink);
  margin-bottom: 6px;
}

.pricing-card .plan-desc {
  font-size: 14px; color: var(--muted); font-weight: 600;
  margin-bottom: 18px;
}

.pricing-card .price {
  font-size: 40px; font-weight: 800; color: var(--forest);
  line-height: 1; margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 14px; color: var(--muted); font-weight: 600;
}

.pricing-card .save {
  display: inline-block;
  background: var(--cream); color: #5f4717;
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 900; margin-bottom: 18px;
}

.pricing-card ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex-grow: 1;
}

.pricing-card ul li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 15px; color: var(--muted); font-weight: 600;
}

.pricing-card ul li::before {
  content: "✓"; color: var(--forest); font-weight: 900; font-size: 16px;
}

/* ═════════════════════════ TABLES ═════════════════════════ */

.data-table {
  width: 100%; border-collapse: collapse; font-size: 14px;
  background: var(--page); border-radius: 10px;
  overflow: hidden; box-shadow: var(--shadow);
}

.data-table th {
  text-align: left; padding: 14px 16px;
  background: #2f665a; color: var(--page);
  text-transform: uppercase; font-size: 11px; font-weight: 900;
  letter-spacing: 0.06em;
}

.data-table td {
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600;
}

.data-table tr:nth-child(even) td { background: var(--panel); }

.data-table tr:hover td { background: rgba(0,113,95,0.04); }

/* ═════════════════════════ MISC ═════════════════════════ */

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.page-header {
  text-align: center; margin-bottom: 40px;
}

.page-header h1 {
  font-size: 36px; font-weight: 800; color: var(--ink);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--muted); font-size: 16px; font-weight: 600;
}

.auth-card {
  max-width: 440px; margin: 60px auto;
  padding: 40px;
}

.auth-card .logo-wrap {
  text-align: center; margin-bottom: 24px;
}

.auth-card .logo-wrap .logo {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--forest); color: var(--page);
  font-size: 22px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}

.auth-card h2 {
  text-align: center; font-size: 26px; font-weight: 800;
  color: var(--ink); margin-bottom: 6px;
}

.auth-card .sub {
  text-align: center; color: var(--muted); font-size: 14px;
  font-weight: 600; margin-bottom: 28px;
}

.footer-note {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--muted); font-weight: 600;
}

/* Expandable accordion */
.accordion {
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--page); margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; gap: 12px; padding: 16px 20px;
  user-select: none; font-weight: 700; font-size: 15px;
}

.accordion-header:hover { color: var(--forest); }

.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(0.22,1,0.36,1);
  padding: 0 20px;
}

.accordion.open .accordion-body {
  max-height: 500px; padding-bottom: 18px;
}

.accordion-arrow {
  width: 18px; height: 18px;
  transition: transform .3s; color: var(--muted); flex-shrink: 0;
}

.accordion.open .accordion-arrow { transform: rotate(180deg); }
