/* =====================
   GLOBAL STYLES
===================== */

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  margin: 0;
  background: #0f0f0f;
  color: #ffffff;
}

section {
  padding: 100px 20px;
}

.container {
  max-width: 1100px;
  margin: auto;
}

h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 500;
}

p {
  font-size: 1.05rem;
  opacity: 0.85;
  line-height: 1.7;
}

/* =====================
   NAVBAR (2026 STYLE)
===================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.4px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
}

/* =====================
   HERO SECTION
===================== */

.hero {
  position: relative;
  min-height: 100vh;
  background: #0f0f0f;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px; /* space for navbar */
}

/* SVG MESH BACKGROUND */
.mesh-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 2;
  animation: float 14s ease-in-out infinite;
}

.mesh-bg path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 10s ease-in-out infinite alternate;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  padding: 20px;
  animation: fadeUp 1s ease forwards;
}

/* =====================
   BUTTONS
===================== */

.buttons {
  margin-top: 32px;
}

.btn {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  margin: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn.primary {
  background: #3b82f6;
  color: #ffffff;
}

.btn.primary:hover {
  background: #2563eb;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

#looking {
  padding: 140px 20px;
}

.looking-wrapper {
  transition: opacity 0.6s ease;
}

.looking-sub {
  margin-top: 10px;
  max-width: 540px;
  opacity: 0.75;
  font-size: 0.98rem;
}

/* STACK LAYOUT */
.role-stack {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* CARD BASE */
.role-card {
  position: relative;
  padding: 24px 28px;
  border-radius: 20px;
  max-width: 560px;

  background: radial-gradient(circle at top left,
      rgba(59, 130, 246, 0.25),
      rgba(15, 15, 15, 0.6)
    )
    border-box;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  overflow: hidden;
  cursor: default;

  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* LEFT / RIGHT OFFSET FOR STAGGERED FEEL */
.reveal-right {
  align-self: flex-start;
}

.reveal-left {
  align-self: flex-end;
}

/* SCROLL-IN STATE */
.role-card.active {
  opacity: 1;
}

/* LIGHT GLOW ACCENT */
.role-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

/* CONTENT TYPOGRAPHY */
.role-card h3 {
  margin: 8px 0 8px;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.role-card p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  opacity: 0.9;
}

.role-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* SMALL TOP LABEL */
.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.55);
  color: #e5e7eb;
}

/* HOVER INTERACTION */
.role-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.85),
    0 0 0 1px rgba(96, 165, 250, 0.4);
  border-color: rgba(96, 165, 250, 0.7);
  background: radial-gradient(circle at top left,
      rgba(59, 130, 246, 0.32),
      rgba(15, 15, 15, 0.82)
    )
    border-box;
}

.role-card:hover::before {
  opacity: 1;
}

/* FADE ENTIRE SECTION AT END */
#looking.fade-out {
  opacity: 0;
}

/* REVEAL BASE (you already have this for .reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE TWEAKS */
@media (max-width: 768px) {
  .role-stack {
    gap: 20px;
  }

  .role-card,
  .reveal-left,
  .reveal-right {
    align-self: stretch;
  }

  .role-card {
    padding: 20px 18px;
  }
}


/* =====================
   SCROLL REVEAL
===================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   FOOTER
===================== */

footer {
  padding: 40px 20px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.85rem;
}

/* =====================
   ANIMATIONS
===================== */

@keyframes draw {
  from {
    stroke-dashoffset: 1200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .nav-links {
    display: none; /* mobile nav later */
  }
}
