/* NoNeed careers pages: same tokens/look as index.html */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #22d3ee;
  --dark: #0f0f1a;
  --gray: #94a3b8;
  --light: #f1f5f9;
  --danger: #f87171;
  --ok: #34d399;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: var(--dark);
  overflow-x: hidden;
  min-height: 100vh;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 1040px; }

/* Animated background (index.html) */
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; height: 120vh;
  background: linear-gradient(135deg, #0f0f1a 0%, #1e1b4b 50%, #312e81 100%);
  overflow: hidden; z-index: -1;
}
.hero-bg::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}
.hero-bg::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40vh;
  background: linear-gradient(180deg, transparent, var(--dark));
}
.floating-shapes { position: absolute; width: 100%; height: 100%; }
.shape {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.2));
  filter: blur(40px); animation: float 20s ease-in-out infinite;
}
.shape:nth-child(1) { width: 400px; height: 400px; top: 10%; left: 10%; }
.shape:nth-child(2) { width: 300px; height: 300px; top: 50%; right: 10%; animation-delay: -5s; }
.shape:nth-child(3) { width: 200px; height: 200px; bottom: 20%; left: 30%; animation-delay: -10s; }
@keyframes float {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(50px,-50px) rotate(90deg); }
  50% { transform: translate(0,-100px) rotate(180deg); }
  75% { transform: translate(-50px,-50px) rotate(270deg); }
}
@keyframes pulse { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.1); opacity: .8; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* Header (index.html) */
header {
  position: fixed; top: 0; left: 0; right: 0; padding: 20px 0; z-index: 1000;
  transition: background .3s, backdrop-filter .3s;
}
header.scrolled { background: rgba(15,15,26,0.9); backdrop-filter: blur(20px); }
.header-content { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 32px; font-weight: 300; color: white; text-decoration: none; font-style: italic; }
.logo .no { font-weight: 600; color: white; }
.logo .need { font-weight: 500; color: var(--accent); }
nav { display: flex; gap: 8px; align-items: center; }
nav a {
  padding: 10px 20px; text-decoration: none; color: rgba(255,255,255,0.7);
  font-size: 14px; font-weight: 500; border-radius: 100px; transition: all .3s;
}
nav a:hover, nav a.current { color: white; background: rgba(255,255,255,0.1); }
.lang-pill {
  display: inline-flex; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 3px; margin-left: 8px;
}
.lang-pill a {
  padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: rgba(255,255,255,0.5);
}
.lang-pill a.active { background: var(--primary); color: white; box-shadow: 0 0 16px rgba(99,102,241,0.35); }
.lang-pill a:hover:not(.active) { background: transparent; color: white; }
.mobile-menu-btn { display: none; background: none; border: none; color: white; cursor: pointer; padding: 8px; }

/* Badge / gradient text (index.html) */
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.3); border-radius: 100px;
  color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 24px;
  animation: fadeUp 1s ease-out .1s both;
}
.badge::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
.gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 16px; font-family: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: all .3s; line-height: 1.2;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 0 24px rgba(99,102,241,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-ghost { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }

/* Hero */
.hero { min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 80px; position: relative; }
.hero-content { max-width: 820px; animation: fadeUp 1s ease-out; }
.hero h1 { font-size: clamp(40px, 7vw, 68px); font-weight: 700; color: white; line-height: 1.08; margin-bottom: 24px; letter-spacing: -2px; animation: fadeUp 1s ease-out .2s both; }
.hero p { font-size: 18px; color: var(--gray); max-width: 680px; margin: 0 auto 36px; animation: fadeUp 1s ease-out .3s both; }
.hero .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; animation: fadeUp 1s ease-out .4s both; }

