/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0B1D3A;
  color: #e2e8f0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #D4A843; text-decoration: none; transition: color .2s; }
a:hover { color: #E6C370; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #071428; }
::-webkit-scrollbar-thumb { background: #D4A843; border-radius: 3px; }
::selection { background: #D4A843; color: #0B1D3A; }

/* ── Typography ────────────────────────────────────────────────────────────── */
.font-display { font-family: "Playfair Display", Georgia, serif; }
h1,h2,h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
h1 { font-size: clamp(28px, 5vw, 52px); line-height: 1.15; }
h2 { font-size: clamp(22px, 3.5vw, 38px); line-height: 1.25; }
h3 { font-size: clamp(18px, 2.5vw, 24px); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Grid ──────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,20,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #0F2140;
}
.nav-inner {
  display: flex; align-items: center;
  height: 64px; gap: 32px;
}
.nav-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px; font-weight: 700;
  color: #D4A843; white-space: nowrap;
}
.nav-logo:hover { color: #E6C370; }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #9ca3af;
  transition: all .2s;
}
.nav-links a:hover { color: #D4A843; background: #0F2140; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: #9ca3af;
  border-radius: 2px; transition: .2s;
}
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none; flex-direction: column; align-items: stretch;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #071428; padding: 16px; border-bottom: 1px solid #0F2140;
  }
  .nav-links.open, .nav-cta.open { display: flex; }
  .nav-cta.open { top: auto; border: none; padding: 0 16px 16px; }
  .nav-hamburger { display: flex; }
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 10px; }
.btn-gold { background: #D4A843; color: #0B1D3A; }
.btn-gold:hover { background: #E6C370; color: #0B1D3A; }
.btn-ghost { background: transparent; color: #9ca3af; }
.btn-ghost:hover { color: #D4A843; background: #0F2140; }
.btn-outline-gold { background: transparent; color: #D4A843; border: 1px solid #D4A843; }
.btn-outline-gold:hover { background: #D4A843; color: #0B1D3A; }
.btn-navy { background: #1A3561; color: #e2e8f0; }
.btn-navy:hover { background: #2E4F8A; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger:hover { background: #b91c1c; }
.btn-success { background: #16a34a; color: #fff; }
.btn-success:hover { background: #15803d; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-full { width: 100%; }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 16px; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-2px); border-color: #2E4F8A; }
.card-body { padding: 24px; }
.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid #1e3a5f;
  font-weight: 700; font-size: 15px; color: #e2e8f0;
}
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid #1e3a5f;
  background: #0B1D3A;
}

/* ── Crew Card ─────────────────────────────────────────────────────────────── */
.crew-card {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 16px; padding: 24px;
  transition: all .2s;
}
.crew-card:hover { transform: translateY(-3px); border-color: #D4A843; box-shadow: 0 8px 24px rgba(212,168,67,.1); }
.crew-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #1A3561, #2E4F8A);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #D4A843;
  flex-shrink: 0; overflow: hidden;
}
.crew-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.availability-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: 4px;
}

/* ── Job Card ──────────────────────────────────────────────────────────────── */
.job-card {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 16px; padding: 24px;
  transition: all .2s;
}
.job-card:hover { transform: translateY(-3px); border-color: #D4A843; box-shadow: 0 8px 24px rgba(212,168,67,.1); }

/* ── Badges ────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.badge-gold { background: rgba(212,168,67,.15); color: #D4A843; border: 1px solid rgba(212,168,67,.3); }
.badge-blue { background: rgba(59,130,246,.15); color: #60a5fa; border: 1px solid rgba(59,130,246,.2); }
.badge-green { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.2); }
.badge-red { background: rgba(239,68,68,.15); color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.badge-gray { background: rgba(107,114,128,.15); color: #9ca3af; border: 1px solid rgba(107,114,128,.2); }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: #9ca3af;
  text-transform: uppercase; letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: #071428; border: 1px solid #1e3a5f; border-radius: 8px;
  color: #e2e8f0; font-size: 15px;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #D4A843;
  box-shadow: 0 0 0 3px rgba(212,168,67,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-error   { background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,.15);  border: 1px solid rgba(34,197,94,.3);  color: #86efac; }
.alert-info    { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); color: #93c5fd; }
.alert-warning { background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: #fcd34d; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212,168,67,.12), transparent),
              radial-gradient(ellipse 60% 40% at 80% 50%, rgba(46,79,138,.2), transparent);
  text-align: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,168,67,.1); border: 1px solid rgba(212,168,67,.25);
  border-radius: 20px; padding: 6px 16px;
  font-size: 13px; color: #D4A843; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 span { color: #D4A843; }
.hero-sub { font-size: 18px; color: #9ca3af; max-width: 600px; margin: 20px auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ── Stats ─────────────────────────────────────────────────────────────────── */
.stats-bar {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 16px; padding: 32px 40px;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; text-align: center;
}
@media (max-width: 700px) { .stats-bar { grid-template-columns: repeat(2,1fr); } }
.stat-num { font-family: "Playfair Display",serif; font-size: 36px; font-weight: 700; color: #D4A843; }
.stat-label { font-size: 13px; color: #6b7280; margin-top: 4px; }

/* ── Section headers ───────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block;
  background: rgba(212,168,67,.1); border: 1px solid rgba(212,168,67,.25);
  border-radius: 20px; padding: 4px 14px;
  font-size: 12px; color: #D4A843; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-header p { color: #6b7280; max-width: 520px; margin: 12px auto 0; }

/* ── Search filters ────────────────────────────────────────────────────────── */
.search-bar {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 12px; padding: 20px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  margin-bottom: 32px;
}
.search-bar .form-group { margin-bottom: 0; flex: 1; min-width: 160px; }
.search-bar label { margin-bottom: 4px; }

/* ── Dashboard layout ──────────────────────────────────────────────────────── */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-sidebar {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 16px; padding: 16px; position: sticky; top: 80px;
}
.dash-sidebar a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #9ca3af; font-size: 14px; font-weight: 500;
  transition: all .2s; margin-bottom: 2px;
}
.dash-sidebar a:hover, .dash-sidebar a.active { background: #142B50; color: #D4A843; }
.dash-sidebar .sidebar-section {
  font-size: 11px; font-weight: 700; color: #4B5563;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 16px 14px 6px; margin-top: 4px;
}
.dash-main > .section-title {
  font-size: 22px; font-weight: 800; margin-bottom: 24px;
}

/* ── Data table ────────────────────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 10px 14px; text-align: left;
  font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 1px solid #1e3a5f;
}
.data-table td {
  padding: 14px; font-size: 14px; color: #cbd5e1;
  border-bottom: 1px solid #0B1D3A;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(212,168,67,.03); }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: #0F2140; border: 1px solid #1e3a5f;
  border-radius: 20px; padding: 32px 24px; position: relative;
}
.pricing-card.featured {
  border-color: #D4A843;
  background: linear-gradient(180deg, rgba(212,168,67,.05), #0F2140);
}
.pricing-card .popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #D4A843; color: #0B1D3A;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
}
.price-amount { font-size: 42px; font-weight: 800; color: #e2e8f0; }
.price-amount span { font-size: 16px; color: #6b7280; font-weight: 400; }
.pricing-features { list-style: none; margin: 20px 0; }
.pricing-features li {
  padding: 7px 0; font-size: 14px; color: #9ca3af;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #0F2140;
}
.pricing-features li::before { content: "✓"; color: #D4A843; font-weight: 700; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer { background: #071428; border-top: 1px solid #0F2140; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { font-family: "Playfair Display",serif; font-size: 20px; font-weight: 700; color: #D4A843; }
.footer-heading { font-size: 12px; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer a { display: block; color: #6b7280; font-size: 14px; margin-bottom: 8px; }
.footer a:hover { color: #D4A843; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid #0F2140;
  font-size: 13px; color: #6b7280;
}

/* ── Auth pages ────────────────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 480px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 24px; border-radius: 10px; overflow: hidden; border: 1px solid #1e3a5f; }
.auth-tabs button {
  flex: 1; padding: 12px; background: #071428; color: #6b7280;
  border: none; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s;
}
.auth-tabs button.active { background: #D4A843; color: #0B1D3A; }

/* ── Misc ──────────────────────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid #1e3a5f; margin: 24px 0; }
.text-gold { color: #D4A843; }
.text-muted { color: #6b7280; }
.text-sm { font-size: 13px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.justify-between { justify-content: space-between; }
.overflow-auto { overflow-x: auto; }

/* ── Page header banner ────────────────────────────────────────────────────── */
.page-hero {
  padding: 60px 0 48px;
  background: linear-gradient(180deg, #071428 0%, #0B1D3A 100%);
  border-bottom: 1px solid #0F2140;
}
.page-hero h1 { font-size: 36px; }
.page-hero p { color: #6b7280; margin-top: 8px; }

/* ── Admin topbar ──────────────────────────────────────────────────────────── */
.admin-topbar {
  background: #071428; border-bottom: 1px solid #0F2140;
  padding: 12px 24px; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #9ca3af;
}
.admin-topbar strong { color: #D4A843; }

/* ── Blog content ──────────────────────────────────────────────────────────── */
.blog-content h2 { font-size: 22px; font-weight: 700; color: #e2e8f0; margin: 32px 0 12px; }
.blog-content h3 { font-size: 18px; font-weight: 700; color: #D4A843; margin: 24px 0 10px; }
.blog-content p  { margin-bottom: 16px; color: #cbd5e1; }
.blog-content ul, .blog-content ol { margin: 0 0 16px 24px; color: #cbd5e1; }
.blog-content li { margin-bottom: 8px; line-height: 1.7; }
.blog-content strong { color: #e2e8f0; }
.blog-content a { color: #D4A843; text-decoration: underline; }
.blog-content table { width:100%; border-collapse:collapse; margin:20px 0; font-size:14px; }
.blog-content th { background:#0F2140; color:#D4A843; padding:10px 14px; text-align:left; border-bottom:2px solid #1e3a5f; }
.blog-content td { padding:9px 14px; border-bottom:1px solid #0F2140; color:#cbd5e1; }
.blog-content tr:last-child td { border-bottom:none; }
.blog-content tr:hover td { background:#071428; }
.blog-content blockquote {
  border-left: 3px solid #D4A843; margin: 24px 0;
  padding: 12px 20px; background: #0F2140; border-radius: 0 8px 8px 0;
  color: #9ca3af; font-style: italic;
}
