* { margin: 0; padding: 0; box-sizing: border-box; }
html { min-height: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f8fafc; color: #334155; min-height: 100vh; display: flex; flex-direction: column; }
.footer { margin-top: auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* Nav */
.nav { background: white; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { height: 32px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 14px; color: #64748b; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: #1e293b; }
.nav-links .btn-primary { background: #2563eb; color: white; padding: 8px 18px; border-radius: 8px; font-weight: 600; }
.nav-links .btn-primary:hover { background: #1d4ed8; }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%); padding: 60px 0 64px; text-align: center; }
.hero-inner { max-width: 680px; margin: 0 auto; padding: 0 20px; }
.hero h1 { font-size: 36px; font-weight: 800; color: white; margin-bottom: 8px; line-height: 1.2; }
.hero p { color: #94a3b8; font-size: 17px; margin-bottom: 28px; }
.search-box { display: flex; background: white; border-radius: 50px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.search-field { flex: 1; position: relative; min-width: 0; }
.search-field input { width: 100%; padding: 18px 16px 18px 44px; border: none; font-size: 15px; color: #1e293b; outline: none; }
.search-field input::placeholder { color: #94a3b8; }
.search-field .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; }
.search-div { width: 1px; background: #e2e8f0; margin: 10px 0; }
.search-btn { background: #2563eb; color: white; border: none; padding: 0 32px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.search-btn:hover { background: #1d4ed8; }

/* Sections */
.section { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.section-sm { max-width: 720px; margin: 0 auto; padding: 40px 20px; }
.section-title { font-size: 28px; font-weight: 700; color: #0f172a; margin-bottom: 8px; text-align: center; }
.section-sub { font-size: 16px; color: #64748b; text-align: center; margin-bottom: 40px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: #2563eb; }
.stat-label { font-size: 14px; color: #64748b; margin-top: 4px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: white; border-radius: 12px; padding: 28px; border: 1px solid #e5e7eb; text-align: center; }
.feature-icon { width: 48px; height: 48px; background: #eff6ff; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.feature h3 { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.feature p { font-size: 14px; color: #64748b; line-height: 1.5; }

/* Companies */
.companies { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.company-logo { width: 56px; height: 56px; border-radius: 12px; border: 1px solid #e5e7eb; object-fit: contain; background: white; padding: 4px; }

/* CTA */
.cta { background: linear-gradient(135deg, #1e3a5f, #2563eb); border-radius: 16px; padding: 48px; text-align: center; color: white; }
.cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta p { color: #bfdbfe; margin-bottom: 24px; }
.cta .btn { background: white; color: #2563eb; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; display: inline-block; }
.cta .btn:hover { background: #f0f9ff; }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 48px 20px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { }
.footer-brand img { height: 28px; margin-bottom: 12px; filter: brightness(10); }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer h4 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer a { display: block; font-size: 13px; color: #94a3b8; padding: 3px 0; }
.footer a:hover { color: white; }
.footer-bottom { max-width: 1100px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #1e293b; font-size: 12px; text-align: center; }

/* Job cards (search page) */
.results-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; font-size: 14px; color: #64748b; }
.results-bar strong { color: #1e293b; }
.jobs { display: flex; flex-direction: column; gap: 8px; align-items: stretch; width: 100%; }
.job-card { background: white; border-radius: 12px; padding: 16px; border: 1px solid #e5e7eb; transition: all 0.15s; display: block; }
.job-card:hover { border-color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.job-inner { display: flex; gap: 14px; }
.job-logo { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0; object-fit: contain; background: #f8fafc; border: 1px solid #f1f5f9; }
.job-content { flex: 1; min-width: 0; }
.job-title { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 2px; }
.job-company { font-size: 14px; color: #2563eb; margin-bottom: 4px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #64748b; }
.job-snippet { font-size: 13px; color: #64748b; margin-top: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.job-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.job-date { font-size: 12px; color: #94a3b8; }
.apply-btn { padding: 6px 16px; background: #eff6ff; color: #2563eb; border-radius: 6px; font-size: 13px; font-weight: 600; }
.apply-btn:hover { background: #dbeafe; }
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination button { width: 36px; height: 36px; border: 1px solid #d1d5db; background: white; border-radius: 8px; cursor: pointer; font-size: 14px; color: #374151; }
.pagination button:hover:not(:disabled) { border-color: #2563eb; color: #2563eb; }
.pagination button:disabled { opacity: 0.3; cursor: default; }
.pagination button.active { background: #2563eb; color: white; border-color: #2563eb; }
.pagination .nav-btn { width: auto; padding: 0 14px; }
.loading { text-align: center; padding: 60px 20px; color: #94a3b8; }
.empty { text-align: center; padding: 60px 20px; color: #94a3b8; background: white; border-radius: 12px; border: 1px solid #e5e7eb; }

/* Content pages */
.page-header { background: linear-gradient(135deg, #0f172a, #1e3a5f); padding: 40px 0; text-align: center; color: white; }
.page-header h1 { font-size: 28px; font-weight: 700; }
.content { max-width: 720px; margin: 0 auto; padding: 40px 20px; }
.content h2 { font-size: 20px; font-weight: 600; color: #1e293b; margin: 28px 0 8px; }
.content p, .content li { font-size: 15px; line-height: 1.7; color: #475569; margin-bottom: 12px; }
.content ul { padding-left: 20px; }
.content a { color: #2563eb; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: #2563eb; }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { background: #2563eb; color: white; border: none; padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-submit:hover { background: #1d4ed8; }

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .search-box { flex-direction: column; border-radius: 16px; }
  .search-div { width: auto; height: 1px; margin: 0; }
  .search-btn { padding: 14px; border-radius: 0 0 16px 16px !important; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .companies .company-logo { width: 44px; height: 44px; }
}