/* Sections */
section.block { padding: 100px 0; background: var(--dark); }
section.block.tight { padding-top: 40px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 40px; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: -1px; }
.section-header p { color: var(--gray); font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  padding: 36px; border-radius: 24px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); transition: all .3s;
}
.card.hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); border-color: rgba(255,255,255,0.2); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; font-weight: 600; color: white; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* Job cards */
.job-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 36px 40px; border-radius: 24px; text-decoration: none;
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(34,211,238,0.06));
  border: 1px solid rgba(99,102,241,0.35); transition: all .3s; position: relative; overflow: hidden;
}
.job-card::after {
  content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,0.18), transparent 40%);
  pointer-events: none; opacity: 0; transition: opacity .3s;
}
.job-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,0.5); box-shadow: 0 24px 48px rgba(0,0,0,0.35); }
.job-card:hover::after { opacity: 1; }
.job-card h3 { color: white; font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 10px; line-height: 1.2; }
.job-card p { color: var(--gray); font-size: 15px; max-width: 680px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.8);
}
.tag.hot { background: rgba(34,211,238,0.12); border-color: rgba(34,211,238,0.3); color: var(--accent); }
.job-card .go {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 14px; white-space: nowrap;
  background: var(--primary); color: white; font-weight: 600; font-size: 15px; box-shadow: 0 0 24px rgba(99,102,241,0.3);
}
.job-card .go svg { width: 18px; height: 18px; transition: transform .3s; }
.job-card:hover .go svg { transform: translateX(4px); }

.spontaneous { margin-top: 28px; padding: 28px 32px; border-radius: 20px; border: 1px dashed rgba(255,255,255,0.18); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.spontaneous h3 { color: white; font-size: 18px; margin-bottom: 4px; }
.spontaneous p { color: var(--gray); font-size: 14px; }

/* Steps (index.html) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.step { text-align: center; padding: 28px 16px; }
.step-number {
  width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; font-size: 22px; font-weight: 700; margin: 0 auto 20px;
}
.step h3 { color: white; font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 14px; }

/* Job detail */
.job-hero { padding: 150px 24px 60px; position: relative; }
.job-hero .back { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 22px; transition: color .3s; }
.job-hero .back:hover { color: white; }
.job-hero .back svg { width: 16px; height: 16px; }
.job-hero h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; color: white; line-height: 1.1; letter-spacing: -1.5px; max-width: 900px; margin-bottom: 18px; animation: fadeUp 1s ease-out .15s both; }
.job-hero .lede { font-size: 19px; color: var(--gray); max-width: 760px; margin-bottom: 26px; animation: fadeUp 1s ease-out .25s both; }
.job-hero .tags { margin: 0 0 30px; animation: fadeUp 1s ease-out .3s both; }
.job-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp 1s ease-out .35s both; }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.job-body h2 { color: white; font-size: 26px; font-weight: 700; letter-spacing: -.5px; margin: 0 0 18px; }
.job-body section { padding: 34px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.job-body section:first-child { border-top: none; padding-top: 0; }
.job-body p { color: var(--gray); font-size: 16px; line-height: 1.8; margin-bottom: 14px; }
.job-body p:last-child { margin-bottom: 0; }
.job-body ul { list-style: none; display: grid; gap: 12px; }
.job-body li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.82); font-size: 16px; line-height: 1.7; }
.job-body li::before {
  content: ''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent)); opacity: .9;
}
.job-body li::after {
  content: ''; position: absolute; left: 5px; top: 13px; width: 6px; height: 4px;
  border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg);
}
.job-body .note {
  padding: 20px 22px; border-radius: 16px; background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.25);
  color: rgba(255,255,255,0.9); font-size: 15px; line-height: 1.7;
}
.mini-steps { display: grid; gap: 14px; }
.mini-step { display: flex; gap: 16px; align-items: flex-start; }
.mini-step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.mini-step b { color: white; display: block; font-size: 16px; }
.mini-step span { color: var(--gray); font-size: 14px; }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside .card { padding: 28px; }
.aside h3 { color: white; font-size: 16px; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .8; font-size: 12px; }
.kv { display: grid; gap: 14px; margin-bottom: 22px; }
.kv div { display: grid; gap: 2px; }
.kv dt { color: rgba(255,255,255,0.45); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.kv dd { color: white; font-size: 15px; font-weight: 500; line-height: 1.45; }
.aside .btn { width: 100%; }
.share { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--gray); font-size: 13px; }
.share button { background: none; border: 1px solid rgba(255,255,255,0.12); color: white; border-radius: 10px; padding: 8px 12px; font-family: inherit; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: all .3s; }
.share button:hover { background: rgba(255,255,255,0.08); }
.share button svg { width: 15px; height: 15px; }

