/* MSO Landing Pages - Nuwell Networks Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #046bd2;
  --primary-dark: #045cb4;
  --navy: #16163f;
  --navy-alt: #264285;
  --teal: #32a5be;
  --dark-text: #1e293b;
  --medium-text: #334155;
  --muted-text: #94a3b8;
  --body-text: #7a7a7a;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-light: #cbd5e1;
  --shadow: 0 4px 20px rgba(22, 22, 63, 0.08);
  --shadow-hover: 0 8px 30px rgba(22, 22, 63, 0.15);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--body-text);
  line-height: 1.7;
}

/* Header */
.header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

.header-logo span {
  color: var(--teal);
}

.header-dept {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--border);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logout-btn {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--border);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.logout-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Header Menu */
.header-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-menu::-webkit-scrollbar { display: none; }

.header-menu a {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.header-menu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-menu a.active {
  color: var(--teal);
  border-color: rgba(50, 165, 190, 0.45);
  background: rgba(50, 165, 190, 0.12);
}

/* Hero Section */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(22, 22, 63, 0.95), rgba(38, 66, 133, 0.85));
  z-index: 1;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.15rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  color: var(--border);
}

/* Section Label */
.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

/* Main Content */
.main {
  max-width: 1140px;
  margin: 3rem auto;
  padding: 0 2rem;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  color: var(--body-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s, gap 0.2s;
}

.card a:hover {
  color: var(--primary-dark);
  gap: 0.6rem;
}

/* Quick Links */
.quick-links {
  margin-top: 2.5rem;
}

.quick-links h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.link-list {
  list-style: none;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.link-list li {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

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

.link-list li:hover {
  background: var(--bg);
}

.link-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.link-list a:hover {
  color: var(--primary-dark);
}

/* Announcements */
.announcements {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--teal);
}

.announcements h2 {
  color: var(--dark-text);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.announcements p {
  color: var(--body-text);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: var(--navy);
  color: var(--muted-text);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  margin-top: 4rem;
  letter-spacing: 0.3px;
}

/* Hours of Operation */
.hours {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
}

.hours h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--border);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table td {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--body-text);
}

.hours-table td:first-child {
  font-weight: 500;
  color: var(--dark-text);
  width: 40%;
}

.hours-status {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.hours-status.open {
  background: rgba(50, 165, 190, 0.12);
  color: var(--teal);
}

.hours-status.closed {
  background: rgba(148, 163, 184, 0.15);
  color: var(--muted-text);
}

/* Ticketing / Support */
.ticketing {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
}

.ticketing h2 {
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.ticketing > p {
  color: var(--body-text);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.ticket-channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.ticket-channel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.ticket-channel:hover {
  border-color: var(--teal);
}

.ticket-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.ticket-channel-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-text);
}

.ticket-channel-info span {
  font-size: 0.8rem;
  color: var(--muted-text);
}

/* Staff Directory */
.staff {
  margin-top: 2.5rem;
}

.staff h2 {
  color: var(--dark-text);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.staff-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.staff-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.staff-info strong {
  display: block;
  color: var(--dark-text);
  font-size: 0.95rem;
}

.staff-info span {
  display: block;
  color: var(--muted-text);
  font-size: 0.8rem;
}

.staff-info a {
  color: var(--primary);
  font-size: 0.8rem;
  text-decoration: none;
}

.staff-info a:hover {
  text-decoration: underline;
}

/* Forms & Downloads */
.forms-section {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow);
}

.forms-section h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.forms-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}

.form-item:hover {
  border-color: var(--primary);
  background: var(--white);
}

.form-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.form-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-info strong {
  display: block;
  color: var(--dark-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-info span {
  display: block;
  color: var(--muted-text);
  font-size: 0.82rem;
}

.form-info a {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.form-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.form-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}

.form-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-info strong {
  display: block;
  color: var(--dark-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.form-info span {
  display: block;
  color: var(--muted-text);
  font-size: 0.82rem;
}

.form-info a {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.form-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Info Boxes - two column */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.info-box {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-box h2 {
  color: var(--dark-text);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.info-box ul {
  list-style: none;
}

.info-box ul li {
  padding: 0.5rem 0;
  color: var(--body-text);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box ul li:last-child {
  border-bottom: none;
}

.info-box ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .header {
    flex-direction: column;
    gap: 0.65rem;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .header-right {
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
  }

  .header-menu {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0.2rem;
  }

  .header-dept {
    font-size: 0.78rem;
  }

  .main {
    padding: 0 1.25rem;
  }
}
