:root {
  --blue: #89D0F0;
  --blue-dark: #5BB8E0;
  --blue-deeper: #3A9BC7;
  --blue-light: #E8F6FC;
  --blue-pale: #F4FBFE;
  --white: #FFFFFF;
  --text: #1A2B3C;
  --text-muted: #5A6F82;
  --card-bg: #FFFFFF;
  --border: #D4EAF5;
  --shadow: 0 4px 24px rgba(89, 176, 216, 0.1);
  --shadow-hover: 0 12px 36px rgba(89, 176, 216, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(137, 208, 240, 0.35), transparent),
    var(--blue-pale);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(212, 234, 245, 0.8);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0.7rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--text);
  transition: opacity 0.15s ease;
}
.logo:hover { opacity: 0.88; }
.logo-img {
  width: 40px; height: 40px; border-radius: 11px;
  object-fit: contain; display: block;
  box-shadow: 0 2px 10px rgba(58, 155, 199, 0.2);
}
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deeper));
  display: grid; place-items: center; font-size: 1.25rem;
  box-shadow: 0 2px 10px rgba(58, 155, 199, 0.25);
  overflow: hidden;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.logo-text span { color: var(--blue-deeper); }
nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0.9rem; border-radius: 8px; transition: all 0.2s ease;
}
nav a:hover, nav a.active { color: var(--blue-deeper); background: var(--blue-light); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.55rem 1.15rem; border-radius: 11px; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer; transition: all 0.2s ease; font-family: inherit;
}
.btn-primary {
  background: linear-gradient(180deg, #9ad7f3 0%, var(--blue) 100%);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(91, 184, 224, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91, 184, 224, 0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.6);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deeper); background: var(--blue-light); }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); padding: 0.25rem; line-height: 1; }
.mobile-nav {
  display: none; position: fixed; inset: 0; top: 64px;
  background: rgba(255,255,255,0.98); z-index: 99; padding: 1.5rem;
  flex-direction: column; gap: 0.5rem; border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 1.1rem; padding: 0.85rem 1rem; border-radius: 10px; }
.mobile-nav a:hover { background: var(--blue-light); color: var(--blue-deeper); }
.hero { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 2.75rem; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(232, 246, 252, 0.9); color: var(--blue-deeper);
  font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.95rem; border-radius: 999px;
  margin-bottom: 1.35rem; border: 1px solid var(--border);
}
.hero h1 {
  font-family: 'Nunito', sans-serif; font-size: clamp(2.3rem, 5.2vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 1.1rem;
}
.hero h1 .highlight {
  color: var(--blue-deeper);
  background: linear-gradient(135deg, var(--blue-deeper), #2a7fa8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 560px; margin: 0 auto 2.1rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
.stats {
  max-width: 1200px; margin: 0 auto 1.25rem; padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.stat-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem; text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat-value { font-family: 'Nunito', sans-serif; font-size: 1.65rem; font-weight: 800; color: var(--blue-deeper); line-height: 1.2; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 0.2rem; }
.section { max-width: 1200px; margin: 0 auto; padding: 1.75rem 1.5rem 3.25rem; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; }
.section-title { font-family: 'Nunito', sans-serif; font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; gap: 0.55rem; }
.section-title .dot {
  width: 9px; height: 9px; background: linear-gradient(135deg, var(--blue), var(--blue-deeper));
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(137, 208, 240, 0.35);
}
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filter-chip {
  padding: 0.4rem 0.95rem; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  background: rgba(255,255,255,0.9); border: 1px solid var(--border); color: var(--text-muted);
  cursor: pointer; transition: all 0.15s ease; font-family: inherit;
}
.filter-chip:hover, .filter-chip.active {
  background: var(--blue); border-color: var(--blue); color: var(--text);
  box-shadow: 0 2px 8px rgba(91, 184, 224, 0.3);
}
.tag-filters { margin-bottom: 1.5rem; }
.tag-filters .label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.35rem; }
.card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer; display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(91, 184, 224, 0.55);
}
.card.hidden { display: none; }
.card-thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.card-thumb img { transition: transform 0.4s ease; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(255, 255, 255, 0.94); color: var(--text);
  font-size: 0.7rem; font-weight: 700; padding: 0.28rem 0.6rem; border-radius: 7px;
  backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-score {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(137, 208, 240, 0.95); color: var(--text); font-size: 0.75rem; font-weight: 700;
  padding: 0.28rem 0.55rem; border-radius: 7px;
  backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.card-body { padding: 1.05rem 1.15rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.35rem; line-height: 1.3; letter-spacing: -0.01em; }
.card-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.special-badge {
  font-size: 0.68rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 5px;
}
.special-badge.staff { background: #fff3cd; color: #856404; }
.special-badge.gem { background: #e8daef; color: #6c3483; }
.card-desc {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.45; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-tags { display: flex; gap: 0.35rem; margin-top: 0.85rem; flex-wrap: wrap; }
.tag { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 5px; background: var(--blue-light); color: var(--blue-deeper); }
.cta { max-width: 1200px; margin: 1rem auto 3rem; padding: 0 1.5rem; }
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 20px; padding: 2.5rem 2rem; text-align: center; color: var(--text); position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -40%; right: -10%; width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.15); border-radius: 50%;
}
.cta-box h2 { font-family: 'Nunito', sans-serif; font-size: 1.7rem; font-weight: 800; margin-bottom: 0.5rem; position: relative; }
.cta-box p { opacity: 0.9; margin-bottom: 1.5rem; position: relative; max-width: 420px; margin-left: auto; margin-right: auto; }
.cta-box .btn { background: var(--white); color: var(--text); position: relative; }
.cta-box .btn:hover { background: var(--blue-pale); transform: translateY(-2px); }
footer { background: var(--white); border-top: 1px solid var(--border); padding: 2.5rem 1.5rem; margin-top: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.85rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.45rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--blue-deeper); }
.footer-bottom { max-width: 1200px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.modal-overlay {
  position: fixed; inset: 0; background: rgba(26, 43, 60, 0.55); backdrop-filter: blur(4px);
  z-index: 200; display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); border-radius: 20px; max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); position: relative;
}
.modal-header { padding: 1.5rem 1.5rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.modal-header h2 { font-family: 'Nunito', sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.3; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); line-height: 1; padding: 0.25rem; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 1rem 1.5rem 1.5rem; }
.modal-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1rem; }
.modal-desc { font-size: 0.95rem; color: var(--text); line-height: 1.55; margin-bottom: 1.25rem; }
.modal-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; background: var(--blue-pale); color: var(--text); transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); background: var(--white);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success h3 { font-family: 'Nunito', sans-serif; font-size: 1.4rem; margin-bottom: 0.5rem; }
.loading { text-align: center; padding: 3rem; color: var(--text-muted); }
@media (max-width: 768px) {
  nav { display: none; }
  .mobile-menu-btn { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 2.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 2rem; }
}
@media (max-width: 480px) {
  .nav-actions .btn-ghost { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
}
