*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #020617;
  --bg-soft: #020617;
  --bg-alt: #020617;
  --card: #020617;
  --card-alt: #020617;
  --text: #f9fafb;
  --muted: #9ca3af;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-2: #38bdf8;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.65);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 45%, #000000 100%);
  color: var(--text);
  line-height: 1.6;
}

body {
  min-height: 100vh;
}

/* General */

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

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

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-right a {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-right a:hover,
.nav-right a.active {
  color: var(--accent);
}

.nav-socials {
  display: flex;
  gap: 0.4rem;
}

.nav-socials a {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--muted);
  padding: 0.2rem 0.6rem;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 2.75rem 1.5rem 3rem;
  max-width: 1150px;
  margin: 0 auto;
}

.hero-content {
  align-self: center;
}

.chip {
  display: inline-flex;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.gradient-text {
  background: linear-gradient(120deg, #f97316, #facc15, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
}

.btn.primary {
  background: radial-gradient(circle at top left, #f97316 0, #facc15 40%, #f97316 100%);
  color: #020617;
  box-shadow: 0 18px 35px rgba(248, 250, 252, 0.12);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--muted);
}

.btn.small {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.hero-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.hero-meta p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
  font-size: 0.8rem;
  color: #e5e7eb;
}

.hero-badges {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--muted);
}

.badge.pulse {
  border-color: rgba(249, 115, 22, 0.7);
  background: rgba(249, 115, 22, 0.1);
  color: #fed7aa;
}

/* Sections */

.section {
  padding: 2.5rem 1.5rem 2.75rem;
}

.section.alt {
  background: radial-gradient(circle at top right, rgba(15,23,42,0.8) 0, #020617 60%);
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card,
.mini-dashboard,
.blog-card,
.resource-card,
.reference-card,
.job-card,
.contact-form,
.contact-info {
  background: linear-gradient(135deg, rgba(15,23,42,0.97), rgba(15,23,42,0.96));
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.hover-rise {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.hover-rise:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
  border-color: rgba(248, 250, 252, 0.3);
}

.split {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.checklist li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.mini-dashboard h3 {
  margin-top: 0;
}

.mini-dashboard ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.75rem;
}

.mini-dashboard li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

.mini-dashboard li span {
  color: var(--muted);
}

.mini-dashboard strong {
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Page header */

.page-header {
  padding: 2.25rem 1.5rem 1.5rem;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Jobs */

.job-filters {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.job-filters input {
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  min-width: 260px;
  font-size: 0.85rem;
}

.job-filters input::placeholder {
  color: #64748b;
}

.job-type-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.chip.small {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15,23,42,0.8);
  color: var(--muted);
  cursor: pointer;
}

.chip.small.active {
  background: rgba(249, 115, 22, 0.16);
  border-color: var(--accent);
  color: #fed7aa;
}

.job-list {
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.job-card-header h3 {
  margin: 0;
  font-size: 1rem;
}

.job-meta {
  margin: 0.4rem 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.4rem 0 0.7rem;
}

.job-tags span {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.job-actions {
  display: flex;
  gap: 0.5rem;
}

/* Blogs & resources */

.blog-list,
.resource-list {
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.blog-meta-list,
.resource-meta {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.blog-meta-list li,
.resource-meta li {
  margin-bottom: 0.3rem;
}

/* References */

.reference-grid {
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.reference-card ul {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.reference-card li {
  margin-bottom: 0.35rem;
}

.reference-card a {
  font-size: 0.85rem;
  color: var(--accent-2);
}

/* Contact */

.contact-section {
  margin: 1.5rem auto 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-form label {
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}

.contact-form textarea {
  resize: vertical;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-info li {
  margin-bottom: 0.35rem;
}

.form-status {
  font-size: 0.8rem;
  color: var(--accent-2);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.75rem 1.5rem 2rem;
  margin-top: 1rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  font-size: 0.85rem;
}

.footer h4,
.footer h5 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.25rem;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
}

/* Animations */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating {
  animation: float 4.5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Responsive */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    order: -1;
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-right ul {
    position: absolute;
    top: 3.1rem;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    padding: 0.8rem 1.5rem 1rem;
    flex-direction: column;
    gap: 0.7rem;
    display: none;
  }
  .nav-right ul.open {
    display: flex;
  }
  .nav-socials {
    justify-content: flex-start;
  }
  .hero {
    padding-top: 2.1rem;
  }
  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }
}
