/* --- Shared CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0284c7; --primary-light: #e0f2fe;
  --secondary: #0d9488; --secondary-light: #ccfbf1;
  --accent: #f59e0b; --accent-light: #fef3c7;
  --text-main: #1e293b; --text-muted: #475569;
  --bg-color: #f8fafc; --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-hover: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { text-decoration: none; color: inherit; }
.page { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* --- Topbar & Header --- */
.topbar { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: var(--white); font-size: 0.9rem; padding: 0.5rem 0; text-align: center; }
.topbar .page { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.topbar span:last-child { font-weight: 600; color: #fef08a; }

header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; padding: 1rem 0; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { color: var(--primary); background: var(--primary-light); padding: 0.5rem; border-radius: 8px; display: flex; }
.brand-title { font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.brand-subtitle { font-size: 0.85rem; color: var(--text-muted); }

.menu { display: flex; gap: 1.5rem; }
.menu a { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); transition: color 0.2s; }
.menu a:hover, .menu a.active { color: var(--primary); }
.hamburger { display: none; background: none; border: none; color: var(--primary); font-size: 2rem; cursor: pointer; }

/* --- Buttons --- */
.actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn { padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; text-align: center; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: #0369a1; transform: translateY(-2px); }
.btn-secondary { background: var(--primary-light); color: var(--primary); }
.btn-secondary:hover { background: #bae6fd; transform: translateY(-2px); }

/* --- Hero Layouts --- */
.hero { padding: 4rem 0; background: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.eyebrow { color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; display: block; margin-bottom: 0.5rem; }
.hero h1 { font-size: 2.75rem; line-height: 1.2; margin-bottom: 1.25rem; color: var(--text-main); }
.hero p { font-size: 1.1rem; color: var(--text-muted); }

/* Universal Sidebar Card */
.side-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-hover); border-top: 4px solid var(--secondary); }
.side-card.blue-top { border-top-color: var(--primary); }
.side-card.bg-light { background: var(--primary-light); box-shadow: var(--shadow); border: none; }
.side-card h2 { color: var(--text-main); margin-bottom: 0.5rem; font-size: 1.5rem; }
.side-card p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Side List rows */
.info-list { display: flex; flex-direction: column; gap: 1.25rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon { background: var(--secondary-light); color: var(--secondary); width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.info-row b { display: block; color: var(--text-main); font-size: 1rem; }
.info-row small { color: var(--text-muted); font-size: 0.85rem; display: block; margin-top: 0.2rem; }

/* --- Shared Sections --- */
section { padding: 4rem 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head h2 { font-size: 2rem; color: var(--primary); margin-bottom: 0.5rem; }
.section-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Notice Blocks */
.notice-hero { background: var(--primary-light); border-left: 5px solid var(--primary); padding: 1.5rem 2rem; border-radius: var(--radius); margin-bottom: 2.5rem; }
.notice-hero h3 { color: var(--primary); font-size: 1.35rem; margin-bottom: 0.25rem; }
.notice-grid { display: flex; flex-direction: column; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.notice { padding: 1.25rem 1.5rem; border-radius: var(--radius); font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 1rem; }
.notice-urgent { background: #fffbeb; color: #b45309; border-left: 4px solid var(--accent); }
.notice-info { background: var(--white); color: var(--text-muted); border-left: 4px solid var(--primary); box-shadow: var(--shadow); }
.note-box { background: #fffbeb; color: #b45309; padding: 1rem 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--accent); font-size: 0.9rem; font-weight: 500; margin-top: 3rem; text-align: center; }

/* Generic Grids & Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #e2e8f0; border-top: 4px solid var(--primary); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-icon { background: var(--primary-light); color: var(--primary); width: 3.5rem; height: 3.5rem; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.25rem; color: var(--text-main); margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; flex-grow: 1; }

/* Carriers Grid */
.carrier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.carrier { background: var(--white); border: 1px solid #e2e8f0; padding: 1rem 1.25rem; border-radius: var(--radius); font-weight: 500; font-size: 0.95rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.85rem; transition: transform 0.2s; }
.carrier:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.carrier::before { content: '✓'; color: var(--secondary); font-weight: bold; background: var(--secondary-light); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.8rem; }

/* Quick Links */
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.legacy-link { background: var(--white); border: 1px solid #e2e8f0; padding: 1.25rem; border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; transition: all 0.2s; }
.legacy-link:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--primary); }
.legacy-link span { font-size: 0.85rem; color: var(--text-muted); }

/* Footer */
footer { background: var(--text-main); color: var(--white); padding: 2rem 0; text-align: center; }
footer .page { display: flex; flex-direction: column; gap: 0.5rem; opacity: 0.8; font-size: 0.9rem; }

/* Mobile Adaptations */
@media (max-width: 768px) {
  .topbar .page { justify-content: center; text-align: center; }
  .hero-grid, .details-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hamburger { display: block; }
  .menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); padding: 1rem 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-top: 1px solid #e2e8f0; }
  .menu.active { display: flex; }
  .menu a { padding: 1rem 1.5rem; border-bottom: 1px solid #f1f5f9; }
  .menu a:last-child { border-bottom: none; }
}