/* ===========================
   PAN OWO CHAPTER - Global CSS
   =========================== */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ===== FLUID TYPE SCALE ===== */
/* Base fluid scale: min 16px @ 320px viewport → max 18px @ 1440px */
:root {
  --fs-xs:   clamp(0.70rem,  0.65rem + 0.25vw, 0.80rem);
  --fs-sm:   clamp(0.82rem,  0.78rem + 0.2vw,  0.95rem);
  --fs-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --fs-md:   clamp(1.1rem,   1rem    + 0.5vw,  1.25rem);
  --fs-lg:   clamp(1.25rem,  1.1rem  + 0.75vw, 1.5rem);
  --fs-xl:   clamp(1.5rem,   1.25rem + 1.25vw, 2rem);
  --fs-2xl:  clamp(1.8rem,   1.5rem  + 1.5vw,  2.5rem);
  --fs-3xl:  clamp(2.2rem,   1.8rem  + 2vw,    3.2rem);
  --fs-4xl:  clamp(2.6rem,   2rem    + 3vw,    4rem);
  --lh-tight: 1.15;
  --lh-snug:  1.35;
  --lh-base:  1.65;
  --lh-loose: 1.85;
  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;
  --fw-extrabold:800;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide:   0.04em;
  --ls-wider:  0.08em;
}

:root {
  --green-dark: #1a5c2a;
  --green: #2d7a3e;
  --green-light: #4caf6e;
  --gold: #c8980a;
  --gold-light: #f0b429;
  --cream: #fdf6e3;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #9e9e9e;
  --gray-600: #5a5a5a;
  --gray-800: #2c2c2c;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--gray-800);
  background: var(--white);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--green-dark);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(26,92,42,0.97);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.nav-brand-text h1 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.nav-brand-text span {
  font-size: var(--fs-xs);
  color: var(--gold-light);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-normal);
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.nav-links .nav-portal-btn {
  background: var(--gold);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 8px;
}
.nav-links .nav-portal-btn:hover {
  background: var(--gold-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 50%, #1e7a40 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,152,10,0.2);
  border: 1px solid rgba(200,152,10,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,0.85);
  line-height: var(--lh-loose);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 280px;
  opacity: 0.06;
  user-select: none;
  pointer-events: none;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat h3 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  color: var(--gold-light);
  letter-spacing: var(--ls-tight);
  line-height: 1;
}
.hero-stat p {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0;
  margin-top: 4px;
}

/* ===== SECTION SHARED ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-100); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(45,122,62,0.1);
  color: var(--green);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  color: var(--gray-800);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin-bottom: 14px;
}
.section-header p {
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  color: var(--gray-600);
  line-height: var(--lh-loose);
  max-width: 560px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-body { padding: 28px; }
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
  color: var(--gray-800);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
}
.card p { color: var(--gray-600); font-size: var(--fs-sm); line-height: var(--lh-base); }

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  margin: 14px 0 20px;
  line-height: var(--lh-loose);
}
.footer h4 {
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
}
.footer-contact li span:first-child { font-size: 1rem; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-normal);
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--gold); color: var(--white); }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  color: var(--gray-800);
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,122,62,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 120px 0 60px;
  text-align: center;
  color: var(--white);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  margin-bottom: 12px;
}
.page-header p {
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-loose);
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ===== ALERTS ===== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: rgba(76,175,110,0.12); color: #2d7a3e; border: 1px solid rgba(76,175,110,0.3); }
.alert-error { background: rgba(220,53,69,0.1); color: #c0392b; border: 1px solid rgba(220,53,69,0.25); }
.alert-info { background: rgba(45,122,62,0.08); color: var(--green-dark); border: 1px solid rgba(45,122,62,0.2); }

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green { background: rgba(76,175,110,0.15); color: var(--green); }
.badge-gold { background: rgba(200,152,10,0.15); color: var(--gold); }
.badge-gray { background: var(--gray-200); color: var(--gray-600); }

/* ===== MEMBERSHIP TIERS ===== */
.plan-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  background: var(--white);
}
.plan-card:hover, .plan-card.featured {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.plan-card.featured { border-color: var(--gold); }
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.plan-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 16px 0 4px;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--gray-400); }
.plan-features { text-align: left; margin: 24px 0; }
.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ===== NEWS CARD ===== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img {
  height: 200px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.news-body { padding: 24px; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--gray-400);
}
.news-meta span { display: flex; align-items: center; gap: 4px; }
.news-body h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-bottom: 10px;
  color: var(--gray-800);
  line-height: var(--lh-snug);
}
.news-body p { font-size: var(--fs-sm); color: var(--gray-600); line-height: var(--lh-base); }
.news-body a.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  margin-top: 14px;
  transition: var(--transition);
}
.news-body a.read-more:hover { color: var(--green-dark); gap: 10px; }

/* ===== PORTAL / AUTH ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  padding: 44px 40px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 12px;
}
.auth-logo h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: var(--ls-tight);
  color: var(--gray-800);
}
.auth-logo p { color: var(--gray-400); font-size: var(--fs-sm); }
.auth-footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.auth-footer-link a { color: var(--green); font-weight: 600; }

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 76px;
}
.sidebar {
  width: 260px;
  background: var(--green-dark);
  min-height: calc(100vh - 76px);
  padding: 28px 0;
  flex-shrink: 0;
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  overflow-y: auto;
}
.sidebar-user {
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 16px;
}
.sidebar-avatar {
  width: 50px;
  height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.sidebar-user h4 { color: var(--white); font-size: 0.95rem; }
.sidebar-user span { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-left-color: var(--gold);
}
.sidebar-nav a .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.dashboard-main { flex: 1; background: var(--gray-100); padding: 32px; overflow-y: auto; }
.dashboard-header { margin-bottom: 28px; }
.dashboard-header h2 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); color: var(--gray-800); }
.dashboard-header p { color: var(--gray-400); font-size: var(--fs-sm); font-weight: var(--fw-regular); }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.stat-icon.green { background: rgba(45,122,62,0.12); }
.stat-icon.gold { background: rgba(200,152,10,0.12); }
.stat-icon.blue { background: rgba(33,150,243,0.1); }
.stat-icon.red { background: rgba(244,67,54,0.1); }
.stat-info h3 { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); color: var(--gray-800); line-height: 1; }
.stat-info p { font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--gray-400); margin-top: 4px; }
.dashboard-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.dashboard-section h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th {
  background: var(--gray-100);
  padding: 11px 14px;
  text-align: left;
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--fs-sm);
  color: var(--gray-800);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--gray-100); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--green-dark); padding: 20px; gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { flex-direction: column; }
  .sidebar { width: 100%; min-height: auto; position: static; height: auto; }
  .auth-card { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}
