/* Contezy Careers Homepage — Titles link to job pages + Apply inline (hover fixed) */

:root {
  --bg1:#0f172a; --bg2:#071033; --card:#0b1220; --accent:#7c3aed;
  --accent-hover:#8b5cf6; --muted:#9aa4b2; --text:#e6eef8;
  --glass:rgba(255,255,255,0.04); --line-height:1.6;
}

html[data-theme='light']{
  --bg1:#f8fafc; --bg2:#f1f5f9; --card:#ffffff; --accent:#7c3aed;
  --accent-hover:#6d28d9; --muted:#475569; --text:#1e293b; --glass:rgba(0,0,0,0.03);
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg1),var(--bg2));
  padding:40px 18px;
  line-height:var(--line-height);
}

.wrap{max-width:720px;margin:0 auto;}

.site-header{text-align:center;}
.logo{width:50%;max-width:260px;margin:0 auto 14px;display:block;}
.title-block h1{margin:0;font-size:28px;color:var(--text);}
.subtitle{margin:6px 0 0;color:var(--muted);line-height:1.5;}

.section-heading{
  text-align:center;font-size:22px;color:var(--text);margin:36px 0 18px;
  display:flex;justify-content:center;align-items:center;gap:10px;
}

.jobs-list{display:flex;flex-direction:column;gap:32px;}

/* Card base + hover restored */
.job-card-inner{
  background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
  border:1px solid rgba(255,255,255,0.03);
  border-radius:14px;
  padding:26px 22px;
  box-shadow:0 8px 28px rgba(2,6,23,0.5);
  display:flex;align-items:flex-start;gap:16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.job-card-inner:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(2,6,23,0.6);
}
html[data-theme='light'] .job-card-inner{
  background:var(--card);border-color:rgba(0,0,0,0.06);box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.job-icon{font-size:30px;color:var(--accent);min-width:40px;text-align:center;margin-top:4px;}
.job-content{flex:1;}

/* Job header (title + apply) */
.job-header{
  display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;
}
.job-title{margin:0;font-size:19px;color:var(--text);line-height:1.1;}
.job-title-link{display:inline-block;text-decoration:none;color:inherit;}
.job-title-link:focus,.job-title-link:hover{outline:none;}
.job-title-link:hover .job-title{color:var(--accent);text-decoration:underline;}

/* Apply button (smaller inline) */
.card-apply{
  background:var(--accent);color:#fff;text-decoration:none;padding:6px 12px;border-radius:999px;
  font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px;
  box-shadow:0 6px 18px rgba(124,58,237,0.25);white-space:nowrap;transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.card-apply:hover{
  background:var(--accent-hover);transform:translateY(-2px);box-shadow:0 10px 26px rgba(124,58,237,0.36);
}

/* Job text + meta */
.job-label{font-weight:700;margin-top:8px;margin-bottom:4px;color:var(--text);font-size:13px;}
.job-excerpt{margin:0 0 10px;color:var(--muted);font-size:15px;line-height:1.7;}
.job-meta{display:flex;gap:8px;flex-wrap:wrap;}
.pill{background:var(--glass);border-radius:999px;padding:6px 12px;font-size:13px;color:var(--text);border:1px solid rgba(255,255,255,0.03);}
html[data-theme='light'] .pill{border-color:rgba(0,0,0,0.06);}

.site-footer{text-align:center;margin-top:48px;color:var(--muted);font-size:14px;}

.theme-toggle{
  position:fixed;top:16px;right:16px;background:var(--accent);color:#fff;border:none;padding:10px 14px;border-radius:10px;
  display:flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 6px 18px rgba(12,12,30,0.3);z-index:999;
}

/* Responsive */
@media (max-width:600px){
  .logo{width:60%;max-width:200px;}
  .job-card-inner{flex-direction:column;text-align:center;align-items:center;}
  .job-header{flex-direction:column;gap:8px;}
  .card-apply{padding:8px 16px;font-size:14px;}
  .job-icon{margin-bottom:8px;font-size:28px;}
}

