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

:root {
  --color-bg: #0f0f14;
  --color-bg-alt: #16161d;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.15);
  --color-text: #e4e4e7;
  --color-text-secondary: #a1a1aa;
  --color-text-muted: #71717a;
  --color-accent: #818cf8;
  --color-accent-glow: rgba(129, 140, 248, 0.15);
  --color-urgent: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --max-width: 1100px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 20, 0.75);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--color-border);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.nav-logo {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background: var(--color-surface-hover);
}

.nav-logout {
  opacity: 0.5;
}

.nav-logout:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Hero ─────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  padding: 4rem 1.5rem 6rem;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 20, 0.5) 0%,
    rgba(15, 15, 20, 0.7) 40%,
    rgba(15, 15, 20, 0.92) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  background: var(--color-accent-glow);
  border: 1px solid rgba(129, 140, 248, 0.2);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
}

.btn-primary:hover {
  background: #6366f1;
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-1px);
}


/* ── Sections ─────────────────────── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-alt {
  max-width: 100%;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-alt > .section-header,
.section-alt > .card-grid {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-glow);
  color: var(--color-accent);
  flex-shrink: 0;
}

.section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ── Cards ────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.card:hover {
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--color-accent-glow);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.card-icon-urgent {
  background: rgba(248, 113, 113, 0.12);
  color: var(--color-urgent);
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.card a {
  color: #a5b4fc;
  text-decoration: none;
  transition: color 0.2s;
}

.card a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

/* Notice card */
.notice-card {
  position: relative;
  overflow: hidden;
}

.notice-card .card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  border-radius: 3px;
}

.notice-card .card-body {
  padding-left: 0.5rem;
}

.card-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  background: rgba(129, 140, 248, 0.15);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.card-date {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.notice-card h3 {
  margin-top: 0.75rem;
}

/* ── Contact list ─────────────────── */
.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-list strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-list span {
  font-size: 0.83rem;
  color: var(--color-text-muted);
}

/* ── Document list ────────────────── */
.doc-list {
  list-style: none;
}

.doc-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.doc-list li:last-child {
  border-bottom: none;
}

.doc-list a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

.doc-list a:hover {
  color: #a5b4fc;
  text-decoration: underline;
}

/* ── Info rows ────────────────────── */
.info-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-xs);
}

.info-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

.info-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

/* ── Drive CTA ────────────────────── */
.drive-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  max-width: 600px;
  margin: 0 auto;
}

.drive-icon {
  margin-bottom: 1.5rem;
}

.drive-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.drive-cta p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.drive-cta .btn {
  margin-bottom: 1rem;
}

/* ── Note ─────────────────────────── */
.note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ── Footer ───────────────────────── */
footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

footer p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ── Fade-in animation ────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger cards */
.card-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.card-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.card-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ── Mobile ───────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-xs);
  }

  .hero {
    min-height: 70vh;
    padding: 7rem 1.5rem 4rem;
  }

  .section {
    padding: 3.5rem 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
