/* Job Harbor Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #060913;
  --bg-card: #0d121f;
  --bg-card-header: #101726;
  --border-card: #1f293d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-indigo: #6366f1;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Background subtle lighting */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Top utility bar */
.top-bar {
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: #64748b;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

/* Header & Nav */
header {
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  background: rgba(6, 9, 19, 0.85);
  backdrop-filter: blur(12px);
  z-index: 50;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.65rem;
  color: #38bdf8;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  text-transform: uppercase;
  margin-top: -2px;
}

.search-box {
  flex: 1;
  max-width: 440px;
  position: relative;
  margin: 0 20px;
}

.search-box input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 9999px;
  padding: 9px 16px 9px 40px;
  color: #f1f5f9;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-box input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}

/* Hero Section */
.hero {
  padding: 56px 20px 36px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
}

.hero h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Filter Pills */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: rgba(30, 41, 59, 0.9);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.filter-btn.active {
  background: #ffffff;
  color: #090d16;
  border-color: #ffffff;
  font-weight: 600;
}

.filter-count {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Main Grid Section */
.main-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 30px;
  flex: 1;
  width: 100%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.section-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.section-header .subtext {
  font-size: 0.8rem;
  color: #64748b;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Job Card */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  cursor: pointer;
}

.job-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(56, 189, 248, 0.12);
}

/* Card Visual Header */
.card-header-visual {
  height: 180px;
  position: relative;
  overflow: hidden;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Brand backgrounds */
.card-tesla .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(239, 68, 68, 0.25), transparent 60%), #0d111c;
}
.card-amazon .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.25), transparent 60%), #0d111c;
}
.card-discord .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.28), transparent 60%), #0d111c;
}
.card-spotify .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.25), transparent 60%), #0d111c;
}
.card-sephora .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(244, 63, 94, 0.2), transparent 60%), #0d111c;
}
.card-lululemon .card-header-visual {
  background: radial-gradient(circle at 80% 30%, rgba(225, 29, 72, 0.25), transparent 60%), #0d111c;
}

/* Top bar inside card header */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.tag-dot.red { background: #ef4444; }
.tag-dot.orange { background: #f59e0b; }
.tag-dot.indigo { background: #818cf8; }
.tag-dot.green { background: #22c55e; }
.tag-dot.pink { background: #f43f5e; }

.badge-tag-special {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: #f59e0b;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.favorite-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
}

/* Logo & Illustration layout inside Card Header */
.card-brand-showcase {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-main-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-subtitle-line {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Illustration SVGs */
.header-art {
  width: 110px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.job-card:hover .header-art {
  transform: scale(1.06);
}

/* Lower Body of Card */
.card-body-content {
  padding: 22px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0b0f1a;
  flex: 1;
  justify-content: space-between;
}

.card-category-sublabel {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: capitalize;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.card-discover-action {
  margin-top: 16px;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #38bdf8;
  transition: all 0.2s ease;
}

.job-card:hover .card-discover-action {
  gap: 10px;
  color: #7dd3fc;
}

/* Feature/Value Props Section - Spacious, un-cramped layout */
.value-props-section {
  max-width: 1240px;
  margin: 64px auto 96px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .value-props-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 48px auto 72px;
  }
}

.prop-card {
  background: linear-gradient(180deg, #0e1526 0%, #0a0f1d 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 180px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.prop-card:hover {
  border-color: rgba(56, 189, 248, 0.25);
  transform: translateY(-3px);
}

.prop-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.prop-icon.lightning { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
.prop-icon.shield { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
.prop-icon.star { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.25); }

.prop-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.prop-card p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.65;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #050810;
  padding: 48px 24px 28px;
  margin-top: auto;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  font-size: 0.85rem;
  font-style: italic;
  color: #64748b;
  margin-top: 12px;
}

.footer-column h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: capitalize;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #38bdf8;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  color: #475569;
}

/* Modal Dialog Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #090e1a;
  border: 1px solid #1e293b;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(56, 189, 248, 0.08);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-container {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-dot {
  width: 9px;
  height: 9px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 10px #38bdf8;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.15s;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.modal-body {
  padding: 4px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Callout Box matching screenshots */
.policy-callout-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
}

.policy-callout-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.policy-callout-text {
  font-size: 0.82rem;
  color: #93c5fd;
  font-weight: 500;
  line-height: 1.5;
}

/* Modal text sections */
.policy-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.policy-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
}

.policy-section-body {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.55;
}

.modal-footer {
  padding: 12px 20px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}

.modal-action-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-action-btn:hover {
  background: #0369a1;
}