/* Form */
.apply { padding: 60px 0 110px; }
.apply-card { padding: 44px; border-radius: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }
.apply-card h2 { color: white; font-size: 34px; font-weight: 700; letter-spacing: -1px; margin-bottom: 8px; }
.apply-card > p { color: var(--gray); font-size: 16px; margin-bottom: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .lbl { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; }
.field .hint { color: rgba(255,255,255,0.4); font-size: 12.5px; line-height: 1.5; }
.field .err { color: var(--danger); font-size: 12.5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .drop, .field.invalid .choice-row { border-color: rgba(248,113,113,0.6); }
input[type=text], input[type=email], input[type=tel], input[type=url], select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; font-family: inherit; font-size: 15px; color: white;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); outline: none; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.3); }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select option { background: #1a1a2e; color: white; }
textarea { min-height: 150px; resize: vertical; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid transparent; border-radius: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 100px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); cursor: pointer; transition: all .2s; user-select: none;
}
.choice input:checked + span { background: rgba(99,102,241,0.25); border-color: var(--primary); color: white; box-shadow: 0 0 16px rgba(99,102,241,0.25); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(99,102,241,0.35); }
.cond { display: none; }
.cond.on { display: grid; }
.drop {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,0.04); border: 1.5px dashed rgba(255,255,255,0.2); transition: all .2s; color: rgba(255,255,255,0.75);
}
.drop:hover, .drop.over { border-color: var(--accent); background: rgba(34,211,238,0.06); }
.drop input { display: none; }
.drop .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(99,102,241,0.2); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.drop .ic svg { width: 22px; height: 22px; }
.drop .txt { flex: 1; min-width: 0; }
.drop .txt b { color: white; display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop .txt small { color: rgba(255,255,255,0.4); font-size: 12.5px; }
.drop .chg { font-size: 13px; color: var(--accent); font-weight: 600; display: none; }
.drop.has .chg { display: inline; }
.consent { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.consent span { color: rgba(255,255,255,0.75); font-size: 13.5px; line-height: 1.6; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-msg { font-size: 14px; color: var(--danger); display: none; }
.form-msg.on { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.35); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.busy .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { text-align: center; padding: 30px 10px; animation: fadeUp .6s ease-out both; }
.success .check { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 26px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px rgba(99,102,241,0.45); }
.success .check svg { width: 40px; height: 40px; color: white; }
.success h2 { color: white; font-size: 34px; letter-spacing: -1px; margin-bottom: 14px; }
.success p { color: var(--gray); font-size: 16px; max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }

.not-found { text-align: center; padding: 200px 24px 120px; }
.not-found h1 { color: white; font-size: 32px; margin-bottom: 12px; letter-spacing: -1px; }
.not-found p { color: var(--gray); margin-bottom: 28px; }

/* Footer (index.html) */
footer { background: var(--dark); color: white; padding: 60px 0 30px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-size: 28px; font-weight: 300; font-style: italic; }
.footer-logo .no { font-weight: 600; color: white; }
.footer-logo .need { font-weight: 500; color: var(--accent); }
.footer-links { display: flex; gap: 32px; }
.footer-links a { color: var(--gray); text-decoration: none; font-size: 14px; transition: color .3s; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--gray); }

@media (max-width: 960px) {
  .job-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,15,26,0.98); flex-direction: column; padding: 16px; gap: 4px; }
  nav.active { display: flex; }
  nav a { padding: 16px; text-align: center; }
  .lang-pill { margin: 8px auto 0; }
  .lang-pill a { padding: 8px 18px; }
  .hero { min-height: 0; padding: 130px 24px 60px; }
  .hero h1 { letter-spacing: -1px; }
  .section-header h2, .apply-card h2 { font-size: 30px; }
  .job-card { grid-template-columns: 1fr; padding: 28px; }
  .job-card h3 { font-size: 22px; }
  .job-hero { padding-top: 120px; }
  .form-grid { grid-template-columns: 1fr; }
  .apply-card { padding: 28px 20px; }
  .footer-content { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
